]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add __nonnull attribute to wcscpy and wcsncpy [BZ#18265]
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a6ab6ccd
DM
12015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
2
3 [BZ #18265]
4 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
5 (wcsncpy): Likewise.
6
d0ccd0d9
FW
72015-05-05 Florian Weimer <fweimer@redhat.com>
8
9 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
10 Assume __ASSUME_FALLOCATE is always true.
11 * sysdeps/unix/sysv/linux/posix_fallocate64.c
12 (__posix_fallocate64_l64): Likweise.
13 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
14 (posix_fallocate): Likewise.
15 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
16 (__posix_fallocate64_l64): Likewise.
17 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18 [!__ASSUME_FALLOCATE]: Add comment.
19
4bd40bcf
FW
202015-05-05 Florian Weimer <fweimer@redhat.com>
21
22 * sysdeps/unix/sysv/linux/i386/Makefile
23 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
24 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
25 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
26 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
28 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
29 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
30
305392ea
JM
312015-05-02 Joseph Myers <joseph@codesourcery.com>
32
33 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
34 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
35 tgamma.
36 * math/auto-libm-test-out: Regenerated.
37 * sysdeps/i386/fpu/libm-test-ulps: Update.
38 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39
a0d31f36
JM
402015-05-01 Joseph Myers <joseph@codesourcery.com>
41
51e15247
JM
42 * math/auto-libm-test-in: Add more tests of tgamma.
43 * math/auto-libm-test-out: Regenerated.
44 * sysdeps/i386/fpu/libm-test-ulps: Update.
45 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46
5ffb9a53
JM
47 * math/auto-libm-test-in: Add more tests of tanh.
48 * math/auto-libm-test-out: Regenerated.
49 * sysdeps/i386/fpu/libm-test-ulps: Update.
50 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51
0957e15d
JM
52 * math/auto-libm-test-in: Add more tests of tan.
53 * math/auto-libm-test-out: Regenerated.
54 * sysdeps/i386/fpu/libm-test-ulps: Update.
55 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56
827bb585
JM
57 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
58 * math/auto-libm-test-out: Regenerated.
59 * sysdeps/i386/fpu/libm-test-ulps: Update.
60 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61
86793ae7
JM
62 * math/auto-libm-test-in: Add another test of pow.
63 * math/auto-libm-test-out: Regenerated.
64 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65
038e4be9
JM
66 * math/auto-libm-test-in: Add more tests of lgamma.
67 * math/auto-libm-test-out: Regenerated.
68 * sysdeps/i386/fpu/libm-test-ulps: Update.
69 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70
a0d31f36
JM
71 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
72 log1p.
73 * math/auto-libm-test-out: Regenerated.
74 * sysdeps/i386/fpu/libm-test-ulps: Update.
75 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76
b4336ba4
MW
772015-05-01 Mark Wielaard <mjw@redhat.com>
78
79 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
80 Elf64_Chdr structs and ELFCOMPRESS constants.
81
c5a3a509
JM
822015-05-01 Joseph Myers <joseph@codesourcery.com>
83
e1483b36
JM
84 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
85 expm1.
86 * math/auto-libm-test-out: Regenerated.
87 * sysdeps/i386/fpu/libm-test-ulps: Update.
88 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
89
c5a3a509
JM
90 * math/auto-libm-test-in: Add more tests of erf and erfc.
91 * math/auto-libm-test-out: Regenerated.
92 * sysdeps/i386/fpu/libm-test-ulps: Update.
93 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
94
44cb254f
SN
952015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
96
97 * config.h.in (HAVE_AARCH64_BE): Add.
98
0833cecd
JM
992015-04-30 Joseph Myers <joseph@codesourcery.com>
100
9862ab1f
JM
101 * math/auto-libm-test-in: Add more tests of csqrt.
102 * math/auto-libm-test-out: Regenerated.
103 * sysdeps/i386/fpu/libm-test-ulps: Update.
104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
105
094fca83
JM
106 * math/auto-libm-test-in: Add more tests of cosh and sinh.
107 * math/auto-libm-test-out: Regenerated.
108 * sysdeps/i386/fpu/libm-test-ulps: Update.
109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
110
0833cecd
JM
111 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
112
314647f7
RM
1132015-04-29 Roland McGrath <roland@hack.frob.com>
114
45c2c564
RM
115 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
116 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
117
3600cf1e
RM
118 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
119 (euidaccess, eaccess): Define as weak aliases.
120
314647f7
RM
121 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
122 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
123 but __suseconds_t is often 'long int' so some sources assume that
124 type is being used (e.g. they use %ld to print tv_usec).
125
03d2730b
FW
1262015-04-29 Florian Weimer <fweimer@redhat.com>
127
128 [BZ #18007]
129 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
130 (CVE-2014-8121)
131 * nss/tst-nss-getpwent.c: New file.
132 * nss/Makefile (tests): Add new test.
133
7d0b2575
JM
1342015-04-28 Joseph Myers <joseph@codesourcery.com>
135
136 [BZ #18346]
137 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
138 exponents less than 48 as cases where high part of mantissa needs
139 examining to determine whether argument is integral.
140 * math/libm-test.inc (round_test_data): Add more tests.
141
fb4041ae
MW
1422015-04-28 Mark Wielaard <mjw@redhat.com>
143
144 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
145
3f2e21e9
DM
1462015-04-27 David S. Miller <davem@davemloft.net>
147
148 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
149 __tls_get_addr.
150 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
151
5cffc05e
L
1522015-04-27 H.J. Lu <hongjiu.lu@intel.com>
153
154 [BZ#18333]
155 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
156
cc8dcf96
FW
1572015-04-27 Florian Weimer <fweimer@redhat.com>
158
159 [BZ#18333]
160 * time/tzset.c (parse_tzname): Return error on memory allocation
161 failure.
162 * test-skeleton.c (struct temp_name_list): Change type of name
163 member to non-const.
164 (add_temp_file): Create a copy of the file name.
165 (delete_temp_files): Deallocate memory.
166 (create_temp_file): Add comment.
167
2dd6ee79
FW
1682015-04-24 Florian Weimer <fweimer@redhat.com>
169
170 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
171 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
172
c25fec6f
RM
1732015-04-24 Roland McGrath <roland@hack.frob.com>
174
175 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
176 * sysdeps/arm/configure: Regenerated.
177
42261ad7
FW
1782015-04-24 Florian Weimer <fweimer@redhat.com>
179
180 [BZ #17715]
181 * time/tzfile.c (__tzfile_read): Check for large values of
182 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
183 * time/tzset.c (__tzstring_len): New function, based on the old
184 __tzstring function.
185 (__tzstring): Call __tzstring_len.
186 (parse_tzname): New helper function extracted from
187 __tzset_parse_tz. Call __tzstring_len, without making a copy of
188 the input string.
189 (parse_offset): New helper function extracted from
190 __tzset_parse_tz. Replace switch with fallthrough with
191 initialization before sscanf.
192 (parse_rule): Likewise.
193 (__tzset_parse_tz): Rewrite using the new helper functions. Use
194 new-style function definition.
195 * timezone/Makefile (tests): Add tst-tzset.
196 (tst-tzset.out): Dependencies on time zone files.
197 (tst-tzset-ENV): Set TZDIR.
198 (testdata/XT%): Copy crafted time zone files.
199 * timezone/README: Mention crafted time zone files.
200 * timezone/testdata/XT1, timezone/testdata/XT2,
201 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
202 files.
203 * timezone/tst-tzset.c: New test.
204
ed159672
FW
2052015-04-24 Florian Weimer <fweimer@redhat.com>
206
207 * Makeconfig (+gccwarn): Remove -Winline.
208
8666ab5c
SL
2092015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
210
211 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
212
f7fba805
SL
2132015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
214
215 * NEWS: Mention sysconf() cache information support for s390.
216 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
217
92f28979
WD
2182015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
219
220 * math/k_casinh.c (__kernel_casinh): Use __copysign.
221 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
222 (__nearbyint): Likewise.
223 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
224 (copysignl): Likewise.
225
2959eda9
AS
2262015-04-21 Arjun Shankar <arjun.is@lostca.se>
227
228 [BZ #18287]
229 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
230 based on padding. (CVE-2015-1781)
231
7bf8fb10
AZ
2322015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
233
234 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
235 libc-vdso.h.
236 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
237 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
238 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
239 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
240 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
241 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
242 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
243 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
244 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
245 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
246 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
247 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
248 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
249 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
250 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
251 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
252 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
253 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
254 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
255 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
256 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
257 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
258 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
259
03c1e456
PE
2602015-04-19 Paul Eggert <eggert@cs.ucla.edu>
261
262 * stdlib/setenv.c (__add_to_environ):
263 Dump core quickly if setenv (..., NULL, ...) is called.
264 This time, do it the right way, and pacify GCC with a pragma.
265
328c44c3
RM
2662015-04-17 Roland McGrath <roland@hack.frob.com>
267
2bd2cad9
RM
268 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
269 IMAP->l_prev cannot be null, and #if out the code for the contrary
270 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
271 believe that NS (&_dl_ns[NSID]) could point outside the array.
272
328c44c3
RM
273 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
274 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
275 before using NSID as an index.
276
aa4980fc
DM
2772015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
278
279 [BZ #17825]
280 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
281 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
282 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
283
d1e44df1
RM
2842015-04-17 Roland McGrath <roland@hack.frob.com>
285
286 Add preliminary port to Google Native Client on ARM.
287 * abi-tags (.*-.*-nacl.*): New entry.
288 * sysdeps/arm/nacl: New directory.
289 * sysdeps/nacl: New directory.
290
f7092599
DM
2912015-04-16 David S. Miller <davem@davemloft.net>
292
293 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
294 lowlevellock-futex.h
295
da6989f9
CM
2962015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
297
298 * sysdeps/tile/configure.ac: New file.
299 * sysdeps/tile/configure: Regenerated.
300
fb78612a
AZ
3012015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
302
303 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
304 conditionals for weak_alias and libc_hidden_weak.
305 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
306 libc_hidden_weak and weak_alias.
307 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
308 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
309 and weak_alias for static one.
310
a8b6a3a6
DM
3112015-04-15 David S. Miller <davem@davemloft.net>
312
313 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
314
920a0395
SL
3152015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
316
317 [BZ #18206]
318 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
319 Use signed comparision instead of substraction to avoid
320 overflow bug.
321 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
322 Take the sign of ret.
323 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
324 Do not expect precise return values. Only the sign matters.
325 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
326 * wcsmbs/test-wcsncmp.c: New File.
327 * string/test-strncmp.c: Add wcsncmp support.
328
de8aadd5
SL
3292015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
330
331 [BZ #6792]
332 * math/w_log1p.c: New file.
333 * math/w_log1pf.c: Likewise.
334 * math/w_log1pl.c: Likewise.
335 * math/Makefile (libm-calls): Add w_log1p.
336 * math/s_log1pl.c (log1pl): Remove weak_alias.
337 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
338 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
339 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
340 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
341 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
342 [NO_LONG_DOUBLE] (log1pl): Likewise.
343 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
344 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
345 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
346 (log1p): Remove long_double_symbol.
347 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
348 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
349 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
350 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
351 remove weak_alias for corresponding log1p function.
352 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
353 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
354 * sysdeps/ia64/fpu/w_log1p.c: New file.
355 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
356 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
357 * math/libm-test.inc (log1p_test_data): Add errno expectations.
358
5556d30c
JM
3592015-04-10 Joseph Myers <joseph@codesourcery.com>
360
361 [BZ #18247]
362 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
363 decimal exponent by 1.
364 * stdlib/tst-strtod-round-data: Add more tests.
365 * stdlib/tst-strtod-round.c (tests): Regenerated.
366
b3c66c53
JM
3672015-04-09 Joseph Myers <joseph@codesourcery.com>
368
369 * math/auto-libm-test-in: Add more tests of clog and clog10.
370 * math/auto-libm-test-out: Regenerated.
371 * sysdeps/i386/fpu/libm-test-ulps: Update.
372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
373
b0b88abc
RM
3742015-04-09 Roland McGrath <roland@hack.frob.com>
375
8a257e2c
RM
376 * Makeconfig (module-cppflags): Exclude all .v.i files.
377 (skip-module-cppflags): Variable removed.
378
05439291
RM
379 * configure.ac (libc_config_ok): Initialize before reading
380 preconfigure scripts, not after.
381 * configure: Regenerated.
382
b0b88abc
RM
383 * test-skeleton.c (TIMEOUT): Move #define to top level.
384 (main): Grok environment variable TEST_DIRECT. If set, print
385 test expectation details into that file and then behave as if
386 given --direct.
387
2902af16
FW
3882015-04-09 Florian Weimer <fweimer@redhat.com>
389
390 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
391 warning on 32-bit.
392
23ebf743
DM
3932015-04-08 David S. Miller <davem@davemloft.net>
394
395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
396
024bcc51
JM
3972015-04-08 Joseph Myers <joseph@codesourcery.com>
398
787d22bc
JM
399 * math/auto-libm-test-in: Add more tests of atanh.
400 * math/auto-libm-test-out: Regenerated.
401 * sysdeps/i386/fpu/libm-test-ulps: Update.
402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
403
024bcc51
JM
404 * math/auto-libm-test-in: Add more tests of atan.
405 * math/auto-libm-test-out: Regenerated.
406 * sysdeps/i386/fpu/libm-test-ulps: Update.
407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
408
7b8399f4
FW
4092015-04-08 Florian Weimer <fweimer@redhat.com>
410
411 * elf/pldd.c (main): Rewrite to use struct
412 scratch_buffer instead of extend_alloca.
413 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
414 * grp/initgroups.c: Include <scratch_buffer.h> instead of
415 <alloca.h>.
416 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
417 scratch_buffer instead of extend_alloca.
418 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
419 grp/compat-initgroups.c.
794a74af
FW
420 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
421 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 422 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 423 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 424
ae63c7eb
JM
4252015-04-08 Joseph Myers <joseph@codesourcery.com>
426
da0cf658
JM
427 * math/auto-libm-test-in: Add more tests of cbrt.
428 * math/auto-libm-test-out: Regenerated.
429 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
430
80352c01
JM
431 * math/auto-libm-test-in: Add more tests of cabs.
432 * math/auto-libm-test-out: Regenerated.
433 * sysdeps/i386/fpu/libm-test-ulps: Update.
434 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
435
8431838d
JM
436 [BZ #18210]
437 [BZ #18211]
438 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
439 (__ieee754_atan2): Set FE_TONEAREST mode for internal
440 computations.
441 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
442 clog10.
443 * math/auto-libm-test-out: Regenerated.
444 * sysdeps/i386/fpu/libm-test-ulps: Update.
445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
446
ae63c7eb
JM
447 [BZ #18197]
448 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
449 (atan): Set FE_TONEAREST mode for internal computations.
450 * math/auto-libm-test-in: Add more tests of atan.
451 * math/auto-libm-test-out: Regenerated.
452
d5856d06
JC
4532015-04-07 James Cowgill <james410@cowgill.org.uk>
454
455 [BZ #17930]
456 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
457
72301304
FW
4582015-04-07 Florian Weimer <fweimer@redhat.com>
459
460 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
461
cfcfd461
FW
4622015-04-07 Florian Weimer <fweimer@redhat.com>
463
464 * include/scratch_buffer.h: New file.
465 * malloc/scratch_buffer_grow.c: Likewise.
466 * malloc/scratch_buffer_grow_preserve.c: Likewise.
467 * malloc/scratch_buffer_set_array_size.c: Likewise.
468 * malloc/tst-scratch_buffer.c: Likewise.
469 * malloc/Makefile (routines): Add scratch_buffer_grow.
470 (tests): Add test case.
471 * malloc/Versions (GLIBC_PRIVATE): Export
472 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
473 __libc_scratch_buffer_set_array_size.
474
cc47c824
RH
4752015-04-06 Richard Henderson <rth@redhat.com>
476
477 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 478 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 479
9e8c0381
RH
480 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
481 unsigned int before printing.
482
9781a370
OB
4832015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
484
485 [BZ #17596]
486 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
487 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
488
37d60d97
FW
4892015-04-02 Florian Weimer <fweimer@redhat.com>
490
491 * include/libc-internal.h (libc_max_align_t): Define.
492
b763f6ae
AS
4932015-04-02 Andreas Schwab <schwab@suse.de>
494
495 [BZ #16850]
496 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
497
c26efef9
MG
4982015-04-02 Mel Gorman <mgorman@suse.de>
499
500 [BZ #17195]
501 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
502 as well as the main arena.
503
a3d9ab50
L
5042015-03-31 H.J. Lu <hongjiu.lu@intel.com>
505
506 [BZ #18185]
507 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
508 sharing L2 cache to 2 for Silvermont/Knights Landing.
509
83569fb8
L
5102015-03-31 H.J. Lu <hongjiu.lu@intel.com>
511
512 [BZ #17711]
513 * config.make.in (have-protected-data): New.
514 * configure.ac: Check linker support for protected data symbol.
515 * configure: Regenerated.
516 * elf/Makefile (modules-names): Add tst-protected1moda and
517 tst-protected1modb if $(have-protected-data) is yes.
518 (tests): Add tst-protected1a and tst-protected1b if
519 $(have-protected-data) is yes.
520 ($(objpfx)tst-protected1a): New.
521 ($(objpfx)tst-protected1b): Likewise.
522 (tst-protected1modb.so-no-z-defs): Likewise.
523 * elf/tst-protected1a.c: New file.
524 * elf/tst-protected1b.c: Likewise.
525 * elf/tst-protected1mod.h: Likewise.
526 * elf/tst-protected1moda.c: Likewise.
527 * elf/tst-protected1modb.c: Likewise.
528
62da1e3b
L
5292015-03-31 H.J. Lu <hongjiu.lu@intel.com>
530
531 [BZ #17711]
532 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
533 indicates it is called from do_lookup_x on relocation against
534 protected data, skip the data definion in the executable from
535 copy reloc.
536 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
537 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
538 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
539 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
540 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
541 otherwise to 0.
542 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
543 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
544 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
545 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
546 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
547 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
548
675ddb71
MG
5492015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
550
551 * sysdeps/nptl/pthread.h: Remove duplicate definition of
552 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
553
4d611e12
MG
5542015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
555
556 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
557 THREAD_SETMEM_NC.
558 * sysdeps/x86_64/nptl/tls.h: Ditto.
559
7285eb53
RM
5602015-03-27 Roland McGrath <roland@hack.frob.com>
561
562 * dlfcn/tststatic.c (main): Converted to ...
563 (do_test): ... this.
564 (TEST_FUNCTION): New macro.
565 Include test-skeleton.c.
566
19a6a3ac
AM
5672015-03-26 Alan Modra <amodra@gmail.com>
568
569 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
570 Don't segfault if ifunc resolver returns a NULL. Do set plt to
571 zero for undefined weak.
572 (elf_machine_plt_conflict): Similarly.
573
a9fe4c5a
JM
5742015-03-25 Joseph Myers <joseph@codesourcery.com>
575
efd5b641
JM
576 * math/auto-libm-test-in: Add more tests of acosh, asinh and
577 atanh.
578 * math/auto-libm-test-out: Regenerated.
579 * sysdeps/i386/fpu/libm-test-ulps: Update.
580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
581
e9b10151
JM
582 * math/auto-libm-test-in: Add another test of asin.
583 * math/auto-libm-test-out: Regenerated.
584 * sysdeps/i386/fpu/libm-test-ulps: Update.
585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
586
9fa55373
JM
587 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
588 Remove macro.
589 (LLL_EBX_REG): Likewise.
590 (LLL_ENTER_KERNEL): Likewise.
591
38755f14
JM
592 * math/auto-libm-test-in: Add more tests of asin.
593 * math/auto-libm-test-out: Regenerated.
594 * sysdeps/i386/fpu/libm-test-ulps: Update.
595 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
596
a9fe4c5a
JM
597 [BZ #18138]
598 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
599 libc_do_syscall_args): New structure.
600 (INTERNAL_SYSCALL_MAIN_0): New macro.
601 (INTERNAL_SYSCALL_MAIN_1): Likewise.
602 (INTERNAL_SYSCALL_MAIN_2): Likewise.
603 (INTERNAL_SYSCALL_MAIN_3): Likewise.
604 (INTERNAL_SYSCALL_MAIN_4): Likewise.
605 (INTERNAL_SYSCALL_MAIN_5): Likewise.
606 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
607 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
608 Replace conditional definitions by conditional definitions of ....
609 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
610 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
611 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
612 (libpthread-sysdep_routines): Add libc-do-syscall.
613 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
614 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
615 to __NR_futex not 240.
616
afcd9480
AM
6172015-03-25 Alan Modra <amodra@gmail.com>
618
619 * NEWS: Advertise TLS optimization.
620 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
621 (DT_PPC_NUM): Increment.
622 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
623 (CHECK_STATIC_TLS): Use here.
624 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
625 TLS descriptors.
626 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
627 * sysdeps/powerpc/dl-tls.c: New file.
628 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
629 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
630 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
631 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
632 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
635
da9f3334
AM
6362015-03-25 Alan Modra <amodra@gmail.com>
637
638 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
639 for overlapping .opd entries" to "support...".
640 * sysdeps/powerpc/powerpc64/configure: Regenerate
641
bc899ea0
JM
6422015-03-25 Joseph Myers <joseph@codesourcery.com>
643
8d643971
JM
644 * math/auto-libm-test-in: Add more tests of acos.
645 * math/auto-libm-test-out: Regenerated.
646 * sysdeps/i386/fpu/libm-test-ulps: Update.
647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
648
bc899ea0
JM
649 * math/auto-libm-test-in: Add more tests of expm1.
650 * math/auto-libm-test-out: Regenerated.
651 * sysdeps/i386/fpu/libm-test-ulps: Update.
652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
653
7c84a504
JM
6542015-03-24 Joseph Myers <joseph@codesourcery.com>
655
239ed6f3
JM
656 * math/auto-libm-test-in: Add more tests of cosh and sinh.
657 * math/auto-libm-test-out: Regenerated.
658 * sysdeps/i386/fpu/libm-test-ulps: Update.
659 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
660
a737e826
JM
661 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
662 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
663
7c84a504
JM
664 * math/auto-libm-test-in: Add more tests of log2.
665 * math/auto-libm-test-out: Regenerated.
666 * sysdeps/i386/fpu/libm-test-ulps: Update.
667 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
668
7e9c7b9b
RM
6692015-03-23 Roland McGrath <roland@hack.frob.com>
670
671 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
672 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
673 _IO_IS_APPENDING bit in READ_WRITE instead.
674
98734cc5
FW
6752015-03-23 Florian Weimer <fweimer@redhat.com>
676
677 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
678 (__determine_cpumask_size): Replace extend_alloca with a
679 variable-length array. Do not treat res == 0 as an error.
680
2b028564
FW
6812015-03-23 Florian Weimer <fweimer@redhat.com>
682
683 [BZ #18100]
684 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
685 and integer overflow.
686 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
687 (main): Add integer overflow tests.
688 * manual/pattern.texi (Calling Wordexp): Document additional use
689 for WRDE_SYNTAX.
690
59261ad3
AM
6912015-03-23 Alan Modra <amodra@gmail.com>
692
693 * config.h.in: Remove HAVE_ASM_PPC_REL16.
694 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
695 and false branch of conditional.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
697 Likewise.
698
d583531a
ST
6992015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
700
701 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
702 libc-modules.h
868df0f9
ST
703 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
704 unused declaration of _hurd_intr_rpc_msg_in_trap.
705 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
706 defined instead of whether it is non-zero.
707 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
708 input constraint instead of both input and output constraint. Use ecx
709 clobber instead of %ecx.
710 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
711 mutex_unlock): Use a statement expression instead of an expression list.
712 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
713 type to vm_size_t instead of vm_address_t.
714 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
715 defined instead of whether it is non-zero.
716 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
717 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
718 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
719 comparisons with mapaddr.
720 * nscd/nscd-client.h: Include <time.h>.
721 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
722 9th parameter to __vm_region instead of int.
661a7dba 723 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
724 * scripts/check-local-headers.sh (exclude): Add device/,
725 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
726 cthreads.h.
d583531a 727
298e5d56
RM
7282015-03-19 Roland McGrath <roland@hack.frob.com>
729
730 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
731 to account for alignment padding.
732 * sysdeps/arm/memmove.S: Likewise.
733
becb26b8
CM
7342015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
735
736 * sysdeps/unix/sysv/linux/generic/README: New file.
737
c2f5813a
JM
7382015-03-18 Joseph Myers <joseph@codesourcery.com>
739
740 [BZ #18138]
741 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
742 (futex_abstimed_wait)
743 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
744 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
745 of lll_futex_timed_wait.
746
ed6b0fe7
BH
7472015-03-18 Brad Hubbard <bhubbard@redhat.com>
748
749 [BZ #17542]
750 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
751
f8aeae34
AO
7522015-03-17 Alexandre Oliva <aoliva@redhat.com>
753
754 [BZ #17090]
755 [BZ #17620]
756 [BZ #17621]
757 [BZ #17628]
758 * NEWS: Update.
759 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
760 entries with Static TLS too. Skip entries past the end of the
761 allocated DTV, from Alan Modra.
762 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
763 Static TLS DTV entry set up from...
764 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
765 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
766 * nptl/allocatestack.c (init_one_static_tls): ... and here...
767 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
768 for Static TLS.
769 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
770 that the slot we find is associated with the given map before
771 using its generation count.
772 * nptl_db/db_info.c: Include ldsodefs.h.
773 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
774 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
775 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
776 (link_map::l_tls_offset): New struct field.
777 (dtv_t::counter): Likewise.
778 (rtld_global): New struct.
779 (_rtld_global): New rtld variable.
780 (dl_tls_dtv_slotinfo_list): New rtld global field.
781 (dtv_slotinfo_list): New struct.
782 (dtv_slotinfo): Likewise.
783 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
784 (td_lookup): Rename to...
785 (td_mod_lookup): ... this. Use new mod parameter instead of
786 LIBPTHREAD_SO.
787 * nptl_db/td_thr_tlsbase.c: Include link.h.
788 (dtv_slotinfo_list, dtv_slotinfo): New functions.
789 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
790 addresses even if the DTV is out of date or missing them.
791 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
792 index zero-length arrays.
793 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
794 (td_lookup): Make it a macro implemented in terms of...
795 (td_mod_lookup): ... this declaration.
796 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
797 (DB_MAIN_VARIABLE): Likewise.
798
b97eb2bd
L
7992015-03-16 H.J. Lu <hongjiu.lu@intel.com>
800
801 [BZ #18134]
802 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
803
cb219290
PE
8042015-03-15 Paul Eggert <eggert@cs.ucla.edu>
805
806 * stdlib/setenv.c (__add_to_environ): Revert previous change.
807
a3905fd9
AS
8082015-03-14 Andreas Schwab <schwab@linux-m68k.org>
809
810 [BZ #18128]
811 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
812 (atomic_add, atomic_increment_and_test)
813 (atomic_decrement_and_test): Fix 64-bit arithmetic.
814
2ecccaed
PE
8152015-03-13 Paul Eggert <eggert@cs.ucla.edu>
816
817 * stdlib/setenv.c (__add_to_environ):
818 Dump core quickly if setenv (..., NULL, ...) is called.
819
cdaf79d0
RM
8202015-03-13 Roland McGrath <roland@hack.frob.com>
821
822 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
823 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
824 all the necessary asm magic in one place.
825 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
826 using those.
827
cf9313e7
CD
8282015-03-13 Carlos O'Donell <carlos@redhat.com>
829
830 [BZ #14906]
831 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
832 traced file mtime. Use consistent log message.
833 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
834 (register_traced_file): Call install_watches. Always set mtime.
835 (invalidate_cache): Iterate over all trace files. Call install_watches.
836 (inotify_check_files): Don't inline. Handle watching parent
837 directories and configuration file movement in and out.
838 (handle_inotify_events): New function.
839 (main_loop_poll): Call handle_inotify_events.
840 (main_loop_epoll): Likewise.
841 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
842 (struct traced_file): Use array of inotify fds. Add parent directory,
843 and basename.
844 (struct database_dyn): Remove unused file_mtime.
845 (init_traced_file): New inline function.
846 (define_traced_file): New macro.
847 * nss/nss_db/db-init.c: Use define_traced_file.
848 (_nss_db_init): Use init_traced_file.
849 * nss/nss_files/files-init.c: Use define_traced_file.
850 (_nss_files_init): Use init_traced_file.
851
7d67a196
JM
8522015-03-12 Joseph Myers <joseph@codesourcery.com>
853
854 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
855 [_LIBC]: Do not include <stdlib.h>.
856 [!_LIBC] (abort): Remove declaration.
857 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
858 _FP_STATIC_ASSERT instead of conditionally calling abort.
859 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
860 (_FP_EXTEND_CNAN): Likewise.
861 (FP_TRUNC): Likewise.
862 (__FP_CLZ): Likewise.
863 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
864
af85ebcd
YS
8652015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
866
867 * manual/string.texi (XPG basename): Fix prototype.
868
2e807f29
SL
8692015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
870
871 [BZ #18080]
872 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
873 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
874 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
875 (__setcontext): Likewise.
876 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
877 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
878 Call rt_sigprocmask syscall one time to set new signal mask
879 and retrieve the current signal mask instead of two calls.
880 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
881 (__swapcontext): Likewise.
882 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
883 * stdlib/tst-setcontext2.c: New file.
884
1b2bebe6
SL
8852015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
886
887 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
888
6a1cf708
AJ
8892015-03-11 Aurelien Jarno <aurelien@aurel32.net>
890
891 [BZ #18093]
892 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
893 the wrong size.
894
a2d4cf72
PP
8952015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
896
897 [BZ #18043]
898 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
899
5ca10a0c
AZ
9002015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
901
902 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
903 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
904 Remove define.
905 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
906 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
907 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
908 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
909 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
910 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
911 define.
912 * nptl_db/td_symbol_list.c (td_lookup): Remove
913 HAVE_ASM_GLOBAL_DOT_NAME code.
914 * sysdeps/powerpc/powerpc64/configure.ac: Remove
915 HAVE_ASM_GLOBAL_DOT_NAME check.
916 * sysdeps/powerpc/powerpc64/configure: Regenerate.
917 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
918 (DOT_LABEL): Remove define.
919 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
920 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
921 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
922 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
923 (__TLS_GET_ADDR): Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
925 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
926
e4363cfb
CD
9272015-03-11 Carlos O'Donell <carlos@redhat.com>
928
929 [BZ #18111]
930 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
931 (_FPU_SETCW): Initialize cw from fpsr before storing.
932 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
933 (fesetexceptflag): Rewrite using fpu_control.h.
934 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
935
fae1aa8d
JDA
9362015-03-11 John David Anglin <danglin@gcc.gnu.org>
937
938 [BZ #18110]
939 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
940 asms.
941 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
942
068a6274
JM
9432015-03-11 Joseph Myers <joseph@codesourcery.com>
944
945 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
946 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
947 abort.
948 (_FP_FMA): Likewise.
949 (_FP_DIV): Likewise.
950
d3821ab0
RM
9512015-03-10 Roland McGrath <roland@hack.frob.com>
952
44a6213c
RM
953 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
954 with 0 in that case.
955 * Makefile (summarize-tests): New canned sequence, factored out of
956 commands for targets tests and xtests. Display summary lines that
957 don't start with PASS: or XFAIL: rather than ones that do start with
958 ERROR: or FAIL:. Make the commands fail if any summary lines fail
959 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
960 do start with ERROR: or FAIL:.
961 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
962 (except for [$(build-shared) = yes]).
963 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
964 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
965 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
966 * nptl/Makefile: Revert 2015-03-04 changes.
967 [$(CXX) empty] (tests-unsupported): New variable.
968 * debug/Makefile: Likewise.
969
d3821ab0
RM
970 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
971 gnulib file. Replace __attribute with __attribute__ throughout.
972
85ca85ae
CD
9732015-03-10 Carlos O'Donell <carlos@redhat.com>
974
975 * sysdeps/hppa/fpu/libm-test-ulps: Update.
976
6411f81d
JM
9772015-03-10 Joseph Myers <joseph@codesourcery.com>
978
979 [BZ #18104]
980 * math/auto-libm-test-in: Add another test of pow.
981 * math/auto-libm-test-out: Regenerated.
982
d421868b
AZ
9832015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
984
985 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
986 $(config-cflags-nofma).
987
a2f8be9c
JM
9882015-03-10 Joseph Myers <joseph@codesourcery.com>
989
990 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
991 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
992 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
993 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
994 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
995 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
996 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
997 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
998 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
999 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1000 Add comment on closing #endif.
1001
01d032e0
PP
10022015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1003
1004 * posix/wordexp.c (CHAR_IN_SET): New macro.
1005 (parse_param): Use it.
1006
d439bc56
AZ
10072015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1008
1009 * sysdeps/powerpc/fpu/libm-test-ulps: update.
1010
5f85a4bf
PP
10112015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1012
1013 [BZ #18043]
1014 * posix/wordexp.c (parse_param): Fix buffer overflow.
1015 * posix/wordexp-test.c (test_case): Add test case.
1016
f8ba70e9
PP
10172015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1018
1019 [BZ #18042]
1020 * posix/wordexp.c (parse_backtick): Fix off-by-one.
1021 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1022
36103ba2
PP
10232015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1024
1025 [BZ #18043]
1026 * posix/wordexp-test.c (test_case): Add test for BZ #18043
1027 (do_bz18043): Delete.
1028 (at_page_end): New.
1029 (testit): Refactor to have words at the edge of unreadable page.
1030
18d26750
PP
10312015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1032
1033 [BZ #16734]
1034 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1035 Cleanup read-only streams as well.
1036 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1037
9f95dc5d
ST
10382015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1039
1040 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1041 <bits/libc-lockP.h>
1042
b838844b
JM
10432015-03-07 Joseph Myers <joseph@codesourcery.com>
1044
1045 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
1046 on [__KERNEL__].
1047 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1048 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1049 * soft-fp/op-common.h (_FP_DECL): Likewise.
1050
e0ed2fb4
L
10512015-03-06 H.J. Lu <hongjiu.lu@intel.com>
1052
1053 * elf/ifuncdep2.c (global): Replace
1054 __attribute__((visibility("protected"))) with
1055 asm (".protected global").
1056 * elf/ifuncmod1.c (global): Likewise.
1057 * elf/ifuncmod5.c (global): Likewise.
1058
fa9dda64
JM
10592015-03-06 Joseph Myers <joseph@codesourcery.com>
1060
1061 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1062 <asm/sfp-machine.h> instead of <sfp-machine.h>.
1063
4acc27ed
RM
10642015-03-06 Roland McGrath <roland@hack.frob.com>
1065
1066 * manual/install.texi (Configuring and compiling):
1067 Document test-wrapper-env-only.
1068 * INSTALL: Regenerated.
1069
895c30cb
PP
10702015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1071
1072 [BZ #18043]
1073 * posix/wordexp.c (parse_param): Fix buffer overflow.
1074 * posix/wordexp-test.c (do_bz18043): Add test case.
1075
5df56c7e
VB
10762015-03-06 Vincent Bernat <vincent@bernat.im>
1077
1078 * time/tst-strptime2.c (do_test): Ensure failing tests are
1079 reported correctly.
1080 * time/tst-strptime3.c (do_test): Likewise.
1081
1cdf2ea1
ST
10822015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
1083
1084 Fix aio_error thread-safety.
1cdf2ea1
ST
1085 * sysdeps/pthread/aio_error.c: New file
1086 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1087 synchronization.
1088
d176a41a
FW
10892015-03-06 Florian Weimer <fweimer@redhat.com>
1090
1091 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1092 (group_number, vfprintf): Use it.
1597b744
FW
1093 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1094 (JUMP, REF): Use it.
1095 (WORK_BUFFER_SIZE): New enum constant.
1096 (process_arg, vfprintf): Use it.
d176a41a 1097
7e7af349
RJ
10982015-03-06 Rical Jasan <ricaljasan@pacific.net>
1099
1100 * manual/errno.texi (Error Messages): Complete example function
1101 by adding missing #define.
1102 (program_invocation_name): Add statement indicating GNU
1103 extension and reference which header file declares the variable.
1104 (program_invocation_short_name): Likewise.
1105
4ca8ddfb
MF
11062015-03-06 Mike Frysinger <vapier@gentoo.org>
1107
1108 * manual/errno.texi (Error Messages): Delete strerror ISO C89
1109 compatibility note.
1110
9162c01d
RM
11112015-03-05 Roland McGrath <roland@hack.frob.com>
1112
1113 * Makeconfig (test-wrapper-env-only): New variable.
1114 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1115 then use that with $(test-wrapper-env-only) rather than using
1116 $(test-wrapper-env) $(run-program-env) $($*-ENV).
1117
209826bc
L
11182015-03-05 H.J. Lu <hongjiu.lu@intel.com>
1119
1120 [BZ #18082]
1121 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1122 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1123 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1124 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1125 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1126 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1127 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1128 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1129 Likewise.
1130 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1131 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1132 Likewise.
1133 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1134 Likewise.
1135 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1136 Likewise.
1137 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1138 Likewise.
1139 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1140 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1141 Likewise.
1142 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1143 Likewise.
1144 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1145 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1146
2cfe32bc
RM
11472015-03-04 Roland McGrath <roland@hack.frob.com>
1148
8bff5aab
RM
1149 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1150 (ETH_ALEN): New macro.
1151 (struct ether_addr): Use it for length of ether_addr_octet.
1152
2752f338
RM
1153 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1154 (setdb): Don't call __nss_configure_lookup for "rpc".
1155 (do_test): Don't call test_rpc.
1156 (output_rpcent, test_rpc): Functions moved ...
1157 * sunrpc/test-rpcent.c: ... to this new file.
1158 * sunrpc/Makefile (tests): Add it.
1159
2cfe32bc
RM
1160 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1161 __xpg_sigpause.
1162 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1163 * nptl/tst-signal6.c: Likewise.
1164 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1165 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1166
e4693aa7
RM
1167 * configure.ac (libc_cv_cxx_link_ok): New check.
1168 Reset CXX to empty if it fails to link.
1169 * configure: Regenerated.
1170 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1171 bug-atexit3-lib only if $(CXX) is nonempty.
1172 * nptl/Makefile (tests): Likewise for tst-cancel24.
1173 (tests, tests-static): Likewise for tst-cancel24-static.
1174 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1175 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
1176 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1177 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 1178
8e2e833a
AS
11792015-03-04 Andreas Schwab <schwab@suse.de>
1180
1181 [BZ #17631]
1182 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1183 for non-GCC compilers.
1184 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1185 Likewise.
1186
85b29045
AZ
11872015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1188
1189 [BZ #17776]
1190 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1191 integer before bitwise and assembly operations.
1192 (feclearexcept): Likewise.
1193 * math/test-fenvinline.c: New file.
1194 * math/Makefile: Add test-fenvinline test.
1195
a0af371c
AM
11962015-03-03 Alan Modra <amodra@gmail.com>
1197
1198 [BZ #16512]
1199 * scripts/localplt.awk: Strip off symbol version.
1200 * NEWS: Mention bug fix.
1201
47465629
RM
12022015-03-02 Roland McGrath <roland@hack.frob.com>
1203
1204 * sysdeps/pthread/timer_routines.c
1205 (timer_free_list, thread_free_list, thread_active_list): Make static.
1206
6d08b022
JM
12072015-03-02 Joseph Myers <joseph@codesourcery.com>
1208
1209 [BZ #17779]
1210 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1211 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1212 Undefine.
1213 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1214 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1215 Likewise.
1216 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1217 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1218 Likewise.
1219
c2c6d39f
PP
12202015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1221
1222 [BZ #18036]
1223 * posix/fnmatch_loop.c (END): Detect invalid pattern.
1224 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1225
e8b6be00
AS
12262015-03-02 Andreas Schwab <schwab@suse.de>
1227
1228 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1229 variable name.
1230
1a2d98af
FW
12312015-03-02 Florian Weimer <fweimer@redhat.com>
1232
1233 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1234 Return error status.
1235
e7f07af5
AO
12362015-02-27 Alexandre Oliva <aoliva@redhat.com>
1237
1238 [BZ #15969]
1239 * locale/findlocale.c (_nl_find_locale): Introduce const
1240 version of loc_name and drop unsafe type casts.
1241
c7b19ca9
RM
12422015-02-27 Roland McGrath <roland@hack.frob.com>
1243
1244 * dlfcn/tststatic2.c (main): Converted to ...
1245 (do_test): ... this.
1246 (TEST_FUNCTION): New macro.
1247 Include test-skeleton.c.
1248
ef4ad06f
L
12492015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1250
1251 [BZ #17711]
1252 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1253 (tests-pie): Add vismain.
1254 (CFLAGS-vismain.c): New.
1255 * elf/vismain.c: Add comments for PIE requirement.
1256
2ca725c5
JM
12572015-02-27 Joseph Myers <joseph@codesourcery.com>
1258
1259 [BZ #18046]
1260 [BZ #18047]
1261 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1262 0x1p-56L as threshold for just returning the argument.
1263 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1264 0x1p-32L as threshold for just returning the argument.
1265 * math/auto-libm-test-in: Add more tests of atanh.
1266 * math/auto-libm-test-out: Regenerated.
1267 * sysdeps/i386/fpu/libm-test-ulps: Update.
1268 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1269
af96be34
WD
12702015-02-27 Wilco Dijkstra wdijkstr@arm.com
1271
1272 * string/bcopy.c (bcopy): Call memmove for performance.
1273
ddcf6798
WD
12742015-02-27 Wilco Dijkstra wdijkstr@arm.com
1275
1276 * string/bzero.c (__bzero): Call memset for performance.
1277
49f476f4
JDA
12782015-02-27 John David Anglin <dave.anglin@bell.net>
1279
b42e14ff 1280 [BZ #18068]
49f476f4
JDA
1281 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1282 to 00100000.
1283
f8ab5d38
JM
12842015-02-27 Joseph Myers <joseph@codesourcery.com>
1285
1286 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1287
380bd0fd
JM
12882015-02-26 Joseph Myers <joseph@codesourcery.com>
1289
31331a07
JM
1290 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1291 (__kernel_standard): Use CSTR macro when setting exc.name.
1292 * sysdeps/ieee754/Makefile [$(subdir) = math]
1293 (CFLAGS-k_standard.c): Remove variable.
1294
09220e66
JM
1295 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1296 setting p and q from "else if" to "else".
1297 (qzero): Likewise.
1298 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1299 (qone): Likewise.
1300 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1301 (qzerof): Likewise.
1302 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1303 (qonef): Likewise.
1304 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1305 (qzero): Likewise.
1306 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1307 (qone): Likewise.
1308
1d9ab20c
JM
1309 [BZ #18038]
1310 [BZ #18039]
1311 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1312 return pi/2 for arguments below 0x1p-113L.
1313 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1314 return pi/2 for arguments below 0x1p-106L.
1315 * math/auto-libm-test-in: Add more tests of acos.
1316 * math/auto-libm-test-out: Regenerated.
1317
ec0ce0d3
JM
1318 [BZ #16351]
1319 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1320 (MO): New macro.
1321 (__ieee754_asin): Force underflow exception for results with small
1322 absolute value.
1323 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1324 (MO): New macro.
1325 (__ieee754_asinf): Force underflow exception for results with
1326 small absolute value.
1327 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1328 (__ieee754_asin): Force underflow exception for results with small
1329 absolute value.
1330 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1331 (__ieee754_asinf): Force underflow exception for results with
1332 small absolute value.
1333 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1334 (__ieee754_asinl): Force underflow exception for results with
1335 small absolute value.
1336 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1337 (__ieee754_asinl): Force underflow exception for results with
1338 small absolute value.
1339 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1340 (__ieee754_asinl): Force underflow exception for results with
1341 small absolute value.
1342 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1343 Include <math.h>.
1344 * math/auto-libm-test-in: Do not mark underflow exceptions as
1345 possibly missing for bug 16351.
1346 * math/auto-libm-test-out: Regenerated.
1347
380bd0fd
JM
1348 [BZ #18030]
1349 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1350 of power of 2 down when low part has opposite sign.
1351 * math/libm-test.inc (logb_test_data): Add more tests.
1352
4a28f4d5
AS
13532015-02-26 Andreas Schwab <schwab@suse.de>
1354
1355 [BZ #18032]
1356 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1357 over collating symbol inside a bracket expression. Minor cleanup.
1358 * posix/tst-fnmatch3.c (do_test): Add test case.
1359
524ae9ea
JM
13602015-02-26 Joseph Myers <joseph@codesourcery.com>
1361
1362 [BZ #18029]
1363 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1364 Adjust exponent of power of 2 down when low part has opposite
1365 sign.
1366 * math/libm-test.inc (ilogb_test_data): Add more tests.
1367
23d43090
AO
13682015-02-26 Alexandre Oliva <aoliva@redhat.com>
1369
1370 [BZ #15969]
1371 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1372 the previous change.
0d822a01
AO
1373
1374 [BZ #15969]
1375 * locale/findlocale.c (_nl_find_locale): Retry archive search
1376 after alias expansion.
1377
d19df6ac
RM
13782015-02-25 Roland McGrath <roland@hack.frob.com>
1379
ca681b7b
RM
1380 * iconv/tst-iconv3.c (main): Converted to ...
1381 (do_test): ... this.
1382 (TEST_FUNCTION): New macro.
1383 Include test-skeleton.c.
1384
fd1f2f1c
RM
1385 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1386 (convert): Make function static.
1387 (test_unalign): Likewise. Add const to argument pointee types.
1388 (main): Replace with static function do_test.
1389 Print "Succeeded." only if RET is zero.
1390 (TEST_FUNCTION): New macro.
1391 Include test-skeleton.c.
1392
d19df6ac
RM
1393 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1394 returns a null pointer.
1395
115e0de7
AZ
13962015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1397
1398 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1399 to __memcpy_ppc only for static builds.
1400
137cef7d
JM
14012015-02-25 Joseph Myers <joseph@codesourcery.com>
1402
1403 [BZ #18020]
1404 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1405 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1406 * math/auto-libm-test-in: Add more tests of asinh.
1407 * math/auto-libm-test-out: Regenerated.
1408 * sysdeps/i386/fpu/libm-test-ulps: Update.
1409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1410
cb43bb0d
CW
14112015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1412
1413 [BZ #15850]
1414 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1415 and ip6_mtuinfo definitions here.
1416 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1417 in this define too. Update comment.
1418
9be1052b
BS
14192015-02-24 Benno Schulenberg <bensberg@justemail.net>
1420
1421 * elf/sprof.c (load_shobj): Tweak error message to match others.
1422
6807b1db
KE
14232015-02-24 Kevin Easton <kevin@guarana.org>
1424
1425 [BZ #16145] (partial fix)
1426 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1427 to reduce lock contention.
1428
b433df00
ML
14292015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1430
1431 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1432 (struct timex): Update time comment.
1433 (ADJ_SETOFFSET): Define.
1434
440169d6
JM
14352015-02-24 Joseph Myers <joseph@codesourcery.com>
1436
1437 [BZ #18019]
1438 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1439 2**56 not 2**28 as threshold for log (2x) formula.
1440 * math/auto-libm-test-in: Add more tests of acosh.
1441 * math/auto-libm-test-out: Regenerated.
1442 * sysdeps/i386/fpu/libm-test-ulps: Update.
1443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1444
ba7d2c54
MF
14452015-02-24 Mike Frysinger <vapier@gentoo.org>
1446
1447 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1448 parenthesis around the buf assignment.
1449 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1450
9438b237
JM
14512015-02-24 Joseph Myers <joseph@codesourcery.com>
1452
1453 [BZ #16783]
1454 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1455 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1456 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1457 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1458 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1459 * math/libm-test.inc (scalb_test_data): Add more tests.
1460
6909d276
PP
14612015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1462
1463 [BZ #17916]
1464 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1465 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1466
65f6f938
ER
14672015-02-24 Eric Rannaud <e@nanocritical.com>
1468
1469 [BZ #17523]
1470 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1471 * io/bits/fcntl2.h (open): Use it.
1472 (openat): Likewise.
1473 * io/open.c (__libc_open): Likewise.
1474 * io/open64.c (__libc_open64): Likewise.
1475 * io/open64_2.c (__open64_2): Likewise.
1476 * io/open_2.c (__open_2): Likewise.
1477 * io/openat.c (__openat): Likewise.
1478 * io/openat64.c (__openat64): Likewise.
1479 * io/openat64_2.c (__openat64_2): Likewise.
1480 * io/openat_2.c (__openat_2): Likewise.
1481 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1482 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1483 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1484 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1485 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1486 (__open_nocancel): Likewise.
1487 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1488 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1489 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1490
3e3002ff
SP
14912015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1492
1493 [BZ #14841]
1494 * resolv/gethnamaddr.c (getanswer): Skip logging if
1495 RES_USE_DNSSEC is set.
1496 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1497
9813dd58
MF
14982015-02-24 Mike Frysinger <vapier@gentoo.org>
1499
1500 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1501
7b1ec6a0
AO
15022015-02-23 Alexandre Oliva <aoliva@redhat.com>
1503
1504 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1505 201304L, for Unicode 7.
1506
d49499c1
L
15072015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1508
1509 [BZ #17836]
1510 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1511 shared library. Add gmon-start.os otherwise.
1512 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1513 $(objpfx)gmon-start.os if builing shared library.
1514 ($(objpfx)g$(static-start-installed-name)): Likewise.
1515
51225803
AS
15162015-02-23 Andreas Schwab <schwab@suse.de>
1517
1518 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1519
bdf1ff05
PP
15202015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1521
1522 [BZ #17269]
1523 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1524 (enlarge_userbuf): Likewise.
1525
95296112
CLT
15262015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1527
1528 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1529 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1530 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1531 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1532
e4a399dc
JM
15332015-02-20 Joseph Myers <joseph@codesourcery.com>
1534
1535 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1536 expression inside statement expression.
1537
7133957f
SL
15382015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1539
1540 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1541 <sysdeps/nptl/lowlevellock.h> and remove macros and
1542 functions that are now defined there.
1543 (SYS_futex): Remove.
1544 (lll_compare_and_swap): Remove.
1545 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1546
40176158
JM
15472015-02-19 Joseph Myers <joseph@codesourcery.com>
1548
1549 [BZ #17999]
1550 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1551 instead of scandirat.
1552 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1553 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1554 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1555 __scandirat.
1556 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1557 (__scandirat): Declare. Use libc_hidden_proto.
1558 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1559 Remove variable.
1560 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1561
4629c866
JM
15622015-02-18 Joseph Myers <joseph@codesourcery.com>
1563
1564 [BZ #15319]
1565 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1566 (MO): New macro.
1567 (__ieee754_atan2): For results with small absolute value, force
1568 underflow exception and remove excess range and precision from
1569 return value.
1570 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1571 (MO): New macro.
1572 (__ieee754_atan2f): For results with small absolute value, force
1573 underflow exception and remove excess range and precision from
1574 return value.
1575 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1576 (MO): New macro.
1577 (__atan): For results with small absolute value, force underflow
1578 exception and remove excess range and precision from return value.
1579 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1580 (MO): New macro.
1581 (__atanf): For results with small absolute value, force underflow
1582 exception and remove excess range and precision from return value.
1583 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1584 <math.h>.
1585 (__ieee754_atan2): Force underflow exception for results with
1586 small absolute value.
1587 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1588 <math_private.h>.
1589 (atan): Force underflow exception for results with small absolute
1590 value.
1591 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1592 (__atanf): Force underflow exception for results with small
1593 absolute value.
1594 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1595 <math.h>.
1596 (__atanl): Force underflow exception for results with small
1597 absolute value.
1598 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1599 (__atanl): Force underflow exception for results with small
1600 absolute value.
1601 * sysdeps/x86/fpu/bits/mathinline.h
1602 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1603 (__ieee754_atan2): Only define inline for long double.
1604 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1605 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1606 * math/auto-libm-test-in: Do not mark underflow exceptions as
1607 possibly missing for bug 15319. Add more tests of atan2.
1608 * math/auto-libm-test-out: Regenerated.
1609 * math/libm-test.inc (casin_test_data): Do not mark underflow
1610 exceptions as possibly missing for bug 15319.
1611 (casinh_test_data): Likewise.
1612 * sysdeps/i386/fpu/libm-test-ulps: Update.
1613
9ee16d8b
SE
16142015-02-18 Steve Ellcey <sellcey@imgtec.com>
1615
1616 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1617 * sysdeps/mips/bits/endian.h: Fix comments.
1618
4ffb1771
JM
16192015-02-18 Joseph Myers <joseph@codesourcery.com>
1620
1621 [BZ #17996]
1622 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1623 (hdestroy_r): Likewise.
1624 (hsearch_r): Likewise.
1625 (__hcreate_r): Declare and use libc_hidden_proto.
1626 (__hdestroy_r): Likewise.
1627 (__hsearch_r): Likewise.
1628 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1629 (hcreate): Call __hcreate_r instead of hcreate_r.
1630 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1631 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1632 as weak alias of __hcreate_r.
1633 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1634 __hdestroy_r.
1635 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1636 __hsearch_r.
1637 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1638 Remove variable.
1639 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1640 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1641 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1642 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1643
94c5a52a
SP
16442015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1645
1646 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1647 arena_lock into a single arena_get.
1648
8a35c3fe
CD
16492015-02-17 Carlos O'Donell <carlos@redhat.com>
1650
1651 * dl-reloc.c: Inlucde libc-internal.h.
1652 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1653 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1654 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1655 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1656 (grow_heap): Likewise.
1657 * malloc/malloc.c: Include libc-internal.h.
1658 (do_check_malloc): Call powerof2.
1659 (sysmalloc): Use pagesize. Call ALIGN_UP.
1660 (systrim): Use pagesize.
1661 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1662 (__libc_valloc): Use pagesize.
1663 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1664
1a2325c0
JM
16652015-02-17 Joseph Myers <joseph@codesourcery.com>
1666
1667 [BZ #17991]
1668 * include/sys/resource.h (__getrlimit64): Declare. Use
1669 libc_hidden_proto.
1670 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1671 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1672 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1673 getrlimit64.
1674 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1675 __getrlimit64.
1676 [!getrlimit64] (getrlimit64): Define as weak alias of
1677 __getrlimit64. Use libc_hidden_weak.
1678 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1679 using __getrlimit64 not __new_getrlimit64.
1680 (__GI_getrlimit64): Likewise.
1681 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1682 Likewise.
1683 (__GI_getrlimit64): Likewise.
1684 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1686 (getrlimit): Add __getrlimit64 alias.
1687 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1688 Likewise.
1689 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1690 Remove variable.
1691 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1692 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1693
8ae4bb5a
PP
16942015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1695
1696 * libio/fileops.c: Add missing sys/mman.h
1697 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1698
18a218b7
JM
16992015-02-17 Joseph Myers <joseph@codesourcery.com>
1700
1701 * manual/math.texi (Errors in Math Functions): Clarify goals
1702 regarding inexact and underflow exceptions.
1703
e72ad0ef
SE
17042015-02-17 Steve Ellcey <sellcey@imgtec.com>
1705
1706 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1707 * sysdeps/mips/memset.S: Ditto.
1708
2caa4099
SE
17092015-02-17 Steve Ellcey <sellcey@imgtec.com>
1710
1711 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1712
f20bfc9b
SL
17132015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1714
1715 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1716 (__v1longjmp): Remove versioned symbol.
1717 (__v1siglongjmp): Remove alias and versioned symbol.
1718 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1719 (__v2siglongjmp): Likewise.
1720
71c06b69
TR
17212015-02-16 Torvald Riegel <triegel@redhat.com>
1722
1723 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1724
a9a05adb
MF
17252015-02-16 Mike Frysinger <vapier@gentoo.org>
1726
1727 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1728
ce8fc784
JM
17292015-02-16 Joseph Myers <joseph@codesourcery.com>
1730
1731 [BZ #17987]
1732 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1733 zero result does not depend on the sign resulting from
1734 subtraction.
1735 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1736 Likewise.
1737 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1738 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1739 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1740 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1741 * math/libm-test.inc (remquo_test_data): Add more tests.
1742
0d7036bd
PE
17432015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1744
1745 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1746 Problem reported by J William Piggott.
1747
86c56b16
JM
17482015-02-16 Joseph Myers <joseph@codesourcery.com>
1749
a820f9b3
JM
1750 [BZ #17978]
1751 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1752 products 4 * y and 2 * y where those would overflow.
1753 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1754 Likewise.
1755 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1756 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1757 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1758 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1759 * math/libm-test.inc (remquo_test_data): Add more tests.
1760
be802953
JM
1761 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1762
e5e72fe9
JM
1763 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1764 [defined _COMPILING_NEWLIB].
1765 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1766 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1767
86c56b16
JM
1768 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1769 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1770
35264d14
TR
17712015-02-16 Torvald Riegel <triegel@redhat.com>
1772
1773 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1774 acquired.
1775
6f49e32a
MF
17762015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1777
1778 [BZ #17792]
1779 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1780 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1781 HOST_STACK_END_ADDR): Likewise.
1782
e525154e
SE
17832015-02-13 Steve Ellcey <sellcey@imgtec.com>
1784
1785 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1786 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1787 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1788
4ab770b7
RM
17892015-02-13 Roland McGrath <roland@hack.frob.com>
1790
1791 * sysdeps/generic/c++-types.data: New file.
1792 * sysdeps/generic/ld.abilist: New file.
1793 * sysdeps/generic/libBrokenLocale.abilist: New file.
1794 * sysdeps/generic/libanl.abilist: New file.
1795 * sysdeps/generic/libc.abilist: New file.
1796 * sysdeps/generic/libcrypt.abilist: New file.
1797 * sysdeps/generic/libdl.abilist: New file.
1798 * sysdeps/generic/libm.abilist: New file.
1799 * sysdeps/generic/libpthread.abilist: New file.
1800 * sysdeps/generic/libresolv.abilist: New file.
1801 * sysdeps/generic/librt.abilist: New file.
1802
d9afe48d
JM
18032015-02-13 Joseph Myers <joseph@codesourcery.com>
1804
1805 [BZ #17569]
1806 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1807 Compute absolute value of x as modified by fmod, not original
1808 value of x.
1809 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1810 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1811 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1812 RUN_TEST_ffI_f1_mod8.
1813 (remquo_test_data): Add more tests.
1814
3846188b
RM
18152015-02-13 Roland McGrath <roland@hack.frob.com>
1816
1817 * sysdeps/init_array/pt-crti.S: New file.
1818
95c26233
JM
18192015-02-13 Joseph Myers <joseph@codesourcery.com>
1820
1821 [BZ #17967]
1822 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1823 __builtin_fmaf instead of relying on contraction of a * b + c.
1824
3f293d61
WP
18252015-02-12 J William Piggott <elseifthen@gmx.com>
1826
1827 [BZ #17969]
1828 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1829 node.
1830
e8bd5286
JM
18312015-02-12 Joseph Myers <joseph@codesourcery.com>
1832
1833 [BZ #17964]
1834 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1835 __builtin_fma instead of relying on contraction of a * b + c.
1836
04f5a636
RM
18372015-02-12 Roland McGrath <roland@hack.frob.com>
1838
96a15749
RM
1839 * Makeconfig (ASFLAGS): Add -Werror=undef.
1840 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1841 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1842 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1843
04f5a636
RM
1844 * Makeconfig (after-link): New variable.
1845 (+link-pie, +link-pie-tests): Use it.
1846 (+link-static, +link-static-tests): Likewise.
1847 (+link, +link-tests): Likewise.
1848 * Makerules (build-module, build-module-asneeded): Likewise.
1849 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1850 Likewise.
1851 * elf/Makefile ($(objpfx)ld.so): Likewise.
1852
87a629c5
RS
18532015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1854
1855 [BZ #17965]
1856 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1857 both struct timeval and struct timespec.
1858
03d95bd4
JM
18592015-02-12 Joseph Myers <joseph@codesourcery.com>
1860
1861 [BZ #16560]
1862 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1863 and redefine.
1864 (__ieee754_exp2l): Do not multiply small fractional parts by
1865 M_LN2l.
1866 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1867 small argument.
1868 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1869 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1870 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1871 * math/auto-libm-test-in: Add more tests of exp2.
1872 * math/auto-libm-test-out: Regenerated.
1873
98408b95
RS
18742015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1875
1876 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1877 unaligned path.
1878
6f741503
AZ
18792015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1880
1881 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1882 little endian.
1883
2868e070
AS
18842015-02-12 Andreas Schwab <schwab@suse.de>
1885
1886 [BZ #15790]
1887 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1888 Filter out elision flags from value returned in kind.
1889 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1890 * nptl/tst-pthread-mutexattr.c: New file.
1891
ebf27d12
ST
18922015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1893
1894 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1895 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1896 into gnu-gnu, and update comment to refer to abi-tags.
1897
d435569c
JM
18982015-02-11 Joseph Myers <joseph@codesourcery.com>
1899
1900 [BZ #15467]
1901 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1902 (__sincos): Set errno to EDOM for infinite argument.
1903 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1904 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1905 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1906 (__sincosl): Set errno to EDOM for infinite argument.
1907 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1908 (__sincosl): Set errno to EDOM for infinite argument.
1909 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1910 (__sincosl): Set errno to EDOM for infinite argument.
1911 * math/libm-test.inc (sincos_test_data): Test errno setting.
1912
d35273f2
LH
19132015-02-11 Leonhard Holz <leonhard.holz@web.de>
1914
1915 * string/strxfrm_l.c: Remove #define STRCMP.
1916 * string/strcoll_l.c: Remove #define STRLEN.
1917 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1918 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1919
306bc0d1
JM
19202015-02-10 Joseph Myers <joseph@codesourcery.com>
1921
1922 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1923 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1924 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1925 * sysdeps/mips/mips64/Makefile: ... here.
1926 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1927 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1928 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1929 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1930 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1931 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1932 * sysdeps/mips/mips64/n64/Implies: Likewise.
1933
92b67e8d
RM
19342015-02-10 Roland McGrath <roland@hack.frob.com>
1935
1936 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1937 <sys/time.h>, <string.h>, and <errno.h>.
1938 (dest_offset, dest_address, value, zero): Remove unused variables.
1939 (ldouble): Remove typedef.
1940 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1941 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1942 1). Fix code style.
1943 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
1944 (check): Function removed.
1945 (CHECK): New macro.
1946 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
1947 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
1948 Don't call set_sigaction_FP and remove_sigaction_FP here.
1949 (ldouble_test): Just use 'long double' as macro argument, no need for
1950 the 'ldouble' typedef.
1951 (do_test): Set up SIGFPE handler at start, using plain signal rather
1952 than sigaction. Fix code style.
1953
132a1328
EF
19542015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
1955
1956 [BZ #17949]
1957 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
1958 jump label.
1959
3001e54c
AZ
19602015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1961
bc0cdc49
AZ
1962 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
1963 * sysdeps/powerpc/powerpc32/configure: Regenerated.
1964
83658961
AZ
1965 * sysdeps/powerpc/configure.ac: Remove file.
1966 * sysdeps/powerpc/configure: Likewise.
1967
10169938
AZ
1968 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1969 [sysdep_routines]: Remove wordcopy-power6 object.
1970 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
1971 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
1972 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
1973 (__memmove_ppc32): Likewise.
1974 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
1975 file.
1976 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
1977 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
1978 Remove preprocessor.
1979
8548a53d
AZ
1980 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1981 [sysdep_routines]: Remove wide chars objects.
1982 [wcsmbs]: New rule for wide char objects.
1983
b2692114
AZ
1984 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1985 Remove wordcopy-power6 obejct.
1986 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
1987 Use local call for wordcopy and memcpy symbols.
1988 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
1989 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
1990 implementation for loader.
1991 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
1992
18e270aa
AZ
1993 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1994 Remove wordcopy-power7 object.
1995 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
1996 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
1997 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
1998 (_wordcopy_fwd_dest_aligned): Likewise.
1999 (_wordcopy_bwd_aligned): Likewise.
2000 (_wordcopy_bwd_dest_aligned): Likewise.
2001
6f0993a6
AZ
2002 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2003 Rewrite to call __memmove_ppc instead of include default
2004 implementation.
2005
3001e54c
AZ
2006 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2007 Remove wide chars objects.
2008 [wcsmbs]: New rule for wide char objects.
2009
59b61c82
AS
20102015-02-09 Andreas Schwab <schwab@suse.de>
2011
2012 [BZ #17912]
2013 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2014 in terms of __O_DIRECTORY.
2015
ebd7aede
ST
20162015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2017
2018 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
2019 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2020 call PTR_MANGLE.
2021 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2022 PTR_DEMANGLE.
ebd7aede 2023
3999d26e
PE
20242015-02-07 Paul Eggert <eggert@cs.ucla.edu>
2025
2026 Add ersatz _Static_assert on older C hosts
2027 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2028 pre-C11 C platform that is not known to support _Static_assert.
2029
e9a5bc1c
ST
20302015-02-07 Richard Braun <rbraun@sceen.net>
2031
2032 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2033 sigstate.
e86c5b64 2034 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 2035
e2049d17
ST
20362015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2037
2038 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2039 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
2040 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2041 instead of int.
2042 * misc/fchflags.c (fchflags): Likewise.
2043 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2044 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2045 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2046 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2047 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2048 Declare macros.
2049 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
2050 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2051 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
2052 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2053 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2054 45.
a9a002fb
ST
2055 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2056 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
2057 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2058 MACH_RCV_TIMED_OUT.
f96ec27a
ST
2059 * hurd/hurd/signal.h (_hurd_self_sigstate,
2060 _hurd_critical_section_lock, _hurd_critical_section_unlock):
2061 Explicit casts from void *.
4fc81a77 2062 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 2063 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 2064
f05826f0
ST
2065 [BZ #4719]
2066 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2067 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2068 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2069 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2070 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2071 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2072
a5eb23de
ST
2073 [BZ #17944]
2074 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2075 duplicates ADDR->sun_path with sockaddr LEN limitation.
2076 * sysdeps/mach/hurd/connect.c: Include <string.h>
2077 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2078 * sysdeps/mach/hurd/sendmsg.c: Likewise.
2079 * sysdeps/mach/hurd/sendto.c: Likewise.
2080 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2081 implementing it by hand.
2082
ac9e0e5e
RM
20832015-02-06 Roland McGrath <roland@hack.frob.com>
2084
f8d1bb4c
RM
2085 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2086 Use sfi_breg on ldr.
2087 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2088 Likewise.
2089
022f4812
RM
2090 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2091 it's defined.
2092 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2093 Test SIGSETXID only if it's defined.
2094
1ac074e6
RM
2095 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2096
f50ad78b
RM
2097 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2098 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
2099
9e7265f4
RM
2100 * nptl/tst-align2.c: Moved ...
2101 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2102 * nptl/Makefile (tests): Remove tst-align2.
2103 * sysdeps/unix/sysv/linux/Makefile
2104 [$(subdir) = nptl] (tests): Add tst-align-clone.
2105 * nptl/tst-getpid1.c: Moved ...
2106 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2107 * nptl/tst-getpid2.c: Moved ...
2108 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2109 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2110 * sysdeps/unix/sysv/linux/Makefile
2111 [$(subdir) = nptl] (tests): ... here.
2112 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2113 * sysdeps/unix/sysv/linux/Makefile
2114 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2115
62ad2abc
RM
2116 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2117 Drop trailing \n from perror argument. Use return rather than exit.
2118
cfa69b0b
RM
2119 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2120 on [SA_SIGINFO].
2121 * nptl/tst-cancel21.c (do_test): Likewise.
2122 * debug/tst-backtrace6.c: Include <signal.h> first thing.
2123 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2124 [!SA_SIGINFO]: Make it a stub test.
2125
82727806
RM
2126 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2127 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2128
da3a1594
RM
2129 * posix/tst-getlogin.c: Move to ...
2130 * login/tst-getlogin.c: ... here.
2131 * posix/Makefile (tests): Move tst-getlogin to ...
2132 * login/Makefile (tests): ... here.
2133
b65c0ff9
RM
2134 * libio/tst-atime.c (do_test): Move local variables SV and E
2135 inside [ST_NOATIME] conditional.
2136
56606ab3
RM
2137 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2138
ebf7d6ee
RM
2139 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2140
ca0e0675
RM
2141 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2142 (wait_code): New function replaces macro.
2143 Call nanosleep rather than syscall.
2144
8c28bbc6
RM
2145 * nptl/pt-system.c: Rewritten. Put everything under
2146 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2147 Use IFUNC to redirect when possible.
2148
ec2a88b3
RM
2149 * nptl/pt-longjmp.c: Rewritten. Put everything under
2150 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2151 Use IFUNC to redirect when possible.
2152
beff1d13
RM
2153 * nptl/pt-fork.c: Rewritten. Put everything under
2154 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2155 Use IFUNC to redirect when possible.
2156 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2157
ea02c6b8
RM
2158 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2159 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2160 unconditionally nowadays. This included the only reference to
2161 __vdso_clock_gettime that appears outside libc proper.
2162 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2163 Remove version set (containing only __vdso_clock_gettime).
2164 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2165 Add attribute_hidden.
2166 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2167 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2168 libc_hidden_data_def.
2169 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2170 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2171
a1309c2b
RM
2172 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2173 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2174 setrpcent, and getrpcport to ...
2175 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2176 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2177 getrpcbynumber_r, and getrpcent_r to ...
2178 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2179 * inet/getrpcbyname.c: Moved ...
2180 * sunrpc/getrpcbyname.c: ... here.
2181 * inet/getrpcbyname_r.c: Moved ...
2182 * sunrpc/getrpcbyname_r.c: ... here.
2183 * inet/getrpcbynumber.c: Moved ...
2184 * sunrpc/getrpcbynumber.c: ... here.
2185 * inet/getrpcbynumber_r.c: Moved ...
2186 * sunrpc/getrpcbynumber_r.c: ... here.
2187 * inet/getrpcent.c: Moved ...
2188 * sunrpc/getrpcent.c: ... here.
2189 * inet/getrpcent_r.c: Moved ...
2190 * sunrpc/getrpcent_r.c: ... here.
2191 * inet/Makefile (routines): Move those to ...
2192 * sunrpc/Makefile (routines): ... here.
2193 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2194 the $(subdirs) list.
2195 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
2196 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2197 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2198 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2199
ac9e0e5e
RM
2200 * elf/Makefile (routines): Include $(all-dl-routines), not just
2201 $(dl-routines).
2202 (rtld-routines): Likewise. Use = rather than :=.
2203 * sysdeps/aarch64/Makefile [$(subdir) = elf]
2204 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2205 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2206 * sysdeps/arm/Makefile: Likewise.
2207 * sysdeps/i386/Makefile: Likewise.
2208 * sysdeps/x86_64/Makefile: Likewise.
2209 * sysdeps/hppa/Makefile [$(subdir) = elf]
2210 (sysdep_routines, sysdep-rtld-routines): Don't add
2211 $(sysdep-dl-routines) to these.
2212 * sysdeps/ia64/Makefile: Likewise.
2213 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2214 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2215 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2216 Don't add dl-static to these; sysdep-dl-routines alone is enough.
2217 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2218 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2219 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2220 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2221 * sysdeps/powerpc/Makefile [$(subdir) = elf]
2222 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2223 these; sysdep-dl-routines alone is enough.
2224
639e42eb
JM
22252015-02-06 Joseph Myers <joseph@codesourcery.com>
2226
1c7a4a51
JM
2227 [BZ #17932]
2228 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2229 where multiplication results in zero and third argument is finite
2230 and nonzero.
2231 * math/auto-libm-test-in: Add more tests of fma.
2232 * math/auto-libm-test-out: Regenerated.
2233
61f006c1
JM
2234 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2235 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2236 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2237 (_FP_CMP_EQ): Likewise.
2238 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2239
639e42eb
JM
2240 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2241 extra argument CHECK_NAN. Redefine as wrapper around
2242 _FP_EXTEND_CNAN.
2243
3c0c543b
CD
22442015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2245
4e42b5b8
CD
2246 * version.h (RELEASE): Set to "stable".
2247 (VERSION): Set to "2.21"
2248 * include/features.h (__GLIBC_MINOR__): Set to 21.
2249
3c0c543b
CD
2250 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2251
5bd80bfe 22522015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 2253 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
2254
2255 [BZ #16618]
2256 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2257 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2258 size in bytes. Store needed elements in wpmax. Use needed size
2259 in bytes for extend_alloca.
2260
3f823f48
CD
22612015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2262
04cb913d
CD
2263 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2264 binutls 2.25, and texinfo 5.2.
2265 * INSTALL: Regenerate.
2266 * sysdeps/nios2/configure: Regenerate.
2267 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2268 * manual/contrib.texi: Update.
2269 * po/be.po: Update.
2270 * po/bg.po: Update.
2271 * po/ca.po: Update.
2272 * po/cs.po: Update.
2273 * po/da.po: Update.
2274 * po/de.po: Update.
2275 * po/el.po: Update.
2276 * po/eo.po: Update.
2277 * po/es.po: Update.
2278 * po/fi.po: Update.
2279 * po/fr.po: Update.
2280 * po/gl.po: Update.
2281 * po/hr.po: Update.
2282 * po/hu.po: Update.
2283 * po/ia.po: Update.
2284 * po/id.po: Update.
2285 * po/it.po: Update.
2286 * po/ja.po: Update.
2287 * po/ko.po: Update.
2288 * po/lt.po: Update.
2289 * po/nb.po: Update.
2290 * po/nl.po: Update.
2291 * po/pl.po: Update.
2292 * po/pt_BR.po: Update.
2293 * po/ru.po: Update.
2294 * po/rw.po: Update.
2295 * po/sk.po: Update.
2296 * po/sl.po: Update.
2297 * po/sv.po: Update.
2298 * po/tr.po: Update.
2299 * po/uk.po: Update.
2300 * po/vi.po: Update.
2301 * po/zh_CN.po: Update.
2302 * po/zh_TW.po: Update.
2303
3f823f48
CD
2304 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2305 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2306 * sysdeps/hppa/dl-irel.h: Remove #warning.
2307 * sysdeps/hppa/entry.h: Provide prototype for
2308 __canonicalize_funcptr_for_compare and cast argument.
2309 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2310 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2311 * sysdeps/hppa/sotruss-lib.c: New file.
2312 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2313 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2314 (atomic_compare_and_exchange_bool_acq): Likewise.
2315 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2316 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2317
2318 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2319 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2320 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2321
34c56048
CLT
23222015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2323
2324 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2325 called function in non-PIC case.
2326
d4abeca5
DM
23272015-01-31 David S. Miller <davem@davemloft.net>
2328
edac0a60
DM
2329 * sysdeps/sparc/sparc32/bits/atomic.h
2330 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2331 unlock not after it.
2332 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2333 volatile register usage warnings from the compiler.
2334
d4abeca5
DM
2335 * sysdeps/sparc/nptl/sem_init.c: Delete.
2336 * sysdeps/sparc/nptl/sem_post.c: Delete.
2337 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2338 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2339 * sysdeps/sparc/sparc32/sem_init.c: New file.
2340 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2341 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2342 padding explicitly initialized.
2343 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2344 padding for in-semaphore spinlock.
2345 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2346 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2347 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2348 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2349 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2350 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2351 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2352 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2353 version.
2354 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2355 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2356
5f3d0b78
L
23572015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2358
2359 [BZ #17801]
2360 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2361 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2362 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2363 New.
2364 (index_AVX_Fast_Unaligned_Load): Likewise.
2365 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2366 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2367 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2368 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2369 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2370 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2371 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2372 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2373 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2374
b658fdd8
AS
23752015-01-29 Andreas Schwab <schwab@suse.de>
2376
2377 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2378
3cb26316
SP
23792015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2380
2381 [BZ #17892]
2382 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2383
527de9e4
MS
23842015-01-28 Martin Sebor <msebor@redhat.com>
2385
2386 * math/README.libm-test: Clarify. Add "How to read the test output."
2387
06991eb8
CM
23882015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2389
2390 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2391 Define to 0.
2392
df341342
JM
23932015-01-28 Joseph Myers <joseph@codesourcery.com>
2394
2395 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2396 (__HAVE_64B_ATOMICS): Define to 0.
2397
08cee2a4
AZ
23982015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2399
d4d0ecb2
AZ
2400 [BZ #17885]
2401 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2402 value to set as new flag.
2403
08cee2a4
AZ
2404 [BZ #16576]
2405 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2406 and use _ARCH_PPCSQ instead.
2407 (__ieee754_sqrt): Likewise.
2408 (__ieee754_sqrtf): Likewise.
2409 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2410 _ARCH_PPCSQ is defined.
2411 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2412 fsqrt instruction.
2413 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2414 _ARCH_PPCSQ is defined.
2415 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2416 fsqrts instruction.
2417 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2418
5fe8e359
AK
24192015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2420
2421 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2422 bug (GCC BZ #64739).
2423
24bb7432
AS
24242015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2425
fa20da31
AS
2426 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2427 Mark _retval as used.
2428 (lll_futex_wake_unlock): Likewise.
2429 (lll_futex_timed_wait_requeue_pi): Likewise.
2430
45819cbc
AS
2431 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2432 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2433 register variables.
2434
403cc231
AS
2435 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2436 libm_hidden_def.
2437
24bb7432
AS
2438 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2439 (__bswap_64): Mark as __always_inline.
2440
9317ea65
B
24412015-01-25 Bram <bug_rh@spam.wizbit.be>
2442
2443 [BZ #15378]
2444 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2445 when none of the search directories exist.
2446
0e87343e
AZ
24472015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2448
bea58013
AZ
2449 [BZ #17869]
2450 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2451 power8 in .machine directive.
2452
0e87343e
AZ
2453 [BZ #17868]
2454 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2455 set dependency from opd value.
2456
ede0236c
L
24572015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2458
2459 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
2460 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2461 architecture.
ede0236c 2462
22971c35
L
24632015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2464
2465 [BZ #17870]
2466 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2467 with uint64_t.
2468 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2469 (uint64_t) 1.
e0da28a1 2470 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2471 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2472 Replace 1UL with (uint64_t) 1.
2473 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2474 int with uint64_t.
2475
da5bf245
RM
24762015-01-23 Roland McGrath <roland@hack.frob.com>
2477
2ec2d703
RM
2478 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2479 (if_freenameindex): Likewise.
2480
da5bf245
RM
2481 * resource/getrlimit64.c: Add missing libc_hidden_def.
2482
d7423856
JM
24832015-01-22 Joseph Myers <joseph@codesourcery.com>
2484
2485 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2486 __label__.
2487 (_FP_FMA): Likewise.
2488 (_FP_TO_INT_ROUND): Likewise.
2489 (_FP_FROM_INT): Likewise.
2490
6b2ba95b
AZ
24912015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2492
2493 [BZ #16418]
2494 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2495 Make code racy and cancel safe.
2496
ccdb048d
CD
24972015-01-21 Carlos O'Donell <carlos@redhat.com>
2498
191220b3
CD
2499 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2500 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2501 attribution.
2502
0897c551
CD
2503 * pwd/tst-getpw.c: Rewrite.
2504
ccdb048d
CD
2505 [BZ #17702]
2506 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2507 (modules-names): Add moddummy1 and moddummy2.
2508 ($(objpfx)tst-rec-dlopen): Define.
2509 * dlfcn/moddummy1.c: New file.
2510 * dlfcn/moddummy2.c: New file.
2511 * dlfcn/tst-rec-dlopen.c: New file.
2512 * elf/dl-cache.c (_dl_load_cache_lookup):
2513 Return char*. Copy result with alloca/strcpy/strdup.
2514 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2515 returns char*. Free cached. If not saving realname
2516 free cached.
2517 * elf/dl-open.c (dl_open_worker): Do not assert that
2518 _r_debug->r_state is RT_CONSISTENT.
2519 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2520 returns char*.
2521
042e1521
CD
25222015-01-21 Torvald Riegel <triegel@redhat.com>
2523 Carlos O'Donell <carlos@redhat.com>
2524
2525 [BZ #12674]
2526 * nptl/sem_waitcommon.c: New file.
2527 * nptl/sem_wait.c: Include sem_waitcommon.c.
2528 (__sem_wait_cleanup, do_futex_wait): Remove.
2529 (__new_sem_wait): Adapt.
2530 (__new_sem_trywait): New function.
2531 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2532 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2533 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2534 (sem_timedwait): Adapt.
2535 * nptl/sem_post.c (__new_sem_post): Adapt.
2536 (futex_wake): New function.
2537 (__old_sem_post): Add release MO fence.
2538 * nptl/sem_open.c (sem_open): Adapt.
2539 * nptl/sem_init.c (__new_sem_init): Adapt.
2540 (futex_private_if_supported): New function.
2541 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2542 (__old_sem_getvalue): Add using previous code.
2543 * sysdeps/nptl/internaltypes.h: Adapt.
2544 * nptl/tst-sem13.c (do_test): Adapt.
2545 * nptl/tst-sem11.c (main): Adapt.
2546 * nptl/sem_trywait.c: Remove.
2547 * nptl/DESIGN-sem.txt: Remove.
2548 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2549 (gen-as-const-headers): Remove structsem.sym.
2550 * nptl/structsem.sym: Remove.
2551 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2552 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2553 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2554 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2555 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2556 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2557 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2558 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2559 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2560 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2561 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2562 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2563 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2564 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2565 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2566 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2567 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2568 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2569 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2570 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2571 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2572 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2573
fe0e85af
CD
25742015-01-20 Carlos O'Donell <carlos@redhat.com>
2575
a8db092e
CD
2576 * INSTALL: Regenerated.
2577
fe0e85af
CD
2578 * po/libc.pot: Regenerated.
2579
522e6ee3
CLT
25802015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2581 Sandra Loosemore <sandra@codesourcery.com>
2582 Andrew Jenner <andrew@codesourcery.com>
2583 Joseph Myers <joseph@codesourcery.com>
2584 Nathan Sidwell <nathan@codesourcery.com>
2585
2586 * NEWS: Mention new Nios II port.
2587 * sysdeps/nios2/Implies: New file.
2588 * sysdeps/nios2/Makefile: New file.
2589 * sysdeps/nios2/Subdirs: New file.
2590 * sysdeps/nios2/Versions: New file.
2591 * sysdeps/nios2/__longjmp.S: New file.
2592 * sysdeps/nios2/abort-instr.h: New file.
2593 * sysdeps/nios2/backtrace.c: New file.
2594 * sysdeps/nios2/bits/endian.h: New file.
2595 * sysdeps/nios2/bits/fenv.h: New file.
2596 * sysdeps/nios2/bits/link.h: New file.
2597 * sysdeps/nios2/bits/setjmp.h: New file.
2598 * sysdeps/nios2/bsd-_setjmp.S: New file.
2599 * sysdeps/nios2/bsd-setjmp.S: New file.
2600 * sysdeps/nios2/configure: New generated file.
2601 * sysdeps/nios2/configure.ac: New file.
2602 * sysdeps/nios2/crti.S: New file.
2603 * sysdeps/nios2/crtn.S: New file.
2604 * sysdeps/nios2/dl-init.c: New file.
2605 * sysdeps/nios2/dl-machine.h: New file.
2606 * sysdeps/nios2/dl-sysdep.h: New file.
2607 * sysdeps/nios2/dl-tls.h: New file.
2608 * sysdeps/nios2/dl-trampoline.S: New file.
2609 * sysdeps/nios2/gccframe.h: New file.
2610 * sysdeps/nios2/gmp-mparam.h: New file.
2611 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2612 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2613 * sysdeps/nios2/ldsodefs.h: New file.
2614 * sysdeps/nios2/libc-tls.c: New file.
2615 * sysdeps/nios2/libm-test-ulps: New file.
2616 * sysdeps/nios2/machine-gmon.h: New file.
2617 * sysdeps/nios2/math-tests.h: New file.
2618 * sysdeps/nios2/math_private.h: New file.
2619 * sysdeps/nios2/memusage.h: New file.
2620 * sysdeps/nios2/nptl/Makefile: New file.
2621 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2622 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2623 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2624 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2625 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2626 * sysdeps/nios2/nptl/tls.h: New file.
2627 * sysdeps/nios2/preconfigure: New file.
2628 * sysdeps/nios2/s_fma.c: New file.
2629 * sysdeps/nios2/s_fmaf.c: New file.
2630 * sysdeps/nios2/setjmp.S: New file.
2631 * sysdeps/nios2/sfp-machine.h: New file.
2632 * sysdeps/nios2/sotruss-lib.c: New file.
2633 * sysdeps/nios2/stackguard-macros.h: New file.
2634 * sysdeps/nios2/stackinfo.h: New file.
2635 * sysdeps/nios2/start.S: New file.
2636 * sysdeps/nios2/sysdep.h: New file.
2637 * sysdeps/nios2/tls-macros.h: New file.
2638 * sysdeps/nios2/tst-audit.h: New file.
2639 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2640 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2641 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2642 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2643 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2644 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2645 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2646 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2647 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2648 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2649 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2650 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2651 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2652 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2653 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2654 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2655 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2656 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2657 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2658 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2659 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2660 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2661 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2662 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2663 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2664 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2665 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2666 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2667 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2668 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2669 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2670 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2671 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2672 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2673 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2674 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2675 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2676 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2677 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2678 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2679 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2680 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2681 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2682 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2683
026eb207
SL
26842015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2685
2686 [BZ #17844]
2687 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2688 (getutent): Use weak_alias in non SHARED case
2689 and default_symbol_version in SHARED case.
2690 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2691 (getutent_r, pututline): Likewise.
2692 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2693 (getutid): Likewise.
2694 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2695 (getutid_r): Likewise.
2696 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2697 (getutline): Likewise.
2698 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2699 (getutline_r): Likewise.
2700 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2701 (updwtmp): Likewise.
2702
1d532483
SL
27032015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2704
2705 [BZ #17848]
2706 * sysdeps/s390/s390-32/memcmp.S
2707 (memcmp_g5): Rename to __memcmp_g5.
2708 * sysdeps/s390/s390-32/memcpy.S
2709 (memcpy_g5): Rename to __memcpy_g5.
2710 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2711 (memcpy_mvcle) Rename to __memcpy_mvcle.
2712 * sysdeps/s390/s390-32/memset.S
2713 (memset_g5): Rename to __memset_g5.
2714 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2715 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2716 and use prefixed functions.
2717 * sysdeps/s390/s390-32/multiarch/memcmp.S
2718 (memcmp_z196): Rename to __memcmp_z196.
2719 (memcmp_z10): Rename to __memcmp_z10.
2720 (memcmp): Set alias to __memcmp_g5.
2721 (bcmp): Set alias to __memcmp_g5.
2722 * sysdeps/s390/s390-32/multiarch/memcpy.S
2723 (memcpy_z196): Rename to __memcpy_z196.
2724 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2725 (memcpy_z10): Rename to __memcpy_z10.
2726 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2727 (memcpy): Set alias to __memcpy_g5.
2728 * sysdeps/s390/s390-32/multiarch/memset.S
2729 (memset_z196): Rename to __memset_z196.
2730 Jump to __memset_mvcle instead of memset_mvcle.
2731 (memset_z10): Rename to __memset_z10.
2732 Jump to __memset_mvcle instead of memset_mvcle.
2733 (memset_mvcle) Rename to __memset_mvcle.
2734 (memset): Set alias to __memset_g5.
2735 * sysdeps/s390/s390-64/memcmp.S
2736 (memcmp_z900): Rename to __memcmp_z900.
2737 * sysdeps/s390/s390-64/memcpy.S
2738 (memcpy_z900): Rename to __memcpy_z900.
2739 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2740 (memcpy_mvcle) Rename to __memcpy_mvcle.
2741 * sysdeps/s390/s390-64/memset.S
2742 (memset_z900): Rename to __memset_z900.
2743 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2744 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2745 and use prefixed functions.
2746 * sysdeps/s390/s390-64/multiarch/memcmp.S
2747 (memcmp_z196): Rename to __memcmp_z196.
2748 (memcmp_z10): Rename to __memcmp_z10.
2749 (memcmp): Set alias to __memcmp_z900.
2750 (bcmp): Set alias to __memcmp_z900.
2751 * sysdeps/s390/s390-64/multiarch/memcpy.S
2752 (memcpy_z196): Rename to __memcpy_z196.
2753 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2754 (memcpy_z10): Rename to __memcpy_z10.
2755 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2756 (memcpy): Set alias to __memcpy_z900.
2757 * sysdeps/s390/s390-64/multiarch/memset.S
2758 (memset_z196): Rename to __memset_z196.
2759 Jump to __memset_mvcle instead of memset_mvcle.
2760 (memset_z10): Rename to __memset_z10.
2761 Jump to __memset_mvcle instead of memset_mvcle.
2762 (memset_mvcle) Rename to __memset_mvcle.
2763 (memset): Set alias to __memset_z900.
2764
53fbd169
JM
27652015-01-14 Joseph Myers <joseph@codesourcery.com>
2766
2767 [BZ #17748]
2768 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2769 __fesetenv instead of fesetenv.
2770
d639a363
SP
27712015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2772
2773 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2774 macro.
2775
d3b00f46
AZ
27762015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2777
ce6615c9
AZ
2778 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2779 regression on LE.
2780
d3b00f46
AZ
2781 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2782 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2783 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2784 strncmp-power8 object.
2785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2786 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2787 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2788 * NEWS: Update.
2789
72607db0
RS
27902015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2791 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2792
2793 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2794 trailing byte check.
2795
54dc5461
DM
27962015-01-13 David S. Miller <davem@davemloft.net>
2797
2798 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2799
1c6e6f23
RM
28002015-01-13 Roland McGrath <roland@hack.frob.com>
2801
2802 * login/logout.c (logout): Use memset rather than bzero.
2803 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2804 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2805 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2806 (_gethtbyaddr): Likewise.
2807 * locale/programs/simple-hash.c (bcopy): Macro removed.
2808
96d6fd6c
AZ
28092015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2810
8bedcb5f
AZ
2811 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2812 Add strcmp-power8 object.
2813 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2814 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2815 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2816 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2817 __strcmp_power8 implementation.
2818 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2819 * NEWS: Update.
2820
f06a4faf
AZ
2821 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2822 Add strncpy-power8 and stpncpy-power8 objects.
2823 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2824 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2825 implementations.
2826 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2827 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2828 __stpncpy_power8 implementation.
2829 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2830 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2831 __strncpy_power8 implementation.
2832 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2833 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2834 * NEWS: Update.
2835
9f2f36e5
AZ
2836 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2837 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2838 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2839
96d6fd6c 2840 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2841 strncat-power8 object.
2842 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2843 __strcat_power8 implementation.
2844 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2845 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2846 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2847 optimized strcat for power8.
2848
2849 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2850 strcpy-power8 and stpcpy-power8 objects.
2851 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2852 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2853 implementations.
2854 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2855 multiarch stpcpy implementation for POWER8.
2856 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2857 multiarch strcpy implementation for POWER8.
2858 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2859 __strcpy_power8 function.
2860 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2861 stpcpy for POWER8.
2862 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2863 strcpy for POWER8.
2864 * NEWS: Update.
2865
0f9e5854
LH
28662015-01-13 Leonhard Holz <leonhard.holz@web.de>
2867
2868 [BZ #16009]
2869 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2870 weights and rules. Use do_xfrm_cached if data fits in cache,
2871 do_xfrm otherwise. Moved former main loop to...
2872 * (do_xfrm_cached): New function.
2873 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2874 find_idx, find_position and stack_push.
2875 * (find_idx): New function.
2876 * (find_position): Likewise.
2877 * localedata/sort-test.sh: Added test run for do_xfrm.
2878 * localedata/xfrm-test.c (main): Added command line option
2879 -nocache to run the test with strings that are too large for
2880 the STRXFRM cache.
2881
c60ec0e0
TR
28822015-01-13 Torvald Riegel <triegel@redhat.com>
2883
2884 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2885 variable to lll_futex_wake call, not the value itself.
2886
34e93d6c
JM
28872015-01-12 Joseph Myers <joseph@codesourcery.com>
2888
5a9e4c09
JM
2889 [BZ #17803]
2890 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2891 twom64. Adjust value to 0x1p-64L.
2892 (__scalblnl): Only return standard underflowing result for K <=
2893 -64 not K <= -63; adjust exponent for underflowing result by 64
2894 not 63.
2895 * math/libm-test.inc (scalbn_test_data): Add more tests.
2896 (scalbln_test_data): Likewise.
2897
34e93d6c
JM
2898 [BZ #17834]
2899 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2900 0x1p63L.
2901 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2902 not HX.
2903 * math/libm-test.inc (scalbn_test_data): Add more tests.
2904 (scalbln_test_data): Likewise.
2905
ca677d3c
AZ
29062015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2907 Stefani Seibold <stefani@seibold.net>
2908
2909 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2910 (sysdep_routines): Add dl-vdso here, ...
2911 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2912 (sysdep_routines): ... not here.
2913 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2914 fallback when vDSO is not presented.
2915 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2916 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2917 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2918 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2919 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2920 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2921 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2922 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2923 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2924 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2925 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2926 fallback configurable symbol when vDSO is not available.
2927 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2928 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2929 be able to redefine fallback symbol when vDSO is not available.
2930 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2931 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2932
49a9f6ab 29332015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2934
56cf2763
AZ
2935 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2936 (TLS_INIT_TP): Add tm_capable initialization.
2937 (TLS_DEFINE_INIT_TP): Likewise.
2938 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2939 TCB.
2940 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2941 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2942 calculation.
2943 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
2944 transactoion is lock elision is built and TCB tm_capable is set.
2945 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
2946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
2947 (INTERNAL_SYSCALL_NCS): Likewise.
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
2949 (INTERNAL_SYSCALL_NCS): Likewise.
2950 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
2951
4b45943a
AZ
2952 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
2953 for powerpc.
2954 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2955 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
2956 and remove it for 32 bits case.
2957 [pthread_rwlock_t] (__rwelision): New field for lock elision.
2958 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
2959 initialization.
2960 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
2961 Disable lock elision with rdlocks if elision is not available.
2962
8d2c0a59
AZ
2963 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
2964 (sysdep_routines): Add lock elision objects.
2965 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2966 [pthread_mutex_t] (__spins): Rework to add lock elision field.
2967 [pthread_mutex_t] (__elision): Add field.
2968 [__PTHREAD_SPINS]: Adjust to init lock elision field.
2969 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
2970 elision definitions for powerpc.
2971 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
2972 implementation of lock elision for powerpc.
2973 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
2974 implementation of timed lock elision for powerpc.
2975 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
2976 implementation of trylock with lock elision for powerpc.
2977 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
2978 implementaion of unlock for lock elision for powerpc.
2979 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
2980 automatic enable lock elision for mutexes.
2981 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
2982 transaction execution definitions for powerpc.
2983 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
2984 definitions.
2985 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
2986 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
2987 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
2988 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
2989 * NEWS: Update.
2990
bc0ed9f7
RM
29912015-01-09 Roland McGrath <roland@hack.frob.com>
2992
2993 * sysdeps/posix/shm-directory.c: Use <> rather than ""
2994 for #include of <shm-directory.h>.
2995
585d9c18
CLT
29962015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
2997
2998 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
2999 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3000
aee6626c
MF
30012015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
3002
3003 [BZ #17791]
3004 * NEWS: Mention bug fix.
3005 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3006 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3007 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3008
9e560f48
TR
30092015-01-09 Torvald Riegel <triegel@redhat.com>
3010
3011 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3012
e1cfbd0c
TR
30132015-01-09 Torvald Riegel <triegel@redhat.com>
3014
3015 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3016
cf71e44f
DH
30172015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3018
3019 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3020 pointer and cast to uintptr_t.
3021
b360ee62
DH
30222015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3023
3024 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3025 removed.
3026 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3027
caff764e
DH
30282015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3029
3030 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3031 of 0.
3032
59ff172f
RM
30332015-01-08 Roland McGrath <roland@hack.frob.com>
3034
c97d27f1
RM
3035 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3036 <nptl/pthreadP.h> instead.
3037 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3038
08734ccd
RM
3039 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3040 already defined.
3041 [__SIGRTMIN] (init): Function removed.
3042 [__SIGRTMIN] (initialized): Variable removed.
3043 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3044 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3045 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3046 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3047 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3048 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3049 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3050 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3051 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3052 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3053 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3054 * sysdeps/nptl/allocrtsig.c: New file.
3055 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3056 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3057 * sysdeps/generic/testrtsig.h: File removed.
3058
7b052e33
RM
3059 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3060 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3061
cc40d25e
RM
3062 * nptl/nptl-init.c (pthread_functions): Conditionalize
3063 .ptr__nptl_setxid initialization on [SIGSETXID].
3064
9287adf0
RM
3065 * sysdeps/nptl/sys/procfs.h: New file.
3066 * nptl_db/Makefile (headers): Add it.
3067 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3068
59ff172f
RM
3069 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3070 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3071 * nptl/pthread_attr_setaffinity.c: Include it.
3072 * nptl/pthread_setattr_default_np.c: Likewise.
3073 * nptl/check-cpuset.h: New file.
3074
b9205857
RH
30752015-01-08 Richard Henderson <rth@redhat.com>
3076
3077 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3078 (CFLAGS-tst-execstack-prog.c): Likewise.
3079 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3080
1a0a8d15
CLT
30812015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
3082 Sandra Loosemore <sandra@codesourcery.com>
3083 Andrew Jenner <andrew@codesourcery.com>
3084 Joseph Myers <joseph@codesourcery.com>
3085 Nathan Sidwell <nathan@codesourcery.com>
3086
3087 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3088 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3089 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3090 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3091 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3092 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3093 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
3094 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3095 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3096 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3097 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3098 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3099 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
3100 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3101 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3102 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3103 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3104
dd6e8af6
AZ
31052015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3106
3107 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3108 timespec struct member in syscall macro.
3109 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3110 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3111 first timeval struct member in syscall macro.
3112 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3113
8116321f
JM
31142015-01-07 Joseph Myers <joseph@codesourcery.com>
3115
3116 [BZ #17748]
3117 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3118 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3119 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3120 __feupdateenv and define as weak alias of __feupdateenv. Use
3121 libm_hidden_weak.
3122 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3123 libm_hidden_def.
3124 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3125 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
3126 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3127 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3128 libm_hidden_def.
3129 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3130 __feupdateenv and define as weak alias of __feupdateenv. Use
3131 libm_hidden_weak.
3132 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3133 libm_hidden_def.
3134 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3135 __feupdateenv and define as weak alias of __feupdateenv. Use
3136 libm_hidden_weak.
3137 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3138 libm_hidden_def.
3139 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3140 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3141 (__feupdateenv): Likewise.
3142 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3143 __feupdateenv and define as weak alias of __feupdateenv. Use
3144 libm_hidden_weak.
3145 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3146 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3147 libm_hidden_def.
3148 * sysdeps/tile/math_private.h (__feupdateenv): New inline
3149 function.
3150 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3151 libm_hidden_def.
3152 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3153 __feupdateenv instead of feupdateenv.
3154 (default_libc_feupdateenv_test): Likewise.
3155 (libc_feresetround_ctx): Likewise.
3156
882dfe18
AZ
31572015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3158
3159 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3160 prototype.
3161
39a12f8d
CM
31622015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
3163
3164 * posix/regcomp.c (parse_bracket_exp): Initialize type to
3165 COLL_SYM in a couple of places to avoid uninitialized variable
3166 wanings on tilegx gcc 4.8.2.
3167
dc400d7b
RE
31682015-01-07 Richard Earnshaw <rearnsha@arm.com>
3169
3170 * sysdeps/aarch64/strcpy.S: New file.
3171 * sysdeps/aarch64/stpcpy.S: New file.
3172 * NEWS: Updated.
3173
ec582ca0
RE
31742015-01-07 Richard Earnshaw <rearnsha@arm.com>
3175
3176 * sysdeps/aarch64/strrchr.S: New file.
3177 * NEWS: Updated.
3178
d5b1c5ed
EB
31792015-01-07 Eric Biggers <ebiggers3@gmail.com>
3180
3181 [BZ #17658]
3182 * stdlib/setenv.c: Fix memory leak when setting large,
3183 duplicate string.
3184
fb87ee96
VN
31852015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
3186
60f046a8 3187 [BZ #17273]
fb87ee96
VN
3188 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3189 and tabs from buffer before parsing fstab entry.
3190 * misc/tst-mntent.c (main): Add test for mount entry with
3191 trailing spaces and tabs.
3192
cd42798a
JM
31932015-01-06 Joseph Myers <joseph@codesourcery.com>
3194
01238691
JM
3195 [BZ #17748]
3196 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
3197 * math/fesetround.c (fesetround): Rename to __fesetround and
3198 define as weak alias of __fesetround. Use libm_hidden_weak.
3199 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3200 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3201 * sysdeps/arm/fesetround.c (fesetround): Likewise.
3202 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3203 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3204 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3205 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3206 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3207 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3208 __fesetround_inline.
3209 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3210 __fesetround_inline instead of __fesetround.
3211 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3212 __fesetround and define as weak alias of __fesetround. Use
3213 libm_hidden_weak. Call __fesetround_inline instead of
3214 __fesetround.
3215 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3216 __fesetround and define as weak alias of __fesetround. Use
3217 libm_hidden_weak.
3218 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3219 Likewise.
3220 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3221 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3222 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3223 * sysdeps/tile/math_private.h (__fesetround): New inline function.
3224 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3225 __fesetround and define as weak alias of __fesetround. Use
3226 libm_hidden_weak.
3227 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3228 __fesetround instead of fesetround.
3229 (default_libc_feholdexcept_setround): Likewise.
3230 (libc_feholdsetround_ctx): Likewise.
3231 (libc_feholdsetround_noex_ctx): Likewise.
3232
cd42798a
JM
3233 [BZ #17748]
3234 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3235 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3236 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3237 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3238 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3239 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3240 define as weak alias of __fesetenv. Use libm_hidden_weak.
3241 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3242 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3243 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3244 define as weak alias of __fesetenv. Use libm_hidden_weak.
3245 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3246 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3247 define as weak alias of __fesetenv. Use libm_hidden_weak.
3248 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3249 libm_hidden_def.
3250 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3251 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3252 Likewise.
3253 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3254 define as weak alias of __fesetenv. Use libm_hidden_weak.
3255 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3256 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3257 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3258 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3259 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3260 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3261 __fesetenv instead of fesetenv.
3262 (libc_feresetround_noex_ctx): Likewise.
3263 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3264 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3265 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3266 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3267 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3268 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3269 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3270 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3271 (__feupdateenv): Likewise.
3272 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3273 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3274 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3275 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3276
38949026
AJ
32772015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3278
1cf98e27 3279 [BZ #17806]
38949026
AJ
3280 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3281 addresses have been freed.
3282
5fe55e9c
AJ
32832015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3284
3285 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3286 and nservall.
3287
dc8ab018
OB
32882015-01-06 Ondřej Bílka <neleai@seznam.cz>
3289
3290 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3291 Clean up check_pf allocation pattern. addresses
3292
14bb4e57
AZ
32932015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3294
3295 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3296 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3297 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3298 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3299 * nptl/pthread_join.c (pthread_join): Likewise.
3300 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3301 * sysdeps/posix/waitid.c (__waitid): Likewise.
3302 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3303 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3304 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3305 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3306 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3307 Likewise.
3308 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3309 (__libc_pread64): Likewise.
3310 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3311 (__libc_pwrite): Likewise.
3312 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3313 (__libc_pwrite64): Likewsie.
3314 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3315 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3316 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3317 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3318 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3319 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3320 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3322 Likewise.
3323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3324 (__libc_pread64): Likewise.
3325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3326 Likewise.
3327 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3328 (__libc_pwrite64): Likewise.
3329 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3330 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3331 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3332 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3333 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3334 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3335 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3336 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3337 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3338 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3339 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3340 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3341 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3342 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3343 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3344 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3345 Likewise.
3346
10a5e112
AS
33472015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3348
3349 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3350 (CFLAGS-test-double.c): Likewise.
3351 (CFLAGS-test-ldouble.c): Likewise.
3352 (CPPFLAGS-test-ifloat.c): Likewise.
3353 (CPPFLAGS-test-idouble.c): Likewise.
3354 (CPPFLAGS-test-ildoubl.c): Likewise.
3355 (CFLAGS-test-test-fenv.c): Remove variable.
3356 (CFLAGS-test-misc.c): Likewise.
3357
57ada0e7
L
33582015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3359
3360 [BZ #17797]
3361 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3362 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3363 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3364 CLOCKS_PER_SEC == 1000000.
3365 * time/clocktest.c (main): Replace %ld with %jd and cast to
3366 intmax_t.
3367
46abb64d
RM
33682015-01-05 Roland McGrath <roland@hack.frob.com>
3369
3370 * sysdeps/generic/unwind-resume.h: New file.
3371 * sysdeps/gnu/unwind-resume.c: Include it.
3372 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3373 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3374 argument list.
3375 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3376 global rather than static.
3377 (_Unwind_Resume): Update user.
3378 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3379 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3380 rather than static. Add __attribute__ ((cold)).
3381 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3382 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3383 * sysdeps/arm/arm-unwind-resume.S: New file.
3384 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3385 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3386 * sysdeps/arm/Makefile [$(subdir) = csu]
3387 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3388 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3389 Add rt-arm-unwind-resume.
3390 [$(subdir) = nptl]
3391 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3392 Add pt-arm-unwind-resume.
3393 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3394 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3395
ef9faf13
JM
33962015-01-05 Joseph Myers <joseph@codesourcery.com>
3397
3398 [BZ #17748]
3399 * include/fenv.h (__feholdexcept): Declare. Use
3400 libm_hidden_proto.
3401 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3402 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3403 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3404 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3405 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3406 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3407 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3408 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3409 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3410 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3411 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3412 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3413 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3414 (feholdexcept): Likewise.
3415 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3416 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3417 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3418 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3419 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3420 __feholdexcept instead of feholdexcept.
3421 (default_libc_feholdexcept_setround): Likewise.
3422
295a453e
SE
34232015-01-05 Steve Ellcey <sellcey@imgtec.com>
3424
3425 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3426 to avoid using stl/str to align destination.
3427
882c4b9f
SE
34282015-01-05 Steve Ellcey <sellcey@imgtec.com>
3429
3430 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3431
ac4c11f5
JM
34322015-01-05 Joseph Myers <joseph@codesourcery.com>
3433
3434 [BZ #17796]
3435 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3436 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3437 Define as weak alias not strong alias.
3438
03403e30
SE
34392015-01-05 Steve Ellcey <sellcey@imgtec.com>
3440
3441 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3442 bltzal with addiupc.
3443 (RTLD_START): Ditto.
3444
1dca195e
CM
34452015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3446
00b8b9ba
SP
3447 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3448 for __vdso_* functions in declarations.
3449 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3450 definitions.
3451 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3452 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 3453
1dca195e
CM
3454 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3455 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3456 function with cast from llround().
3457 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3458 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3459 Define.
3460
a287953a
JM
34612015-01-05 Joseph Myers <joseph@codesourcery.com>
3462
ab70da77
JM
3463 [BZ #17793]
3464 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3465 Define as weak alias not strong alias.
3466
b8986484
JM
3467 [BZ #17635]
3468 * ctype/ctype-c99.c: New file. isblank implementation moved from
3469 ...
3470 * ctype/ctype-extn.c: ... here.
3471 (__isblank_l): Move to ...
3472 * ctype/ctype-c99_l.c: ... here. New file.
3473 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3474 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3475 Remove variable.
3476 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3477 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3478 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3479 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3480 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3481
a287953a
JM
3482 [BZ #17777]
3483 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3484 (posix_fadvise64): Define as weak alias not strong alias.
3485 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3486 (posix_fallocate64): Likewise.
3487 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3488 Remove variable.
3489 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3490 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3491 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3492 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3493 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3494
b1efe3bb
MF
34952015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3496
3497 [BZ #16191]
3498 * NEWS: Mention bug fix.
3499 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3500 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3501 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3502 (HOST_STACK_END_ADDR): Likewise.
3503
9706dc5f
JM
35042015-01-02 Joseph Myers <joseph@codesourcery.com>
3505
b93c2205
JM
3506 [BZ #17748]
3507 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3508 * math/fegetround.c (fegetround): Rename to __fegetround and
3509 define as weak alias of __fegetround. Use libm_hidden_weak.
3510 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3511 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3512 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3513 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3514 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3515 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3516 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3517 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3518 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3519 Undefine after rather than before function definition; use
3520 parentheses around function name in definition.
3521 (__fegetround): Also undefine macro after function definition.
3522 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3523 __fegetround and define as weak alias of __fegetround. Use
3524 libm_hidden_weak. Do not undefine as macro.
3525 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3526 Likewise.
3527 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3528 __fegetround and define as weak alias of __fegetround. Use
3529 libm_hidden_weak.
3530 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3531 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3532 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3533 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3534 __fegetround and define as weak alias of __fegetround. Use
3535 libm_hidden_weak.
3536 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3537 __fegetround instead of fegetround.
3538
253a59cc
JM
3539 [BZ #17782]
3540 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3541 Condition macro definition on [__USE_MISC].
3542
27dae011
JM
3543 [BZ #17781]
3544 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3545 (struct sigaction): Change type of sa_flags field to int.
3546
172019c0
JM
3547 [BZ #17780]
3548 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3549 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3550 __glibc_reserved0.
3551
522ad1d6
JM
3552 * nptl/version.c (banner): Use single year in copyright notice.
3553
9706dc5f
JM
3554 * NEWS: Update copyright dates.
3555 * catgets/gencat.c (print_version): Likewise.
3556 * csu/version.c (banner): Likewise.
3557 * debug/catchsegv.sh: Likewise.
3558 * debug/pcprofiledump.c (print_version): Likewise.
3559 * debug/xtrace.sh (do_version): Likewise.
3560 * elf/ldconfig.c (print_version): Likewise.
3561 * elf/ldd.bash.in: Likewise.
3562 * elf/pldd.c (print_version): Likewise.
3563 * elf/sotruss.sh: Likewise.
3564 * elf/sprof.c (print_version): Likewise.
3565 * iconv/iconv_prog.c (print_version): Likewise.
3566 * iconv/iconvconfig.c (print_version): Likewise.
3567 * locale/programs/locale.c (print_version): Likewise.
3568 * locale/programs/localedef.c (print_version): Likewise.
3569 * login/programs/pt_chown.c (print_version): Likewise.
3570 * malloc/memusage.sh (do_version): Likewise.
3571 * malloc/memusagestat.c (print_version): Likewise.
3572 * malloc/mtrace.pl: Likewise.
3573 * manual/libc.texinfo: Likewise.
3574 * nptl/version.c (banner): Likewise.
3575 * nscd/nscd.c (print_version): Likewise.
3576 * nss/getent.c (print_version): Likewise.
3577 * nss/makedb.c (print_version): Likewise.
3578 * posix/getconf.c (main): Likewise.
3579 * scripts/test-installation.pl: Likewise.
3580 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3581
b8607aac
WN
35822015-01-02 Will Newton <will.newton@linaro.org>
3583
3584 * sysdeps/arm/armv7/configure: Removed.
3585 * sysdeps/arm/armv7/configure.ac: Likewise.
3586
b168057a
JM
35872015-01-02 Joseph Myers <joseph@codesourcery.com>
3588
3589 * All files with FSF copyright notices: Update copyright dates
3590 using scripts/update-copyrights.
3591 * intl/plural.c: Regenerated.
3592 * locale/programs/charmap-kw.h: Likewise.
3593 * locale/programs/locfile-kw.h: Likewise.
3594
b217c15f
SP
35952015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3596
3597 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3598
73a268c7
JM
35992014-12-31 Joseph Myers <joseph@codesourcery.com>
3600
3601 [BZ #17748]
3602 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3603 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3604 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3605 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3606 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3607 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3608 define as weak alias of __fegetenv. Use libm_hidden_weak.
3609 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3610 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3611 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3612 define as weak alias of __fegetenv. Use libm_hidden_weak.
3613 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3614 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3615 define as weak alias of __fegetenv. Use libm_hidden_weak.
3616 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3617 libm_hidden_def.
3618 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3619 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3620 Likewise.
3621 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3622 define as weak alias of __fegetenv. Use libm_hidden_weak.
3623 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3624 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3625 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3626 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3627 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3628 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3629 __fegetenv instead of fegetenv.
3630 (libc_feholdsetround_noex_ctx): Likewise.
3631
0bd95672
MF
36322014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3633
3634 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3635 (Elf_MIPS_ABIFlags_v0): New structure.
3636 (EF_MIPS_FP64): Define.
3637 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3638 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3639 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3640 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3641 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3642 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3643 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3644 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3645 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3646 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3647 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3648 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3649 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3650 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3651 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3652 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3653 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3654 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3655 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3656 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3657 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3658 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3659 field.
3660 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3661 EF_MIPS_FP64.
3662 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3663 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3664 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3665 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3666 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3667 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3668 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3669 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3670 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3671 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3672 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3673 record the current FP ABI extension.
3674 (mips-mode-switch): Define to show if kernel headers support mode
3675 switching.
3676 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3677 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3678 supported SYSV ABI version to 3.
3679 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3680 feature.
3681
f59ad976
RS
36822014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3683 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3684
3685 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3686 path.
3687 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3688
4a3d3999
JM
36892014-12-31 Joseph Myers <joseph@codesourcery.com>
3690
3691 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3692 __fegetround and redefine to call __fegetround. Remove condition
3693 on [!__NO_MATH_INLINES].
3694 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3695 function.
3696 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3697 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3698 Remove macro.
3699 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3700 instead of <fenv_libc.h>.
3701 (__llrintl): Call fegetround instead of __fegetround.
3702 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3703 instead of <fenv_libc.h>.
3704 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3705 (__lrintl): Call fegetround instead of __fegetround.
3706 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3707 instead of <fenv_libc.h>.
3708 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3709 (__rintl): Call fegetround instead of __fegetround.
3710
195f3afc
SP
37112014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3712
3713 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3714 arrays.
3715
7062bd42
L
37162014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3717
3718 [BZ #17775]
3719 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3720 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3721 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3722
07256e18
AS
37232014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3724
3725 * sysdeps/i386/tls-macros.h: Include <features.h>.
3726 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3727 (TLS_IE): Likewise.
3728 (TLS_LD): Likewise.
3729 (TLS_GD): Likewise.
3730 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3731 define for GCC >= 5.0.
3732
1ff950ad
CM
37332014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3734
3735 * math/test-fenv.c (test_single_exception, set_single_exc,
3736 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3737 feexcp_mask_test, feenable_test, fe_single_test): Add
3738 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3739 case where they are not used.
3740 * math/libm-test.inc: Likewise.
3741 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3742 unused in the absence of FP rounding/exception support.
3743 * stdio-common/tst-printf-round.c: Likewise.
3744 * stdlib/tst-strtod-round.c: Likewise.
3745 * stdlib/tst-strtod-underflow.c: Likewise.
3746
0747f818
JM
37472014-12-30 Joseph Myers <joseph@codesourcery.com>
3748
3749 [BZ #17723]
3750 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3751 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3752 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3753 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3754 libm_hidden_weak.
3755 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3756 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3757 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3758 libm_hidden_def.
3759 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3760 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3761 libm_hidden_weak.
3762 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3763 Likewise.
3764 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3765 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3766 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3767 libm_hidden_weak.
3768 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3769 libm_hidden_def.
3770 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3771 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3772 (__feraiseexcept): Likewise.
3773 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3774 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3775 libm_hidden_weak.
3776 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3777 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3778 libm_hidden_def.
3779 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3780 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3781 Use libm_hidden_def.
3782 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3783 libm_hidden_def.
3784 (feraiseexcept): Define as weak not strong alias. Use
3785 libm_hidden_weak.
3786 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3787 New inline function. Factored out of ...
3788 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3789 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3790 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3791 feraiseexcept.
3792 * math/w_acos.c (__acos): Likewise.
3793 * math/w_asin.c (__asin): Likewise.
3794 * math/w_ilogb.c (__ilogb): Likewise.
3795 * math/w_j0.c (y0): Likewise.
3796 * math/w_j1.c (y1): Likewise.
3797 * math/w_jn.c (yn): Likewise.
3798 * math/w_log.c (__log): Likewise.
3799 * math/w_log10.c (__log10): Likewise.
3800 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3801 * sysdeps/aarch64/fpu/math_private.h
3802 (libc_feupdateenv_test_aarch64): Likewise.
3803 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3804 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3805 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3806 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3807 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3808 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3809 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3810 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3811 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3812 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3813
8d2b2763
L
38142014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3815
3816 [BZ #17732]
3817 * io/test-utime.c (main): Replace %ld with %jd and cast to
3818 intmax_t.
41fad830 3819 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3820 * nptl/tst-mutex5.c: Include <stdint.h>.
3821 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3822 * posix/tst-regex.c (run_test): Likewise.
3823 (run_test_backwards): Likewise.
5d619de4
L
3824 * rt/tst-clock.c: Include <stdint.h>.
3825 (clock_test): Replace %ld with %jd and cast to intmax_t.
3826 * rt/tst-cpuclock1.c: Include <stdint.h>.
3827 (do_test): Replace %lu with %ju and cast to uintmax_t.
3828 * rt/tst-cpuclock2.c: Include <stdint.h>.
3829 (do_test): Replace %lu with %ju and cast to uintmax_t.
3830 * rt/tst-mqueue1.c: Include <stdint.h>.
3831 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3832 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3833 intmax_t.
3834 * rt/tst-mqueue4.c (do_test): Likewise.
3835 * rt/tst-timer4.c: Include <stdint.h>.
3836 (check_ts): Replace %ld with %jd and cast to intmax_t.
3837 (do_test): Likewise.
ad86fbc3
L
3838 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3839 and cast to intmax_t.
37f46900 3840 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3841 * time/clocktest.c (main): Likewise.
3842 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3843 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3844
8b4416d8
AS
38452014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3846 H.J. Lu <hongjiu.lu@intel.com>
3847
3848 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3849 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3850 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3851 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3852 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3853 version if bit_Fast_Unaligned_Load is set.
3854 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3855 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3856 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3857 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3858 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3859 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3860 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3861 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3862 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3863 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3864 to 4.
3865 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3866 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3867 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3868 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3869
e47b8d3b
CM
38702014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3871
6d6d7fde
CM
3872 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3873 instead of #if to avoid a Wundef warning.
3874 * stdlib/tst-limits.c (do_test): Likewise.
3875
cd2c37c9
CM
3876 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3877 parallel other exception macros.
3878 (fegetenv): Convert from macro to extern inline so that it applies
3879 retroactively to inline functions already seen by the compiler.
3880 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3881
e47b8d3b
CM
3882 * posix/Makefile (before-compile): Use $(objpfx) for
3883 posix-conf-vars-def.h.
3884
4a6aca7b
SP
38852014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3886
7910c2ae
SP
3887 * posix/getconf.c (main): Use size_t for type of I.
3888 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3889 NSPEC.
3890
50cbbaa9
SP
3891 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3892 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3893 * posix/posix-envs.def: Likewise.
3894 * sysdeps/posix/sysconf.c: Likewise.
3895 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3896 (specs): Remove array.
3897 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3898 array.
3899
3b566046
SP
3900 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3901 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3902 (__sysconf): Use CONF_IS_* macros.
3903
4a6aca7b
SP
3904 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3905 ($(objpfx)posix-conf-vars-def.h): New target.
3906 * posix/posix-conf-vars.list: New file.
3907 * posix/posix-conf-vars.h: New file.
3908 * posix/confstr.c: Include posix-conf-vars.h.
3909 (confstr): Use CONF_IS_* macros.
3910 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3911 CONF_IS_* macros.
3912 * scripts/gen-posix-conf-vars.awk: New file.
3913
7c1395a7
CM
39142014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3915
0025b4cc
CM
3916 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3917 fegetround): Add no-op macros to avoid linknamespace issues.
3918
d8aaf74b
CM
3919 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3920 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3921
5d24aa60
CM
3922 * sysdeps/unix/sysv/linux/tile/sysdep.h
3923 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3924 assembly-specific section to avoid a redefinition warning.
3925
7c1395a7
CM
3926 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3927 long before casting to pointer to avoid a cast warning.
3928
3c87c616
CM
39292014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3930
3931 * sysdeps/tile/tilegx/Implies: New file.
3932
f559d8cf
RE
39332014-12-23 Richard Earnshaw <rearnsha@arm.com>
3934
3935 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3936
7d81e8d6
FW
39372014-12-23 Florian Weimer <fweimer@redhat.com>
3938
3939 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3940
90aa3d09
JM
39412014-12-22 Joseph Myers <joseph@codesourcery.com>
3942
3943 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
3944 not define.
3945 * sysdeps/unix/sysv/linux/utimes.c: Do not include
3946 <kernel-features.h>.
3947 (__utimes) [__NR_utimes]: Make code unconditional.
3948 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
3949 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3950 (__ASSUME_UTIMES): Do not undefine.
3951 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3952 (__ASSUME_UTIMES): Likewise.
3953 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
3954 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
3955 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
3956 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
3957
4c0c0e2a
SE
39582014-12-22 Steve Ellcey <sellcey@imgtec.com>
3959
3960 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
3961
0dacd7a3
CM
39622014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
3963
b638f96a
CM
3964 [BZ #17747]
3965 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
3966 alias to weak alias for j0l, y0l.
3967 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
3968 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
3969
0dacd7a3
CM
3970 [BZ #17746]
3971 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
3972 conversion.
3973
528479c4
SE
39742014-12-22 Steve Ellcey <sellcey@imgtec.com>
3975
3976 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
3977 to zero if not already defined.
3978
f56f9124
JM
39792014-12-22 Joseph Myers <joseph@codesourcery.com>
3980
3981 [BZ #17724]
3982 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
3983 (__kernel_standard_f): Remove. Moved to k_standardf.c.
3984 (__kernel_standard_l): Remove. Moved to k_standardl.c with
3985 (char *) casts added.
3986 * sysdeps/ieee754/k_standardf.c: New file.
3987 * sysdeps/ieee754/k_standardl.c: Likewise.
3988 * math/Makefile (libm-support): Remove k_standard.
3989 (libm-calls): Add k_standard.
3990
8622d556
WD
39912014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3992
3993 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3994 Optimize to avoid an unnecessary FPCR read.
3995
f3806bdb
WD
39962014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
3997
3998 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
3999 Optimize to reduce FPCR/FPSR accesses.
4000
9b47df58
WD
40012014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4002
4003 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4004 Call libc_fetestexcept_aarch64.
4005
97be3cac
WD
40062014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4007
4008 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4009 Call libc_fesetround_aarch64.
4010
935ab817
JM
40112014-12-22 Joseph Myers <joseph@codesourcery.com>
4012
4013 [BZ #17733]
4014 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4015 (__bind): Do not define as weak alias.
4016 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4017 define.
4018 (__getsockname): Do not define as weak alias.
4019
cc8623f1
WN
40202014-12-22 Will Newton <will.newton@linaro.org>
4021
4022 * manual/install.texi: Document that we require bison 2.7
4023 or above.
4024 * INSTALL: Regenerate.
4025 * configure.ac: Use AC_CHECK_PROG_VER instead of
4026 AC_PATH_PROG when checking for bison and check for
4027 version 2.7 or above.
4028 * configure: Regenerate.
4029
a19ca65a
CM
40302014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
4031
92901170 4032 [BZ #17745]
e969965a
CM
4033 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4034 * sysdeps/tile/ffsll.c (ffsll): To here.
4035
a19ca65a
CM
4036 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4037
050f7298
L
40382014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4039
4040 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4041 if not defined.
4042 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4043 definition.
4044 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4045 hidden ___tls_get_addr.
4046 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4047 hidden __tls_get_addr.
4048 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4049 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4050 Likewise.
4051
6df5547e
AS
40522014-12-21 Andreas Schwab <schwab@linux-m68k.org>
4053
4054 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4055 _dl_init call.
4056
7432d613
L
40572014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4058
4059 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4060 from "call _dl_init@PLT".
4061 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 4062
98fe149e
AK
40632014-12-21 Anders Kaseorg <andersk@mit.edu>
4064
4065 * manual/search.texi: (Array Sort Function): Clarify stable sorting
4066 guarantees.
4067
d12455f5
CM
40682014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
4069
4070 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4071
95dee05f
CM
40722014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4073
92901170 4074 [BZ #17744]
95dee05f
CM
4075 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4076 strnlen.
4077
2ef4b74a
SE
40782014-12-19 Steve Ellcey <sellcey@imgtec.com>
4079
4080 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4081 of multu on MIPSr6.
4082 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4083 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4084 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4085 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4086 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4087
40882014-12-19 Steve Ellcey <sellcey@imgtec.com>
4089
4090 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4091 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4092 (PTR_SUBU): Use subu for mips32r6/mips64r6.
4093 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 4094 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
4095 mips32r6/mips64r6.
4096 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4097
3eb38795
OB
40982014-12-19 Ondřej Bílka <neleai@seznam.cz>
4099
4100 * string/strncat.c (STRNCAT): Simplify implementation.
4101
6d4188dd
DM
41022014-12-19 David S. Miller <davem@davemloft.net>
4103
0d4ba8be
DM
4104 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4105 access the quad as both a long double and as a series of 4 words.
4106
6d4188dd
DM
4107 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4108 link_map->l_info array access.
4109
4ef91cdc
CM
41102014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4111
804c54f7
CM
4112 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4113
4ef91cdc
CM
4114 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4115 * math/atest-exp2.c (TIMEOUT): Likewise.
4116 * math/atest-sincos.c (TIMEOUT): Likewise.
4117
afd176d6
L
41182014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4119
4120 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4121 -Wno-error with -fno-builtin-lround.
4122
a4a43a90
TR
41232014-12-19 Torvald Riegel <triegel@redhat.com>
4124
4125 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4126 Contains futex constants and functions moved over from ...
4127 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
4128 <lowlevellock-futex.h>.
4129 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4130 (lll_timedwait_tid): Add comments and parentheses around macro
4131 arguments.
4132
76f71081
TR
41332014-12-19 Torvald Riegel <triegel@redhat.com>
4134
4135 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4136 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
4137 (__lll_private_flag): Remove.
4138 (lll_futex_wait): Likewise.
4139 (lll_futex_timed_wait): Likewise.
4140 (lll_futex_wake): Likewise.
4141 (lll_futex_requeue): Likewise.
4142 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4143 (__lll_timedwait_tid): Spell out argument names.
4144 (lll_timedwait_tid): Add comments and parentheses around macro
4145 arguments.
4146 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4147 LLL_SHARED and LLL_PRIVATE usable from assembly code.
4148
6b814909
TR
41492014-12-19 Torvald Riegel <triegel@redhat.com>
4150
4151 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4152 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4153 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4154 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4155 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4156 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4157 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4158 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4159 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4160 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4161 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4162 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4163 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4164 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4165 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4166 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4167 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4168 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4169 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4170
9cd4d4ab
L
41712014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4172
4173 * sysdeps/x86_64/x32/Makefile: New file.
4174
c9c1a2d0
L
41752014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4176
4177 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4178 1L with (mp_limb_t) 1.
4179
af102d95
RM
41802014-12-17 Roland McGrath <roland@hack.frob.com>
4181
dd690454
RM
4182 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4183 * nptl/libc_pthread_init.c: ... here.
4184 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4185 * nptl/register-atfork.c: ... here.
4186
74eb826c
RM
4187 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4188 Use pthread_sigmask rather than INTERNAL_SYSCALL.
4189 Use assert_perror to check its return value.
4190 (__gai_create_helper_thread): Likewise.
4191
c9ce306b
RM
4192 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4193
af102d95
RM
4194 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4195
8ac5a76a
JM
41962014-12-17 Joseph Myers <joseph@codesourcery.com>
4197
ea41469b
JM
4198 [BZ #17725]
4199 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4200 __profil_counter.
4201 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4202 Likewise.
4203 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4204 Likewise.
4205 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4206 Likewise.
4207 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4208 (profil_counter): Likewise.
4209 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4210 (profil_counter): Likewise.
4211 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4212 Likewise.
4213 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4214 Likewise.
4215 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4216 (profil_counter): Likewise.
4217 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4218 Likewise.
4219 [!__profil_counter] (profil_counter): Define as weak alias of
4220 __profil_counter.
4221 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4222 (profil_counter): Rename to __profil_counter.
4223 [!__profil_counter] (profil_counter): Define as weak alias of
4224 __profil_counter.
4225 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4226 (profil_counter): Rename to __profil_counter.
4227 [!__profil_counter] (profil_counter): Define as weak alias of
4228 __profil_counter.
4229 * sysdeps/posix/profil.c: Update comment referring to
4230 profil_counter.
4231 (__profil): Use __profil_counter instead of profil_counter.
4232 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4233 __profil_counter. Use __profil_counter_ushort and
4234 __profil_counter_uint in definitions.
4235 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4236 instead of profil_counter_uint and profil_counter_ushort.
4237
8ac5a76a
JM
4238 [BZ #17722]
4239 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4240 define as weak alias of __inet_makeaddr.
4241 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4242 as weak alias of __inet_addr.
4243 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4244 as weak alias of __inet_pton. Use libc_hidden_weak.
4245 * include/arpa/inet.h (__inet_pton): Declare. Use
4246 libc_hidden_proto.
4247 (inet_makeaddr): Don't use libc_hidden_proto.
4248 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4249 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4250 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4251 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4252 Remove variable.
4253 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4254 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4255
66ce3cb1
SE
42562014-12-17 Steve Ellcey <sellcey@imgtec.com>
4257
4258 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4259
d22ce01b
SL
42602014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4261
4262 * stdio-common/bug-vfprintf-nargs.c (do_test):
4263 Cast value to intptr_t to avoid format warning
4264 for usage with PRIdPTR printing macro.
4265
eca2772b
SL
42662014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4267
4268 * libio/tst-widetext.c (do_test):
4269 Use format type %td instead of %Zd for ptrdiff_t
4270 in order to avoid format warning.
4271
bdf079da
AS
42722014-12-17 Andreas Schwab <schwab@suse.de>
4273
4274 * nscd/mem.c (gc): Add size_t cast to match printf format.
4275
3eb5d2fc
RM
42762014-12-16 Roland McGrath <roland@hack.frob.com>
4277
4278 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4279 (init): Apply PTR_MANGLE to pointers before storing them.
4280 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4281 before using them.
4282
d003ada2
JM
42832014-12-16 Joseph Myers <joseph@codesourcery.com>
4284
380292ba
JM
4285 [BZ #17719]
4286 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4287 define as weak alias of __memrchr.
4288 (__memrchr): Do not define as strong alias of memrchr.
4289 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4290 Remove variable.
4291 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4292 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4293 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4294
9a44d530
JM
4295 [BZ #17717]
4296 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4297 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4298 (if_indextoname): Rename to __if_indextoname and define as weak
4299 alias of __if_indextoname. Use libc_hidden_weak.
4300 (if_freenameindex): Rename to __if_freenameindex and define as
4301 weak alias of __if_freenameindex.
4302 (if_nameindex): Rename to __if_nameindex and define as weak alias
4303 of __if_nameindex.
4304 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4305 __if_nametoindex and define as weak alias of __if_nametoindex.
4306 Use libc_hidden_weak.
4307 (if_freenameindex): Rename to __if_freenameindex and define as
4308 weak alias of __if_freenameindex.
4309 (if_nameindex): Rename to __if_nameindex and define as weak alias
4310 of __if_nameindex.
4311 (if_indextoname): Rename to __if_indextoname and define as weak
4312 alias of __if_indextoname. Use libc_hidden_weak.
4313 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4314 __if_nametoindex and define as weak alias of __if_nametoindex.
4315 Use libc_hidden_weak.
4316 (if_freenameindex): Rename to __if_freenameindex and define as
4317 weak alias of __if_freenameindex. Use libc_hidden_weak.
4318 (if_nameindex_netlink): Use __if_freenameindex instead of
4319 if_freenameindex.
4320 (if_nameindex): Rename to __if_nameindex and define as weak alias
4321 of __if_nameindex. Use libc_hidden_weak.
4322 (if_indextoname): Rename to __if_indextoname and define as weak
4323 alias of __if_indextoname. Use libc_hidden_weak.
4324 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4325 libc_hidden_proto.
4326 [!_ISOMAC] (__if_freenameindex): Likewise.
4327 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4328 if_nametoindex.
4329 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4330 variable.
4331 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4332 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4333 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4334 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4335 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4336 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4337 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4338
d003ada2
JM
4339 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4340 Remove variable.
4341 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4342 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4343
a0d424ef
SP
43442014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4345
0cd85520
SP
4346 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4347 subscript above bounds'
4348
a0d424ef
SP
4349 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4350 bounds.
4351
0e426475
AS
43522014-12-16 Arjun Shankar <arjun.is@lostca.se>
4353
8b460906
AS
4354 * libio/tst-fopenloc.c: Use test-skeleton.c.
4355
fa13e15b
AS
4356 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4357 (entry): Rename to ITEM.
4358 (do_test, comp): Adjust.
4359
0e426475
AS
4360 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4361
4f646bce
TR
43622014-12-16 Torvald Riegel <triegel@redhat.com>
4363
4364 * string/tester.c: Include <libc-internal.h>.
4365 (test_memset): Ignore -Wmemset-transposed-args.
4366
a07c4427
TR
43672014-12-16 Torvald Riegel <triegel@redhat.com>
4368
4369 * misc/tst-mntent2.c (do_test): Fix warning.
4370
1469f466
TR
43712014-12-16 Torvald Riegel <triegel@redhat.com>
4372
4373 * elf/tst-unique4lib.cc(a): Mark as used.
4374
11e3417a
FW
43752014-12-16 Florian Weimer <fweimer@redhat.com>
4376
4377 [BZ #17630]
4378 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4379 names.
4380
ae61fc7b
AM
43812014-12-16 Allan McRae <allan@archlinux.org>
4382
4383 * stdio-common/Makefile (tests): Re-add bug26.
4384
363a9899
OB
43852014-12-15 Ondřej Bílka <neleai@seznam.cz>
4386
4387 [BZ #17657]
4388 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4389 static array.
4390
d52c62df
TR
43912014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4392
4393 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4394 (__lll_lock_wait): Likewise.
4395 (__lll_timedlock_wait): Likewise.
4396 (__lll_timedwait_tid): Likewise.
4397 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4398 (__lll_robust_timedlock_wait): Likewise.
4399 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4400 (lll_cond_trylock): Likewise.
4401 (__lll_lock): Likewise.
4402 (__lll_robust_lock): Likewise.
4403 (__lll_cond_lock): Likewise.
4404 (lll_robust_cond_lock): Likewise.
4405 (__lll_timedlock): Likewise.
4406 (__lll_robust_timedlock): Likewise.
4407 (__lll_unlock): Likewise.
4408 (__lll_robust_unlock): Likewise.
4409 (lll_wait_tid): Likewise.
4410 (lll_timedwait_tid): Likewise.
4411
045a6bcd
TR
44122014-12-15 Torvald Riegel <triegel@redhat.com>
4413
4414 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4415
7f786dc1
TR
44162014-12-15 Torvald Riegel <triegel@redhat.com>
4417
4418 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4419
e7e21cba
AZ
44202014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4421
4422 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4423 * stdio-common/tst-sprintf.c: Likewise.
4424
bc89c0fc
TR
44252014-12-15 Torvald Riegel <triegel@redhat.com>
4426
4427 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4428
a5357b7c
JL
44292014-12-15 Jeff Law <law@redhat.com>
4430
4431 [BZ #16617]
4432 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4433 on the heap. (CVE-2012-3406)
4434 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4435 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4436 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4437
3a12c70f
WN
44382014-12-15 Will Newton <will.newton@linaro.org>
4439
4440 * manual/install.texi: Bump required version of texinfo
4441 to 4.7 from 4.5.
4442 * INSTALL: Regenerated.
4443 * configure.ac: Check for makeinfo version 4.7 and above.
4444 * configure: Regenerated.
4445
e4f639e4
RM
44462014-12-12 Roland McGrath <roland@hack.frob.com>
4447
4448 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4449 PREFIX, string constant to insert between directory and name.
4450 * sysdeps/posix/shm_open.c: Update caller.
4451 * sysdeps/posix/shm_unlink.c: Likewise.
4452 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4453 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4454 (SEM_SHM_PREFIX): New macro.
4455 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4456 [$(have-thread-library) = no].
4457 * nptl/Makefile (libpthread-routines): Add shm-directory.
4458 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4459 * sysdeps/nptl/shm-directory.h: New file.
4460 * sysdeps/posix/shm-directory.c
4461 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4462 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4463 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4464 INTERNAL_SYSCALL.
4465 (__where_is_shmfs): Function removed.
4466 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4467 Variables removed.
4468 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4469 Use SHM_GET_NAME.
4470 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4471
4472 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4473 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4474 unconditional for use inside libpthread.
4475 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4476
439c43f6
RM
44772014-12-12 Roland McGrath <roland@hack.frob.com>
4478
c76d1ff5
RM
4479 * nptl/pthread_getaffinity.c: New file.
4480 * nptl/pthread_setaffinity.c: New file.
4481 * nptl/pthread_getname.c: New file.
4482 * nptl/pthread_setname.c: New file.
4483
439c43f6
RM
4484 * nptl/pthread_create.c (START_THREAD_DEFN)
4485 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4486
48e435cd
SL
44872014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4488 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4489
4490 * resolv/res_send.c (send_vc): Disable warning resplen may
4491 be used uninitialized.
4492
9d9c0019
SL
44932014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4494
4495 * nptl/tst-mutex6.c
4496 (ATTR_NULL): New define checks ATTR against NULL.
4497 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4498 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4499
9173840b
JL
45002014-12-11 James Lemke <jwlemke@codesourcery.com>
4501
4502 [BZ #17581]
4503 * malloc/hooks.c
4504 (mem2mem_check): Revert my previous change.
4505 (malloc_check_get_size): Revert my previous change.
4506 (mem2chunk_check): Revert my previous change.
4507
78e21c5d
RM
45082014-12-11 Roland McGrath <roland@hack.frob.com>
4509
4510 * sysdeps/posix/shm-directory.c: New file.
4511 * sysdeps/posix/shm-directory.h: New file.
4512 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4513 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4514 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4515 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4516 Transmute EPERM to EACCES.
4517 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4518 from ...
4519 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4520 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4521
f82c43af
KK
45222014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4523
4524 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4525 pointer and cast to uintptr_t.
4526 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4527 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4528 Add cast to avoid warning.
4529 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4530
fc00cf7b
JM
45312014-12-11 Joseph Myers <joseph@codesourcery.com>
4532
4533 * nptl/semaphore.h: Move to ...
4534 * sysdeps/pthread/semaphore.h: ... here.
4535 * Makefile (installed-headers): Change nptl/semaphore.h to
4536 sysdeps/pthread/semaphore.h.
4537
1c4053db
RM
45382014-12-11 Roland McGrath <roland@hack.frob.com>
4539
73b0c1a1
RM
4540 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4541 generated error format strings.
4542
1c4053db
RM
4543 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4544 -Wformat-extra-args warnings for scanf formats.
4545 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4546 test of zero-length format (duh).
4547 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4548 corner-case scanf format test.
4549 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4550 generated fprintf format string.
4551 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4552 corner-case sprintf format tests.
4553 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4554 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4555 -Wformat-extra-args warnings throughout.
4556 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4557 (CFLAGS-scanf4.c): Likewise.
4558 (CFLAGS-scanf7.c): Likewise.
4559 (CFLAGS-tst-sprintf.c): Likewise.
4560 (CFLAGS-tst-printf.c): Likewise.
4561 (CFLAGS-tst-printfsz.c): Likewise.
4562
47d51f4f
JM
45632014-12-11 Joseph Myers <joseph@codesourcery.com>
4564
a1edbf3c
JM
4565 * include/cpio.h: New file.
4566 * include/fmtmsg.h: Likewise.
4567
47d51f4f
JM
4568 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4569 corresponding format argument to size_t.
4570 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4571 arguments.
4572 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4573 corresponding format argument to size_t.
4574 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4575 arguments.
4576 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4577 corresponding format argument to size_t.
4578 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4579 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4580 (CFLAGS-tst-mbswcs2.c): Likewise.
4581 (CFLAGS-tst-mbswcs3.c): Likewise.
4582 (CFLAGS-tst-mbswcs4.c): Likewise.
4583 (CFLAGS-tst-mbswcs5.c): Likewise.
4584 (CFLAGS-tst-trans.c): Likewise
4585
e9813cfb
RM
45862014-12-11 Roland McGrath <roland@hack.frob.com>
4587
4588 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4589 rather than assuming they won't contain any '%'s.
4590
f627ca82
CM
45912014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4592
4593 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4594 inhibit_loop_to_libcall to avoid recursive calls.
4595 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4596 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4597
7f296942
AZ
45982014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4599
4600 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4601 prototype.
4602
d0276e18
SE
46032014-12-11 Steve Ellcey <sellcey@imgtec.com>
4604
4605 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4606 integer value instead of boolean.
4607
fc56e970
SE
46082014-12-11 Steve Ellcey <sellcey@imgtec.com>
4609
4610 * malloc/malloc.c: Fix powerof2 check.
4611
40e53917
SL
46122014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4613
4614 * locale/programs/locfile.h (maybe_swap_uint32):
4615 Remove inline and add unused attribute.
4616
1ea166df
SL
46172014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4618
9d9c0019 4619 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4620 Truncating assembler expression to a .long expression.
4621
acf869f4
AS
46222014-12-11 Andreas Schwab <schwab@suse.de>
4623
4624 * elf/rtld.c (struct map_args): Constify str member.
4625 (do_preload): Constify fname argument.
4626
9d969099
AZ
46272014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4628
4629 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4630 constants definition.
4631
da5bcaa4
AS
46322014-12-11 Andreas Schwab <schwab@suse.de>
4633
b0a3c164
AS
4634 [BZ #16657]
4635 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4636 FORCE_ELISION instead of DO_ELISION.
4637 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4638 Remove.
4639 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4640 Likewise.
4641
da5bcaa4
AS
4642 * iconvdata/gconv-modules: Remove duplicate entry.
4643
6d248857
WN
46442014-12-11 Will Newton <will.newton@linaro.org>
4645
4646 Merge gettext 0.19.3 into intl/.
4647
4648 This involves a number of cosmetic changes to comments
4649 and ANSI function definitions and prototypes throughout
4650 all the files. The gettext copyright header is used but
4651 with the date ranges taken from the glibc copy.
4652
4653 * NEWS: Add gettext merge to 2.21.
4654 * intl/bindtextdom.c: Switch to gettext copyright.
4655 Use ANSI definitions and prototypes.
4656 Use gl_* locking primitives rather than __libc_* ones.
4657 Use __builtin_expect rather than __glibc_likely/unlikely.
4658 * intl/dcgettext.c: Switch to gettext copyright.
4659 Use ANSI definitions and prototypes.
4660 * intl/dcigettext.c: Switch to gettext copyright.
4661 Use ANSI definitions and prototypes.
4662 (INTDIV0_RAISES_SIGFPE): New define.
4663 Use gl_* locking primitives rather than __libc_* ones.
4664 Include eval-plural.h instead of plural-eval.c.
4665 Use __builtin_expect rather than __glibc_likely/unlikely.
4666 * intl/dcngettext.c: Switch to gettext copyright.
4667 Use ANSI definitions and prototypes.
4668 * intl/dgettext.c: Likewise.
4669 * intl/dngettext.c: Likewise.
4670 * intl/plural-eval.c: Renamed to...
4671 * intl/eval-plural.h: ...this.
4672 * intl/explodename.c: Switch to gettext copyright.
4673 Use ANSI definitions and prototypes.
4674 (_nl_explode_name): Use strchr instead of __rawmemchr.
4675 * intl/finddomain.c: Switch to gettext copyright.
4676 Use ANSI definitions and prototypes.
4677 Use gl_* locking primitives rather than __libc_* ones.
4678 (_nl_find_domain): Use malloc rather than alloca for
4679 allocation of temporary locale name.
4680 * intl/gettext.c: Switch to gettext copyright.
4681 Use ANSI definitions and prototypes.
4682 * intl/gettextP.h: Switch to gettext copyright.
4683 Use ANSI definitions and prototypes.
4684 Use gl_* locking primitives rather than __libc_* ones.
4685 * intl/gmo.h: Switch to gettext copyright.
4686 (struct sysdep_string): Move struct segment_pair outside of
4687 struct definition.
4688 * intl/hash-string.c: Use ANSI definitions and prototypes.
4689 * intl/hash-string.h: Switch to gettext copyright.
4690 Use ANSI definitions and prototypes.
4691 * intl/l10nflist.c: Switch to gettext copyright.
4692 Use ANSI definitions and prototypes.
4693 (_nl_normalize_codeset): Avoid integer overflow.
4694 * intl/loadinfo.h: Switch to gettext copyright.
4695 Use ANSI definitions and prototypes.
4696 (LIBINTL_DLL_EXPORTED): New define.
4697 (PATH_SEPARATOR): New define.
4698 * intl/loadmsgcat.c: Switch to gettext copyright.
4699 * intl/localealias.c: Switch to gettext copyright.
4700 Use ANSI definitions and prototypes.
4701 (_nl_expand_alias): Use PATH_SEPARATOR.
4702 * intl/ngettext.c: Switch to gettext copyright.
4703 Use ANSI definitions and prototypes.
4704 * intl/plural-exp.c: Likewise.
4705 * intl/plural-exp.h: Switch to gettext copyright.
4706 Use ANSI definitions and prototypes.
4707 (struct expression): Move definition of enum operator outside
4708 of struct definition.
4709 * intl/plural.c: Regenerate.
4710 * intl/plural.y: Switch to gettext copyright.
4711 Use ANSI definitions and prototypes.
4712 Port to bison 3.0.
4713 * intl/textdomain.c: Switch to gettext copyright.
4714 Use ANSI definitions and prototypes.
4715 Use gl_* locking primitives rather than __libc_* ones.
4716
48c43298
SE
47172014-12-10 Steve Ellcey <sellcey@imgtec.com>
4718
4719 * debug/warning-nop.c: Add used atrribute.
4720
2b89bce9
JM
47212014-12-10 Joseph Myers <joseph@codesourcery.com>
4722
c153ac9f
JM
4723 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4724
2b89bce9
JM
4725 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4726 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4727 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4728
2cfbdb9a
JM
47292014-12-10 Joseph Myers <joseph@codesourcery.com>
4730 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4731
4732 [BZ #17634]
4733 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4734 Undefine after defining function. Define as weak alias of
4735 __wcschr. Use libc_hidden_weak.
4736 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4737 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4738 (libc_hidden_def): Also define __GI___wcschr alias.
4739 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4740 __wcschr and define as weak alias of __wcschr.
4741 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4742 __wcschr.
4743 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4744 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4745 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4746 libc_hidden_weak. Do not use libc_hidden_def.
4747 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4748 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4749 __GI___wcschr alias.
4750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4751 [IS_IN (libc)] (wcschr): Define as macro expanding to
4752 __redirect_wcschr.
4753 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4754 [IS_IN (libc)] (__wcschr_power6): Likewise.
4755 [IS_IN (libc)] (__wcschr_power7): Likewise.
4756 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4757 instead of wcschr.
4758 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4759 __libc_wcschr.
4760 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4761 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4762 __wcschr and define as weak alias of __wcschr. Use
4763 libc_hidden_builtin_def.
4764 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4765 as weak alias of __wcschr. Use libc_hidden_weak.
4766 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4767 wcschr.
4768 * time/era.c (_nl_init_era_entries): Likewise.
4769 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4770 variable.
4771 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4772 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4773
1b8bf351
JM
47742014-12-10 Joseph Myers <joseph@codesourcery.com>
4775
4776 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4777 format for long int variable.
4778
f5f46d51
AK
47792014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4780
4781 [BZ #10672]
07008f7d 4782 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4783 qsort stable.
4784
217a74a8
AS
47852014-12-10 Andreas Schwab <schwab@suse.de>
4786
4787 [BZ #12847]
4788 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4789 user-controlled locks.
4790
aa76a5c7
RE
47912014-12-10 Richard Earnshaw <rearnsha@arm.com>
4792
4793 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4794 register.
4795
2084e7ca
JM
47962014-12-10 Joseph Myers <joseph@codesourcery.com>
4797
a4ecc9eb
JM
4798 * configure.ac (--disable-werror): New configure option.
4799 (enable_werror): New AC_SUBST.
4800 * configure: Regenerated.
4801 * config.make.in (enable-werror): New variable.
4802 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4803 -Wno-error=undef.
4804 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4805 * manual/install.texi (Configuring and compiling): Document
4806 --disable-werror.
4807 * INSTALL: Regenerated.
4808 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4809 (CFLAGS-tst-chk2.c): Likewise.
4810 (CFLAGS-tst-chk3.c): Likewise.
4811 (CFLAGS-tst-chk4.cc): Likewise.
4812 (CFLAGS-tst-chk5.cc): Likewise.
4813 (CFLAGS-tst-chk6.cc): Likewise.
4814 (CFLAGS-tst-lfschk1.c): Likewise.
4815 (CFLAGS-tst-lfschk2.c): Likewise.
4816 (CFLAGS-tst-lfschk3.c): Likewise.
4817 (CFLAGS-tst-lfschk4.cc): Likewise.
4818 (CFLAGS-tst-lfschk5.cc): Likewise.
4819 (CFLAGS-tst-lfschk6.cc): Likewise.
4820
0f88636c
JM
4821 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4822 (main): Disable -Wdeprecated-declarations around calls to
4823 register_printf_function.
4824
c81e9deb
JM
4825 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4826 (do_test): Disable -Wdiv-by-zero around some calls to
4827 fwrite_unlocked and fread_unlocked.
4828
2084e7ca
JM
4829 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4830 (DIAG_POP_NEEDS_COMMENT): Likewise.
4831 (_DIAG_STR1): Likewise.
4832 (_DIAG_STR): Likewise.
4833 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4834 * stdio-common/bug21.c: Include <libc-internal.h>.
4835 (do_test): Disable -Wformat around call to sscanf.
4836 * stdio-common/scanf14.c: Include <libc-internal.h>.
4837 (main): Disable -Wformat around some calls to scanf functions.
4838
df7ecc6b
TR
48392014-12-09 Torvald Riegel <triegel@redhat.com>
4840
4841 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4842
2aa3862e
AZ
48432014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4844
4845 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4846 stack variable alignment.
4847
c5c2b7c3
JM
48482014-12-06 Joseph Myers <joseph@codesourcery.com>
4849
4850 [BZ #17682]
4851 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4852 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4853 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4854 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4855 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4856 __getrlimit instead of getrlimit.
4857 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4858 __gettimeofday instead of gettimeofday.
4859 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4860 Likewise.
4861 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4862 Likewise.
4863 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4864 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4865 Remove variable.
4866 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4867 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4868
9752c3cd
AZ
48692014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4870
4871 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4872 for wide-character tests.
4873
4bee4cd9
RM
48742014-12-04 Roland McGrath <roland@hack.frob.com>
4875
4876 * io/openat64.c: #include <libc-internal.h>
4877 (__openat64): Prototypify. Use ignore_value on MODE.
4878 * io/openat.c: Likewise.
4879 * misc/reboot.c: #include <libc-internal.h>
4880 (reboot): Prototypify. Use ignore_value on HOWTO.
4881 * misc/ptrace.c: #include <libc-internal.h>
4882 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4883
84dbedb6
JM
48842014-12-04 Joseph Myers <joseph@codesourcery.com>
4885
4886 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4887 XPG4, UNIX98 and XOPEN2K.
4888 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4889 Remove variable.
4890 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4891
b7a3e1c4 48922014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4893
af50dfc1 4894 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4895 * libio/iofopen.c: Likewise.
4896 * libio/wfileops.c: Likewise.
4897
fe8b4d98
SP
4898 [BZ #17653]
4899 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4900 offset on EOF.
4901 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4902 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4903 (fgets_func): Function pointer to fgets and fgetws.
4904 (do_ftell_test): Add test to verify ftell value after read
4905 EOF.
4906 (do_test): Set fgets_func.
4907
61b4f792
SP
4908 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4909 O_TRUNC flag for w and w+ modes.
4910 (do_rewind_test): Likewise.
4911 (do_ftell_test): Likewise.
4912 (do_write_test): Likewise.
4913
be349d70
SP
4914 [BZ #17647]
4915 * libio/fileops.c (do_ftell): Seek only when there are
4916 unflushed writes.
4917 * libio/wfileops.c (do_ftell_wide): Likewise.
4918 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4919 test case.
4920 (do_one_test): Call it.
4921
e3d6dba5
JM
49222014-12-03 Joseph Myers <joseph@codesourcery.com>
4923
4924 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4925 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4926 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4927 Remove variable.
4928 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4929 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4930 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4931
7f994279
JM
49322014-12-02 Joseph Myers <joseph@codesourcery.com>
4933
28a91e8f
JM
4934 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4935 Remove variable.
4936 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4937
7f994279
JM
4938 [BZ #17668]
4939 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4940 as weak alias of __getifaddrs. Use libc_hidden_weak.
4941 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4942 __freeifaddrs. Use libc_hidden_weak.
4943 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
4944 define as weak alias of __getifaddrs. Use libc_hidden_weak.
4945 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4946 __freeifaddrs. Use libc_hidden_weak.
4947 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
4948 __getifaddrs and define as weak alias of __getifaddrs. Use
4949 libc_hidden_weak.
4950 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4951 __freeifaddrs. Use libc_hidden_weak.
4952 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
4953 Remove variable.
4954 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4955 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4956
bbe4c142
PJ
49572014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
4958
4959 [BZ #17601]
4960 * sysdeps/mips/start.S (__start): Use indirect jump to call
4961 __libc_start_main.
4962
66cadc05
JM
49632014-12-02 Joseph Myers <joseph@codesourcery.com>
4964
909e16d9
JM
4965 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
4966
4e0b9016
JM
4967 * nptl/tst-mutex1.c: Include <stdbool.h>.
4968 [!ATTR] (ATTR_NULL): New macro.
4969 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
4970 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
4971 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
4972
b1aff6a4
JM
4973 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
4974 to char *.
4975
266865c0
JM
4976 [BZ #17665]
4977 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
4978 Change conditional to [__USE_MISC].
4979
84e5e756
JM
4980 [BZ #17664]
4981 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
4982 fgets_unlocked.
4983 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
4984 __fgets_unlocked.
4985 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
4986 fgets_unlocked.
4987 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
4988 Remove variable.
4989 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4990 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4991 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4992 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4993 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4994 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4995 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4996 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4997 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4998
66cadc05
JM
4999 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5000
2e8a2de2 50012014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
5002
5003 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5004 Remove strpbrk objects.
5005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5006 (__libc_ifunc_impl_list): Remove strpbrk implementation.
5007 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5008 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5009 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5010 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5011
bb2542e0
AZ
5012 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5013 Remove strcspn objects.
5014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5015 (__libc_ifunc_impl_list): Remove strcspn implementation.
5016 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5017 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5018 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5019 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
5020
5021 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5022 Remove strspn objetcs.
5023 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5024 (__libc_ifunc_impl_list): Remove strspn implementation.
5025 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5026 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5027 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5028 * sysdeps/powerpc/powerpc64/strspn.S: New file.
5029
08f1e1d2
JL
50302014-12-01 James Lemke <jwlemke@codesourcery.com>
5031
5032 [BZ #17581]
5033 * malloc/hooks.c
5034 (mem2mem_check): Add a terminator to the chain of checking blocks.
5035 (malloc_check_get_size): Use it here.
5036 (mem2chunk_check): Ditto.
5037
a8a7d7d2
RS
50382014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5039
5040 * sysdeps/powerpc/powerpc64/strtok.S: New file.
5041 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5042
97114a38
CD
50432014-11-29 Carlos O'Donell <carlos@redhat.com>
5044
c8dc1727
CD
5045 * bits/ioctl-types.h: Indent preprocessor directives correctly.
5046
6d03458e
CD
5047 * nptl/nptl-init.c: Include libc-internal.h.
5048 (__pthread_initialize_minimal_internal): Use ROUND_UP.
5049
97114a38
CD
5050 * elf/ldconfig.c (search_dir): Expand comment.
5051
0e7e69ba
JM
50522014-11-29 Joseph Myers <joseph@codesourcery.com>
5053
5054 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5055 variable.
5056 (linknamespace-symlist-stdlibs-tests): Likewise.
5057 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5058 instead of $(objpfx)symlist-stdlibs.
5059 (linknamespace-libs-isoc): New variable.
5060 (linknamespace-libs): Use $(linknamespace-libs-isoc).
5061 (linknamespace-libs-ISO): New variable.
5062 (linknamespace-libs-ISO99): Likewise.
5063 (linknamespace-libs-ISO11): Likewise.
5064 (linknamespace-libs-XPG3): Likewise.
5065 (linknamespace-libs-XPG4): Likewise.
5066 (linknamespace-libs-POSIX): Likewise.
5067 (linknamespace-libs-UNIX98): Likewise.
5068 (linknamespace-libs-XOPEN2K): Likewise.
5069 (linknamespace-libs-POSIX2008): Likewise.
5070 (linknamespace-libs-XOPEN2K8): Likewise.
5071 ($(objpfx)symlist-stdlibs): Replace by
5072 $(linknamespace-symlist-stdlibs-tests). Use
5073 $(linknamespace-libs-$*) as set of libraries.
5074 ($(linknamespace-header-tests)): Update dependencies. Use
5075 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5076 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5077 * conform/linknamespace.pl: Remove comment about considering
5078 definitions of symbols from irrelevant libraries.
5079
d8dd0080
L
50802014-11-28 H.J. Lu <hongjiu.lu@intel.com>
5081
5082 [BZ #13862]
5083 * elf/dl-tls.c: Include <atomic.h>.
5084 (oom): Remove #ifdef SHARED/#endif.
5085 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5086 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
5087 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5088 big enough.
5089 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5090 * nptl/Makefile (tests): Add tst-stack4.
5091 (modules-names): Add tst-stack4mod.
5092 ($(objpfx)tst-stack4): New.
5093 (tst-stack4mod.sos): Likewise.
5094 ($(objpfx)tst-stack4.out): Likewise.
5095 ($(tst-stack4mod.sos)): Likewise.
5096 (clean): Likewise.
5097 * nptl/tst-stack4.c: New file.
5098 * nptl/tst-stack4mod.c: Likewise.
5099
167da422
B
51002014-11-27 J. Brown <jb999@gmx.de>
5101
5102 * sysdeps/x86/bits/string.h: Add recent CPUs.
5103
9114625b
JM
51042014-11-27 Joseph Myers <joseph@codesourcery.com>
5105
6b5189eb
JM
5106 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5107 sigblock.
5108
49051f8e
JM
5109 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5110 feof.
5111
9114625b
JM
5112 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5113 variable.
5114
e7300fef
SL
51152014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
5116
5117 * nscd/connections.c: Include libc-internal.h because of macro
5118 usage ignore_value.
5119
1721f0a4
SP
51202014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5121
5122 * string/bits/string3.h (__warn_memset_zero_len): Don't
5123 declare for gcc newer than 5.0.
5124 (memset): Don't test for zero-length __LEN for gcc newer than
5125 5.0.
5126
be970916
JM
51272014-11-27 Joseph Myers <joseph@codesourcery.com>
5128
d88548f4
JM
5129 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5130 size_t for %zu format.
5131
be970916
JM
5132 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5133 difference, not %ju.
5134
3b20fd5c
JM
51352014-11-26 Joseph Myers <joseph@codesourcery.com>
5136
8915eace
JM
5137 * include/libc-internal.h (ignore_value): New macro.
5138 * nscd/connections.c (restart): Wrap calls to setuid and setgid
5139 with ignore_value.
5140
f1a5a0e3
JM
5141 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5142 definition.
5143
59ef1715
JM
5144 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5145 pthread_cleanup_push to void *.
5146
a6f3079b
JM
5147 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5148 Undefine.
5149
706688aa
JM
5150 [BZ #16619]
5151 [BZ #16740]
5152 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5153 instead of 1L << 52.
5154
12da14a5
JM
5155 * libio/bug-rewind.c (do_test): Check fwscanf return values.
5156 * libio/bug-rewind2.c (do_test): Likewise.
5157
bd5dadac
JM
5158 * debug/test-stpcpy_chk-ifunc.c: Remove file.
5159 * debug/test-strcpy_chk-ifunc.c: Likewise.
5160 * wcsmbs/test-wcschr-ifunc.c: Likewise.
5161 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5162 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5163 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5164 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5165 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5166 * Rules [$(multi-arch) = no] (tests): Do not filter out
5167 $(tests-ifunc).
5168 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5169 * debug/Makefile (tests-ifunc): Remove variable.
5170 (tests): Do not add $(tests-ifunc).
5171 * wcsmbs/Makefile (tests-ifunc): Remove variable.
5172 (tests): Do not add $(tests-ifunc).
5173 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5174 [TEST_IFUNC]: Remove conditionals.
5175 * string/test-string.h (TEST_IFUNC): Remove macro.
5176 [TEST_IFUNC]: Remove conditionals.
5177
3b20fd5c
JM
5178 * string/test-strchr.c [!WIDE] (L): New macro.
5179 [WIDE] (L): Likewise.
5180 (check1): Use CHAR instead of char. Use L on string and character
5181 constants.
5182
704f7947
AZ
51832014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
5184
5185 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5186 tests.
5187 * sysdeps/powerpc/bits/atomic.h
5188 (__arch_atomic_exchange_and_add_32_acq): Add definition.
5189 (__arch_atomic_exchange_and_add_32_rel): Likewise.
5190 (atomic_exchange_and_add_acq): Likewise.
5191 (atomic_exchange_and_add_rel): Likewise.
5192 * sysdeps/powerpc/powerpc32/bits/atomic.h
5193 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5194 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5195 * sysdeps/powerpc/powerpc64/bits/atomic.h
5196 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5197 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5198
cdcb42d7
TR
51992014-11-26 Torvald Riegel <triegel@redhat.com>
5200
5201 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5202 Change synchronization of __sched_fifo_min_prio and
5203 __sched_fifo_max_prio.
5204 * nptl/pthread_mutexattr_getprioceiling.c
5205 (pthread_mutexattr_getprioceiling): Likewise.
5206 * nptl/pthread_mutexattr_setprioceiling.c
5207 (pthread_mutexattr_setprioceiling): Likewise.
5208 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5209 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5210 Likewise.
5211
c82f5c0c
JM
52122014-11-26 Joseph Myers <joseph@codesourcery.com>
5213
5214 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5215 void.
5216
439e1ad6
JM
52172014-11-25 Joseph Myers <joseph@codesourcery.com>
5218
5219 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5220 third argument const.
5221
b1eda10e
PE
52222014-11-25 Paul Eggert <eggert@cs.ucla.edu>
5223
5224 fnmatch: work around GCC compiler warning bug with uninit var
5225 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5226 This works around a bug with x86-64 GCC 4.9.2 and earlier
5227 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5228 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5229 used uninitialized in this function [-Wmaybe-uninitialized]".
5230
bde2667a
JM
52312014-11-25 Joseph Myers <joseph@codesourcery.com>
5232
5233 * posix/bug-regex31.c (main): Return RES not 0.
5234
5fbb5691
AB
52352014-11-25 Anton Blanchard <anton@samba.org>
5236
5237 * sysdeps/powerpc/bits/atomic.h
5238 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5239
467fec0b
BM
52402014-11-24 Sterling Augustine <saugustine@google.com>
5241
5242 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5243
e9ff8efb
RC
52442014-11-24 Ryan Cumming <etaoins@gmail.com>
5245
5246 [BZ #17608]
5247 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5248
9744496f
JM
52492014-11-24 Joseph Myers <joseph@codesourcery.com>
5250
5251 [BZ #17633]
5252 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5253 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5254 variable.
5255 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5256 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5257
6423d475
WD
52582014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5259
5260 * string/strncpy.c (strncpy): Improve performance by using memset.
5261
52622014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
5263
5264 * string/strcpy.c (strcpy):
5265 Improve performance by using strlen and memcpy.
5266
5d178c37
LH
52672014-11-24 Leonhard Holz <leonhard.holz@web.de>
5268
5269 * string/strcoll_l.c (get_next_seq): __always_inline.
5270 * string/strcoll_l.c (do_compare): __always_inline.
5271
279bc5b3
SP
52722014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5273
7a9ebfa1
SP
5274 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5275 defined.
5276 * include/mqueue.h: Likewise.
5277 * include/stdlib.h: Likewise.
5278
4f41c682
SP
5279 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5280 (get_null_defines): Adjust.
5281 * sunrpc/Makefile: Adjust comment.
5282 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5283 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5284 (CFLAGS-interp.c): Likewise.
5285 (CFLAGS-ldconfig.c): Likewise.
5286 (CPPFLAGS-.os): Likewise.
5287 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5288 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5289 * extra-modules.mk (extra-modules.mk): Likewise.
5290 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5291 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5292 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5293 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5294 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5295 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5296 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5297 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5298 * iconvdata/Makefile (CPPFLAGS): Likewise.
5299 (cpp-srcs-left): Add libof for all iconvdata routines.
5300 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5301 * include/assert.h: Likewise.
5302 * include/ctype.h: Likewise.
5303 * include/errno.h: Likewise.
5304 * include/libc-symbols.h: Likewise.
5305 * include/math.h: Likewise.
5306 * include/netdb.h: Likewise.
5307 * include/resolv.h: Likewise.
5308 * include/stdio.h: Likewise.
5309 * include/stdlib.h: Likewise.
5310 * include/string.h: Likewise.
5311 * include/sys/stat.h: Likewise.
5312 * include/wctype.h: Likewise.
5313 * intl/l10nflist.c: Likewise.
5314 * libidn/idn-stub.c: Likewise.
5315 * libio/libioP.h: Likewise.
5316 * nptl/libc_multiple_threads.c: Likewise.
5317 * nptl/pthreadP.h: Likewise.
5318 * posix/regex_internal.h: Likewise.
5319 * resolv/res_hconf.c: Likewise.
5320 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5321 * sysdeps/arm/memmove.S: Likewise.
5322 * sysdeps/arm/sysdep.h: Likewise.
5323 * sysdeps/generic/_itoa.h: Likewise.
5324 * sysdeps/generic/symbol-hacks.h: Likewise.
5325 * sysdeps/gnu/errlist.awk: Likewise.
5326 * sysdeps/gnu/errlist.c: Likewise.
5327 * sysdeps/i386/i586/memcpy.S: Likewise.
5328 * sysdeps/i386/i586/memset.S: Likewise.
5329 * sysdeps/i386/i686/memcpy.S: Likewise.
5330 * sysdeps/i386/i686/memmove.S: Likewise.
5331 * sysdeps/i386/i686/mempcpy.S: Likewise.
5332 * sysdeps/i386/i686/memset.S: Likewise.
5333 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5334 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5335 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5336 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5337 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5338 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5339 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5340 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5341 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5342 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5343 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5344 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5345 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5346 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5347 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5348 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5349 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5350 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5351 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5352 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5353 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5354 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5355 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5356 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5357 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5358 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5359 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5360 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5361 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5362 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5363 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5364 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5365 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5366 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5367 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5368 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5369 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5370 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5371 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5372 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5373 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5374 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5375 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5376 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5377 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5378 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5379 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5380 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5381 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5382 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5383 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5384 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5385 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5386 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5387 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5388 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5389 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5390 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5391 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5392 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5393 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5394 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5395 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5396 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5397 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5398 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5399 * sysdeps/posix/closedir.c: Likewise.
5400 * sysdeps/posix/opendir.c: Likewise.
5401 * sysdeps/posix/readdir.c: Likewise.
5402 * sysdeps/posix/rewinddir.c: Likewise.
5403 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5404 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5405 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5406 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5407 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5408 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5409 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5411 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5412 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5413 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5414 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5415 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5416 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5417 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5418 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5419 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5420 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5421 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5422 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5423 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5424 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5425 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5426 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5427 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5429 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5430 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5431 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5432 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5433 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5434 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5435 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5436 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5437 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5438 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5439 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5440 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5441 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5442 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5443 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5444 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5445 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5446 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5447 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5448 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5449 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5450 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5451 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5452 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5453 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5454 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5455 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5456 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5457 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5458 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5459 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5460 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5461 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5462 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5463 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5464 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5465 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5466 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5467 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5468 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5469 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5470 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5471 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5472 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5473 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5474 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5475 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5476 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5477 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5478 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5479 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5480 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5481 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5482 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5483 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5484 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5485 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5486 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5487 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5488 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5489 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5490 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5491 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5492 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5493 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5494 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5495 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5496 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5497 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5498 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5499 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5500 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5501 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5502 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5503 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5504 * sysdeps/unix/alpha/sysdep.S: Likewise.
5505 * sysdeps/unix/alpha/sysdep.h: Likewise.
5506 * sysdeps/unix/make-syscalls.sh: Likewise.
5507 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5508 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5509 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5510 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5511 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5512 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5513 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5514 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5515 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5516 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5517 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5518 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5519 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5520 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5521 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5522 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5523 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5524 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5525 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5526 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5527 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5528 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5529 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5530 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5531 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5532 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5533 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5536 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5537 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5538 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5539 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5540 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5541 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5542 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5543 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5544 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5545 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5546 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5547 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5548 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5549 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5550 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5551 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5552 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5553 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5554 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5555 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5557 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5558 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5559 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5560 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5561 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5562 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5563 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5564 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5565 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5566 * sysdeps/x86_64/memcpy.S: Likewise.
5567 * sysdeps/x86_64/memmove.c: Likewise.
5568 * sysdeps/x86_64/memset.S: Likewise.
5569 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5570 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5571 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5572 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5573 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5576 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5577 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5578 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5579 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5580 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5581 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5582 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5583 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5584 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5585 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5586 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5587 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5588 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5589 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5590 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5591 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5592 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5593 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5594 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5595 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5596 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5597 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5598 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5599 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5600 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5601 * sysdeps/x86_64/strcmp.S: Likewise.
5602
76ca86a5
SP
5603 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5604
a3848485
SP
5605 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5606 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5607 * elf/rtld-Rules: Likewise.
5608 * elf/setup-vdso.h: Likewise.
5609 * include/assert.h: Likewise.
5610 * include/bits/stdlib-float.h: Likewise.
5611 * include/errno.h: Likewise.
5612 * include/sys/stat.h: Likewise.
5613 * include/unistd.h: Likewise.
5614 * sysdeps/aarch64/setjmp.S: Likewise.
5615 * sysdeps/alpha/setjmp.S: Likewise.
5616 * sysdeps/arm/__longjmp.S: Likewise.
5617 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5618 * sysdeps/arm/setjmp.S: Likewise.
5619 * sysdeps/arm/sysdep.h: Likewise.
5620 * sysdeps/generic/_itoa.h: Likewise.
5621 * sysdeps/generic/dl-sysdep.h: Likewise.
5622 * sysdeps/generic/ldsodefs.h: Likewise.
5623 * sysdeps/i386/dl-tls.h: Likewise.
5624 * sysdeps/i386/setjmp.S: Likewise.
5625 * sysdeps/m68k/setjmp.c: Likewise.
5626 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5627 * sysdeps/mach/hurd/opendir.c: Likewise.
5628 * sysdeps/posix/getcwd.c: Likewise.
5629 * sysdeps/posix/opendir.c: Likewise.
5630 * sysdeps/posix/profil.c: Likewise.
5631 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5632 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5633 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5634 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5635 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5636 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5637 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5638 * sysdeps/s390/dl-tls.h: Likewise.
5639 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5640 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5641 * sysdeps/sh/sh3/setjmp.S: Likewise.
5642 * sysdeps/sh/sh4/setjmp.S: Likewise.
5643 * sysdeps/unix/alpha/sysdep.h: Likewise.
5644 * sysdeps/unix/arm/sysdep.S: Likewise.
5645 * sysdeps/unix/i386/sysdep.S: Likewise.
5646 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5647 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5648 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5649 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5650 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5651 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5652 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5653 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5654 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5655 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5656 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5657 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5658 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5661 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5662 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5663 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5664 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5665 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5666 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5667 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5668 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5669 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5670 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5671 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5672 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5673 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5674 * sysdeps/x86_64/setjmp.S: Likewise.
5675
a109996e
SP
5676 * include/math.h: Use IS_IN instead of IS_IN_libm.
5677 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5678 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5679 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5680 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5681 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5682 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5683 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5684 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5685 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5686 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5687 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5688 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5689 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5690 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5691 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5692 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5693 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5694 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5695 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5696 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5697 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5698 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5699 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5700 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5701 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5702 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5703 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5704 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5705 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5706 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5707 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5708 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5709 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5711 Likewise.
5712 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5713 Likewise.
5714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5715 Likewise.
5716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5717 Likewise.
5718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5719 Likewise.
5720 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5721 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5722 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5723 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5724 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5725 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5727 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5731 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5732 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5733 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5734 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5735 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5736 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5737 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5738 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5739 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5740 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5741 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5742 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5743 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5744 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5745 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5746 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5747
ce9f10f7
SP
5748 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5749 * nptl/pthreadP.h: Likewise.
5750 * nptl_db/structs.def: Likewise.
5751 * sysdeps/arm/sysdep.h: Likewise.
5752 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5753 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5754 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5755 * sysdeps/unix/alpha/sysdep.h: Likewise.
5756 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5757 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5758 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5759 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5760 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5761 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5762 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5763 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5764 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5765 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5766 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5767 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5768 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5769 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5774 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5775 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5777 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5778 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5779 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5780 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5781 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5782
016afc75
SP
5783 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5784 * nptl/pthreadP.h: Likewise.
5785 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5786 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5787 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5788 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5789 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5790 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5791 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5792 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5793 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5794 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5795 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5796 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5798 Likewise.
5799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5800 Likewise.
5801 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5802 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5803 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5804 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5805 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5806 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5807 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5808 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5809
9b42a0b3
SP
5810 * dlfcn/dladdr.c: Use IS_IN.
5811 * dlfcn/dladdr1.c: Likewise.
5812 * dlfcn/dlclose.c: Likewise.
5813 * dlfcn/dlerror.c: Likewise.
5814 * dlfcn/dlinfo.c: Likewise.
5815 * dlfcn/dlmopen.c: Likewise.
5816 * dlfcn/dlopen.c: Likewise.
5817 * dlfcn/dlsym.c: Likewise.
5818 * dlfcn/dlvsym.c: Likewise.
5819
85f36372
SP
5820 * include/ifaddrs.h: Use IS_IN.
5821 * inet/check_pf.c: Likewise.
5822 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5823 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5824
fb6784e3
SP
5825 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5826 IS_IN_ldconfig.
5827 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5828 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5829
2886d2d1
SP
5830 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5831 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5832 IS_IN (libc).
5833
9a484857
SP
5834 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5835
a10178bd
SP
5836 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5837 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5838 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5839 * include/libc-symbols.h (IS_IN_LIB): New macro.
5840 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5841 * include/netdb.h: Likewise.
5842 * include/stap-probe.h: Remove all uses of IN_LIB.
5843
279bc5b3
SP
5844 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5845 instead of IN_MODULE.
5846 * include/libc-symbols.h (IN_MODULE): Define using
5847 MODULE_NAME.
5848 (PASTE_NAME, PASTE_NAME1): New macros.
5849 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5850 of IN_LIB.
5851 (STAP_PROBE_ASM): Likewise.
5852
e0cfa510
ST
58532014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5854
5855 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5856 __mach_init in dlopened libc.
5857
34d97d87
MF
58582014-11-22 Mike Frysinger <vapier@gentoo.org>
5859
5860 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5861 * sysdeps/arm/preconfigure: Regenerate.
5862
33cd1f74
RM
58632014-11-21 Roland McGrath <roland@hack.frob.com>
5864
5865 * nptl/pthread_create.c (__pthread_create_2_1): Set
5866 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5867 when copying values from IATTR into PD.
5868
8c230039
WN
58692014-11-21 Will Newton <will.newton@linaro.org>
5870 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5871
6d3db89b
AP
5872 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5873 Refactor inline-asm. Also add comment.
5874
01194ba1
WN
5875 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5876 ElfW macro instead of hardcoded Elf64 types.
5877 (la_aarch64_gnu_pltenter): Likewise.
5878 * sysdeps/aarch64/dl-machine.h
5879 (elf_machine_runtime_setup): Use ElfW(Addr).
5880
8c230039
WN
5881 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5882 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5883 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5884 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5885 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5886 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5887 (R_AARCH64_TLS_DTPMOD): This.
5888 (R_AARCH64_TLS_DTPREL64): Rename to ...
5889 (R_AARCH64_TLS_DTPREL): This.
5890 (R_AARCH64_TLS_TPREL64): Rename to ...
5891 (R_AARCH64_TLS_TPREL): This.
5892 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5893 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5894 R_AARCH64_TLS_TPREL64.
5895 (elf_machine_rela): Likewise.
5896
0d79fa53
TR
58972014-11-21 Torvald Riegel <triegel@redhat.com>
5898
5899 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5900 by setting it to 0. 64b atomics are not supported currently.
5901
b59d114b
AO
59022014-11-21 Alexandre Oliva <aoliva@redhat.com>
5903
5904 [BZ #16469]
5905 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5906 search domain names.
5907
f3d945d5
AO
59082014-11-21 Alexandre Oliva <aoliva@redhat.com>
5909
5910 [BZ #16469]
5911 * NEWS: Update.
5912 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5913 trailing dot.
5914 * posix/tst-getaddrinfo5.c: New.
5915 * posix/Makefile (tests): Add it.
5916
49698902
AO
59172014-11-21 Alexandre Oliva <aoliva@redhat.com>
5918
5919 [BZ #14498]
5920 * NEWS: Fixed.
5921 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5922 after parsing line but before break_if_match.
5923 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5924 if there is a protocol mismatch.
5925
81959214
MS
59262014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5927
5928 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5929 because the potential race is on the user-supplied stream.
5930
7729e0e9
AO
59312014-11-21 Alexandre Oliva <aoliva@redhat.com>
5932
5933 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5934 string literal if not passed a buffer.
5935 * manual/job.texi (ctermid): Update reasoning, note deviation
5936 from posix, suggest mtasurace when not passed a buffer, for
5937 future non-preliminary safety notes.
5938
a4ea5e28
AO
59392014-11-21 Alexandre Oliva <aoliva@redhat.com>
5940
5941 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5942 of not passing it a buffer.
5943 Reported by Peng Haitao.
5944
a2b581cb
AO
59452014-11-21 Alexandre Oliva <aoliva@redhat.com>
5946
5947 * manual/Makefile ($(objpfx)stamp-summary): Require
5948 check-safety.sh to pass.
5949 * manual/check-safety.sh: Wish for verification that every
5950 @deftypefn and @deftypefun is followed by a @safety remark.
5951
f214ff74
RM
59522014-11-20 Roland McGrath <roland@hack.frob.com>
5953
7f0dfae0
RM
5954 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
5955
2f531bbb
RM
5956 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
5957 PTHREAD_CANCEL_ASYNCHRONOUS.
5958 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
5959 send SIGCANCEL.
5960
f214ff74
RM
5961 * nptl/default-sched.h: New file.
5962 * sysdeps/unix/sysv/linux/default-sched.h: New file.
5963 * nptl/pthread_create.c: Include it.
5964 (__pthread_create_2_1): Use collect_default_sched instead of making
5965 Linux syscalls here directly.
5966
e37c91d4
TR
59672014-11-20 Torvald Riegel <triegel@redhat.com>
5968
5969 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
5970 __pthread_once): Use C11 atomics.
5971
1eccfecd
TR
59722014-11-20 Torvald Riegel <triegel@redhat.com>
5973
5974 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
5975
ff871426
TR
59762014-11-20 Torvald Riegel <triegel@redhat.com>
5977
5978 * include/atomic.h (__atomic_link_error, __atomic_check_size,
5979 atomic_thread_fence_acquire, atomic_thread_fence_release,
5980 atomic_thread_fence_seq_cst, atomic_load_relaxed,
5981 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
5982 atomic_compare_exchange_weak_relaxed,
5983 atomic_compare_exchange_weak_acquire,
5984 atomic_compare_exchange_weak_release,
5985 atomic_exchange_acquire, atomic_exchange_release,
5986 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
5987 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
5988 atomic_fetch_and_acquire,
5989 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
5990
1ea339b6
TR
59912014-11-20 Torvald Riegel <triegel@redhat.com>
5992
5993 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
5994 USE_ATOMIC_COMPILER_BUILTINS): Define.
5995 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
5996 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5997 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
5998 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
5999 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6000 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6001 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6002 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6003 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6004 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6005 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6006 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6007 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6008 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6009 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6010 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6011 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6012 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6013 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6014 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6015 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6016 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6017 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6018 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6019 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6020 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6021 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6022 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6023 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6024 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6025 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6026 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6027 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6028 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6029 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6030 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6031 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6032 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6033 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6034 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6035
cbd463e2
RM
60362014-11-19 Roland McGrath <roland@hack.frob.com>
6037
d960211f
RM
6038 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6039 the sched_priority value here. It was already checked when the user
6040 called pthread_attr_setschedparam.
6041
cbd463e2
RM
6042 * nptl/tst-bad-schedattr.c: New file.
6043 * nptl/Makefile (tests): Add it.
6044
a39208bd
CD
60452014-11-19 Carlos O'Donell <carlos@redhat.com>
6046 Florian Weimer <fweimer@redhat.com>
6047 Joseph Myers <joseph@codesourcery.com>
6048 Adam Conrad <adconrad@0c3.net>
6049 Andreas Schwab <schwab@suse.de>
6050 Brooks <bmoses@google.com>
6051
6052 [BZ #17625]
6053 * wordexp-test.c (__dso_handle): Add prototype.
6054 (__register_atfork): Likewise.
6055 (__app_register_atfork): New function.
6056 (registered_forks): New global.
6057 (register_fork): New function.
6058 (test_case): Add 3 new tests for WRDE_CMDSUB.
6059 (main): Call __app_register_atfork.
6060 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6061 fork count is non-zero fail the test.
6062 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6063 is set.
6064 (parse_dollars): Remove check for WRDE_NOCMD.
6065 (parse_dquote): Likewise.
6066
9cd47470
SP
60672014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6068
130ac68c
SP
6069 * Makeconfig (built-modules): List non-library modules to be
6070 built.
6071 (module-cppflags): Include libc-modules.h for
6072 everything except shlib-versions.v.i.
6073 (CPPFLAGS): Use it.
6074 (before-compile): Add libc-modules.h.
6075 ($(common-objpfx)libc-modules.h,
6076 $(common-objpfx)libc-modules.stmp): New targets.
6077 (common-generated): Add libc-modules.h and libc-modules.stmp.
6078 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6079 * include/libc-symbols.h: Don't include libc-modules.h.
6080 * include/libc-modules.h: Remove file.
6081 * scripts/gen-libc-modules.awk: New script to generate
6082 libc-modules.h.
6083 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6084 Depend on libc-modules.stmp.
6085
286663c3
SP
6086 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6087
9cd47470
SP
6088 * Makeconfig (in-module): Get value of libof set for the
6089 translation unit.
6090 (CPPFLAGS): Use $(in-module).
6091 * Makerules: Don't suffix routine names for nonlib.
6092 * include/libc-modules.h: New file.
6093 * include/libc-symbols.h: Include libc-modules.h
6094 (IS_IN): New macro to replace IS_IN_* macros.
6095 * elf/Makefile: Set libof-* for each routine.
6096 * elf/rtld-Rules: Likewise.
6097 * extra-modules.mk: Likewise.
6098 * iconv/Makefile: Likewise.
6099 * iconvdata/Makefile: Likewise.
6100 * locale/Makefile: Likewise.
6101 * malloc/Makefile: Likewise.
6102 * nss/Makefile: Likewise.
6103 * sysdeps/gnu/Makefile: Likewise.
6104 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6105 * sysdeps/unix/sysv/linux/Makefile: Likewise.
6106 * sysdeps/s390/s390-64/Makefile: Likewise.
6107 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
6108 CPPFLAGS for nscd instead of nonlib.
6109
32fed10f
RM
61102014-11-18 Roland McGrath <roland@hack.frob.com>
6111
d71035bd
RM
6112 * nptl/createthread.c: New file.
6113
6540b991
RM
6114 * nptl/createthread.c: Moved ...
6115 * sysdeps/unix/sysv/linux/createthread.c: ... here.
6116
32fed10f
RM
6117 * nptl/createthread.c: Add proper top-line comment.
6118 (do_clone): Folded into ...
6119 (create_thread): ... here. Take new arguments STOPPED_START and
6120 THREAD_RAN. Always set PD->stopped_start to something here. Don't
6121 increment __nptl_threads, do event-reporting logic, do
6122 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6123 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
6124 resource cleanup if sched_setaffinity or sched_setscheduler fails,
6125 just send SIGCANCEL.
6126 * nptl/pthread_create.c: Forward-declare create_thread before
6127 including createthread.c.
6128 (start_thread): Use new macro START_THREAD_DEFN to replace defining
6129 declaration, and new macro START_THREAD_SELF to replace argument.
6130 Remove return statement.
6131 (report_thread_creation): New function.
6132 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
6133 synchronization logic, and __nptl_nthreads increment here, around
6134 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
6135 PD->parent_cancelhandling here, before create_thread. When
6136 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6137 __deallocate_stack, and ENOMEM translation here.
6138
107a5bf0
JM
61392014-11-18 Joseph Myers <joseph@codesourcery.com>
6140
6141 [BZ #17616]
6142 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6143 (mptwo): Rename to __mptwo.
6144 (__inv): Use __mptwo instead of mptwo.
6145 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6146 (mptwo): Rename to __mptwo.
6147 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6148 of mpone and __mptwo instead of mptwo.
6149 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6150 instead of mpone.
6151 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6152 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6153 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6154 of mpone and __mptwo instead of mptwo.
6155 (__mpranred): Use __mpone instead of mpone.
6156 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6157 variable.
6158 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6159 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6160 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6161 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6162 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6163 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6164 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6165 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6166 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6167 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6168 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6169 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6170 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6171 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6172 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6173 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6174 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6175 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6176 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6177
3b679ab3
TV
61782014-11-18 Tom de Vries <tom@codesoucery.com>
6179
6180 * manual/signal.texi (Primitives Interrupted by Signals): In section,
6181 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
6182
61832014-11-17 Richard Henderson <rth@redhat.com>
6184
6185 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6186 (_FP_PACK_RAW_2): Remove.
6187 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6188 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6189 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6190 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6191 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6192 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6193 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6194 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6195 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6196 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6197 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6198 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6199 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6200 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6201 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6202 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6203
0781a777
RM
62042014-11-14 Roland McGrath <roland@hack.frob.com>
6205
6206 * signal/signal.h [__USE_MISC]
6207 (struct sigvec): Remove type.
6208 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6209 (sigvec): Remove declaration.
6210 * sysdeps/posix/sigvec.c: Moved ...
6211 * signal/sigvec.c: ... here, replacing old file.
6212 (struct sigvec): New type, copied from old signal.h definition.
6213 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6214 (__sigvec): Convert definition to prototype.
6215 (sigvec): Replace weak_alias with compat_symbol.
6216 * signal/Versions (libc: GLIBC_2.21): New version set.
6217 * include/signal.h: Remove __sigvec declaration.
6218 * sysdeps/unix/bsd/sigvec.c: Remove file.
6219 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6220 * manual/signal.texi (BSD Handler): Remove subsection.
6221 Move siginterrupt up to ...
6222 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
6223 (Blocking in BSD): Fold subsection into its parent.
6224 * NEWS: Mention sigvec removal.
6225
a4733812
JM
62262014-11-14 Joseph Myers <joseph@codesourcery.com>
6227
5ae4fe60
JM
6228 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6229 (DLA_FMS): Make definition conditional only on [__FMA4__].
6230 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6231 definition.
6232
6a0dd472
JM
6233 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6234 Make definition conditional only on [PROF].
6235 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6236 definition.
6237 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6238 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6239
a4733812
JM
6240 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6241 !__GNUC__].
6242 * include/signal.h (__sigpause): Move declaration above call to
6243 libc_hidden_proto.
6244 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6245 variable.
6246 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6247 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6248
cf7246dd
DM
62492014-11-14 David S. Miller <davem@davemloft.net>
6250
6251 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6252 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6253
c1b0aadc
JM
62542014-11-14 Joseph Myers <joseph@codesourcery.com>
6255
4863355a
JM
6256 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6257 * configure: Regenerated.
6258 * manual/install.texi (Tools for Compilation): Document a
6259 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6260 compiler verified to work.
6261 * INSTALL: Regenerated.
6262
c1b0aadc
JM
6263 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6264 redeclare with asm name.
6265 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6266 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6267 including <string.h>.
6268 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6269 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6270 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6271 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6272 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6273 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6274 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6275
2a1cfd94
JM
62762014-11-13 Joseph Myers <joseph@codesourcery.com>
6277
bf438382
JM
6278 * stdlib/strtol.c (__strtol): Use prototype definition.
6279
2a1cfd94
JM
6280 [BZ #17594]
6281 * stdlib/strtol.c (SYM__): New macro.
6282 (SYM__1): Likewise.
6283 (__strtol): Likewise.
6284 (strtol): Rename to __strtol and define as weak alias of
6285 __strtol. Use libc_hidden_weak.
6286
20ed0d26
SL
62872014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6288
6289 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6290 Use numbered labels in inline assembly.
6291
53244a4e
SL
62922014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6293
6294 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6295 Add setjmp LIBC_PROBE.
6296 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6297 Likewise.
6298 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6299 Add longjmp, longjmp_target LIBC_PROBE.
6300 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6301 Likewise.
6302
47df8251
SL
63032014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6304
6305 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6306 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6307 to get rid of unused variable warning.
6308
618cebef
SL
63092014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6310
6311 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6312 Check for unwind_backtrace == NULL only in SHARED case.
6313 (__backchain_backtrace): Compile only in SHARED case.
6314 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6315 Likewise.
6316 (__backchain_backtrace): Declare as static.
6317
c6aab2cb
RM
63182014-11-12 Roland McGrath <roland@hack.frob.com>
6319
6320 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6321 (__libc_multiple_threads_ptr): Variable moved ...
6322 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6323
5a6fa4d7
JM
63242014-11-12 Joseph Myers <joseph@codesourcery.com>
6325
24f4f825
JM
6326 * conform/GlibcConform.pm: New file.
6327 * conform/conformtest.pl: Use GlibcConform module.
6328 * conform/linknamespace.pl: New file.
6329 * conform/list-header-symbols.pl: Likewise.
6330 * conform/Makefile (linknamespace-symlists-base): New variable.
6331 (linknamespace-symlists-tests): Likewise.
6332 (linknamespace-header-base): Likewise.
6333 (linknamespace-header-tests): Likewise.
6334 (tests-special): Add new tests.
6335 ($(linknamespace-symlists-tests)): New rule.
6336 (linknamespace-libs): New variable.
6337 ($(objpfx)symlist-stdlibs): New rule.
6338 ($(linknamespace-header-tests)): Likewise.
6339 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6340 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6341 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6342 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6343 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6344 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6345 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6346 (test-xfail-ISO/math.h/linknamespace): Likewise.
6347 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6348 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6349 (test-xfail-ISO/time.h/linknamespace): Likewise.
6350 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6351 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6352 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6353 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6354 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6355 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6356 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6357 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6358 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6359 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6360 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6361 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6362 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6363 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6364 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6365 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6366 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6367 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6368 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6369 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6370 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6371 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6372 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6373 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6374 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6375 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6376 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6377 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6378 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6379 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6380 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6381 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6382 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6383 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6384 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6385 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6386 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6387 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6388 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6389 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6390 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6391 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6392 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6393 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6394 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6395 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6396 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6397 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6398 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6399 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6400 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6401 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6402 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6403 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6404 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6405 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6406 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6407 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6408 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6409 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6410 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6411 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6412 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6413 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6414 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6415 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6416 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6417 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6418 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6419 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6420 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6421 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6422 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6423 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6424 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6425 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6426 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6427 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6428 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6429 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6430 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6431 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6432 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6433 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6434 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6435 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6436 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6437 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6438 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6439 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6440 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6441 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6442 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6443 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6444 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6445 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6446 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6447 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6448 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6449 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6450 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6451 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6452 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6453 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6454 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6455 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6456 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6457 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6458 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6459 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6460 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6461 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6462 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6463 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6464 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6465 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6466 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6467 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6468 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6469 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6470 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6471 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6472 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6473 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6474 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6475 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6476 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6477 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6478 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6479 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6480 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6481 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6482 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6483 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6484 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6485 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6486 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6487 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6488 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6489 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6490 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6491 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6492 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6493 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6494 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6495 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6496 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6497 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6498 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6499 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6500
cc67478e
JM
6501 [BZ #17589]
6502 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6503 of fgets_unlocked.
6504
9975e3d3
JM
6505 [BZ #17585]
6506 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6507 (memmem): Rename to __memmem and define as weak alias of
6508 __memmem. Use libc_hidden_weak.
6509 (__memmem): Use libc_hidden_def.
6510 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6511 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6512 memmem.
6513
c4eae752
JM
6514 [BZ #17582]
6515 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6516 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6517 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6518 and define as weak alias of __fgets_unlocked. Use
6519 libc_hidden_weak.
6520 (__fgets_unlocked): Use libc_hidden_def.
6521 * include/stdio.h (__fgets_unlocked): Declare. Use
6522 libc_hidden_proto.
6523 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6524 __fgets_unlocked instead of fgets_unlocked.
6525 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6526 (GET_NPROCS_CONF_PARSER): Likewise.
6527 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6528 (GET_NPROCS_CONF_PARSER): Likewise.
6529
01cad84e
JM
6530 [BZ #17574]
6531 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6532 weak alias of __wmemset. Use libc_hidden_weak.
6533 (__wmemset): Use libc_hidden_def.
6534 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6535 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6536 of wmemset.
6537
939da411
JM
6538 [BZ #17573]
6539 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6540 with asm name __mempcpy.
6541 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6542
293d9a41
JM
6543 [BZ #17572]
6544 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6545 and define as weak alias of __rawmemchr.
6546 (__rawmemchr): Do not define as strong alias of rawmemchr.
6547
bef8fd60
JM
6548 [BZ #17571]
6549 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6550 alias of __qsort_r.
6551 (qsort): Call __qsort_r instead of qsort_r.
6552 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6553 (__qsort_r): Declare. Call libc_hidden_proto.
6554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6555 instead of qsort_r.
6556 * nscd/gai.c (__qsort_r): Define to qsort_r.
6557 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6558 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6559 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6560
c52ff39e
JM
6561 [BZ #17570]
6562 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6563 define as weak alias of __malloc_info.
6564
2f5c1b00
JM
6565 [BZ #17584]
6566 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6567 as weak alias of __rewinddir. Don't use libc_hidden_def.
6568 (__rewinddir): Use libc_hidden_def.
6569 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6570 as weak alias of __rewinddir. Don't use libc_hidden_def.
6571 (__rewinddir): Use libc_hidden_def.
6572 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6573 weak alias of __rewinddir. Don't use libc_hidden_def.
6574 (__rewinddir): Use libc_hidden_def.
6575 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6576 (__rewinddir): Use libc_hidden_proto.
6577 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6578 rewinddir.
6579 (__getcwd): Use __rewinddir instead of rewinddir.
6580
5a6fa4d7
JM
6581 [BZ #17583]
6582 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6583 alias of __fileno. Use libc_hidden_weak.
6584 (__fileno): Use libc_hidden_def.
6585 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6586 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6587 alias of __ftello.
6588 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6589 __ftello.
6590 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6591 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6592 libc_hidden_def.
6593 (fread_unlocked): Don't use libc_hidden_ver.
6594 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6595 and define as weak alias of __fread_unlocked. Don't use
6596 libc_hidden_def.
6597 (__fread_unlocked): Use libc_hidden_def.
6598 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6599 (ftello): Don't use libc_hidden_proto.
6600 (__ftello): Declare. Use libc_hidden_proto.
6601 (fread_unlocked): Don't use libc_hidden_proto.
6602 (__fread_unlocked): Declare. Use libc_hidden_proto.
6603 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6604 and __ftello instead of fileno, fread_unlocked and ftello.
6605
2581b98e
SP
66062012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6607
6608 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6609 GOT12.
6610 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6611 Likewise.
6612 (_dl_start_user): Likewise.
6613 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6614
533bb7c2
SP
66152014-11-12 Carlos O'Donell <carlos@redhat.com>
6616 Siddhesh Poyarekar <siddhesh@redhat.com>
6617
6618 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6619 Move argv and envp down instead of moving argc up.
6620 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6621
fffa1cf8
LH
66222014-11-12 Leonhard Holz <leonhard.holz@web.de>
6623
6624 [BZ #17506]
6625 * test-skeleton.c (main): Return successful if one of
6626 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6627 * string/tst-strcoll-overflow.c: Define expected status.
6628
fb89b46d
TU
66292014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6630
6631 [BZ #17475]
6632 * locale/iso-639.def: Define Bhili and Tulu language codes.
6633
5c40c3ba
AH
66342014-11-11 Alan Hayward <alan.hayward@arm.com>
6635
6636 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6637
b17fe01b 66382014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6639
6640 [BZ #17555]
6641 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6642
bd805071
AS
66432014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6644
6645 * configure.ac: Updated check of minimal required version to
6646 2.22.
6647 * manual/install.texi (Tools for Compilation): Updated version
6648 number.
6649 * configure: Regenerated.
6650 * INSTALL: Likewise.
6651
1400983e
AS
66522014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6653
6654 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6655 __tls_get_addr.
6656
2c46a66a
JM
66572014-11-07 Joseph Myers <joseph@codesourcery.com>
6658
6659 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6660 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6661 (__waitpid): Don't define as alias. Use libc_hidden_def not
6662 libc_hidden_weak.
6663 (waitpid): Define as alias of __waitpid.
6664 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6665 __waitpid.
6666 (__waitpid): Don't define as alias. Use libc_hidden_def not
6667 libc_hidden_weak.
6668 (waitpid): Define as alias of __waitpid.
6669 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6670 __libc_waitpid alias.
6671 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6672 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6673 Likewise.
6674 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6675 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6676 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6677 alias.
6678 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6679 __waitpid.
6680 (__waitpid): Don't define as alias. Use libc_hidden_def not
6681 libc_hidden_weak.
6682 (waitpid): Define as alias of __waitpid.
6683
da53d6db
CD
66842014-11-06 Carlos O'Donell <carlos@redhat.com>
6685
a2887bdb
CD
6686 * manual/llio.texi: Add comment that write safety has been
6687 fixed in Linux.
6688
da53d6db
CD
6689 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6690 (localplt-build-dso): Add elf/ld.so.
6691 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6692 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6693 and free for ld.so.
6694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6695 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6697 Likewise.
6698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6699 Likewise.
6700 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6701 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6702 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6703 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6704 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6705 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6706 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6707 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6708 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6709 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6710 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6711
9cf27b8d
JM
67122014-11-05 Joseph Myers <joseph@codesourcery.com>
6713
6714 [BZ #14132]
6715 * include/libc-symbols.h (INTUSE): Remove macro.
6716 (INTDEF): Likewise.
6717 (INTVARDEF): Likewise.
6718 (_INTVARDEF): Likewise.
6719 (INTDEF2): Likewise.
6720 (INTVARDEF2): Likewise.
6721 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6722 rtld_hidden_def instead of INTVARDEF.
6723 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6724 (_dl_starting_up_internal): Remove declaration.
6725 (_dl_starting_up): Use rtld_hidden_proto.
6726 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6727 declaration.
6728 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6729 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6730 _dl_starting_up.
6731 * elf/dl-writev.h (_dl_writev): Likewise.
6732 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6733 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6734 _dl_starting_up_internal.
6735
af83568d
AZ
67362014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6737
6738 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6739 test-skeleton.c.
6740
b01ee67c
WN
67412014-11-05 Will Newton <will.newton@linaro.org>
6742
6743 * benchtests/Makefile: (bench-malloc): Add malloc thread
6744 scalability benchmark.
6745 * benchtests/bench-malloc-threads.c: New file.
6746
be9d4ccc
RE
67472014-11-05 Richard Earnshaw <rearnsha@arm.com>
6748
6749 * sysdeps/aarch64/strchrnul.S: New file.
6750
7110166d
AZ
67512014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6752
6753 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6754 definition.
6755 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6756 Likwise.
6757 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6758 Likewise.
6759 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6760 Likewise.
6761 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6762 Likewise.
6763 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6764 Likewise.
6765
67662014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6767
6768 * catgets/test-gencat.c: Use test-skeleton.c.
6769 * catgets/tst-catgets.c: Likewise.
6770 * csu/tst-empty.c: Likewise.
6771 * elf/tst-audit2.c: Likewise.
6772 * elf/tst-global1.c: Likewise.
6773 * elf/tst-pathopt.c: Likewise.
6774 * elf/tst-piemod1.c: Likewise.
6775 * elf/tst-tls10.c: Likewise.
6776 * elf/tst-tls11.c: Likewise.
6777 * elf/tst-tls12.c: Likewise.
6778 * gnulib/tst-gcc.c: Likewise.
6779 * iconvdata/tst-e2big.c: Likewise.
6780 * iconvdata/tst-loading.c: Likewise.
6781 * iconv/tst-iconv1.c: Likewise.
6782 * iconv/tst-iconv2.c: Likewise.
6783 * inet/test-inet6_opt.c: Likewise.
6784 * inet/tst-gethnm.c: Likewise.
6785 * inet/tst-network.c: Likewise.
6786 * inet/tst-ntoa.c: Likewise.
6787 * intl/tst-codeset.c: Likewise.
6788 * intl/tst-gettext2.c: Likewise.
6789 * intl/tst-gettext3.c: Likewise.
6790 * intl/tst-ngettext.c: Likewise.
6791 * intl/tst-translit.c: Likewise.
6792 * io/test-stat.c: Likewise.
6793 * libio/test-fmemopen.c: Likewise.
6794 * libio/tst-freopen.c: Likewise.
6795 * libio/tst-sscanf.c: Likewise.
6796 * libio/tst-ungetwc1.c: Likewise.
6797 * libio/tst-ungetwc2.c: Likewise.
6798 * libio/tst-widetext.c: Likewise.
6799 * localedata/tst-ctype.c: Likewise.
6800 * localedata/tst-digits.c: Likewise.
6801 * localedata/tst-leaks.c: Likewise.
6802 * localedata/tst-mbswcs1.c: Likewise.
6803 * localedata/tst-mbswcs2.c: Likewise.
6804 * localedata/tst-mbswcs3.c: Likewise.
6805 * localedata/tst-mbswcs4.c: Likewise.
6806 * localedata/tst-mbswcs5.c: Likewise.
6807 * localedata/tst-setlocale.c: Likewise.
6808 * localedata/tst-trans.c: Likewise.
6809 * localedata/tst-wctype.c: Likewise.
6810 * localedata/tst-xlocale1.c: Likewise.
6811 * login/tst-grantpt.c: Likewise.
6812 * malloc/tst-calloc.c: Likewise.
6813 * malloc/tst-malloc.c: Likewise.
6814 * malloc/tst-mallocstate.c: Likewise.
6815 * malloc/tst-mcheck.c: Likewise.
6816 * malloc/tst-mtrace.c: Likewise.
6817 * malloc/tst-obstack.c: Likewise.
6818 * math/atest-exp2.c: Likewise.
6819 * math/atest-exp.c: Likewise.
6820 * math/atest-sincos.c: Likewise.
6821 * math/test-matherr.c: Likewise.
6822 * math/test-misc.c: Likewise.
6823 * math/test-powl.c: Likewise.
6824 * math/tst-definitions.c: Likewise.
6825 * misc/tst-dirname.c: Likewise.
6826 * misc/tst-efgcvt.c: Likewise.
6827 * misc/tst-fdset.c: Likewise.
6828 * misc/tst-hsearch.c: Likewise.
6829 * misc/tst-mntent2.c: Likewise.
6830 * nptl/tst-sem7.c: Likewise.
6831 * nptl/tst-sem8.c: Likewise.
6832 * nptl/tst-sem9.c: Likewise.
6833 * nss/test-netdb.c: Likewise.
6834 * posix/tst-fnmatch.c: Likewise.
6835 * posix/tst-getlogin.c: Likewise.
6836 * posix/tst-gnuglob.c: Likewise.
6837 * posix/tst-mmap.c: Likewise.
6838 * pwd/tst-getpw.c: Likewise.
6839 * resolv/tst-inet_ntop.c: Likewise.
6840 * rt/tst-timer.c: Likewise.
6841 * stdio-common/test-fseek.c: Likewise.
6842 * stdio-common/test-popen.c: Likewise.
6843 * stdio-common/test-vfprintf.c: Likewise.
6844 * stdio-common/tst-cookie.c: Likewise.
6845 * stdio-common/tst-fileno.c: Likewise.
6846 * stdio-common/tst-gets.c: Likewise.
6847 * stdio-common/tst-obprintf.c: Likewise.
6848 * stdio-common/tst-perror.c: Likewise.
6849 * stdio-common/tst-sprintf2.c: Likewise.
6850 * stdio-common/tst-sprintf3.c: Likewise.
6851 * stdio-common/tst-sprintf.c: Likewise.
6852 * stdio-common/tst-swprintf.c: Likewise.
6853 * stdio-common/tst-tmpnam.c: Likewise.
6854 * stdio-common/tst-unbputc.c: Likewise.
6855 * stdio-common/tst-wc-printf.c: Likewise.
6856 * stdlib/tst-environ.c: Likewise.
6857 * stdlib/tst-fmtmsg.c: Likewise.
6858 * stdlib/tst-limits.c: Likewise.
6859 * stdlib/tst-rand48-2.c: Likewise.
6860 * stdlib/tst-rand48.c: Likewise.
6861 * stdlib/tst-random2.c: Likewise.
6862 * stdlib/tst-random.c: Likewise.
6863 * stdlib/tst-strtol.c: Likewise.
6864 * stdlib/tst-strtoll.c: Likewise.
6865 * stdlib/tst-tls-atexit.c: Likewise.
6866 * stdlib/tst-xpg-basename.c: Likewise.
6867 * string/test-ffs.c: Likewise.
6868 * string/tst-bswap.c: Likewise.
6869 * string/tst-inlcall.c: Likewise.
6870 * string/tst-strtok.c: Likewise.
6871 * string/tst-strxfrm.c: Likewise.
6872 * sysdeps/x86_64/tst-audit10.c: Likewise.
6873 * sysdeps/x86_64/tst-audit3.c: Likewise.
6874 * sysdeps/x86_64/tst-audit4.c: Likewise.
6875 * sysdeps/x86_64/tst-audit5.c: Likewise.
6876 * time/tst-ftime_l.c: Likewise.
6877 * time/tst-getdate.c: Likewise.
6878 * time/tst-mktime3.c: Likewise.
6879 * time/tst-mktime.c: Likewise.
6880 * time/tst-posixtz.c: Likewise.
6881 * time/tst-strptime2.c: Likewise.
6882 * time/tst-strptime3.c: Likewise.
6883 * wcsmbs/tst-btowc.c: Likewise.
6884 * wcsmbs/tst-mbrtowc.c: Likewise.
6885 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6886 * wcsmbs/tst-wchar-h.c: Likewise.
6887 * wcsmbs/tst-wcpncpy.c: Likewise.
6888 * wcsmbs/tst-wcrtomb.c: Likewise.
6889 * wcsmbs/tst-wcsnlen.c: Likewise.
6890 * wcsmbs/tst-wcstof.c: Likewise.
6891
2004e7fb
JM
68922014-11-04 Joseph Myers <joseph@codesourcery.com>
6893
ab97ee8f
JM
6894 [BZ #14132]
6895 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6896 INTDEF.
6897 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6898 declaration.
6899 (_dl_mcount): Use rtld_hidden_proto.
6900 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6901 _dl_mcount.
6902 * elf/rtld.c (_rtld_global_ro): Likewise.
6903
c5684fdb
JM
6904 [BZ #14132]
6905 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6906 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6907 of _dl_init_internal.
6908 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6909 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6910 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6911 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6912 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6913 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6914 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6915 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6916 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6917 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6918 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6919 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6920 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6921 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6922 * sysdeps/tile/dl-start.S (_start): Likewise.
6923 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6924 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6925
4243cbea
JM
6926 [BZ #14132]
6927 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6928 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6929 (rtld_progname): Make macro definition unconditional.
6930 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6931 INTDEF.
6932 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6933 (dl_main): Likewise.
6934 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6935 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6936 instead of _dl_argv_internal.
6937 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6938 __GI__dl_argv instead of INTUSE(_dl_argv).
6939 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6940 __GI__dl_argv instead of _dl_argv_internal.
6941
2004e7fb
JM
6942 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6943 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
6944 macro.
6945 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
6946 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
6947 New macro.
6948 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
6949 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
6950 macro.
6951 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
6952 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
6953
97827bfc
AS
69542014-11-04 Andreas Schwab <schwab@suse.de>
6955
6956 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
6957
5e4df284
AZ
69582014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6959
6960 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
6961 mtvsrd instruction in binary form.
6962
04b76b5a
AS
69632014-11-03 Andreas Schwab <schwab@suse.de>
6964
6965 [BZ #17522]
6966 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
6967 for less than MB_LEN_MAX use a local buffer of that size.
6968 * libio/tst-fputws.c: New file.
6969 * libio/Makefile (tests): Add tst-fputws.
6970
4c6da7da
JM
69712014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
6972
6973 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
6974 the size of the fpu_fr.fpu_dregs[] array.
6975
1679ba8e
JM
69762014-11-01 Joseph Myers <joseph@codesourcery.com>
6977
6978 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
6979 (__nanosleep): Do not define as alias.
6980 (nanosleep): Define as alias of __nanosleep.
6981 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
6982 __libc_nanosleep name.
6983
2626c183
JM
69842014-10-31 Joseph Myers <joseph@codesourcery.com>
6985
6986 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
6987 install.texi in comment.
6988
7f981fc2
TR
69892014-10-31 Torvald Riegel <triegel@redhat.com>
6990
6991 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
6992 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
6993 ... add here and use lwsync or sync ...
6994 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
6995 ... and add here using lwsync.
6996
d6f373d2
MF
69972014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
6998
6999 * elf/dl-machine-reject-phdr.h: New file.
7000 * elf/dl-load.c: #include that.
7001 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7002 if that returned true.
7003
67c37987
RM
70042014-10-31 Roland McGrath <roland@hack.frob.com>
7005
7006 [BZ #17496]
7007 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7008 gen-as-const-headers chunk. Add a big scare comment after the last
7009 safe place to touch before-compile.
7010
94a42455 70112014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 7012
f3f5d895
JM
7013 * manual/install.texi (Tools for Compilation): Update autoconf
7014 version requirements.
7015 * INSTALL: Regenerated.
7016
f62ff286
JM
7017 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7018 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7019 (__libc_pselect): Likewise.
94a42455
JM
7020
7021 [BZ #14138]
7022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7026
ff9dbdc0
TR
70272014-10-31 Torvald Riegel <triegel@redhat.com>
7028
7029 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7030 correct barrier instruction.
7031 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7032 Likewise.
7033 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7034 Likewise.
7035
b4f66884
RM
70362014-10-30 Roland McGrath <roland@hack.frob.com>
7037
7038 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7039 after defining inlines. Instead, just use parens to defeat macro
7040 expansion of __isctype in its declaration.
7041
e19c95fd
JM
70422014-10-30 Joseph Myers <joseph@codesourcery.com>
7043
7044 * include/sys/uio.h (__libc_readv): Remove declaration.
7045 (__libc_writev): Likewise.
7046 * misc/readv.c (__libc_readv): Rename to __readv.
7047 (__readv): Do not define as alias.
7048 (readv): Define as alias of __readv.
7049 * misc/writev.c (__libc_writev): Rename to __writev.
7050 (__writev): Do not define as alias.
7051 (writev): Define as alias of __writev.
7052 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7053 (__readv): Do not define as alias.
7054 (readv): Define unconditionally as alias of __readv.
7055 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7056 (__writev): Do not define as alias.
7057 (writev): Define unconditionally as alias of __writev.
7058 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7059 name.
7060 (writev): Do not define __libc_writev name.
7061
65b00b6c
RM
70622014-10-30 Roland McGrath <roland@hack.frob.com>
7063
7064 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7065 (convert_charseq): New function, broken out of ...
7066 (use_from_charmap): ... here. Call it.
7067 (use_to_charmap): Use convert_charseq and free instead of duplicating
7068 its code with a variable-length stack struct.
7069
d4e157aa
JM
70702014-10-30 Joseph Myers <joseph@codesourcery.com>
7071
7072 * include/fcntl.h (__libc_creat): Remove declaration.
7073 * io/creat.c (__libc_creat): Rename to creat.
7074 (creat): Do not define as alias.
7075 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7076 of creat instead of __libc_creat.
7077 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7078 to creat.
7079 (creat): Do not define as alias.
7080 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7081 __libc_creat.
7082 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7083 __libc_creat name.
7084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7085 Likewise.
7086
0c6891a0
CD
70872014-10-29 Carlos O'Donell <carlos@redhat.com>
7088
7089 * manual/llio.texi: Add comments discussing why write() may be
7090 considered MT-unsafe on Linux.
7091
cc00cece
CD
70922014-10-28 Carlos O'Donell <carlos@redhat.com>
7093
7094 * dl-load.c (local_strdup): Remove.
7095 (expand_dynamic_string_token): Use __strdup.
7096 (decompose_rpath): Likewise.
7097 (_dl_map_object): Likewise.
7098
51e623f2
JM
70992014-10-28 Joseph Myers <joseph@codesourcery.com>
7100
7101 [BZ #14132]
7102 * sysdeps/generic/unwind-dw2-fde.c
7103 (__register_frame_info_bases_internal): Do not declare.
7104 (__register_frame_info_table_bases_internal): Likewise.
7105 (__deregister_frame_info_bases_internal): Likewise.
7106 (__register_frame_info_bases): Declare and use hidden_proto before
7107 definition. Use hidden_def instead of INTDEF.
7108 (__register_frame_info_table_bases): Likewise.
7109 (__deregister_frame_info_bases): Likewise.
7110 (__register_frame_info): Do not use INTUSE.
7111 (__register_frame): Likewise.
7112 (__register_frame_info_table): Likewise.
7113 (__register_frame_table): Likewise.
7114 (__deregister_frame_info): Likewise.
7115 (__deregister_frame): Likewise.
7116
03d41216
GC
71172014-10-27 Gratian Crisan <gratian.crisan@ni.com>
7118
7119 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7120 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7121 not undefine.
7122 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7123 Likewise.
7124 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7125 Likewise.
7126
a4b3624d
JM
71272014-10-27 Joseph Myers <joseph@codesourcery.com>
7128
7129 [BZ #14138]
7130 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7131 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7132 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7133 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7134 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7135 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7136 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7137 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7138 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7139 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7140 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7141 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7142 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7143 syscall.
7144 (setfsuid): Likewise.
7145 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7146 (setfsuid): Likewise.
7147 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7148 (setfsuid): Likewise.
7149 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7150 Likewise.
7151 (setfsuid): Likewise.
7152 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7153 (setfsuid): Likewise.
7154 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7155 Likewise.
7156 (setfsuid): Likewise.
7157
3574f2fd
AS
71582014-10-27 Andreas Schwab <schwab@suse.de>
7159
7160 [BZ #17501]
7161 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7162 check for Slow_SSE4_2 feature bit.
7163 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7164 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7165 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7166 Likewise. Fix check for Fast_Unaligned_Load feature bit.
7167
70996a37
RM
71682014-10-24 Roland McGrath <roland@hack.frob.com>
7169
461a7b1e
RM
7170 * configure.ac: Validate compiler version with a empirical test of
7171 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7172 $CC -v output.
7173 * configure: Regenerated.
7174
70996a37
RM
7175 * inet/htons.c (htons): Prototypify.
7176 * inet/htonl.c (htonl): Likewise.
7177
e80514b5
WD
71782014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7179
7180 * string/strncat.c (strncat): Improve performance by using strlen.
7181
6e46de42
WD
71822014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7183
7184 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7185
6a9ad2fa
WD
71862014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7187
7188 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7189 Call libc_fetestexcept_aarch64.
7190
1c8810ed
WD
71912014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7192
7193 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7194 Call libc_feholdexcept_aarch64.
7195
8b1af712
WD
71962014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7197
7198 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7199 Call get_rounding_mode.
7200
a7b00c11
WD
72012014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7202
7203 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7204 Simplify logic.
7205
3a84f1a6
WD
72062014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7207
7208 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7209 Simplify logic.
7210
48eb7a94
JM
72112014-10-24 Joseph Myers <joseph@codesourcery.com>
7212
c8bc4038
JM
7213 [BZ #14138]
7214 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7215 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7216 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7217 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7218 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7219 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7220 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7221 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7222 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7223 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7224 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7225 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7226 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7227 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7228 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7229 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7230 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7231 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7232 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7233 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7234 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7235 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7236 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7237 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7238 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7239 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7240 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7241 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7242 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7243 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7244 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7245 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7246 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7247 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7248 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7249 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7250 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7251 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7252 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7253 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7254 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7255 syscall.
7256 (geteuid): Likewise.
7257 (getgid): Likewise.
7258 (getuid): Likewise.
7259 (getresgid): Likewise.
7260 (getresuid): Likewise.
7261 (getgroups): Likewise.
7262 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7263 (geteuid): Likewise.
7264 (getgid): Likewise.
7265 (getuid): Likewise.
7266 (getresgid): Likewise.
7267 (getresuid): Likewise.
7268 (getgroups): Likewise.
7269 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7270 (geteuid): Likewise.
7271 (getgid): Likewise.
7272 (getuid): Likewise.
7273 (getresgid): Likewise.
7274 (getresuid): Likewise.
7275 (getgroups): Likewise.
7276 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7277 Likewise.
7278 (geteuid): Likewise.
7279 (getgid): Likewise.
7280 (getuid): Likewise.
7281 (getresgid): Likewise.
7282 (getresuid): Likewise.
7283 (getgroups): Likewise.
7284 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7285 (geteuid): Likewise.
7286 (getgid): Likewise.
7287 (getuid): Likewise.
7288 (getresgid): Likewise.
7289 (getresuid): Likewise.
7290 (getgroups): Likewise.
7291 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7292 Likewise.
7293 (geteuid): Likewise.
7294 (getgid): Likewise.
7295 (getuid): Likewise.
7296 (getgroups): Likewise.
7297
48eb7a94
JM
7298 [BZ #14138]
7299 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7300 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7301 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7302 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7303 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7304 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7305 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7306 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7307 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7310 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7311 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7312 __chown.
7313 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7314 (lchown): Likewise.
7315 (fchown): Likewise.
7316 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7317 Likewise.
7318 (lchown): Likewise.
7319 (fchown): Likewise.
7320 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7321 (lchown): Likewise.
7322 (fchown): Likewise.
7323 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7324 Likewise.
7325 (lchown): Likewise.
7326 (fchown): Likewise.
7327
ea9a7c8b
WD
73282014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7329
7330 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7331 Simplify logic.
7332
e226de33
WD
73332014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7334
7335 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7336 Cleanup logic.
7337
6e3d8ed3
WD
73382014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7339
7340 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7341 Remove unused include.
7342
eb04247d
WD
73432014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7344
7345 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7346 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7347 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7348 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7349
13d84554
CD
73502014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7351 Helge Deller <deller@gmx.de>
7352
7353 [BZ #17508]
7354 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7355 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7356 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7357
15f9c5df
JM
73582014-10-23 Joseph Myers <joseph@codesourcery.com>
7359
7360 [BZ #14132]
7361 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7362 Remove macro definition.
7363 (__ashrdi3_v_glibc20): Likewise.
7364 (__lshrdi3_v_glibc20): Likewise.
7365 (__cmpdi2_v_glibc20): Likewise.
7366 (__ucmpdi2_v_glibc20): Likewise.
7367 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7368 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7369 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7370 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7371 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7372 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7373
c6dfed24
RM
73742014-10-22 Roland McGrath <roland@hack.frob.com>
7375
7376 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7377 old GNU extension [0] syntax.
7378 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7379 alloca rather than an array member with variable length.
7380 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7381 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7382 (parse_opt): ... here. Likewise use alloca there.
7383 Validate the -i argument before checking for rootness.
7384 (send_shutdown): New function, broken out of ...
7385 (parse_opt): ... here.
7386
8c2b1ed8
RM
73872014-10-22 Roland McGrath <roland@hack.frob.com>
7388
7389 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7390 macro to get at the _rt_local_ro field.
7391 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7392 ([PIC] case) or _dl_hwcap ([!PIC] case).
7393 * sysdeps/arm/setjmp.S: Likewise.
7394
7395 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7396 * sysdeps/arm/configure.ac: New check to define it.
7397 * sysdeps/arm/configure: Regenerated.
7398 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7399 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7400 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7401 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7402 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7403 Use move/movt pair instead of a load.
7404 (LDST_GLOBAL): Macro removed.
7405 (LDR_GLOBAL): New macro replaces it.
7406 (LDR_HIDDEN): New macro.
7407 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7408 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7409
7410 * setjmp/tst-setjmp-static.c: New file.
7411 * setjmp/Makefile (tests): Add it.
7412 (tests-static): New variable.
7413
b5af9297
MR
74142014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7415
7416 [BZ #17485]
7417 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7418
a13d0d74
JM
74192014-10-21 Joseph Myers <joseph@codesourcery.com>
7420
7421 [BZ #14132]
7422 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7423
f05e73f6
RM
74242014-10-21 Roland McGrath <roland@hack.frob.com>
7425
7426 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7427
6ab1d1ea
RM
74282014-10-20 Roland McGrath <roland@hack.frob.com>
7429
7430 * io/fts.c (dirent_not_directory): New function.
7431 (fts_build): Call it.
7432
ab49e763
RM
74332014-10-20 Roland McGrath <roland@hack.frob.com>
7434
e436eb79
RM
7435 * nptl/version.c (__nptl_main): Use normal __write rather than
7436 INTERNAL_SYSCALL.
7437 (banner): Update copyright years.
7438
6af246cf
RM
7439 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7440 gettimeofday.
7441 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7442 * nptl/pthread_cond_timedwait.c: Likewise.
7443 * nptl/pthread_mutex_timedlock.c: Likewise.
7444 * nptl/sem_timedwait.c: Likewise.
7445
ab49e763
RM
7446 * sysdeps/nptl/bits/libc-lock.h
7447 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7448 (__libc_lock_init_recursive): Return void, not 0.
7449 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7450 (__libc_rwlock_init): Likewise.
7451 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7452
f50277c1
TR
74532014-10-20 Torvald Riegel <triegel@redhat.com>
7454
7455 [BZ #15215]
7456 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7457 (__pthread_once_slow): ... here.
7458 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7459 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7460
63668b70
TR
74612014-10-20 Torvald Riegel <triegel@redhat.com>
7462
7463 [BZ #15215]
7464 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7465 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7466 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7467 * nptl/pthread_once.c (__pthread_once): Likewise.
7468 Update comments.
7469
42b7f5d4
JM
74702014-10-20 Joseph Myers <joseph@codesourcery.com>
7471
7472 [BZ #14138]
7473 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7474 name.
7475 (writev): Use __libc_writev as strong name.
7476 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7477 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7478
b0643088
RM
74792014-10-17 Roland McGrath <roland@hack.frob.com>
7480
114c4e09
RM
7481 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7482
674b8978
RM
7483 * sysdeps/i386/nptl/tls.h
7484 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7485 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7486 New macros.
7487 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7488 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7489 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7490 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7491 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7492 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7493
184ee940
RM
7494 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7495 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7496 on [__NR_futex].
7497 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7498 broken out of ...
7499 (__pthread_mutex_init): ... here. Call it.
7500 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7501 Conditionalize PI cases on [__NR_futex].
7502 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7503 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7504 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7505
327ae257
RM
7506 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7507 conditional on [SIGSETXID].
7508 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7509 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7510 is defined. Likewise for SIGSETXID.
7511 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7512 Conditionalize definitions on [SIGSETXID].
7513 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7514 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7515 unblocking on [SIGCANCEL].
7516
b0643088
RM
7517 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7518 [__NR_set_robust_list].
7519
33cc770b
SP
75202014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7521
7522 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7523 (do_compare): Likewise.
7524
0742aef6
LH
75252014-10-17 Leonhard Holz <leonhard.holz@web.de>
7526
7527 [BZ #15884]
7528 * string/strcoll_l.c: Don't include stdio.h.
7529 (coll_seq): Remove members idxarr and rulearr.
7530 (get_next_seq_cached): Remove function.
7531 (get_next_seq): Likewise.
7532 (get_next_seq_nocache): Rename to get_next_seq.
7533 (do_compare): Remove function.
7534 (do_compare_nocache): Rename to do_compare.
7535 (STRCOLL): Remove weight and rules cache.
7536
ee54ce44
RM
75372014-10-16 Roland McGrath <roland@hack.frob.com>
7538
7539 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7540 * sysdeps/arm/sfp-machine.h: ... to here.
7541 * sysdeps/arm/Implies: Remove arm/soft-fp.
7542
a75d3b02
JM
75432014-10-14 Joseph Myers <joseph@codesourcery.com>
7544
7545 * conform/data/sys/utsname.h-data (*_t): Allow.
7546 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7547 [POSIX] (WEXITED): Do not expect constant.
7548 [POSIX] (WSTOPPED): Likewise.
7549 [POSIX] (WNOHANG): Likewise.
7550 [POSIX] (WNOWAIT): Likewise.
7551 [POSIX] (siginfo_t): Do not expect type or elements.
7552 [POSIX] (pid_t): Do not expect type.
7553 [POSIX] (signal.h): Do not allow header.
7554 [POSIX] (sys/resource.h): Likewise.
7555 [POSIX] (si_*): Do not allow pattern.
7556 [POSIX] (W*): Likewise.
7557 [POSIX] (P_*): Likewise.
7558 [POSIX] (BUS_*): Likewise.
7559 [POSIX] (CLD_*): Likewise.
7560 [POSIX] (FPE_*): Likewise.
7561 [POSIX] (ILL_*): Likewise.
7562 [POSIX] (POLL_*): Likewise.
7563 [POSIX] (SEGV_*): Likewise.
7564 [POSIX] (SI_*): Likewise.
7565 [POSIX] (TRAP_*): Likewise.
7566 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7567 variable.
7568
fda389c8
SP
75692014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7570
7571 [BZ #12926]
7572 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7573 infinite loop when __recvmsg returns 0.
7574
6bc6bd3b
JM
75752014-10-10 Joseph Myers <joseph@codesourcery.com>
7576
fcb32af1
JM
7577 * CANCEL-FCT-WAIVE: Remove file.
7578 * CANCEL-FILE-WAIVE: Likewise.
7579
6bc6bd3b
JM
7580 [BZ #14132]
7581 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7582 instead of INTVARDEF.
7583 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7584 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7585 rtld_hidden_data_def instead of INTVARDEF.
7586 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7587 * elf/dl-deps.c (expand_dst): Likewise.
7588 * elf/dl-load.c (_dl_dst_count): Likewise.
7589 (_dl_dst_substitute): Likewise.
7590 (decompose_rpath): Likewise.
7591 (_dl_init_paths): Likewise.
7592 (open_path): Likewise.
7593 (_dl_map_object): Likewise.
7594 * elf/rtld.c (dl_main): Likewise.
7595 (process_dl_audit): Likewise.
7596 (process_envvars): Likewise.
7597 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7598 Remove declaration.
7599 (__libc_enable_secure): Use rtld_hidden_proto.
7600
b8c80a7e
KS
76012014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7602
7603 * elf/dl-load.c
7604 (add_path): New function broken out of _dl_rtld_di_serinfo.
7605 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7606
ff12c11f
JM
76072014-10-09 Joseph Myers <joseph@codesourcery.com>
7608
5c0508a3
JM
7609 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7610 parentheses around macro arguments.
7611 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7612 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7613 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7614 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7615 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7616 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7617 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7618 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7619 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7620 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7621 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7622 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7623 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7624 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7625 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7626 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7627 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7628 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7629 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7630 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7631 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7632 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7633 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7634 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7635 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7636 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7637 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7638 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7639 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7640 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7641 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7642 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7643 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7644 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7645 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7646 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7647 Likewise.
7648 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7649 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7650 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7651 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7652 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7653 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7654 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7655 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7656 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7657 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7658 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7659 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7660 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7661 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7662 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7663 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7664 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7665 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7666 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7667 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7668 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7669 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7670 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7671 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7672 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7673 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7674 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7675 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7676 (_FP_FRAC_SRS_1): Likewise.
7677 (_FP_FRAC_CLZ_1): Likewise.
7678 (_FP_MUL_MEAT_1_imm): Likewise.
7679 (_FP_MUL_MEAT_1_wide): Likewise.
7680 (_FP_MUL_MEAT_1_hard): Likewise.
7681 (_FP_SQRT_MEAT_1): Likewise.
7682 (_FP_FRAC_ASSEMBLE_1): Likewise.
7683 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7684 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7685 (__FP_CLZ_2): Likewise.
7686 (_FP_MUL_MEAT_2_wide): Likewise.
7687 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7688 (_FP_MUL_MEAT_2_gmp): Likewise.
7689 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7690 (_FP_SQRT_MEAT_2): Likewise.
7691 (_FP_FRAC_ASSEMBLE_2): Likewise.
7692 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7693 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7694 (_FP_FRAC_CLZ_4): Likewise.
7695 (_FP_MUL_MEAT_4_wide): Likewise.
7696 (_FP_MUL_MEAT_4_gmp): Likewise.
7697 (_FP_SQRT_MEAT_4): Likewise.
7698 (_FP_FRAC_ASSEMBLE_4): Likewise.
7699 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7700 * soft-fp/op-common.h (_FP_CMP): Likewise.
7701 (_FP_CMP_EQ): Likewise.
7702 (_FP_CMP_UNORD): Likewise.
7703 (_FP_TO_INT): Likewise.
7704 (_FP_FROM_INT): Likewise.
7705 [!__FP_CLZ] (__FP_CLZ): Likewise.
7706 (_FP_DIV_HELP_imm): Likewise.
7707 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7708 Likewise.
7709 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7710 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7711 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7712 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7713 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7714 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7715 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7716 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7717 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7718 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7719 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7720 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7721 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7722 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7723 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7724 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7725 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7726 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7727 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7728 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7729 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7730 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7731 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7732 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7733 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7734 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7735 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7736 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7737 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7738 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7739 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7740 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7741 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7742 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7743 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7744 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7745 (FP_UNPACK_RAW_SP): Likewise.
7746 (FP_PACK_RAW_S): Likewise.
7747 (FP_PACK_RAW_SP): Likewise.
7748 (FP_UNPACK_S): Likewise.
7749 (FP_UNPACK_SP): Likewise.
7750 (FP_UNPACK_SEMIRAW_S): Likewise.
7751 (FP_UNPACK_SEMIRAW_SP): Likewise.
7752 (FP_PACK_S): Likewise.
7753 (FP_PACK_SP): Likewise.
7754 (FP_PACK_SEMIRAW_S): Likewise.
7755 (FP_PACK_SEMIRAW_SP): Likewise.
7756 (_FP_SQRT_MEAT_S): Likewise.
7757 (FP_CMP_S): Likewise.
7758 (FP_CMP_EQ_S): Likewise.
7759 (FP_CMP_UNORD_S): Likewise.
7760 (FP_TO_INT_S): Likewise.
7761 (FP_FROM_INT_S): Likewise.
7762
a736ec37
JM
7763 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7764
ff12c11f
JM
7765 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7766 (FP_EX_INVALID_IMZ): Likewise.
7767 (FP_EX_INVALID_IMZ_FMA): Likewise.
7768 (FP_EX_INVALID_ISI): Likewise.
7769 (FP_EX_INVALID_ZDZ): Likewise.
7770 (FP_EX_INVALID_IDI): Likewise.
7771 (FP_EX_INVALID_SQRT): Likewise.
7772 (FP_EX_INVALID_CVI): Likewise.
7773 (FP_EX_INVALID_VC): Likewise.
7774 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7775 "invalid" exceptions.
7776 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7777 (_FP_ADD_INTERNAL): Likewise.
7778 (_FP_MUL): Likewise.
7779 (_FP_FMA): Likewise.
7780 (_FP_DIV): Likewise.
7781 (_FP_CMP_CHECK_NAN): Likewise.
7782 (_FP_SQRT): Likewise.
7783 (_FP_TO_INT): Likewise.
7784 (FP_EXTEND): Likewise.
7785
b6dcfe8c
AM
77862014-10-09 Allan McRae <allan@archlinux.org>
7787
7788 * po/fr.po: Update French translation from translation project.
7789
2d6a47ba
JM
77902014-10-09 Joseph Myers <joseph@codesourcery.com>
7791
cb831245
JM
7792 [BZ #14132]
7793 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7794 of INTDEF.
7795 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7796 (__cxa_atexit): Use libc_hidden_proto.
7797 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7798
5deeb190
JM
7799 [BZ #14132]
7800 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7801 declaration.
7802 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7803 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7804 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7805 [!_ISOMAC] (__iswctype_internal): Likewise.
7806 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7807 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7808 alias.
7809 (fcntl): Remove __fcntl_internal alias.
7810 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7811 __connect_internal alias.
7812 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7813 Likewise.
7814
454ac701
JM
7815 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7816 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7817 FP_DENORM_ZERO.
7818 (_FP_CHECK_FLUSH_ZERO): New macro.
7819 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7820 (_FP_CMP): Likewise.
7821 (_FP_CMP_EQ): Likewise.
7822 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7823 FP_DENORM_ZERO.
7824 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7825 (FP_TRUNC): Likewise.
7826
0022e688
JM
7827 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7828 treated as invalid conversion, not as normal exponent.
7829
73e28d9c
JM
7830 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7831 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7832 (_FP_CMP_EQ): Likewise.
7833 (_FP_CMP_UNORD): Likewise.
7834 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7835 (FP_CMP_EQ_D): Likewise.
7836 (FP_CMP_UNORD_D): Likewise.
7837 * soft-fp/extended.h (FP_CMP_E): Likewise.
7838 (FP_CMP_EQ_E): Likewise.
7839 (FP_CMP_UNORD_E): Likewise.
7840 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7841 (FP_CMP_EQ_Q): Likewise.
7842 (FP_CMP_UNORD_Q): Likewise.
7843 * soft-fp/single.h (FP_CMP_S): Likewise.
7844 (FP_CMP_EQ_S): Likewise.
7845 (FP_CMP_UNORD_S): Likewise.
7846 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7847 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7848 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7849 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7850 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7851 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7852 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7853 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7854 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7855 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7856 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7857 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7858 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7859 to FP_CMP_Q.
7860 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7861 FP_CMP_Q.
7862 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7863 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7864 FP_CMP_EQ_Q.
7865 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7866 FP_CMP_Q.
7867 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7868 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7869 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7870 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7871 FP_CMP_EQ_Q.
7872 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7873 FP_CMP_Q.
7874 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7875 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7876 FP_CMP_EQ_Q.
7877 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7878 FP_CMP_Q.
7879 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7880 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7881 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7882 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7883 FP_CMP_EQ_Q.
7884
43059f42
JM
7885 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7886 a subnormal result, set the underflow exception if trapping on
7887 underflow is enabled.
7888 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7889 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7890 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7891 redefine to 0.
7892 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7893 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7894 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7895 * soft-fp/extendxftf2.c (__extendxftf2): Use
7896 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7897
2d6a47ba
JM
7898 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7899 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7900 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7901 FP_HANDLE_EXCEPTIONS.
7902 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7903 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7904 FP_HANDLE_EXCEPTIONS.
7905 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7906 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7907 FP_HANDLE_EXCEPTIONS.
7908 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7909 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7910 FP_HANDLE_EXCEPTIONS.
7911
620f462e
JM
79122014-10-08 Joseph Myers <joseph@codesourcery.com>
7913
7914 [BZ #14132]
7915 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7916 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7917 use INTUSE.
7918 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7919 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7920 Remove alias.
7921 (__adjtimex): Define using libc_hidden_ver.
7922 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7923 Remove declaration.
7924 (ntp_gettime): Call __adjtimex directly.
7925 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7926 Remove declaration.
7927 (ntp_gettimex): Call __adjtimex directly.
7928 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7929 __adjtimex_internal alias.
7930
c763c5d2
RM
79312014-10-08 Roland McGrath <roland@hack.frob.com>
7932
7933 [BZ #17460]
7934 * nscd/nscd.c (more_help): Rewrite list of tables collection
7935 using xstrdup and asprintf.
7936
7937 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7938
7b8fb2b8
RM
79392014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7940 Roland McGrath <roland@hack.frob.com>
7941
7942 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7943 (do_lookup_unique): ... local function 'enter' here; update callers.
7944
abb280f7
JM
79452014-10-06 Joseph Myers <joseph@codesourcery.com>
7946
f7b42517
JM
7947 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
7948 compat_symbol calls on [SHARED].
7949 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
7950 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
7951 Remove.
7952 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7953 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
7954 (oldsetrlimit): Remove.
7955 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
7957 (lchown): New syscall entry.
7958 (oldsetrlimit): Remove.
7959 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7960 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
7961 (oldsetrlimit): Remove.
7962 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
7963
abb280f7
JM
7964 [BZ #14138]
7965 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
7966 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
7967 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
7968 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
7969 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7970 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
7971 (fchown): Likewise.
7972 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
7973 (fchown): Likewise.
7974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
7975 Likewise.
7976
47d46237
AZ
79772014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7978
7979 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
7980 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
7981 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
7982 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
7983 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
7984 Likewise.
7985 (__old_sem_post): Likewise.
7986
79872014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 7988
845a7343
CM
7989 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
7990 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
7991 HAVE_CLOCK_GETTIME_VSYSCALL macros.
7992 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
7993 Use INLINE_VSYSCALL macro.
7994 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
7995 __vdso_clock_gettime.
7996 * sysdeps/unix/sysv/linux/tile/init-first.c
7997 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
7998 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
7999 __vdso_clock_gettime.
8000
83d641ef
CM
8001 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8002 to set up frame more cleanly.
8003
d9cd52e6
CM
8004 * sysdeps/tile/memcmp.c: New file.
8005
4b68ea11
CM
8006 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8007
c86f7b80
CM
8008 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8009 * sysdeps/tile/tilegx/strcasestr.c: New file.
8010 * sysdeps/tile/tilegx/strnlen.c: New file.
8011 * sysdeps/tile/tilegx/strstr.c: New file.
8012
1c4c1a6f
CM
8013 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8014
99d86ea3
AS
80152014-10-06 Arjun Shankar <arjun.is@lostca.se>
8016
8017 * nptl/tst-setuid3.c: Write errors to stdout.
8018
06210a44
KS
80192014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8020
8021 * elf/dl-deps.c
8022 (preload): New functions broken out of _dl_map_object_deps.
8023 (_dl_map_object_deps): Remove a nested function. Update call sites.
8024
6268f532
JM
80252014-10-01 Joseph Myers <joseph@codesourcery.com>
8026
8027 [BZ #14138]
8028 * sysdeps/unix/sysv/linux/execve.c: Remove file.
8029 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8030
b925285f
SE
80312014-10-01 Steve Ellcey <sellcey@mips.com>
8032
8033 * sysdeps/mips/strcmp.S: New.
8034
754a15c6
JM
80352014-09-30 Joseph Myers <joseph@codesourcery.com>
8036
8037 [BZ #14138]
8038 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8039 (linkat): Likewise.
8040 (mkdirat): Likewise.
8041 (readlinkat): Likewise.
8042 (renameat): Likewise.
8043 (symlinkat): Likewise.
8044 (unlinkat): Likewise.
8045 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8046 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8047 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8048 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8049 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8050 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8051 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8052
85bb81c9
WN
80532014-09-30 Will Newton <will.newton@linaro.org>
8054
dc6fe23b
WN
8055 * math/math.h: Define long double math functions if
8056 _LIBC_TEST is defined.
8057 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8058
85bb81c9
WN
8059 * localedata/Makefile: Move assignment to tests-special
8060 into an ifdef testing run-built-tests.
8061 * timezone/Makefile: Likewise.
8062
b7e02da4
JM
80632014-09-29 Joseph Myers <joseph@codesourcery.com>
8064
8065 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8066 with $(BASH) not $(SHELL).
8067
62058ce6
CD
80682014-09-29 Carlos O'Donell <carlos@redhat.com>
8069 Matthew LeGendre <legendre1@llnl.gov>
8070
8071 [BZ #17411]
8072 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8073 l_reloc_result.
8074
8e257a29
KS
80752014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8076
8077 * stdio-common/printf_fp.c
8078 (hack_digit): New function, broken out of ...
8079 (__printf_fp): ... local function here. Update call sites.
8080 hack_digit now takes an additional parameter that is a pointer
8081 to a struct of the referenced locals. Those locals moved inside
8082 the struct and references updated.
8083
f4a58f0d
L
80842014-09-29 H.J. Lu <hongjiu.lu@intel.com>
8085
8086 * aclocal.m4: Require autoconf 2.69.
8087 * configure: Regenerated.
8088 * sysdeps/aarch64/configure: Likewise.
8089 * sysdeps/alpha/configure: Likewise.
8090 * sysdeps/arm/armv7/configure: Likewise.
8091 * sysdeps/arm/configure: Likewise.
8092 * sysdeps/ia64/configure: Likewise.
8093 * sysdeps/mach/configure: Likewise.
8094 * sysdeps/mips/configure: Likewise.
8095 * sysdeps/s390/configure: Likewise.
8096 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8098
8099 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8100 file.
8101 * sysdeps/ia64/configure.ac: Likewise.
8102
93ae1eba
JM
81032014-09-26 Joseph Myers <joseph@codesourcery.com>
8104
1810d3ab
JM
8105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8106 specify symbol version for ld.so. Do not include entry for
8107 libpthread.
8108 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8109 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8110 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8111
93ae1eba
JM
8112 [BZ #14171]
8113 * Makeconfig [$(build-shared) = yes]
8114 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8115 makefiles.
8116 [$(build-shared) = yes && $(soversions.mk-done) = t]
8117 ($(common-objpfx)gnu/lib-names.h): Remove rule.
8118 [$(build-shared) = yes && $(soversions.mk-done) = t]
8119 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
8120 to Makerules.
8121 [$(build-shared) = yes && $(soversions.mk-done) = t]
8122 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8123 here.
8124 [$(build-shared) = yes && $(soversions.mk-done) = t]
8125 (common-generated): Don't append gnu/lib-names.h and
8126 gnu/lib-names.stmp here.
8127 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8128 (lib-names-h-abi): New variable.
8129 [$(build-shared) = yes && $(soversions.mk-done) = t]
8130 (lib-names-stmp-abi): Likewise.
8131 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8132 abi-variants] (before-compile): Append
8133 $(common-objpfx)$(lib-names-h-abi).
8134 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8135 abi-variants] (common-generated): Append gnu/lib-names.h.
8136 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8137 abi-variants] (install-others-nosubdir): Depend on
8138 $(inst_includedir)/$(lib-names-h-abi).
8139 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8140 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8141 [$(build-shared) = yes && $(soversions.mk-done) = t]
8142 ($(common-objpfx)$(lib-names-h-abi)): New rule.
8143 [$(build-shared) = yes && $(soversions.mk-done) = t]
8144 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8145 [$(build-shared) = yes && $(soversions.mk-done) = t]
8146 (common-generated): Append $(lib-names-h-abi) and
8147 $(lib-names-stmp-abi).
8148 * scripts/lib-names.awk: Do not handle multi being set.
8149 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8150 Remove variable.
8151 (abi-lp64_be-ld-soname): Likewise.
8152 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8153 Likewise.
8154 (abi-hard-ld-soname): Likewise.
8155 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8156 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8157 Remove variable.
8158 (abi-o32_hard-ld-soname): Likewise.
8159 (abi-o32_soft_2008-ld-soname): Likewise.
8160 (abi-o32_hard_2008-ld-soname): Likewise.
8161 (abi-n32_soft-ld-soname): Likewise.
8162 (abi-n32_hard-ld-soname): Likewise.
8163 (abi-n32_soft_2008-ld-soname): Likewise.
8164 (abi-n32_hard_2008-ld-soname): Likewise.
8165 (abi-n64_soft-ld-soname): Likewise.
8166 (abi-n64_hard-ld-soname): Likewise.
8167 (abi-n64_soft_2008-ld-soname): Likewise.
8168 (abi-n64_hard_2008-ld-soname): Likewise.
8169 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8170 Likewise.
8171 (abi-64-v2-ld-soname): Likewise.
8172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8173 ld.so entries.
8174 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8175 variable.
8176 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8177 entry.
8178 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8179 variable.
8180 (abi-64-ld-soname): Likewise.
8181 (abi-x32-ld-soname): Likewise.
8182 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8183 entry.
8184 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8185
68870f12
JM
81862014-09-23 Joseph Myers <joseph@codesourcery.com>
8187
8188 [BZ #14138]
8189 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8190 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8191 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8192 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8193 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8194 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8195 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8196 syscall entry for GLIBC_2.2 symbol version.
8197 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8198 Likewise.
8199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8200 (setrlimit): Likewise.
8201 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8202 Likewise.
8203
ea58f202
WN
82042014-09-23 Will Newton <will.newton@linaro.org>
8205
8206 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8207 _LINUX_ARM_SYSDEP_H include guard too.
8208 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8209 define.
8210
69eb9a18
RV
82112014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8212
8213 * sysdeps/unix/sysv/linux/eventfd.c:
8214 Make first argument unsigned.
8215 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8216 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8217
20e5a5f7
OB
82182014-09-20 Ondřej Bílka <neleai@seznam.cz>
8219
8220 * socket/recvmmsg.c (recvmmsg): Drop const argument.
8221 * socket/sys/socket.h: Likewise
8222 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8223
d3c827e7
AK
82242014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8225
8226 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8227
fe1cc35a
AS
82282014-09-17 Arjun Shankar <arjun.is@lostca.se>
8229
8230 * time/tst-ftime.c: New test.
8231 * time/Makefile (tests): Add tst-ftime.
8232
4e8afe69
JM
82332014-09-17 Joseph Myers <joseph@codesourcery.com>
8234
c4fe3ea7
JM
8235 * soft-fp/extended.h: Fix comment formatting.
8236 * soft-fp/op-1.h: Likewise.
8237 * soft-fp/op-2.h: Likewise.
8238 * soft-fp/op-4.h: Likewise.
8239 * soft-fp/op-8.h: Likewise.
8240 * soft-fp/op-common.h: Likewise.
8241 * soft-fp/soft-fp.h: Likewise.
8242
4e8afe69
JM
8243 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8244
af296fcd
JM
82452014-09-16 Joseph Myers <joseph@codesourcery.com>
8246
8247 [BZ #6652]
8248 * Makeconfig (soversions-default-setname): Remove variable.
8249 ($(common-objpfx)soversions.i): Don't pass default_setname to
8250 soversions.awk.
8251 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8252 oldest_abi to abi-versions.awk.
8253 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8254 * config.make.in (oldest-abi): Remove variable.
8255 * configure.ac (--enable-oldest-abi): Remove configure option.
8256 * configure: Regenerated.
8257 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8258 text.
8259 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8260 * scripts/soversions.awk: Do not handle default_setname variable.
8261 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8262 variable.
8263 * sysdeps/mach/hurd/configure: Regenerated.
8264 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8265 variable.
8266 * sysdeps/unix/sysv/linux/configure: Regenerated.
8267
545583d6
SP
82682014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8269
d330b980
SP
8270 * elf/Makefile (CFLAGS-interp.c): Remove.
8271 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8272 path string.
8273 * elf/interp.c: Include generated runtime-linker.h
8274
02657da2
SP
8275 * Makerules (lib%.so): Don't include $(+interp) in
8276 prerequisites.
8277 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8278 * dlfcn/eval.c: Remove file.
8279
653b1080
SP
8280 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8281 macros.
8282
602f80ec
SP
8283 [BZ #17266]
8284 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8285 4.2 and newer.
8286
545583d6
SP
8287 [BZ #17370]
8288 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8289
884ddc50
SP
82902014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8291 Jakub Jelinek <jakub@redhat.com>
8292
8293 [BZ #17266]
8294 * libio/stdio.h: Check definition of __fortify_function
8295 instead of __extern_always_inline to include bits/stdio2.h.
8296 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8297 check if __extern_always_inline is defined.
8298 [__USE_MISC || __USE_XOPEN]: Likewise.
8299 [__USE_ISOC99] Likewise.
8300 * misc/sys/cdefs.h (__fortify_function): Define only if
8301 __extern_always_inline is defined.
8302 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8303 __extern_always_inline and __extern_inline only for g++-4.3
8304 and newer or a compatible gcc.
8305
a7b87268
AS
83062014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8307
8308 [BZ #17371]
8309 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8310 last change to handle zero prefix length.
8311
3f41521d
SP
83122014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8313
61fe374a
SP
8314 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8315 _SC_REGEX_VERSION.
8316
3f41521d
SP
8317 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8318 _POSIX_RAW_SOCKETS.
8319
d8f879ee
AM
83202014-09-13 Allan McRae <allan@archlinux.org>
8321
8322 * po/ru.po: Update Russian translation from translation project.
8323
c079afb7
RM
83242014-09-12 Roland McGrath <roland@hack.frob.com>
8325
a62b3c15
RM
8326 * locale/programs/locale.c (show_locale_vars): Inline local function
8327 into its sole call site. Clean up some style nits.
8328 (print_item): New function, broken out of ...
8329 (show_info): ... local function here. Clean up style nits.
8330
d7e49b19
RM
8331 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8332 out of ...
8333 (set_class_defaults): ... local function set_default here.
8334 Define set_default as a macro locally to pass constant parameters.
8335 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8336 rather than a shared local.
8337
c079afb7
RM
8338 * stdlib/rpmatch.c (try): New function, broken out of ...
8339 (rpmatch): ... local function here. Also, prototypify definition.
8340
0bd72468
JM
83412014-09-12 Joseph Myers <joseph@codesourcery.com>
8342
ba90e050
JM
8343 * scripts/soversions.awk: Do not handle configuration names.
8344 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8345 vendor and os variables to soversions.awk.
8346 * configure.ac: Do not modify gnu-* host_os.
8347 * configure: Regenerated
8348 * shlib-versions: Remove first column with configuration names.
8349 * nptl/shlib-versions: Likewise.
8350 * nptl_db/shlib-versions: Likewise.
8351 * sysdeps/hppa/shlib-versions: Likewise.
8352 * sysdeps/m68k/shlib-versions: Likewise.
8353 * sysdeps/mach/hurd/shlib-versions: Likewise.
8354 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8355 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8356 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8357 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8358 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8359 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8360 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8361 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8363 Likewise.
8364 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8365 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8366 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8367 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8368 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8369 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8370 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8371 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8372
73a39112
JM
8373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8374 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8376 Regenerated.
8377 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8379 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8380
c729e7c1
JM
8381 * shlib-versions: Remove OS-specific entries. Moved to files in
8382 sysdeps.
8383 * sysdeps/mach/hurd/shlib-versions: New file.
8384 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8385
dc932a24
JM
8386 * nptl/shlib-versions: Remove architecture-specific entries.
8387 Moved to files in sysdeps.
8388 * shlib-versions: Likewise.
8389 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8390 file.
8391 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8392 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8393 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8394 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8395
0bd72468
JM
8396 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8397 (UDP_NO_CHECK6_RX): Likewise.
8398
920238e0
SP
83992014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8400
8401 * sysdeps/posix/sysconf.c (__sysconf): Spell
8402 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8403
ba7b4d29
FW
84042014-08-12 Florian Weimer <fweimer@redhat.com>
8405
8406 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8407 loading.
8408 * iconv/Versions (__gconv_transliterate): Export for use from
8409 gconv modules.
8410 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8411 (struct __gconv_trans_data, __gconv_trans_fct,
8412 __gconv_trans_context_fct, __gconv_trans_query_fct,
8413 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8414 definitions.
8415 (struct __gconv_step_data): Remove __trans member.
8416 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8417 longer hidden. Remove unused trans_data argument.
8418 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8419 (__gconv_translit_find): Remove declaration.
8420 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8421 prototype.
8422 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8423 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8424 trans_data argument. Add hidden definition.
8425 (__gconv_translit_find): Remove.
8426 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8427 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8428 * iconv/skeleton.c: Remove transliteration initialization.
8429 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8430 __gconv_step_data initialization.
8431 * libio/iofwide.c (__libio_translit_): Remove.
8432 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8433 * wcsmbs/btowc.c (__btowc): Likewise.
8434 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8435 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8436 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8437 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8438 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8439 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8440 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8441 * wcsmbs/wctob.c (wctob): Likewise.
8442
5379aebd
SP
84432014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8444
8445 [BZ #16194]
8446 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8447 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8448 register usage.
8449 * sysdeps/x86/Makefile: Adjust.
8450
8c0ab919
RM
84512014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8452 Roland McGrath <roland@hack.frob.com>
8453
8454 * locale/weight.h: Add include guard.
8455 (findidx): Make static rather than auto; take new parameters
8456 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8457 * locale/weightwc.h: Likewise.
8458 * posix/fnmatch_loop.c
8459 (FCT): Change type of EXTRA from int32_t to wint_t.
8460 Don't include either header inside the function.
8461 Call FINDIDX rather than findidx, and pass new arguments.
8462 #undef FINDIDX at the end of the file.
8463 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8464 FINDIDX before including fnmatch_loop.c for the non-wide version.
8465 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8466 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8467 for the wide version.
8468 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8469 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8470 Pass new arguments to findidx.
8471 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8472 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8473 Don't #include it inside the function. Pass new arguments to findidx.
8474 * posix/regex_internal.h
8475 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8476 (re_string_elem_size_at): Don't #include it inside the function.
8477 Pass new arguments to findidx.
8478 * string/strcoll_l.c: #include WEIGHT_H at top level.
8479 (get_next_seq): Don't #include it inside the function.
8480 Pass new arguments to findidx.
8481 (get_next_seq_nocache): Likewise.
8482 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8483 (STRXFRM): Don't #include it inside the function.
8484 Pass new arguments to findidx.
8485
52ffbdf2
FW
84862014-09-11 Florian Weimer <fweimer@redhat.com>
8487
8488 [BZ #17344]
8489 * malloc/malloc.c (unlink): Turn asserts into a call to
8490 malloc_printerr.
8491
984c0ea9
TL
84922014-09-11 Tim Lammens <tim.lammens@gmail.com>
8493
8494 [BZ #17370]
8495 * libio/wfileops (do_ftell_wide): Free OUT.
8496
3daee107
CM
84972014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8498
8499 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8500
58b930ae
SP
85012014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8502
8503 [BZ #17363]
8504 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8505 group if the current group is empty.
8506
3b473fec
AZ
85072014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8508
71ae8647
AZ
8509 * benchtests/bench-memset.c (test_main): Add more test from size
8510 from 32 to 512 bytes.
8511 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8512 Add POWER8 memset object.
8513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8514 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8515 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8516 implementation.
8517 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8518 Likewise.
8519 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8520 multiarch POWER8 memset optimization.
8521 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8522 POWER8 memset optimization.
8523
3b473fec
AZ
8524 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8525 Remove bzero multiarch objects.
8526 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8527 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8528 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8529 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8530 Remove define.
8531 [__bzero]: Redefine to specific name.
8532 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8533 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8534 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8535 define.
8536 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8537 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8538
e6fb9587
FW
85392014-09-10 Florian Weimer <fweimer@redhat.com>
8540
8541 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8542 warnings into errors.
8543
8544 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8545 __cxa_thread_atexit_impl prototype.
8546
9d3a350b
SE
85472014-09-09 Steve Ellcey <sellcey@mips.com>
8548
8549 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8550 Fix capitalization of error message.
8551
0febba23
SE
85522014-09-09 Steve Ellcey <sellcey@mips.com>
8553
8554 * sysdeps/mips/preconfigure: Modify ABI tests.
8555
645a0e9c
CD
85562014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8557
8558 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8559
d83f0734
CD
85602014-09-07 Roland McGrath <roland@hack.frob.com>
8561 Carlos O'Donell <carlos@systemhalted.org>
8562
8563 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8564 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8565 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8566 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8567 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8568 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8569 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8570 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8571 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8572 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8573 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8574 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8575 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8576 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8577 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8578 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8579 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8580 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8581 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8582 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8583 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8584 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8585 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8586 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8587 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8588 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8589 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8590 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8591 Deconditionalize the code that was previously under [RESET_PID].
8592 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8593 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8594 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8595 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8596 include sysdep.h.
8597
21c83793
AM
85982014-09-08 Allan McRae <allan@archlinux.org>
8599
8600 * version.h (RELEASE): Set to "development".
8601 (VERSION): Set to "2.20.90"
8602
1cd9b65c
AM
86032014-09-07 Allan McRae <allan@archlinux.org
8604
b8079dd0
AM
8605 * version.h (RELEASE): Set to "stable".
8606 (VERSION): Set to "2.20"
8607 * include/features.h (__GLIBC_MINOR__): Set to 20.
8608
c46303ef
AM
8609 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8610 Liebler.
8611
1cd9b65c
AM
8612 * po/ko.po: Update Korean translation from translation project.
8613
8622092d
CM
86142014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8615
8616 [BZ #17354]
8617 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8618 macro for handling signed relocations.
8619
41488498
FW
86202014-09-03 Florian Weimer <fweimer@redhat.com>
8621
8622 [BZ #17325]
8623 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8624 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8625 assert.
8626 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8627 * iconvdata/ibm935.c (BODY): Likewise.
8628 * iconvdata/ibm937.c (BODY): Likewise.
8629 * iconvdata/ibm939.c (BODY): Likewise.
8630 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8631 assert.
8632 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8633 script.
8634 * iconvdata/run-iconv-test.sh: New test loop for checking for
8635 decoder crashers.
8636
a78b712d
KR
86372014-09-02 Khem Raj <raj.khem@gmail.com>
8638
8639 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8640 libm_hidden_ver.
8641
cb08abc6
AM
86422014-09-01 Allan McRae <allan@archlinux.org>
8643
2c31e102
AM
8644 * po/eo.po: Update Esperanto translation from translation project.
8645
cb08abc6
AM
8646 * po/ca.po: Update Catalan translation from translation project.
8647
17a62de1
ST
86482014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8649
8650 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8651 __proc_dostop call.
8652
9570bc53
MW
86532014-08-27 Mark Wielaard <mjw@redhat.com>
8654
8655 [BZ #17319]
8656 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8657 to call set_thread_area instead of hand written asm.
8658 (__NR_set_thread_area): Removed define.
8659 (TLS_FLAG_WRITABLE): Likewise.
8660 (__ASSUME_SET_THREAD_AREA): Remove check.
8661 (TLS_EBX_ARG): Remove define.
8662 (TLS_LOAD_EBX): Likewise.
8663
b0f955c9
ST
86642014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8665
8666 Simplify atomicity of socket creation in bind.
8667
8668 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8669 looking up the name after linking the file.
8670
529bf515
AM
86712014-08-27 Allan McRae <allan@archlinux.org>
8672
8673 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8674
a1a6a401
FW
86752014-08-26 Florian Weimer <fweimer@redhat.com>
8676
8677 [BZ #17187]
8678 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8679 trans_compare, open_translit, __gconv_translit_find):
8680 Remove module loading code.
8681
686ab290
AM
86822014-08-26 Allan McRae <allan@archlinux.org>
8683
e4e7cfd2
AM
8684 * po/vi.po: Update Vietnamese translation from translation project.
8685
6aa09f71
AM
8686 * po/uk.po: Update Ukrainian translation from translation project.
8687
edc0660e
AM
8688 * po/fr.po: Update French translation from translation project.
8689
7eea72ac
AM
8690 * po/ru.po: Update Russian translation from translation project.
8691
93c49eff
AM
8692 * po/pl.po: Update Polish translation from translation project.
8693
46acaf63
AM
8694 * po/cs.po: Update Czech translation from translation project.
8695
a9f5ce98
AM
8696 * po/de.po: Update German translation from translation project.
8697
373f2b78
AM
8698 * po/bg.po: Update Bulgarian translation from translation project.
8699
e7548bd8
AM
8700 * po/sv.po: Update Sweedish translation from translation project.
8701
c526bf4d
AM
8702 * po/nl.po: Update Dutch translation from translation project.
8703
686ab290
AM
8704 * po/es.po: Update Spanish translation from translation project.
8705
eb72478a
SP
87062014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8707
dd763fdb
SP
8708 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8709
318c7a58
SP
8710 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8711 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8712 (CPPFLAGS-iconvconfig): Likewise.
8713 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8714
eb72478a
SP
8715 * include/libc-symbols.h: Remove unnecessary check for
8716 NOT_IN_libc.
8717 * nptl/pthreadP.h: Likewise.
8718 * sysdeps/aarch64/setjmp.S: Likewise.
8719 * sysdeps/alpha/setjmp.S: Likewise.
8720 * sysdeps/arm/sysdep.h: Likewise.
8721 * sysdeps/i386/setjmp.S: Likewise.
8722 * sysdeps/m68k/setjmp.c: Likewise.
8723 * sysdeps/posix/getcwd.c: Likewise.
8724 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8725 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8726 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8727 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8728 * sysdeps/sh/sh3/setjmp.S: Likewise.
8729 * sysdeps/sh/sh4/setjmp.S: Likewise.
8730 * sysdeps/unix/alpha/sysdep.h: Likewise.
8731 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8732 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8733 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8734 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8737 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8738 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8739 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8740 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8741 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8742 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8743 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8744 * sysdeps/x86_64/setjmp.S: Likewise.
8745
d44a052c
JM
87462014-08-13 Joseph Myers <joseph@codesourcery.com>
8747
8748 [BZ #17263]
8749 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8750 <stdint.h>.
8751 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8752 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8753
508ce3ac
SP
87542014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8755
e44c8b0e
SP
8756 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8757
508ce3ac
SP
8758 [BZ #17262]
8759 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8760 and __x86_64__ when disabling x87 inline functions.
8761
b4acef1f
L
87622014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8763
8764 [BZ #17259]
8765 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8766 asm statement with __cpuid_count.
8767
61b1ef6e
MF
87682014-08-12 Mike Frysinger <vapier@gentoo.org>
8769
8770 * configure.ac: Change __ehdr_start code to dereference the struct.
8771 Run readelf on the output to look for relocations.
8772 * configure: Regenerated.
8773
898c62f4
JM
87742014-08-12 Joseph Myers <joseph@codesourcery.com>
8775
8776 [BZ #17261]
8777 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8778 value to 0.
8779 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8780
9a8a5720
RM
87812014-08-12 Roland McGrath <roland@hack.frob.com>
8782
8783 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8784
4e75751c
BO
87852014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8786
8787 [BZ #16892]
8788 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8789 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8790
bb2ce416
SA
87912014-08-12 Sean Anderson <seanga2@gmail.com>
8792
8793 * malloc/malloc.c: Fix typo in comment.
8794
7950a4ee
AM
87952014-08-09 Allan McRae <allan@archlinux.org>
8796
8797 * Regenerate libc.po.
8798
f469c49f
MF
87992014-08-08 Mike Frysinger <vapier@gentoo.org>
8800
8801 * intl/tst-gettext2.sh: Check every lang file for creation.
8802
656b84c2
WD
88032014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8804
8805 * sysdeps/aarch64/fpu/math_private.h
8806 (libc_feholdsetround_noex_aarch64_ctx): New function.
8807
538e9e45
W
88082014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8809
8810 * sysdeps/arm/armv6/strcpy.S (strcpy):
8811 Fix performance issue in misaligned cases.
8812
d4795e4a
AZ
88132014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8814
8815 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8816 Move definition from termios.h.
8817 (struct termio): Likewise.
8818 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8819 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8820 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8821 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8822 Likewise.
8823 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8824 Move definition to ioctl-types.h
8825 (struct termio): Likewise.
8826 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8827 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8828 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8829 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8830 Likewise.
8831
64accb62
RH
88322014-08-05 Richard Henderson <rth@redhat.com>
8833
27bb6dc0
RH
8834 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8835 exceptions.
8836 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8837 Add fraiseexcpt.
8838 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8839 Use __feraiseexcept.
8840 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8841 Protect libm symbols with IS_IN_libm.
8842
64accb62
RH
8843 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8844
e5292691
BO
88452014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8846
8847 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8848
5b4bd2d4
WN
88492014-08-04 Will Newton <will.newton@linaro.org>
8850
8851 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8852 file.
8853
fcadaeef
MF
88542014-08-04 Mike Frysinger <vapier@gentoo.org>
8855
8856 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8857 variants for each function.
8858
43a94c64
RM
88592014-08-04 Roland McGrath <roland@hack.frob.com>
8860
8861 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8862 appended ...
8863 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8864 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8865 appended ...
8866 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8867 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8868 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8869 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8870 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8871 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8872 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8873 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8874 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8875 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8876 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8877 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8878 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8879 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8880 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8881 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8882 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8883 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8884 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8885 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8886 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8887 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8888 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8889 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8890 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8891 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8892 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8893 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8894 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8895 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8896 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8897 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8898 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8899 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8900 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8901 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8902 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8903 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8904 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8905 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8906 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8907 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8908 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8909 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8910 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8911 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8912 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8913 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8914 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8915 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8916 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8917 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8918 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8919 Update #include.
8920 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8921 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8922
8f3c1fa4
RM
89232014-08-04 Roland McGrath <roland@hack.frob.com>
8924
8925 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8926 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8927 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8928 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8929 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8930 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8931
ca08746f
RM
89322014-08-04 Roland McGrath <roland@hack.frob.com>
8933
8934 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8935 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8936 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8937 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8938
9c925ff9
RM
89392014-08-04 Roland McGrath <roland@hack.frob.com>
8940
8941 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8942 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8943 (__libc_vfork): Define function under this name.
8944 (__vfork): Define as an alias.
8945 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
8946 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
8947
e641054c
RM
89482014-08-04 Roland McGrath <roland@hack.frob.com>
8949
8950 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
8951 that was previously under [RESET_PID].
8952 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
8953
dacdc867
AS
89542014-08-04 Andreas Schwab <schwab@suse.de>
8955
8956 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
8957
41f725ff
MF
89582014-08-03 Mike Frysinger <vapier@gentoo.org>
8959
8960 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
8961 (main): Likewise.
8962
277cfb31
RM
89632014-08-01 Roland McGrath <roland@hack.frob.com>
8964
8965 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
8966
4896f049
RH
89672014-08-01 Richard Henderon <rth@redhat.com>
8968
8969 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
8970 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
8971 typo in exact zero test.
8972 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
8973 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
8974 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
8975
6f64e7d7
RM
89762014-08-01 Roland McGrath <roland@hack.frob.com>
8977
8978 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
8979 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
8980 * sysdeps/arm/sysdep.h: ... here.
8981 [!__ASSEMBLER__]: Include <stdint.h>.
8982
3f3dd810
SP
89832014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8984
a476ac4b
SP
8985 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
8986 (HAVE_WCTYPE_H): Likewise.
8987 (HAVE_ISWCTYPE): Likewise.
8988 (ENABLE_NLS): Likewise.
8989 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
8990 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
8991
78dd658a
SP
8992 * posix/regex_internal.c: Check if DEBUG is defined and is
8993 set.
8994
3f3dd810
SP
8995 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
8996 (HAVE_MBSRTOWCS): Likewise.
8997 * posix/fnmatch.c: Include string.h unconditionally.
8998
95ee7fb1
SL
89992014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9000
9001 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9002 reversal.
9003
23fe486b
RM
90042014-07-31 Roland McGrath <roland@hack.frob.com>
9005
f61a113f
RM
9006 * sysdeps/generic/safe-fatal.h: New file.
9007 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9008 * nptl/forward.c: Include it.
9009 (__pthread_unwind): Use __safe_fatal as default action, rather
9010 than a bogus use of INTERNAL_SYSCALL that could never work.
9011
9fe7e787
RM
9012 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9013 * configure.ac (libc_cv_builtin_trap): New test.
9014 * configure: Regenerated.
9015 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9016 (ABORT_INSTRUCTION): Define using __builtin_trap.
9017
23fe486b
RM
9018 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9019 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9020 * sysdeps/nptl/nptl-signals.h: New file.
9021 * nptl/pthreadP.h: Include <nptl-signals.h>.
9022
f349489e
SL
90232014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9024
9025 * sysdeps/s390/s390-64/utf16-utf32-z9.c
9026 (ONE_DIRECTION): Define.
9027 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9028 (ONE_DIRECTION): Define.
9029 * sysdeps/s390/s390-64/utf8-utf32-z9.c
9030 (ONE_DIRECTION): Define.
9031
2f438e20
SL
90322014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9033
9034 * sysdeps/s390/Makefile: Delete file.
9035 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9036 * sysdeps/s390/__longjmp.c: Delete file.
9037 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9038 Remove fields __flags and __reserved.
9039 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9040 and add versioning.
9041 * sysdeps/s390/rtld-__longjmp.c: Delete file.
9042 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9043 * sysdeps/s390/rtld-setjmp.S: Likewise.
9044 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9045 * sysdeps/s390/s390-32/__longjmp.c: ... here.
9046 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9047 * sysdeps/s390/s390-32/setjmp.S: ... here.
9048 Add versioning.
9049 (__sigsetjmp): Remove setting __flags field.
9050 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9051 * sysdeps/s390/s390-64/__longjmp.c: ... here.
9052 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9053 * sysdeps/s390/s390-64/setjmp.S: ... here.
9054 Add versioning.
9055 (__sigsetjmp): Remove setting __flags field.
9056 * sysdeps/s390/setjmp.S: Delete file.
9057 * sysdeps/s390/sigjmp.c: Likewise.
9058 * sysdeps/s390/v1-longjmp.c: Likewise.
9059 * sysdeps/s390/v1-setjmp.h: Likewise.
9060 * sysdeps/s390/v1-sigjmp.c: Likewise.
9061 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9062 Remove v1-longjmp_chk.
9063 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9064 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9065 Include debug/longjmp_chk.c and add versioning.
9066 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9067 Include nptl/pt-longjmp.c and add versioning.
9068 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9069 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9070 Include __longjmp.c.
9071 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9072 Move to ...
9073 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9074 (__getcontext): Remove setting __flags field.
9075 Add versioning.
9076 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9077 Don't restore upper high grps.
9078 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9079 Likewise.
9080 (__swapcontext): Remove setting uc_flags field.
9081 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9082 Delete file.
9083 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9084 Include __longjmp.c.
9085 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9086 Move to ...
9087 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9088 (__getcontext): Remove setting __flags field.
9089 Add versioning.
9090 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9091 (__swapcontext): Remove setting uc_flags field.
9092 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9093 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9094 Remove fields uc_high_gprs and __reserved.
9095 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9096 New file with reverted content.
9097 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9098 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9099 Regenerated.
9100 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9101 Regenerated.
9102
6c9578a2
AS
91032014-07-31 Andreas Schwab <schwab@suse.de>
9104
9105 * config.h.in (HAVE_IFUNC): Define to 0.
9106 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9107 definedness.
9108
05f3633d
LM
91092014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
9110
9111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9112 memmove-avx-unaligned, memcpy-avx-unaligned and
9113 mempcpy-avx-unaligned.
9114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9115 Add tests for AVX memcpy functions.
9116 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9117 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9118 memcpy_chk.
9119 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9120 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9121 memmove_chk.
9122 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9123 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9124 mempcpy_chk.
9125 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9126 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9127 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9128
a53fbd8e
AZ
91292013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9130
9131 [BZ #17213]
9132 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9133 powerpc64le.
9134
0961f7e1
JL
91352014-07-29 Jeff Layton <jlayton@poochiereds.net>
9136
9137 [BZ #16839]
9138 * manual/llio.texi: Add section about open file description locks.
9139 * manual/examples/ofdlocks.c: Example of open file description
9140 lock usage.
9141 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9142 F_OFD_SETLK, and F_OFD_SETLKW.
9143
cc5fb300
AM
91442014-07-23 Allan McRae <allan@archlinux.org>
9145
9146 * po/es.po: Update Spanish translation from translation project.
9147
23329dca
AS
91482014-07-18 Andreas Schwab <schwab@linux-m68k.org>
9149
9150 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9151
9c82da17
MR
91522014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
9153
9154 [BZ #17078]
9155 * sysdeps/arm/dl-machine.h (elf_machine_rela)
9156 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9157 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9158
29c4f53e
JM
91592014-07-17 Joseph Myers <joseph@codesourcery.com>
9160
831b9896
JM
9161 [BZ #17088]
9162 * math/fesetenv.c (__fesetenv)
9163 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9164 * math/feupdateenv.c (__feupdateenv)
9165 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9166
b21c2d50
JM
9167 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9168 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9169 (__ASSUME_SOCKETCALL): Do not define.
9170
067764ef
JM
9171 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9172 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9173 (__ASSUME_SOCKETCALL): Do not define.
9174 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9175 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9176 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9177 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9178 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9179 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9180 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9181 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9182
642530c1
JM
9183 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9184 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9185 (__ASSUME_SOCKETCALL): Do not define.
9186 (__ASSUME_IPC64): Define unconditionally.
9187 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9188 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9189 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9190 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9191 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9192 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9193 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9194 Likewise.
9195
03f77315
JM
9196 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9197 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9198 (__ASSUME_SOCKETCALL): Do not define.
9199 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9200 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9201 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9202 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9203 (__ASSUME_REQUEUE_PI): Define unconditionally.
9204 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9205 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9206 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9207 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9208 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9209 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9210
083b1f7c
JM
9211 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9212 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9213 (__ASSUME_SOCKETCALL): Do not define.
9214 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9215 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9216 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9217 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9218 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9219 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9220
5be44ea6
JM
9221 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9222 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9223 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9224 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9225 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9226 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9227 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9228 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9229 (__ASSUME_GETCPU_SYSCALL): Likewise.
9230
d95ffd4c
JM
9231 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9232 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9233 cases for individual architectures.
9234 * sysdeps/gnu/configure: Regenerated.
9235 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9236 LIBC_SLIBDIR_RTLDDIR.
9237 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9238 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9239 LIBC_SLIBDIR_RTLDDIR.
9240 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9242 LIBC_SLIBDIR_RTLDDIR.
9243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9244 Regenerated.
9245 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9246 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9247 file.
9248 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9249 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9250 file.
9251 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9252 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9253 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9254 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9255
29c4f53e
JM
9256 * sysdeps/aarch64/shlib-versions: Move to ...
9257 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9258 * sysdeps/alpha/shlib-versions: Move to ...
9259 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9260 * sysdeps/arm/shlib-versions: Move to ...
9261 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9262 * sysdeps/hppa/shlib-versions: Move all contents except for
9263 libgcc_s entry to ...
9264 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9265 entry from ...
9266 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9267 * sysdeps/ia64/shlib-versions: Move to ...
9268 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9269 entry from ...
9270 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9271 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9272 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9273 * sysdeps/microblaze/shlib-versions: Move to ...
9274 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9275 * sysdeps/mips/shlib-versions: Move to ...
9276 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9277 entry from ...
9278 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9279 * sysdeps/tile/shlib-versions: Move to ...
9280 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9281 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9282 from ...
9283 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9284 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9285 entry from ...
9286 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9287
32bead5b
WN
92882014-07-17 Will Newton <will.newton@linaro.org>
9289
57977c4b
WN
9290 * sysdeps/arm/bits/atomic.h
9291 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9292 (__arch_compare_and_exchange_bool_16_int): Likewise.
9293 (__arch_compare_and_exchange_bool_64_int): Likewise.
9294
32bead5b
WN
9295 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9296 into an #else block.
9297
37fccd41
RM
92982014-07-16 Roland McGrath <roland@hack.frob.com>
9299
9300 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9301 just Linux configurations. Test empirically that the compiler sets
9302 __ARM_EABI__, rather than using the tuple to decide.
9303 * sysdeps/arm/preconfigure: Regenerated.
9304 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9305 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9306 contents appended ...
9307 * sysdeps/arm/configure.ac: ... here.
9308 * sysdeps/arm/configure: Regenerated.
9309
b365f3ec
RM
93102014-07-15 Roland McGrath <roland@hack.frob.com>
9311
8badf496
RM
9312 * nptl/pthread_kill.c: New file.
9313 * nptl/pthread_sigmask.c: New file.
9314 * nptl/pthread_sigqueue.c: New file.
9315
3df6f22e
RM
9316 * sysdeps/nptl/lowlevellock.h: New file.
9317 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9318 * sysdeps/nptl/lowlevellock-futex.h: New file.
9319
b365f3ec
RM
9320 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9321 Remove dead declarations.
9322
f2fef657
L
93232014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9324
9325 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9326 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9327 config-cflags-avx2.
9328 * sysdeps/x86_64/configure.ac: Likewise.
9329 * sysdeps/i386/configure: Regenerated.
9330 * sysdeps/x86_64/configure: Likewise.
9331 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9332 memset-avx2 only if config-cflags-avx2 is yes.
9333 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9334 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9335 defined.
9336 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9337 only if HAVE_AVX2_SUPPORT is defined.
9338 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9339
f6c44d47
AM
93402014-07-14 Alan Modra <amodra@gmail.com>
9341
9342 [BZ #17153]
9343 * elf/elf.h (DT_PPC64_NUM): Correct value.
9344 * NEWS: Add to fixed bug list.
9345
7ee03f00
JM
93462014-07-13 Jim Meyering <meyering@fb.com>
9347
9348 [BZ 17150]
9349 regex: don't deref NULL upon heap allocation failure
9350 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9351 failure in one more place.
9352 To trigger the segfault, configure grep -with-included-regex,
9353 build it, and run these commands:
9354 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9355
9d39d517
AS
93562014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9357
9358 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9359
a75b89b7
RH
93602014-07-11 Richard Henderson <rth@redhat.com>
9361
9362 * sysdeps/aarch64/libm-test-ulps: Update.
9363
771eb141
FW
93642014-07-10 Florian Weimer <fweimer@redhat.com>
9365
9366 [BZ #17135]
9367 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9368 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9369 (__nptl_setxid): Initialize error member. Call
9370 __nptl_setxid_error.
9371 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9372 * nptl/descr.h (struct xid_command): Add error member.
9373 * nptl/tst-setuid3.c: New file.
9374 * nptl/Makefile (tests): Add it.
9375
bc1da176
AZ
93762014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9377
9378 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9379 New define.
9380 (__lll_trylock): Use __lll_base_trylock.
9381 (__lll_cond_trylock): Likewise.
9382
887865fc
RM
93832014-07-10 Roland McGrath <roland@hack.frob.com>
9384
c0c6bac9
RM
9385 * nptl/pthread_create.c (start_thread): Use atomic_or and
9386 lll_futex_wake directly rather than lll_robust_dead.
9387 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9388 (lll_robust_dead): Macro removed.
6a42be57 9389 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
9390 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9391 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9392 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9393 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9394 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9395 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9396 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9397 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9398 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9399 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9400 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9401 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9402 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9403 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9404
887865fc
RM
9405 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9406 Use atomic_compare_and_exchange_val_acq directly rather than
9407 lll_robust_trylock.
9408 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9409 (__lll_robust_trylock, lll_robust_trylock): Removed.
9410 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9411 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9412 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9413 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9414 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9415 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9416 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9417 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9418 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9419 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9420 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9421 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9422 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9423 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9424
58536726
FW
94252014-07-02 Florian Weimer <fweimer@redhat.com>
9426
9427 * manual/locale.texi (Locale Names): New section documenting
9428 locale name syntax. Adjust menu and node chaining accordingly.
9429 (Choosing Locale): Reference Locale Names, Locale Categories.
9430 Mention setting LC_ALL=C. Reflect that name syntax is now
9431 documented.
9432 (Locale Categories): New section title. Reference Locale Names.
9433 LC_ALL is an environment variable, but not a category.
9434 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9435 description, now in Locale Name. Reference that section. Locale
9436 name syntax is now documented.
9437
4e8f95a0
FW
94382014-07-02 Florian Weimer <fweimer@redhat.com>
9439
9440 [BZ #17137]
9441 * locale/findlocale.c (name_present, valid_locale_name): New
9442 functions.
9443 (_nl_find_locale): Use the loc_name variable to store name
9444 candidates. Call name_present and valid_locale_name to check and
9445 validate locale names. Return an error if the locale is invalid.
9446
d1836456
FW
94472014-07-02 Florian Weimer <fweimer@redhat.com>
9448
9449 * locale/setlocale.c (setlocale): Use strdup for allocating
9450 composite name copy.
9451
d69b7f5a
SP
94522014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9453
888c679b
SP
9454 Sync up with gnulib.
9455 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9456 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9457 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9458 and _GL_ARG_NONNULL.
9459 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9460 [!_LIBC]: Include code for Windows and Cygwin.
9461 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9462 Include prototype for int strerror_r.
9463 [!_LIBC] (is_open): New function.
9464 (flush_stdout): New function.
9465 (print_errno_message): Use it.
9466 (error): Likewise.
9467 (error_at_line): Likewise.
9468 (error_tail) Add function attribute macros. Use
9469 __builtin_expect.
9470
180e0e4b
SP
9471 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9472
d22f1fe2
SP
9473 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9474
12f2254b
SP
9475 * io/ftw.c: Include sys/param.h unconditionally.
9476
c3c7c360
SP
9477 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9478
d62aa75a
SP
9479 [BZ #17125]
9480 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9481 libc_freeres_ptr.
9482 (freecache): New function to free CACHE on exit.
9483
d69b7f5a
SP
9484 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9485 initialization.
9486
5efe06a1
DM
94872014-07-09 David S. Miller <davem@davemloft.net>
9488
9489 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9490
7000d82e
DM
9491 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9492 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9493 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9494 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9495 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9496 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9497 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9498 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9499 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9500 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9501 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9502 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9503 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9504
c213442d
AS
95052014-07-09 Andreas Schwab <schwab@suse.de>
9506
4a2552c3
AS
9507 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9508 output.
9509 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9510 (do_test): Likewise.
9511
c213442d
AS
9512 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9513
82374e65
WN
95142014-07-09 Will Newton <will.newton@linaro.org>
9515
9516 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9517 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9518 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9519 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9520 * sysdeps/hppa/start.S (_start): Likewise.
9521
6680738a
SP
95222014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9523
6ee3eab4
SP
9524 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9525
6680738a
SP
9526 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9527 defined.
9528
80b5c505
SP
95292014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9530
e35c53e3
SP
9531 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9532 after checking that it is non-NULL.
9533
80b5c505
SP
9534 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9535
91f4b564
AZ
95362014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9537
27b75f56
AZ
9538 * sysdeps/powerpc/memmove.c: Remove file.
9539 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9540 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9541 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9542 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9543 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9544 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9545 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9546 string memmove instead of removed powerpc one.
9547
e7f95bb5
AZ
9548 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9549 [weak_alias]: Fix compiler warning due trailing data.
9550 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9551 [weak_alias]: Likewise.
9552 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9553 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9554
91f4b564
AZ
9555 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9556 (__libc_ifunc_impl_list): Add memmove functions.
9557
7c33f1e5
SP
95582014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9559
9560 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9561 Remove code.
9562 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9563 Likewise
9564 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9565 Likewise
9566 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9567 Likewise
9568 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9569 Likewise
9570 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9571 Likewise
9572 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9573 Likewise
9574 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9575 Likewise
9576 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9577 Likewise
9578 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9579 Likewise
9580 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9581 Likewise
9582 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9583 Likewise
9584 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9585 Likewise
9586 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9587 Likewise
9588 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9589 Likewise
9590 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9591 Likewise
9592 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9593 Likewise
9594
3f17b03b
AZ
95952014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9596
87868c24
AZ
9597 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9598 to avoid alignment traps in non-cacheable memory.
9599 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9600
07aedd78
AZ
9601 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9602 multiarch objects.
9603 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9604 file: multiarch power7 memmove.
9605 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9606 multiarch default memmove.
9607 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9608 multiarch memove for powerpc32/power4.
9609
17762f66
AZ
9610 * string/bcopy.c: Use full path to include memmove.c.
9611 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9612 multiarch objects.
9613 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9614 bcopy for powerpc64.
9615 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9616 bcopy for powerpc64.
9617 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9618 and memmove implementations.
9619 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9620 optimized multiarch memmove for POWER7/powerpc64.
9621 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9622 default multiarch memmove for powerpc64.
9623 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9624 multiarch for powerpc64.
9625 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9626 for POWER7/powerpc64.
9627 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9628 memmove for POWER7/powerpc64.
9629
d6f68bbe
AZ
9630 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9631 glibc default one.
9632
3f17b03b
AZ
9633 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9634 __ELF_NATIVE_CLASS equal to 64.
9635
08192659
RM
96362014-07-07 Roland McGrath <roland@hack.frob.com>
9637
f4c4021b
RM
9638 * sysdeps/nptl/lowlevellock.h: File removed.
9639
f083450f
RM
9640 * NEWS: NPTL is no longer an add-on!
9641 * nptl/internaltypes.h: Moved ...
9642 * sysdeps/nptl/internaltypes.h: ... here.
9643 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9644 * sysdeps/nptl/fork.c: Likewise.
9645 * sysdeps/nptl/gai_misc.h: Likewise.
9646 * sysdeps/nptl/librt-cancellation.c: Likewise.
9647 * sysdeps/nptl/jmp-unwind.c: Likewise.
9648 * sysdeps/nptl/setxid.h: Likewise.
9649 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9650 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9651 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9652 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9653 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9654 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9655 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9656 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9657 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9658 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9659 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9660 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9661 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9662 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9663 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9664 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9665 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9666 * nptl/Makeconfig: Moved ...
9667 * sysdeps/nptl/Makeconfig: ... here.
9668 * nptl/configure: File removed.
9669 * nptl/ANNOUNCE: File removed.
9670 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9671 * sysdeps/unix/sysv/linux/configure: Regenerated.
9672
08192659
RM
9673 * nptl/Makefile (routines): Add libc_pthread_init,
9674 libc_multiple_threads, register-atfork and unregister-atfork.
9675 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9676 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9677 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9678 pthread-pi-defines.sym, structsem.sym.
9679 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9680 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9681 [$(subdir) = nptl] (tests): Add tst-setgetname.
9682 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9683 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9684 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9685 [!LIBC_SIGACTION]: Remove aliases.
9686 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9687 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9688 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9689 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9690 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9691 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9692 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9693 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9694 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9695 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9696 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9697 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9698 __libc_allocate_rtsig_private.
9699 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9700 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9701 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9702 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9703 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9704 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9705 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9706 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9707 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9708 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9709 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9710 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9711 * nptl/internaltypes.h: ... here.
9712 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9713 * sysdeps/nptl/jmp-unwind.c: ... here.
9714 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9715 * nptl/libc-lowlevellock.c: ... here.
9716 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9717 * nptl/libc_multiple_threads.c: ... here.
9718 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9719 * nptl/libc_pthread_init.c: ... here.
9720 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9721 * nptl/lowlevelbarrier.sym: ... here.
9722 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9723 * nptl/lowlevelcond.sym: ... here.
9724 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9725 * nptl/lowlevellock.c: ... here.
9726 * nptl/lowlevellock.h: Moved ...
9727 * sysdeps/nptl/lowlevellock.h: ... here.
9728 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9729 * nptl/lowlevelrobustlock.c: ... here.
9730 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9731 * nptl/lowlevelrobustlock.sym: ... here.
9732 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9733 * nptl/lowlevelrwlock.sym: ... here.
9734 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9735 * nptl/pt-fork.c: ... here.
9736 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9737 * nptl/pthread-pi-defines.sym: ... here.
9738 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9739 * nptl/pthread_attr_getaffinity.c: ... here.
9740 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9741 * nptl/pthread_attr_setaffinity.c: ... here.
9742 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9743 * nptl/pthread_mutex_cond_lock.c: ... here.
9744 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9745 Update #include.
9746 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9747 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9748 * nptl/pthread_once.c: ... here, replacing old file.
9749 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9750 * nptl/pthread_yield.c: ... here.
9751 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9752 * nptl/register-atfork.c: ... here.
9753 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9754 * nptl/sem_post.c: ... here.
9755 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9756 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9757 * nptl/sem_timedwait.c: ... here.
9758 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9759 * nptl/sem_trywait.c: ... here.
9760 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9761 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9762 * nptl/sem_wait.c: ... here.
9763 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9764 * nptl/structsem.sym: ... here.
9765 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9766 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9767 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9768 * nptl/unregister-atfork.c: ... here.
9769 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9770 * nptl/unwindbuf.sym: ... here.
9771 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9772 * sysdeps/nptl/fork.c: ... here.
9773 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9774 * sysdeps/nptl/fork.h: ... here.
9775 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9776 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9777 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9778 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9779 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9780 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9781 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9782 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9783 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9784 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9785 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9786 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9787 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9788 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9789 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9790 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9791 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9792 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9793 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9794 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9795 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9796 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9797 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9798 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9799 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9800 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9801 * sysdeps/unix/sysv/linux/raise.c: ... here.
9802 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9803 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9804 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9805 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9806 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9807 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9808 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9809 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9810 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9811 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9812 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9813 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9814 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9815 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9816 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9817
96baf6ff
SP
98182014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9819
9820 * sysdeps/generic/memcopy.h: Add comment for
9821 MEMCPY_OK_FOR_FWD_MEMMOVE.
9822
6b7b14b2
WN
98232014-07-04 Will Newton <will.newton@linaro.org>
9824
1570a72b
WN
9825 * string/memchr.c: Merge from gnulib.
9826 [_LIBC]: Remove conditionals.
9827 (__ptr_t): Remove define.
9828 (LONG_MAX_32_BITS): Likewise.
9829 (LONG_MAX): Likewise.
9830 (MEMCHR): Use ANSI prototype and optimize algorithm.
9831
6b7b14b2
WN
9832 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9833
38851324
SP
98342014-07-03 Roland McGrath <roland@hack.frob.com>
9835
3d9eb57c
RM
9836 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9837 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9838
78b984ae
RM
9839 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9840 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9841 in a bare environment with no <stdlib.h> installed.
9842 * sysdeps/nptl/configure: Regenerated.
9843
2d5976a5
RM
9844 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9845
c1f5acd4
RM
9846 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9847 AC_EGREP_CPP for kernel header checks, so they only succeed if
9848 including <linux/version.h> actually works right.
9849 * sysdeps/unix/sysv/linux/configure: Regenerated.
9850
4d614fe5
RM
9851 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9852 value so it's not diagnosed as unused.
9853
38851324
SP
9854 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9855 thing) with "ifeq ($(subdir),rt)".
9856
b3ec00e5
RH
98572014-07-03 Richard Henderson <rth@redhat.com>
9858
69862e25
RH
9859 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9860 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9861 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9862
d5e16ade
RH
9863 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9864 (math_force_eval): New.
9865
ca7b945c
RH
9866 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9867 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9868
cd1175a3
RH
9869 * sysdeps/alpha/fpu/s_round.c: Remove file.
9870 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9871
b3ec00e5
RH
9872 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9873 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9874 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9875 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9876 (_dl_start, print_statistics): Likewise.
9877 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9878 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9879
9880 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9881 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9882 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9883 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9884 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9885 (HP_SMALL_TIMING_AVAIL): Define.
9886 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9887 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9888 (HP_SMALL_TIMING_AVAIL): Define.
9889 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9890 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9891
9892 * sysdeps/aarch64/hp-timing.h: New file.
9893
9894 * sysdeps/generic/hp-timing.h: Remove dead comment.
9895 * sysdeps/generic/hp-timing-common.h: New file.
9896 * sysdeps/alpha/hp-timing.h: Include it.
9897 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9898 * sysdeps/i386/i686/hp-timing.h: Likewise.
9899 * sysdeps/ia64/hp-timing.h: Likewise.
9900 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9901 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9902 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9903 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9904 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9905 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9906 (hp_timing_t): New.
9907
9908 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9909 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9910 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9911 * elf/rtld.c (_dl_start_final): Likewise.
9912 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9913 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9914 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9915 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9916 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9917 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9918 (HP_TIMING_DIFF_INIT): Remove.
9919 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9920 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9921 (HP_TIMING_DIFF_INIT): Remove.
9922 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9923 * sysdeps/i386/i686/hp-timing.c: Remove file.
9924 * sysdeps/x86_64/hp-timing.c: Remove file.
9925 * sysdeps/ia64/hp-timing.c: Remove file.
9926 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9927 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9928 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9929 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9930
9931 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9932 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9933 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9934 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9935 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9936 (HP_TIMING_ACCUM): Remove.
9937 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9938 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9939 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9940
9941 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9942 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9943 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
9944 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
9945 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
9946 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9947 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
9948 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
9949
9950 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
9951
225f410f
MR
99522014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
9953
9954 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
9955
3247f285
SP
99562014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9957
9958 Sync up with gettext.
9959 * intl/loadmsgcat.c: Define O_BINARY if not defined.
9960 [_MSC_VER]: Include malloc.h
9961 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
9962 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
9963 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
9964 TEMP_FAILURE_RETRY. Cast return of alloca.
9965 [!_LIBC] Call gl_rwlock_init.
9966 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
9967
d12704c7
SP
99682014-07-02 Roland McGrath <roland@hack.frob.com>
9969
9970 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
9971 before checking its value.
9972
99f8dc92
SP
99732014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9974
05fdac77
SP
9975 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
9976
99f8dc92
SP
9977 * debug/memcpy_chk.c: Don't include pagecopy.h.
9978 * debug/mempcpy_chk.c: Likewise.
9979 * string/memcpy.c: Likewise.
9980 * string/memmove.c: Likewise.
9981 * sysdeps/powerpc/memmove.c: Likewise.
9982 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
9983 definition of PAGE_COPY_FWD_MAYBE here...
9984 * sysdeps/generic/pagecopy.h: ... from here.
9985 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
9986
bc8ea385
VR
99872014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9988 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9989
9990 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
9991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
9992 optimizations.
9993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9994 (__libc_ifunc_impl_list): Likewise.
9995 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
9996 multiarch strcat for PPC64.
9997 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
9998 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
9999
fe5f34e4
RM
100002014-07-02 Roland McGrath <roland@hack.frob.com>
10001
10002 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10003
256aa665
SP
100042014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10005
d4eb8195
SP
10006 * intl/loadmsgcat.c: Remove declaration of
10007 get_sysdep_segment_value.
10008 (get_sysdep_segment_value): Use ISO C style.
10009 (_nl_load_domain): Use ISO C style. Get rid of redundant
10010 semicolon. Fix typo and formatting in comment.
10011 (_nl_unload_domain): Use ISO C style.
10012
256aa665
SP
10013 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10014
b100f9aa
WN
100152014-07-02 Will Newton <will.newton@linaro.org>
10016
10017 * malloc/obstack.c: Merge from gnulib master.
10018 [HAVE_CONFIG_H]: Remove conditional code.
10019 [!_LIBC]: Include config.h.
10020 [!ELIDE_CODE]: Don't include inttypes.h, include
10021 stdint.h unconditionally.
10022 (print_and_abort): Mark as _Noreturn.
10023 (_obstack_allocated_p): Mark as __attribute_pure__.
10024 (obstack_free): Rename to __obstack_free.
10025 [!__attribute__]: Remove conditional code.
10026 * malloc/obstack.h: Merge from gnulib master.
10027 [__cplusplus]: Move conditional down.
10028 [!__attribute_pure__]: Define __attribute_pure__ here
10029 if it is not already defined.
10030 (_obstack_memory_used): Mark as __attribute_pure__.
10031 [!__obstack_free]: Define as obstack_free.
10032 [__GNUC__]: Remove check for ancient NeXT gcc.
10033
c4c41244
PE
100342014-07-02 Will Newton <will.newton@linaro.org>
10035 Paul Eggert <eggert@cs.ucla.edu>
10036
10037 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10038
e1e041c4
SP
100392014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10040
10041 * resolv/gethnamaddr.c: Add comment warning that the file is
10042 not maintained.
10043
ccf431ff
CD
100442014-07-01 Carlos O'Donell <carlos@redhat.com>
10045
d34570a6
CD
10046 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10047 entries.
10048
ccf431ff
CD
10049 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10050 entry for aio_cancel and aio_cancel64.
10051 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10052 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10053 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10054 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10055 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10056 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10057 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10058 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10059 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10060 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10061 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10062 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10063 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10064
ca06321d
RM
100652014-07-01 Roland McGrath <roland@hack.frob.com>
10066
10067 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10068 * nptl/pthread_mutex_lock.c: Likewise.
10069 * nptl/pthread_mutex_timedlock.c: Likewise.
10070 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10071
a1ac3184
RH
100722014-07-01 Richard henderson <rth@redhat.com>
10073
631021e0
RH
10074 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10075 (__isnan, __isnanl): Remove.
10076 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10077
a1ac3184
RH
10078 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10079
0c1d731f
SL
100802014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10081
10082 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10083
76985d3e
SP
100842014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10085
10086 * resolv/nss_dns/dns-host.c (getanswer_r)
10087 [MULTI_PTRS_ARE_ALIASES]: Remove code.
10088
b0cb3096
JM
100892014-07-01 Joseph Myers <joseph@codesourcery.com>
10090
10091 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10092 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10093 undefine.
10094 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10095 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10096
4d76cb39
RM
100972014-07-01 Roland McGrath <roland@hack.frob.com>
10098
10099 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10100 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10101
10102 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10103 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10104
10105 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10106 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10107 ... here.
10108 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10109 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10110
10111 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10112 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10113 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10114 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10115
10116 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10117 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10118 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10119 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10120 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10121 Moved ...
10122 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10123 ... here.
10124 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10125 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10126 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10127 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10128 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10129 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10130 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10131 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10132 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10133 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10134 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10135 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10136 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10137 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10138 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10139 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10140 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10141 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10142 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10143 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10144 ... here.
10145 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10146 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10147 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10148 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10149 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10150 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10151 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10152 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10153
0cdcad17
DH
101542014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
10155
10156 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10157 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10158 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10159 Add sysdep.
10160
9b71d0e3
AZ
101612014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10162
10163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10164
665390c2
JM
101652014-06-30 Joseph Myers <joseph@codesourcery.com>
10166
ae05a9d7
JM
10167 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10168 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10169
a7672a2f
JM
10170 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10171
665390c2
JM
10172 * sysdeps/arm/libm-test-ulps: Regenerated.
10173
d7a05d07
MR
101742014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10175 Roland McGrath <roland@hack.frob.com>
10176
10177 * test-skeleton.c (signal_handler): Kill the whole process group
10178 before killing the child individually.
10179 (main): Report any failure on `setpgid'.
10180
46f1d8a6
RM
101812014-06-30 Roland McGrath <roland@hack.frob.com>
10182
10183 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10184 from _TLS_H to _ARM_NPTL_TLS_H.
10185 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10186 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10187
9c37ec0b
JM
101882014-06-30 Joseph Myers <joseph@codesourcery.com>
10189
ce9c5b3e
JM
10190 [BZ #16539]
10191 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10192 (__expm1l): Return argument unchanged when small but not
10193 subnormal.
10194
3a6e9887
JM
10195 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10196 include macro name.
10197 (_FP_UNPACK_RAW_1_P): Likewise.
10198 (_FP_PACK_RAW_1): Likewise.
10199 (_FP_PACK_RAW_1_P): Likewise.
10200 (_FP_MUL_MEAT_1_wide): Likewise.
10201 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10202 (_FP_MUL_MEAT_1_hard): Likewise.
10203 (_FP_DIV_MEAT_1_imm): Likewise.
10204 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10205 (_FP_DIV_MEAT_1_udiv): Likewise.
10206 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10207 (_FP_UNPACK_RAW_2): Likewise.
10208 (_FP_UNPACK_RAW_2_P): Likewise.
10209 (_FP_PACK_RAW_2): Likewise.
10210 (_FP_PACK_RAW_2_P): Likewise.
10211 (_FP_MUL_MEAT_DW_2_wide): Likewise.
10212 (_FP_MUL_MEAT_2_wide): Likewise.
10213 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10214 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10215 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10216 (_FP_MUL_MEAT_2_gmp): Likewise.
10217 (_FP_DIV_MEAT_2_udiv): Likewise.
10218 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10219 (_FP_FRAC_SRL_4): Likewise.
10220 (_FP_FRAC_SRST_4): Likewise.
10221 (_FP_FRAC_SRS_4): Likewise.
10222 (_FP_UNPACK_RAW_4): Likewise.
10223 (_FP_UNPACK_RAW_4_P): Likewise.
10224 (_FP_PACK_RAW_4): Likewise.
10225 (_FP_PACK_RAW_4_P): Likewise.
10226 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10227 (_FP_MUL_MEAT_4_wide): Likewise.
10228 (_FP_MUL_MEAT_4_gmp): Likewise.
10229 (umul_ppppmnnn): Likewise.
10230 (_FP_DIV_MEAT_4_udiv): Likewise.
10231 (__FP_FRAC_ADD_4): Likewise.
10232 (__FP_FRAC_SUB_3): Likewise.
10233 (__FP_FRAC_SUB_4): Likewise.
10234 (__FP_FRAC_DEC_3): Likewise.
10235 (__FP_FRAC_DEC_4): Likewise.
10236 (__FP_FRAC_ADDI_4): Likewise.
10237 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10238 (_FP_FRAC_SRL_8): Likewise.
10239 (_FP_FRAC_SRS_8): Likewise.
10240
9c37ec0b
JM
10241 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10242 include macro name.
10243 (FP_UNPACK_RAW_EP): Likewise.
10244 (FP_PACK_RAW_E): Likewise.
10245 (FP_PACK_RAW_EP): Likewise.
10246 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10247 (_FP_ISSIGNAN): Likewise.
10248 (_FP_ADD_INTERNAL): Likewise.
10249 (_FP_FMA): Likewise.
10250 (_FP_CMP): Likewise.
10251 (_FP_SQRT): Likewise.
10252 (_FP_TO_INT): Likewise.
10253 (_FP_FROM_INT): Likewise.
10254 (FP_EXTEND): Likewise.
10255 (_FP_DIV_MEAT_N_loop): Likewise.
10256
2125f674
MR
102572014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10258
10259 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10260 throughout.
10261
edea4028
JM
102622014-06-29 Joseph Myers <joseph@codesourcery.com>
10263
10264 [BZ #17097]
10265 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10266 result with correct sign in case of exponents that produce
10267 overflow except for X very close to 1.
10268
dd0ba018
PE
102692014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10270
10271 mktime: merge #if/#ifdef usage from glibc
10272 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10273 as that works with both Glibc's and Gnulib's style.
10274 See thread starting at Siddhesh Poyarekar's bug report at:
10275 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10276
64df73c2
SP
102772014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10278
10279 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10280 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10281 * sysdeps/tile/tilegx/memmove.c: Remove file.
10282
f1eafb41
JM
102832014-06-27 Joseph Myers <joseph@codesourcery.com>
10284
10285 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10286 abi-name definition.
10287 * scripts/soversions.awk: Do not handle or generate ABI lines.
10288 * shlib-versions: Remove ABI entries.
10289 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10290 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10291
58eb0862
RM
102922014-06-27 Roland McGrath <roland@hack.frob.com>
10293
37caf178
RM
10294 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10295 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10296 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10297 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10298 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10299 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10300 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10301 Moved ...
10302 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10303 ... here.
10304 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10305 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10306 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10307 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10308 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10309 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10310 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10311 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10312 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10313 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10314 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10315 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10316 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10317 Moved ...
10318 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10319 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10320 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10321 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10322 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10323 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10324 Moved ...
10325 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10326 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10327 Moved ...
10328 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10329 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10330 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10331 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10332 Moved ...
10333 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10334 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10335 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10336 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10337 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10338 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10339 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10340 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10341 Moved ...
10342 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10344 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10345 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10346 Moved ...
10347 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10348 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10349 Moved ...
10350 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10351 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10352 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10353 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10354 Moved ...
10355 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10356 ... here.
10357 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10358 Identical file removed.
10359 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10360 Moved ...
10361 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10363 Identical file removed.
10364 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10365 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10366 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10367 Moved ...
10368 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10369 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10370 Identical file removed.
10371 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10372 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10373 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10374 Identical file removed.
10375 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10376 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10377 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10378 Identical file removed.
10379 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10380 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10381 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10382 Identical file removed.
10383 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10384 Moved ...
10385 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10387 Identical file removed.
10388 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10389 Moved ...
10390 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10391 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10392 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10393 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10394 Identical file removed.
10395 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10396 Moved ...
10397 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10398 ... here.
10399 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10400 Identical file removed.
10401 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10402 Moved ...
10403 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10404 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10405 Identical file removed.
10406 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10407 Moved ...
10408 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10410 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10411 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10412 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10413 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10414 Moved ...
10415 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10416 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10417 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10418
58eb0862
RM
10419 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10420 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10421 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10422 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10423 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10424
6f12d062
AS
104252014-06-27 Arjun Shankar <arjun.is@lostca.se>
10426
10427 [BZ #17092]
10428 * nscd/nscd.c (monitor_child): Return exit status of child
10429 instead of return value from wait syscall.
10430
be254932
JM
104312014-06-27 Joseph Myers <joseph@codesourcery.com>
10432
cb403c34
JM
10433 * configure.ac (libc_commonpagesize): Remove variable.
10434 (libc_relro_required): Likewise.
10435 (libc_cv_z_relro): Remove configure test.
10436 * configure: Regenerated.
10437 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10438 variable.
10439 (libc_relro_required): Likewise.
10440 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10441 (libc_relro_required): Likewise.
10442 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10443 (libc_relro_required): Likewise.
10444 * sysdeps/arm/preconfigure: Regenerated.
10445 * sysdeps/ia64/preconfigure: Remove file.
10446 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10447 variable.
10448 (libc_relro_required): Likewise.
10449
be254932
JM
10450 [BZ #16561]
10451 [BZ #16562]
10452 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10453 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10454 recompute overflowing results in original rounding mode.
10455 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10456 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10457 recompute overflowing results in original rounding mode.
10458 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10459 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10460 recompute overflowing results in original rounding mode.
10461 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10462 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10463 recompute overflowing results in original rounding mode.
10464 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10465 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10466 recompute overflowing results in original rounding mode.
10467 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10468 (libc_feholdsetround_ctx): New macro.
10469 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10470 * sysdeps/i386/fpu/libm-test-ulps: Update.
10471 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10472
b351d85a
JM
104732014-06-26 Joseph Myers <joseph@codesourcery.com>
10474
10475 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10476 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10477 corresponding .cpsetup call.
10478
3cb4de47
RM
104792014-06-26 Roland McGrath <roland@hack.frob.com>
10480
10481 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10482 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10483 * sysdeps/arm/Makefile [$(subdir) = csu]
10484 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10485 (static-only-routines): Add aeabi_read_tp here.
10486 (shared-only-routines): Add libc-aeabi_read_tp here.
10487 (CFLAGS-libc-start.c): Add -fexceptions here.
10488 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10489 (sysdep_routines, static-only-routines, shared-only-routines):
10490 Don't add to these here.
10491 (CFLAGS-libc-start.c): Likewise.
10492
10493 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10494 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10495 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10496 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10497 * sysdeps/arm/Makefile [$(subdir) = rt]
10498 (librt-sysdep_routines, librt-shared-only-routines):
10499 Append rt-aeabi_unwind_cpp_pr1 here.
10500 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10501 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10502 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10503 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10504 Append nptl-aeabi_unwind_cpp_pr1 here.
10505 (tests): Filter out tst-cleanupx4 here.
10506 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10507 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10508 Don't do those here.
10509
354426bb
JM
105102014-06-26 Joseph Myers <joseph@codesourcery.com>
10511
10512 * scripts/list-sources.sh: Do not handle ports specially.
10513
28b0a8c9
RM
105142014-06-26 Roland McGrath <roland@hack.frob.com>
10515
a3dd035d
RM
10516 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10517 * sysdeps/arm/feupdateenv.c: Likewise.
10518
28b0a8c9
RM
10519 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10520
e66a8203
JM
105212014-06-26 Joseph Myers <joseph@codesourcery.com>
10522
10523 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10524 trailing whitespace removed.
10525 * scripts/config.guess: Update to version 2014-03-23.
10526 * scripts/config.sub: Update to version 2014-05-01
10527 * scripts/install-sh: Update to version 2013-12-25.23.
10528 * scripts/move-if-change: Update from gnulib.
10529
74171115
SP
105302014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10531
b97c9ce5
SP
10532 * debug/memmove_chk.c: Remove pagecopy.h include.
10533
4000f892
SP
105342014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10535
74171115
SP
10536 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10537 identical to gnulib mktime.
10538
a8779c28
JM
105392014-06-26 Joseph Myers <joseph@codesourcery.com>
10540
e64708de
JM
10541 * configure.ac: Do not test for machine being rs6000. Do not test
10542 for powerpc*-*soft.
10543 * configure: Regenerated.
10544
6a9350c8 10545 [BZ #11505]
a8779c28
JM
10546 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10547 test.
10548 * configure: Regenerated.
10549 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10550 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10551 Remove configure test.
10552 * sysdeps/arm/configure: Regenerated.
10553 * sysdeps/nptl/configure.ac: Do not check
10554 libc_cv_asm_cfi_directives.
10555 * sysdeps/nptl/configure: Regenerated.
10556 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10557 * sysdeps/x86_64/nptl/configure: Remove generated file.
10558 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10559 unconditional.
10560 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10561
2aac0a86
SP
105622014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10563
059bf913
SP
10564 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10565 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10566 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10567 it is defined.
10568
4cf5b6d0
SP
10569 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10570 instead of whether it is defined.
10571 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10572 * sysdeps/hppa/dl-machine.h: Likewise.
10573 * sysdeps/ia64/dl-machine.h: Likewise.
10574 * sysdeps/m68k/dl-machine.h: Likewise.
10575 * sysdeps/microblaze/dl-machine.h: Likewise.
10576 * sysdeps/mips/dl-machine.: Likewise.
10577 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10578 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10579 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10580 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10581 * sysdeps/sh/dl-machine.h: Likewise.
10582 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10583 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10584 * sysdeps/tile/dl-machine.h: Likewise.
10585 * sysdeps/x86_64/dl-machine.h: Likewise.
10586
2aac0a86
SP
10587 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10588 code.
10589 (verify_persistent_db): Likewise.
10590
6ad2df0b
RM
105912014-06-26 Roland McGrath <roland@hack.frob.com>
10592
d8a483f3
RM
10593 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10594 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10595 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10596 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10598 Moved ...
10599 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10600 ... here.
10601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10602 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10604 Identical file removed.
10605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10606 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10607 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10608 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10609 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10610 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10611 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10612 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10614 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10615 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10616 Moved ...
10617 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10619 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10621 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10623 Moved ...
10624 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10625 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10626 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10627 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10628 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10629 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10630 Identical file removed.
10631 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10632 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10633 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10634 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10636 Moved ...
10637 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10638 ... here.
10639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10640 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10642 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10644 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10646 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10648 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10650 Moved ...
10651 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10652 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10653 Moved ...
10654 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10656 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10658 Moved ...
10659 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10660 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10661 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10662
52ae23b4
RM
10663 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10664 folded into ...
10665 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10666 * sysdeps/unix/sysv/linux/s390/Versions
10667 (libpthread: GLIBC_2.19): New version set.
10668 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10669 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10670 (librt: GLIBC_2.3.3): New version set.
10671 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10672 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10673 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10674 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10675 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10676 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10677 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10678 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10679 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10680 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10681 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10682 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10683 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10684 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10685 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10686 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10687 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10688 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10689 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10690 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10691 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10692 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10693 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10694 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10695 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10696 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10697 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10698 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10699 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10700 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10701 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10702 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10703 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10704 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10705 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10706 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10707 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10708 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10709 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10710 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10711 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10712 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10713 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10714 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10715 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10716
39507e4a
RM
10717 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10718 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10719 (__libc_vfork): Define the function under this name.
10720 [!NOT_IN_libc] (__vfork): Make this an alias.
10721 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10722 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10723 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10724 (__libc_vfork): Define the function under this name.
10725 [!NOT_IN_libc] (__vfork): Make this an alias.
10726 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10727 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10728 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10729 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10730 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10731 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10732
e549ee56
RM
10733 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10734 code that was previously under [RESET_PID].
10735 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10736 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10737 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10738
6ad2df0b
RM
10739 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10740 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10741 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10742 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10743 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10744 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10745 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10746 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10747 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10748 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10749 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10750 Moved ...
10751 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10752 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10753 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10754 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10755 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10756 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10757 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10758 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10759 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10760 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10761 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10762 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10763 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10764 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10765 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10766 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10767 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10768 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10769 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10770 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10771 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10772 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10773 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10774 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10775 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10776 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10777 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10778 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10779 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10780
7c1c1d8e
RM
107812014-06-25 Roland McGrath <roland@hack.frob.com>
10782
10783 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10784 that was previously under [RESET_PID].
10785 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10786
3e239be6
JM
107872014-06-25 Joseph Myers <joseph@codesourcery.com>
10788
74385da5
JM
10789 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10790 not undefine and redefine.
10791 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10792 [O_CLOEXEC]: Make code unconditional.
10793 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10794 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10795 <kernel-features.h>.
10796 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10797 conditional variable definition.
10798 (shm_open) [O_CLOEXEC]: Make code unconditional.
10799 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10800 code.
10801
c2570a0b
JM
10802 * configure.ac (USE_REGPARMS): Don't define here.
10803 * configure: Regenerated.
10804 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10805 * sysdeps/i386/configure: Regenerated.
10806
11b076bb
JM
10807 * nptl/createthread.c: Don't include kernel-features.h.
10808 * nptl/pthread_cancel.c: Likewise.
10809 * nptl/pthread_condattr_setclock.c: Likewise.
10810 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10811 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10812 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10813 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10814 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10815 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10816 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10817 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10818 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10819 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10820 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10821 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10822 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10823 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10824 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10825 * nscd/gai.c: Likewise.
10826 * nss/nss_db/db-open.c: Likewise.
10827 * sysdeps/generic/ldsodefs.h: Likewise.
10828 * sysdeps/sh/nptl/tls.h: Likewise.
10829 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10830 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10831 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10832 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10833 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10834 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10835 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10836 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10837 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10838 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10839 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10840 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10841 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10842 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10843 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10844 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10845 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10846 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10847 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10848 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10849 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10850 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10851 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10852 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10853 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10854 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10855 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10856 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10857 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10858 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10859 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10860 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10861 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10862 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10863 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10864 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10865 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10866 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10867 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10868 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10869 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10870 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10871 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10872 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10873 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10874 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10875 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10876 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10877 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10878 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10879 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10880 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10881 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10882 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10883 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10884 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10885 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10886 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10909 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10910 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10911 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10912 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10913 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10914 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10915 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10916 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10917 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10918 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10919 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10920 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10921 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10922 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10923 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10924 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10925 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10926 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10927 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10928 * sysdeps/unix/sysv/linux/system.c: Likewise.
10929 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10930 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10931 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10932 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10933 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10934 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10935 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10936
92072d57
JM
10937 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10938 * configure: Regenerated.
10939 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10940
3e239be6
JM
10941 * configure.ac (base_machine): Do not set specially for particular
10942 machines here.
10943 * configure: Regenerated.
10944 * sysdeps/powerpc/preconfigure: Move machine and base_machine
10945 settings from configure.ac.
10946 * sysdeps/i386/preconfigure: New file.
10947 * sysdeps/s390/preconfigure: Likewise.
10948 * sysdeps/sh/preconfigure: Likewise.
10949 * sysdeps/sparc/preconfigure: Likewise.
10950
06d50baa
RM
109512014-06-25 Roland McGrath <roland@hack.frob.com>
10952
74836003
RM
10953 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
10954 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
10955 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
10956 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
10957 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
10958 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
10959 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
10960 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
10961 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
10962 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
10963 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
10964 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
10965 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
10966 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
10967 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
10968 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
10969 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
10970 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
10971 * sysdeps/sparc/sparc64/Makefile: ... appended here.
10972
10973 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
10974 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
10975 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
10976 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
10977 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
10978 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
10979 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
10980 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
10981 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
10982 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
10983 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
10984 * sysdeps/sparc/sparc32/sem_post.c: ... here.
10985 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
10986 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
10987 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
10988 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
10989 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
10990 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
10991 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
10992 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
10993 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
10994 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
10995 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
10996 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
10997 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
10998 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
10999 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11000 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11001 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11002 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11003 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11004 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11005 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11006 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11007 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11008 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11009 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11010 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11011
06d50baa
RM
11012 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11013 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11014 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11015 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11016 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11017 Moved ...
11018 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11019 ... here.
11020 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11021 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11023 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11024 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11025 Moved ...
11026 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11028 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11029 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11030 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11031 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11032 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11033 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11034 Moved ...
11035 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11037 Moved ...
11038 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11039 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11040 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11041 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11042 Moved ...
11043 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11044 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11045 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11046 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11047 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11048 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11049 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11050 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11051 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11052 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11053 Moved ...
11054 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11055 ... here.
11056 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11057 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11059 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11060 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11061 Moved ...
11062 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11064 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11066 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11067 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11068 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11069 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11070 Moved ...
11071 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11073 Moved ...
11074 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11075 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11076 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11077 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11078 Moved ...
11079 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11080 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11081 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11082 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11083 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11084
a4ccbc9b
JM
110852014-06-25 Joseph Myers <joseph@codesourcery.com>
11086
0828edbf
JM
11087 * timezone/checktab.awk: Update from tzcode 2014e.
11088 * timezone/private.h: Likewise.
11089 * timezone/tzfile.h: Likewise.
11090 * timezone/zdump.c: Likewise.
11091 * timezone/zic.c: Likewise.
11092
a4ccbc9b
JM
11093 * sysdeps/unix/sysv/linux/kernel-features.h
11094 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11095 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11096 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11097 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11098 Remove conditional code.
11099
9aea0cb8
WN
111002014-06-25 Will Newton <will.newton@linaro.org>
11101
11102 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11103 (_dl_arm_cap_flags): Add HWCAP2 values.
11104 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11105 (_DL_HWCAP_COUNT): Increase to 37.
11106 (_DL_HWCAP_LAST): New define.
11107 (_DL_HWCAP2_LAST): New define.
11108 (_dl_procinfo): Add support for printing
11109 AT_HWCAP2 entries.
11110 (_dl_string_hwcap): Use _dl_hwcap_string.
11111
6eaa65ce
AZ
111122014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11113
11114 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11115
0f5b7185
JM
111162014-06-25 Joseph Myers <joseph@codesourcery.com>
11117
cfd2ea50
JM
11118 * README: Do not mention ports directory.
11119
cecf2ed4
JM
11120 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11121 Remove macro.
11122 * sysdeps/unix/sysv/linux/futimes.c: Do not include
11123 <kernel-features.h>.
11124 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11125 conditional variable definition.
11126 (__futimes): Update comment.
11127 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11128 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11129
a638de82
JM
11130 [BZ #16560]
11131 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11132 arguments close to 0.
11133 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11134 Likewise.
11135 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11136 Likewise.
11137 * math/auto-libm-test-in: Add more tests of exp10.
11138 * math/auto-libm-test-out: Regenerated.
11139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11140
0f5b7185
JM
11141 * sysdeps/unix/sysv/linux/kernel-features.h
11142 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11143 * sysdeps/unix/sysv/linux/readv.c: Do not include
11144 <kernel-features.h>.
11145 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11146 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11147 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11148 unconditional.
11149 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11150 conditional code.
11151 * sysdeps/unix/sysv/linux/writev.c: Do not include
11152 <kernel-features.h>.
11153 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11154 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11155 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11156 unconditional.
11157 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11158 conditional code.
11159
c7aec4be
WN
111602014-06-25 Will Newton <will.newton@linaro.org>
11161
11162 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11163 comment changes throughout the file. Remove checks
11164 for HAVE_*_H definitions that are not required.
11165 (__gen_tempname): Call abort if an unknown kind value is
11166 passed.
11167
c5241f95
AS
111682014-06-25 Andreas Schwab <schwab@suse.de>
11169
11170 [BZ #17086]
11171 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11172 scalbln, scalblnf, scalblnl in libc.
11173
911422da
SP
111742014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11175
11176 [BZ #17086]
11177 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11178 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11179 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11180
0d749bbe
RM
111812014-06-24 Roland McGrath <roland@hack.frob.com>
11182
11183 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11184 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11185 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11186 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11187 Update #include.
11188 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11189 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11190 Update #include.
11191 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11192 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11193 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11194 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11195 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11196 * sysdeps/x86/bits/pthreadtypes.h: ... here.
11197 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11198 * sysdeps/x86/bits/semaphore.h: ... here.
11199 * sysdeps/x86/nptl/elide.h: Moved ...
11200 * sysdeps/x86/elide.h: ... here.
11201 * sysdeps/x86_64/nptl/Implies: File removed.
11202 * sysdeps/i386/nptl/Implies: File removed.
11203
0ea5d373
JM
112042014-06-24 Joseph Myers <joseph@codesourcery.com>
11205
4060283d
JM
11206 [BZ #16539]
11207 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11208 return the argument for normal arguments with exponent below -64.
11209 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11210 Likewise.
11211 * math/auto-libm-test-in: Add another test of expm1.
11212 * math/auto-libm-test-out: Regenerated.
11213
e7dd3c8c
JM
11214 [BZ #16287]
11215 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11216 calling __erfcl for arguments at least 16.
11217 * math/auto-libm-test-in: Add more tests of erf.
11218 * math/auto-libm-test-out: Regenerated.
11219
0ea5d373
JM
11220 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11221 individual architectures.
11222 * sysdeps/unix/sysv/linux/configure: Regenerated.
11223 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11224 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11225 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11226 (ldd_rewrite_script): Define variable.
11227 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11229 file.
11230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11231 generated file.
11232 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11233 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11234 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11235 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11236 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11237 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11238 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11239 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11240
2307e126
SP
112412014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11242
11243 [BZ #17084]
11244 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11245 Rename member __data.d to __data.__elision_data.
11246
c0a4ed77
W
112472014-06-24 Wilco <wdijkstr@arm.com>
11248
11249 * NEWS: Add 16918 to fixed bug list.
11250
b8c00573
W
112512014-06-24 Wilco <wdijkstr@arm.com>
11252
11253 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11254
b5570d92
W
112552014-06-24 Wilco <wdijkstr@arm.com>
11256
11257 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11258 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11259 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11260 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11261 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11262 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11263 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11264 Use _FPU_MASK_RM.
11265
947bdca2
W
112662014-06-24 Wilco <wdijkstr@arm.com>
11267
11268 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11269
00f669ed
W
112702014-06-24 Wilco <wdijkstr@arm.com>
11271
11272 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11273 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11274 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11275 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11276
db59bad3
W
112772014-06-24 Wilco <wdijkstr@arm.com>
11278
11279 [BZ #16918]
11280 * sysdeps/arm/feupdateenv.c (feupdateenv):
11281 Rewrite to reduce FPSCR accesses and fix return value.
11282
001f7b77
W
112832014-06-24 Wilco <wdijkstr@arm.com>
11284
11285 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11286 Optimize to avoid unnecessary FPSCR writes.
11287 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11288 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11289 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11290 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11291
4841e6a6
W
112922014-06-24 Wilco <wdijkstr@arm.com>
11293
11294 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11295 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11296 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11297 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11298 Call libc_fetestexcept_vfp.
11299 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11300 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11301 __SOFTFP__ ifdef so that they can be built for softfp.
11302
0813022c
SP
113032014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11304
08e5862f
SP
11305 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11306 argument type signed char.
11307
0813022c
SP
11308 * Makerules (check-abi): Dump diff of symlist if the test
11309 fails.
11310
3fc7236a
RM
113112014-06-23 Roland McGrath <roland@hack.frob.com>
11312
aba8ef95
RM
11313 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11314 using abort.
11315
3fc7236a
RM
11316 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11317 Remove unused variable ST.
11318
4da6db51
JM
113192014-06-23 Joseph Myers <joseph@codesourcery.com>
11320
4648909d
JM
11321 [BZ #16354]
11322 [BZ #17061]
11323 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11324 small arguments before calling __expm1.
11325 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11326 small arguments before calling __expm1f.
11327 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11328 small arguments before calling __expm1l.
11329 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11330 Likewise.
11331 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11332 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11333 spurious underflow for some cosh tests.
11334 * math/auto-libm-test-out: Regenerated.
11335 * sysdeps/i386/fpu/libm-test-ulps: Update.
11336
46a3d3c7
JM
11337 [BZ #17050]
11338 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11339 (__ieee754_y1): Set errno if return value overflows.
11340 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11341 (__ieee754_y1f): Set errno if return value overflows.
11342 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11343 (__ieee754_y1l): Set errno if return value overflows.
11344 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11345 (__ieee754_y1l): Set errno if return value overflows.
11346 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11347 * math/auto-libm-test-out: Regenerated.
11348
863893ec
JM
11349 * math/gen-auto-libm-tests.c: Document use of
11350 ignore-zero-inf-sign.
11351 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11352 (input_flags): Add ignore-zero-inf-sign.
11353 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11354 * math/gen-libm-test.pl (generate_testfile): Handle
11355 ignore-zero-inf-sign.
11356 * math/auto-libm-test-in: Mark some cpow tests with
11357 ignore-zero-inf-sign and some with xfail-rounding.
11358 * math/auto-libm-test-out: Regenerated.
11359 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11360 * sysdeps/i386/fpu/libm-test-ulps: Update.
11361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11362
4da6db51
JM
11363 [BZ #16315]
11364 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11365 overflowing or underflowing operations take place with sign of
11366 result.
11367 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11368 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11369 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11370 (__ieee754_pow): Recompute overflowing and underflowing results in
11371 original rounding mode.
11372 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11373 (__powl_helper): Allow negative argument X and scale negated value
11374 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11375 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11376 overflowing or underflowing operations take place with sign of
11377 result.
11378 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11379 Include <math.h>.
11380 * math/auto-libm-test-in: Add more tests of pow.
11381 * math/auto-libm-test-out: Regenerated.
11382 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11383 (pow_tonearest_test_data): Remove.
11384 (pow_test_tonearest): Likewise.
11385 (pow_towardzero_test_data): Likewise.
11386 (pow_test_towardzero): Likewise.
11387 (pow_downward_test_data): Likewise.
11388 (pow_test_downward): Likewise.
11389 (pow_upward_test_data): Likewise.
11390 (pow_test_upward): Likewise.
11391 (main): Don't call removed functions.
11392 * sysdeps/i386/fpu/libm-test-ulps: Update.
11393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11394
5686b236
RM
113952014-06-23 Roland McGrath <roland@hack.frob.com>
11396
11397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11398 Moved ...
11399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11401 Moved ...
11402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11404 Moved ...
11405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11407 Moved ...
11408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11410 File removed.
11411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11412 File removed.
11413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11414 File removed.
11415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11416 File removed.
11417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11418 File removed.
11419 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11420 File removed.
11421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11422 File removed.
11423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11424 File removed.
11425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11426 File removed.
11427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11428 File removed.
11429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11430 File removed.
11431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11432 File removed.
11433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11434 Moved ...
11435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11437 Moved ...
11438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11439 ... here.
11440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11441 Moved ...
11442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11444 Moved ...
11445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11447 Moved ...
11448 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11450 Moved ...
11451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11453 Moved ...
11454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11456 Moved ...
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11459 Moved ...
11460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11463 ... here.
11464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11465 Moved ...
11466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11468 Moved ...
11469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11470 ... here.
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11472 Moved ...
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11474 ... here.
11475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11476 Moved ...
11477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11478 ... here.
11479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11480 Moved ...
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11483 Moved ...
11484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11488 Moved ...
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11490 ... here.
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11492 Moved ...
11493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11494 ... here.
11495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11496 Moved ...
11497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11499 Moved ...
11500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11502 Moved ...
11503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11505 Moved ...
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11508 Moved ...
11509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11510 ... here.
11511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11512 Moved ...
11513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11515 Moved ...
11516 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11518 Moved ...
11519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11521 Moved ...
11522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11526 Moved ...
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11529 Moved ...
11530 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11532 Moved ...
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11534 ... here.
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11536 Moved ...
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11538 ... here.
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11540 Moved ...
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11542 ... here.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11544 Moved ...
11545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11547 Moved ...
11548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11550 Moved ...
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11553 Moved ...
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11555 ... here.
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11557 Moved ...
11558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11559 ... here.
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11561 Moved ...
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11563 ... here.
11564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11565 Moved ...
11566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11568 Moved ...
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11570
e6d90d67
WD
115712014-06-23 Will Newton <will.newton@linaro.org>
11572 Wilco <wdijkstr@arm.com>
11573
11574 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11575 implementation. Include get-rounding-mode.h.
11576 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11577 [!libc_feholdsetround_noex_ctx]: Define
11578 libc_feholdsetround_noex_ctx.
11579 [!libc_feholdsetround_noexf_ctx]: Define
11580 libc_feholdsetround_noexf_ctx.
11581 [!libc_feholdsetround_noexl_ctx]: Define
11582 libc_feholdsetround_noexl_ctx.
11583 (libc_feholdsetround_ctx): New function.
11584 (libc_feresetround_ctx): New function.
11585 (libc_feholdsetround_noex_ctx): New function.
11586 (libc_feresetround_noex_ctx): New function.
11587
d42df555
RM
115882014-06-23 Roland McGrath <roland@hack.frob.com>
11589
88a46474
RM
11590 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11591 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11592 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11593 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11594 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11595 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11596
15bed472
RM
11597 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11598 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11599 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11600 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11601 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11602 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11603 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11604 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11605 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11606 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11607 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11608 Moved ...
11609 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11610 ... here.
11611 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11612 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11613 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11614 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11615 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11616 Moved ...
11617 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11618 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11619 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11620 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11621 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11622 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11623 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11624 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11625 Moved ...
11626 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11627 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11628 Moved ...
11629 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11630 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11631 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11632 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11633 Moved ...
11634 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11635 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11636 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11637 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11638 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11639 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11640 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11641 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11642 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11643 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11644 Moved ...
11645 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11646 ... here.
11647 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11648 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11649 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11650 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11651 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11652 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11653 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11654 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11655 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11656 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11657 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11658 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11659 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11660 Moved ...
11661 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11662 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11663 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11664 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11665 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11666 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11667 Moved ...
11668 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11669 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11670 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11671 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11672 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11673
d42df555
RM
11674 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11675 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11676 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11677 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11678 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11679 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11680 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11681 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11682 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11683 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11684 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11685 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11686 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11687 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11688 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11689 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11690 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11691 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11692 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11693 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11694 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11695 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11696 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11697 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11698 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11699 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11700 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11701 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11702
76e5216e
JM
117032014-06-23 Joseph Myers <joseph@codesourcery.com>
11704
11705 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11706 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11707 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11708 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11709 (IPV6_PMTUDISC_INTERFACE): Likewise.
11710 (IPV6_PMTUDISC_OMIT): Likewise.
11711
7a81cbcc
AS
117122014-06-23 Andreas Schwab <schwab@suse.de>
11713
11714 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11715 Remove unused errout label.
11716
db224009
AZ
117172014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11718
11719 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11720 macro: hardware supports Vector Crypto instructions.
11721
f393b4aa
WN
117222014-06-23 Will Newton <will.newton@linaro.org>
11723
cc7d0447
WN
11724 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11725 rather than __builtin_expect.
11726
d6d06225
WN
11727 * elf/dl-lookup.c (undefined_msg): Remove variable.
11728 (_dl_lookup_symbol_x): Replace undefined_msg with string
11729 literal.
11730
f393b4aa
WN
11731 * elf/dl-lookup.c (do_lookup_unique): New function.
11732 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11733 to a separate function.
11734
ac60763e
AS
117352014-06-23 Andreas Schwab <schwab@suse.de>
11736
11737 [BZ #17079]
11738 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11739 before reading the next line.
11740
c5c13355
WN
117412014-06-23 Will Newton <will.newton@linaro.org>
11742
11743 * test-skeleton.c (signal_handler): Use printf and %m
11744 rather than perror. Use printf rather than fprintf to
11745 stderr. Use puts rather than fputs to stderr.
11746 (main): Likewise.
11747
bd3675f9
LC
117482014-06-22 Ludovic Courtès <ludo@gnu.org>
11749
11750 * nscd/nscd.c (thread_info_t): Remove typedef.
11751 (thread_info): Remove variable.
11752
d03efb2f
AM
117532014-06-21 Allan McRae <allan@archlinux.org>
11754
11755 * NEWS: Mention CVE-2014-4043.
11756
bc4a86fa
RM
117572014-06-20 Roland McGrath <roland@hack.frob.com>
11758
dc9a54f8
RM
11759 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11760 * nptl/smp.h: ... here.
11761
bd7022c4
RM
11762 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11763
26ffd5e6
RM
11764 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11765 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11766 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11767 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11768
93a6d082
RM
11769 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11770 * nptl/stack-aliasing.h: New file.
11771 * sysdeps/i386/i686/stack-aliasing.h: New file.
11772 * sysdeps/i386/i686/nptl/Makefile: File removed.
11773 * sysdeps/x86_64/stack-aliasing.h: New file.
11774 * sysdeps/x86_64/nptl/Makefile
11775 (CFLAGS-pthread_create.c): Variable removed.
11776
bc4a86fa
RM
11777 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11778 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11779 old file.
11780 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11781 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11782 old file.
11783
2272ffc1
JM
117842014-06-21 Joseph Myers <joseph@codesourcery.com>
11785
11786 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11787 (__ASSUME_SIGFRAME_V2): Remove macro.
11788 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11789 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11790 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11791 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11792 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11793 Declare as function. Remove conditional macro definitions.
11794 (__default_rt_sa_restorer): Likewise.
11795 (__default_sa_restorer_v1): Remove declaration.
11796 (__default_sa_restorer_v2): Likewise.
11797 (__default_rt_sa_restorer_v1): Likewise.
11798 (__default_rt_sa_restorer_v2): Likewise.
11799 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11800 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11801 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11802
4b88139b
RM
118032014-06-20 Roland McGrath <roland@hack.frob.com>
11804
11805 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11806 (libpthread-routines): Add sysdep.
11807 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11808 * sysdeps/unix/sysv/linux/sparc/Versions
11809 (libpthread: GLIBC_2.3.3): New version set.
11810 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11811 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11812 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11813 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11814 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11815 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11816 Moved ...
11817 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11818 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11819 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11820 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11821 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11822 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11823 * sysdeps/sparc/nptl/sem_init.c: ... here.
11824 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11825 * sysdeps/sparc/nptl/sem_post.c: ... here.
11826 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11827 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11828 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11829 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11830 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11831 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11832 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11833 (libpthread-routines): Add cpu_relax.
11834 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11835 File removed.
11836 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11837 (librt: GLIBC_2.3.3): New version set.
11838 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11839 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11840 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11841 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11842 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11844 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11846 Moved ...
11847 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11848 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11849 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11850 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11851 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11852 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11853 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11854 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11855 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11856 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11857 Moved ...
11858 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11859 Update #include.
11860 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11861 Moved ...
11862 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11863 Update #include.
11864 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11865 Moved ...
11866 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11867 Update #include.
11868 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11869 Moved ...
11870 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11871 Update #include.
11872 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11873 Moved ...
11874 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11875 Update #include.
11876 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11877 Moved ...
11878 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11879 Update #include.
11880 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11881 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11882 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11883 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11884 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11885 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11886 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11887 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11888 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11889 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11891 Moved ...
11892 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11893 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11894 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11895 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11896 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11897
d7109027
JM
118982014-06-20 Joseph Myers <joseph@codesourcery.com>
11899
9bc6103d
JM
11900 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11901 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11902 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11903 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11904 * nscd/nscd.c: Likewise.
11905 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11906 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11907 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11908 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11909
d7109027
JM
11910 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11911 <kernel-features.h>.
11912 (init_mq_netlink): Remove conditional have_sock_cloexec
11913 definitions. Remove code conditional on have_sock_cloexec < 0.
11914 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11915 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11916 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11917 <kernel-features.h>.
11918 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11919 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11920
d92d8f8a
L
119212014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11922
11923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11924 Add tests for memset_chk and memset.
11925
11926 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11927 with AVX2_Usable.
11928
4e6d2347
MR
119292014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11930
257ce712
MR
11931 [BZ #16046]
11932 * elf/tst-dl-iter-static.c: New file.
11933 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11934
4e6d2347
MR
11935 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11936 error.
11937
a2a76afe
JM
119382014-06-20 Joseph Myers <joseph@codesourcery.com>
11939
7fd00f99
JM
11940 * sysdeps/unix/sysv/linux/kernel-features.h
11941 (__ASSUME_F_GETOWN_EX): Remove macro.
11942 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11943 <kernel-features.h>.
11944 (miss_F_GETOWN_EX): Remove variable or macro.
11945 (do_fcntl): Do not check miss_F_GETOWN_EX.
11946 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
11947
4a103975
JM
11948 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
11949 Remove macro.
11950 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
11951 [!__ASSUME_AT_RANDOM]: Remove conditional code.
11952 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
11953
a2a76afe
JM
11954 * sysdeps/unix/sysv/linux/kernel-features.h
11955 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
11956 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
11957 [ADJ_OFFSET_SS_READ]: Make code unconditional.
11958 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
11959
90e5dd48
MR
119602014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11961
11962 [BZ #17075]
11963 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
11964 Fix calculation of the symbol's value.
11965 * sysdeps/arm/tst-armtlsdescloc.c: New file.
11966 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
11967 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
11968 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
11969 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
11970 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
11971 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
11972 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
11973 (modules-names): Add `tst-armtlsdescmod',
11974 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
11975 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
11976 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11977 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
11978 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
11979 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
11980 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
11981 ($(objpfx)tst-armtlsdescloc): New dependency.
11982 ($(objpfx)tst-armtlsdescextnow): Likewise.
11983 ($(objpfx)tst-armtlsdescextlazy): Likewise.
11984 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
11985 TLS scheme support.
11986 * sysdeps/arm/configure: Regenerate.
11987
809fdf0d
JM
119882014-06-20 Joseph Myers <joseph@codesourcery.com>
11989
11990 * include/fcntl.h (__atfct_seterrno): Remove prototype.
11991 (__atfct_seterrno_2): Likewise.
11992 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
11993 <kernel-features.h>.
11994 (__ASSUME_ATFCTS): Do not undefine and redefine.
11995 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
11996 (__have_atfcts): Remove conditional definition.
11997 (__fxstatat([__NR_fstatat64]: Make code unconditional.
11998 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
11999 unreachable if [__ASSUME_ATFCTS].
12000 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12001 not undefine and redefine.
12002 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12003 <kernel-features.h>.
12004 (faccessat) [__NR_faccessat]: Make code unconditional.
12005 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12006 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12007 <kernel-features.h>.
12008 (fchmodat) [__NR_fchmodat]: Make code unconditional.
12009 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12010 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12011 <kernel-features.h>.
12012 (fchownat) [__NR_fchownat]: Make code unconditional.
12013 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12014 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12015 <kernel-features.h>.
12016 (futimesat) [__NR_futimesat]: Make code unconditional.
12017 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12018 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12019 <kernel-features.h>.
12020 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12021 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12022 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12023 <kernel-features.h>.
12024 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12025 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12026 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12027 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12028 <kernel-features.h>.
12029 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12030 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12031 * sysdeps/unix/sysv/linux/linkat.c: Do not include
12032 <kernel-features.h>.
12033 (linkat) [__NR_linkat]: Make code unconditional.
12034 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12035 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12036 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12037 <kernel-features.h>.
12038 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12039 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12040 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12041 <kernel-features.h>.
12042 (mkdirat) [__NR_mkdirat]: Make code unconditional.
12043 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12044 * sysdeps/unix/sysv/linux/openat.c: Do not include
12045 <kernel-features.h>.
12046 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12047 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12048 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12049 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12050 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12051 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12052 <kernel-features.h>.
12053 (readlinkat) [__NR_readlinkat]: Make code unconditional.
12054 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
12055 result of INLINE_SYSCALL directly, not via int variable.
12056 * sysdeps/unix/sysv/linux/renameat.c: Do not include
12057 <kernel-features.h>.
12058 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12059 (renameat) [__NR_renameat]: Make code unconditional.
12060 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12061 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12062 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12063 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12064 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12065 (__ASSUME_ATFCTS): Do not undefine and redefine.
12066 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12067 <kernel-features.h>.
12068 (symlinkat) [__NR_symlinkat]: Make code unconditional.
12069 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12070 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12071 <kernel-features.h>.
12072 (unlinkat) [__NR_unlinkat]: Make code unconditional.
12073 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12074 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12075 (__ASSUME_ATFCTS): Do not undefine and redefine.
12076 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12077 <kernel-features.h>.
12078 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12079 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12080 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12081 <kernel-features.h>.
12082 (__xmknodat) [__NR_mknodat]: Make code unconditional.
12083 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12084
224c6c51
L
120852014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12086
12087 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12088
aa6ec754
AS
120892014-06-20 Andreas Schwab <schwab@linux-m68k.org>
12090
12091 [BZ #17069]
12092 * posix/regcomp.c (parse_reg_exp): Deallocate partially
12093 constructed tree before returning error.
12094 * posix/bug-regexp36.c: Expand test case.
12095
d8c2869d
SL
120962014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12097
3ef6b850
SL
12098 [BZ #6803]
12099 * math/libm-test.inc (scalbln_test_date):
12100 Add errno expectations.
12101 * math/w_scalblnf.c: New File.
12102 Add wrapper which checks for setting errno to ERANGE.
12103 Add weak_alias for corresponding scalbln function.
12104 * math/w_scalbln.c: Likewise.
12105 * math/w_scalblnl.c: Likewise.
12106 * math/Makefile (libm-calls): Add w_scalbln.
12107 * sysdeps/ieee754/flt-32/s_scalblnf.c:
12108 Remove weak_alias for corresponding scalbln function.
12109 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12110 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12111 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12112 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12113 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12114 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12115 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12116 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12117 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12118 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12119 Remove long_double_symbol for scalblnl function in libm, libc.
12120 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12121 Add wrapper which checks for setting errno to ERANGE.
12122 Add long_double_symbol for scalblnl function in libm, libc.
12123 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12124 Remove long_double_symbol for scalblnl in libm.
12125 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12126 Add wrapper which checks for setting errno to ERANGE.
12127 Add long_double_symbol for scalblnl function in libm.
12128 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12129 Do not use wrapper because of own implementation.
12130
c8daec5c
L
121312014-06-19 H.J. Lu <hongjiu.lu@intel.com>
12132
12133 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12134 3 bytes for __pad1 for x32.
12135 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12136
5c74e47c
LM
121372014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
12138 H.J. Lu <hongjiu.lu@intel.com>
12139
12140 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12141 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12142 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12143 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12144 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12145
4d43ef1e
AS
121462014-06-19 Andreas Schwab <schwab@linux-m68k.org>
12147
12148 [BZ #17069]
12149 * posix/regcomp.c (parse_expression): Deallocate partially
12150 constructed tree before returning error.
12151 * posix/Makefile.c (tests): Add bug-regex36.
12152 (generated): Add bug-regex36.mtrace.
12153 (tests-special): Add $(objpfx)bug-regex36-mem.out
12154 (bug-regex36-ENV): New variable.
12155 ($(objpfx)bug-regex36-mem.out): New rule.
12156 * posix/bug-regex36.c: New file.
12157
51a7380b
WN
121582014-06-19 Will Newton <will.newton@linaro.org>
12159
12160 * malloc/malloc.c (systrim): If extra is zero then return
12161 early.
12162
91b84fe5
SP
121632014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12164
12165 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12166
f940b965
RE
121672014-06-19 Richard Earnshaw <rearnsha@arm.com>
12168
12169 * sysdeps/aarch64/strchr.S: New file.
12170
4ba7a00f
JM
121712014-06-18 Joseph Myers <joseph@codesourcery.com>
12172
12173 [BZ #17022]
12174 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12175 from arguments -2 or below.
12176 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12177 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12178
b3a9f56b
AS
121792014-06-18 Andreas Schwab <schwab@suse.de>
12180
12181 [BZ #17062]
12182 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12183 of a bracket expr not to run off the end of the string.
12184 * posix/Makefile (tests): Add tst-fnmatch3.
12185 * posix/tst-fnmatch3.c: New file.
12186
85d89278
JM
121872014-06-18 Joseph Myers <joseph@codesourcery.com>
12188
12189 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12190 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12191 [$(cross-compiling) = no]: Likewise.
12192 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12193 [$(cross-compiling) = no]: Likewise.
12194
754c5a08
RS
121952014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12196
12197 [BZ #17031]
12198 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12199 double, adjusted for any remainder from the high double.
12200 * math/libm-test.inc (nearbyint): Add tests.
12201 (rint): Likewise.
12202
556f529d
AZ
122032014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12204
12205 * nptl/sysdeps/powerpc/Makefile: Moved ...
12206 * sysdeps/powerpc/nptl/Makefile: ... here.
12207 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12208 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12209 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12210 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12211 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12212 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12213 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12214 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12215 * nptl/sysdeps/powerpc/tls.h: Moved ...
12216 * sysdeps/powerpc/nptl/tls.h: ... here.
12217
91c03c53
JM
122182014-06-16 Joseph Myers <joseph@codesourcery.com>
12219
12220 [BZ #16681]
12221 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12222 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12223 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12224 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12225 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12226 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12227 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12228 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12229 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12230
a76e63c5
AS
122312014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12232
12233 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12234
f2f6d82f
AS
122352014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12236
ea8a15f6
AS
12237 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12238 defined operator.
12239
f2f6d82f
AS
12240 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12241 $TIMEOUTFACTOR.
12242
a7291117
FW
122432014-06-16 Florian Weimer <fweimer@redhat.com>
12244
12245 [BZ #17058]
12246 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12247 non-executed part of the test.
12248
3d7c00e3
AS
122492014-06-16 Andreas Schwab <schwab@suse.de>
12250
12251 * string/bits/string2.h (strdup, strndup): Update feature guard.
12252
6957fb31
DM
122532014-06-14 David S. Miller <davem@davemloft.net>
12254
12255 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12256
11b9e55b
AS
122572014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12258
1d2a0492
AS
12259 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12260 that was previously under [RESET_PID].
12261 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12262
11b9e55b
AS
12263 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12264 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12265 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12266 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12267 (__libc_vfork): New strong alias.
12268 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12269
0f6901d0
AK
122702014-06-14 Andi Kleen <ak@linux.intel.com>
12271
12272 * sysdeps/generic/elide.h: New file.
12273
38bbbb9f
SL
122742014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12275
12276 * Makefile (installed-headers): Adjust path of pthread.h header.
12277
45193bb8
RM
122782014-06-13 Roland McGrath <roland@hack.frob.com>
12279
9a25fd1e
RM
12280 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12281 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12282 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12283 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12284
4004f7e4
RM
12285 * nptl/sysdeps/s390/Makefile: Moved ...
12286 * sysdeps/s390/nptl/Makefile: ... here.
12287 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12288 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12289 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12290 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12291 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12292 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12293 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12294 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12295 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12296 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12297 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12298 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12299 * nptl/sysdeps/s390/tls.h: Moved ...
12300 * sysdeps/s390/nptl/tls.h: ... here.
12301
45193bb8
RM
12302 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12303 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12304
f6fdf533
DM
123052014-06-13 David S. Miller <davem@davemloft.net>
12306
12307 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12309 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12310 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12311 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12312 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12313 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12314 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12315 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12316 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12317 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12318 Remove RESET_PID cpp guards.
12319 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12320 Remove RESET_PID cpp guards.
12321 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12322
f5d71e14
AS
123232014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12324
12325 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12326 __sp to uintptr_t.
12327
b7aa8caa
AK
123282014-06-13 Andi Kleen <ak@linux.intel.com>
12329
4b266200
AZ
12330 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12331 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12332 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12333 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12334 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12335 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12336 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12337 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12338 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12339 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12340 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12341 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12342 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12343 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12344 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12345 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12346 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12347 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12348 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12349 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
12350
12351 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
12352 (pthread_rwlock_rdlock): Add elision.
12353 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12354 (pthread_rwlock_wrlock): Add elision.
12355 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12356 (pthread_rwlock_trywrlock): Add elision.
12357 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12358 (pthread_rwlock_tryrdlock): Add elision.
12359 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12360 (pthread_rwlock_tryrdlock): Add elision unlock.
12361 * nptl/sysdeps/pthread/pthread.h:
12362 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12363 (PTHREAD_RWLOCK_INITIALIZER,
12364 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12365 Handle new elision field.
12366 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12367 * sysdeps/arm/nptl/bits/pthreadtypes.h
12368 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12369 * sysdeps/sh/nptl/bits/pthreadtypes.h
12370 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12371 * sysdeps/tile/nptl/bits/pthreadtypes.h
12372 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12373 * sysdeps/a/nptl/bits/pthreadtypes.h
12374 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12375 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12376 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12377 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12378 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12379 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12380 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12381 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12382 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12383 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12384 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12385 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12386 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12387 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12388 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12389 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12390 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12391 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12392 (elision_init): Set try_xbegin to zero when no RTM.
12393 * sysdeps/x86/nptl/bits/pthreadtypes.h
12394 (pthread_rwlock_t): Change __pad1 to __rwelision.
12395 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 12396
a832bdd3
AK
123972014-06-13 Andi Kleen <ak@linux.intel.com>
12398
12399 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12400 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12401 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12402 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12403
995a46bb
MI
124042014-06-13 Meador Inge <meadori@codesourcery.com>
12405
12406 [BZ #16996]
03ed7738 12407 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
12408 that the cached result has been set before returning it.
12409
45262aee
RM
124102014-06-12 Roland McGrath <roland@hack.frob.com>
12411
febf6cc5
RM
12412 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12413 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12414 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12415 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12416 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12417 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12418
e2682246
RM
12419 * nptl/sysdeps/sparc/Makefile: Moved ...
12420 * sysdeps/sparc/nptl/Makefile: ... here.
12421 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12422 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12423 * nptl/sysdeps/sparc/tls.h: Moved ...
12424 * sysdeps/sparc/nptl/tls.h: ... here.
12425 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12426 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12427 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12428 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12429 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12430 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12431 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12432 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12433 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12434 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12435 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12436 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12437 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12438 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12439 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12440 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12441 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12442 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12443 Update #include.
12444 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12445 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12446 Update #include.
12447 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12448 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12449 Update #include.
12450 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12451 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12452 Update #include.
12453
b0725f43
RM
12454 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12455
b14368b8
RM
12456 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12457 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12458
c5620eb3
RM
12459 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12460 (struct list_links): Type removed.
12461 (struct thread_node, struct timer_node): Replace struct list_links
12462 with struct list_head.
12463 (list_unlink_ip): Likewise.
12464 * sysdeps/pthread/timer_routines.c
12465 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12466 (list_append, list_insbefore): Likewise.
12467 (list_init): Function removed.
12468 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12469 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12470 * sysdeps/pthread/Makefile: ... here, new file.
12471
12472 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12473 * sysdeps/nptl/Implies: ... here.
12474 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12475 * nptl/sysdeps/pthread/list.h: Moved ...
12476 * include/list.h: ... here.
12477 * nptl/sysdeps/pthread/createthread.c: Moved ...
12478 * nptl/createthread.c: ... here.
12479 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12480 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12481 * nptl/pt-longjmp.c: ... here.
12482 * nptl/sysdeps/pthread/Makefile: Moved ...
12483 * sysdeps/nptl/Makefile: ... here.
12484 * nptl/sysdeps/pthread/Subdirs: Moved ...
12485 * sysdeps/nptl/Subdirs: ... here.
12486 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12487 * sysdeps/nptl/aio_misc.h: ... here.
12488 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12489 * sysdeps/nptl/bits/libc-lock.h: ... here.
12490 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12491 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12492 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12493 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12494 * nptl/sysdeps/pthread/configure: Moved ...
12495 * sysdeps/nptl/configure: ... here.
12496 * nptl/sysdeps/pthread/configure.ac: Moved ...
12497 * sysdeps/nptl/configure.ac: ... here.
12498 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12499 * sysdeps/nptl/gai_misc.h: ... here.
12500 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12501 * sysdeps/nptl/librt-cancellation.c: ... here.
12502 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12503 * sysdeps/nptl/malloc-machine.h: ... here.
12504 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12505 * sysdeps/nptl/pthread-functions.h: ... here.
12506 * nptl/sysdeps/pthread/pthread.h: Moved ...
12507 * sysdeps/nptl/pthread.h: ... here.
12508 * nptl/sysdeps/pthread/setxid.h: Moved ...
12509 * sysdeps/nptl/setxid.h: ... here.
12510 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12511 * sysdeps/nptl/sigfillset.c: ... here.
12512 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12513 * sysdeps/nptl/tcb-offsets.h: ... here.
12514 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12515 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12516 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12517 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12518 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12519 * sysdeps/pthread/allocalim.h: ... here.
12520 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12521 * sysdeps/pthread/bits/sigthread.h: ... here.
12522 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12523 * sysdeps/pthread/flockfile.c: ... here.
12524 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12525 * sysdeps/pthread/ftrylockfile.c: ... here.
12526 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12527 * sysdeps/pthread/funlockfile.c: ... here.
12528 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12529 * sysdeps/pthread/posix-timer.h: ... here.
12530 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12531 * sysdeps/pthread/timer_create.c: ... here.
12532 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12533 * sysdeps/pthread/timer_delete.c: ... here.
12534 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12535 * sysdeps/pthread/timer_getoverr.c: ... here.
12536 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12537 * sysdeps/pthread/timer_gettime.c: ... here.
12538 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12539 * sysdeps/pthread/timer_routines.c: ... here.
12540 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12541 * sysdeps/pthread/timer_settime.c: ... here.
12542 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12543 * sysdeps/pthread/tst-timer.c: ... here.
12544 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12545 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12546
e876b090
RM
12547 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12548 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12549
f6b07b3d
RM
12550 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12551 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12552 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12553 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12554 Update #include target.
12555 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12556 * sysdeps/i386/i686/nptl/Makefile: ... here.
12557 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12558 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12559 Update #include target.
12560 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12561 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12562 * nptl/sysdeps/i386/Makefile: Moved ...
12563 * sysdeps/i386/nptl/Makefile: ... here.
12564 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12565 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12566 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12567 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12568 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12569 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12570 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12571 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12572 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12573 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12574 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12575 * nptl/sysdeps/i386/tls.h: Moved ...
12576 * sysdeps/i386/nptl/tls.h: ... here.
12577
45262aee
RM
12578 * sysdeps/sh/Makefile [$(subdir) = csu]
12579 (gen-as-const-headers): Add tcb-offsets.sym.
12580 * nptl/sysdeps/sh/Makefile: File removed.
12581 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12582 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12583 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12584 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12585 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12586 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12587 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12588 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12589 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12590 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12591 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12592 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12593 * nptl/sysdeps/sh/tls.h: Moved ...
12594 * sysdeps/sh/nptl/tls.h: ... here.
12595 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12596 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12597 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12598 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12599 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12600 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12601 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12602 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12603 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12604 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12605 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12606 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12607 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12608 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12609 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12610 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12611 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12612 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12613 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12614 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12615 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12616 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12617 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12618 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12619 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12620 Moved ...
12621 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12622 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12623 Moved ...
12624 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12625 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12626 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12627 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12628 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12629 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12630 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12631 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12632 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12633 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12634 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12635 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12636 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12637 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12638 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12639 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12640 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12641 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12642 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12643
35a5e3e3
SL
126442014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12645
12646 * posix/spawn_faction_addopen.c: Include string.h.
12647
14642b85
RM
126482014-06-11 Roland McGrath <roland@hack.frob.com>
12649
12650 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12651 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12652 * nptl/sysdeps/x86_64/Makefile: Moved ...
12653 * sysdeps/x86_64/nptl/Makefile: ... here.
12654 * nptl/sysdeps/x86_64/configure: Moved ...
12655 * sysdeps/x86_64/nptl/configure: ... here.
12656 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12657 * sysdeps/x86_64/nptl/configure.ac: ... here.
12658 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12659 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12660 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12661 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12662 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12663 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12664 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12665 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12666 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12667 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12668 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12669 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12670 * nptl/sysdeps/x86_64/tls.h: Moved ...
12671 * sysdeps/x86_64/nptl/tls.h: ... here.
12672 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12673 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12674 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12675 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12676
12677 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12678
31c44fea
AZ
126792014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12680
12681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12682
e81a4f9a
JM
126832014-06-11 Joseph Myers <joseph@codesourcery.com>
12684
12685 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12686 type.
12687 [POSIX] (off_t): Likewise.
12688 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12689 [POSIX] (S_ISBLK): Require macro.
12690 [POSIX] (S_ISCHR): Likewise.
12691 [POSIX] (S_ISDIR): Likewise.
12692 [POSIX] (S_ISFIFO): Likewise.
12693 [POSIX] (S_ISREG): Likewise.
12694 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12695 optional-macro.
12696 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12697 type.
12698 [POSIX] (time_t): Likewise.
12699 [POSIX] (timer_t): Likewise.
12700
89e435f3
FW
127012014-06-11 Florian Weimer <fweimer@redhat.com>
12702
12703 [BZ #17048]
12704 * posix/spawn_int.h (struct __spawn_action): Make the path string
12705 non-const to support deallocation.
12706 * posix/spawn_faction_addopen.c
12707 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12708 * posix/spawn_faction_destroy.c
12709 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12710 path in all spawn_do_open actions.
12711 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12712 posix_spawn_file_actions_addopen.
12713
c3a2ebe1
CM
127142014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12715
12716 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12717 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12718 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12719 conditional code always true.
12720 (__libc_vfork): New alias.
12721
9503784a
RM
127222014-06-11 Roland McGrath <roland@hack.frob.com>
12723
c9cab3d2
RM
12724 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12725 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12726
d3996c79
RM
12727 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12728
ba5ec611
RM
12729 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12730 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12731
f12b4814
RM
12732 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12733 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12734
9503784a
RM
12735 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12736 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12737
e23d3d26
VR
127382014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12739
12740 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12741 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12742 multiarch strcmp for PPC64.
12743 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12744 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12745 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12746 multiarch optimizations.
12747 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12748 (__libc_ifunc_impl_list): Likewise.
12749
42b1161e
SP
127502014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12751
12752 * benchtests/scripts/validate_benchout.py: New script.
12753 * benchtests/Makefile (bench-func): Call it.
12754 * benchtests/scripts/benchout.schema.json: New file.
12755
2d0fc4dc
CM
127562014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12757
4a594c34
AZ
12758 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12759 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12760 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12761 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12762 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12763 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12764 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12765 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12766 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12767 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12768 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12769 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12770 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12771 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12772 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12773 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12774 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12775 Moved ...
4a594c34 12776 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12777 ... here.
4a594c34 12778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12779 Moved ...
4a594c34
AZ
12780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12781 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12782 Moved ...
4a594c34 12783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12784 ... here.
4a594c34 12785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12786 Moved ...
4a594c34 12787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12788 ... here.
4a594c34 12789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12790 Moved ...
4a594c34
AZ
12791 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12792 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12793 Moved ...
4a594c34 12794 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12795 ... here.
4a594c34 12796 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12797 Moved ...
4a594c34 12798 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12799 ... here.
4a594c34 12800 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12801 Moved ...
4a594c34
AZ
12802 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12803 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12804 Moved ...
4a594c34 12805 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12806 ... here.
4a594c34 12807 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12808 Moved ...
4a594c34 12809 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12810 ... here.
4a594c34 12811 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12812 Moved ...
4a594c34 12813 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12814 ... here.
4a594c34 12815 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12816 Moved ...
4a594c34
AZ
12817 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12818 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12819 Moved ...
4a594c34 12820 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12821 ... here.
4a594c34 12822 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12823 Moved ...
4a594c34 12824 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12825 ... here.
4a594c34 12826 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12827 Moved ...
4a594c34 12828 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12829 ... here.
4a594c34 12830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12831 Moved ...
4a594c34
AZ
12832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12833 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12834 Moved ...
4a594c34 12835 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12836 ... here.
4a594c34 12837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12838 Moved ...
4a594c34 12839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12840 ... here.
4a594c34 12841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12842 Moved ...
4a594c34
AZ
12843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12844 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12845 Moved ...
4a594c34 12846 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12847 ... here.
4a594c34 12848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12849 Moved ...
4a594c34
AZ
12850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12851 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12852 Moved ...
4a594c34
AZ
12853 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12855 Moved ...
4a594c34 12856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12857 ... here.
4a594c34 12858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12859 Moved ...
4a594c34 12860 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12861 ... here.
4a594c34 12862 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12863 Moved ...
4a594c34 12864 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12865 ... here.
4a594c34 12866 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12867 Moved ...
4a594c34
AZ
12868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12870 Moved ...
4a594c34 12871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12872 ... here.
4a594c34 12873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12874 Moved ...
4a594c34 12875 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12876 ... here.
4a594c34
AZ
12877 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12878 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12879 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12880 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12881 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12882 Moved ...
4a594c34 12883 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12884 ... here.
4a594c34
AZ
12885 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12886 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12887 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12888 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12889 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12890 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12891 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12892 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12893 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12894 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12895 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12896 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12897 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12898 Moved ...
4a594c34
AZ
12899 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12900 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12901 Moved ...
4a594c34
AZ
12902 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12903 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12904 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12905 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12906 Moved ...
4a594c34
AZ
12907 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12908 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12909 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12910 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12911 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12912 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12913 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12914
0570cfed
W
129152014-06-10 Wilco <wdijkstr@arm.com>
12916
12917 * math/test-fenv-return.c: New file.
12918 * math/Makefile: Add new test test-fenv-return.
12919
f8ba1b56
JM
129202014-06-10 Joseph Myers <joseph@codesourcery.com>
12921
12922 [BZ #17042]
12923 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12924 when x - 1 is zero.
12925 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12926 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12927 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12928 0.0L for an argument of 1.0L.
12929 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12930 Likewise.
12931 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12932 value when x - 1 is zero.
12933 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12934 * sysdeps/i386/fpu/libm-test-ulps: Update.
12935 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12936
2c3520d9
BO
129372014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12938
12939 [BZ #15119]
12940 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12941
acaa4d24
RM
129422014-06-09 Roland McGrath <roland@hack.frob.com>
12943
12944 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
12945 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
12946
962b744d
RM
129472014-06-09 Roland McGrath <roland@hack.frob.com>
12948
d752f0cc
RM
12949 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12950 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
12951
34eda6d1
RM
12952 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12953 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
12954
50f0a637
RM
12955 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12956 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
12957
08f41f04
RM
12958 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12959 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
12960
962b744d
RM
12961 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
12962 if not already defined.
12963 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
12964 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
12965 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
12966 (TLS_INIT_TP): Use it.
12967 (TLS_DEFINE_INIT_TP): New macro.
12968 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
12969
09f19b05
JM
129702014-06-09 Joseph Myers <joseph@codesourcery.com>
12971
12972 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
12973 constant.
12974 [POSIX] (IXANY): Likewise.
12975 [POSIX] (OLCUC): Likewise.
12976 [POSIX || POSIX2008] (CBAUD): Do not allow.
12977 [POSIX || POSIX2008] (DEFECHO): Likewise.
12978 [POSIX || POSIX2008] (ECHOCTL): Likewise.
12979 [POSIX || POSIX2008] (ECHOKE): Likewise.
12980 [POSIX || POSIX2008] (ECHOPRT): Likewise.
12981 [POSIX || POSIX2008] (EXTA): Likewise.
12982 [POSIX || POSIX2008] (EXTB): Likewise.
12983 [POSIX || POSIX2008] (FLUSHO): Likewise.
12984 [POSIX || POSIX2008] (LOBLK): Likewise.
12985 [POSIX || POSIX2008] (PENDIN): Likewise.
12986 [POSIX || POSIX2008] (SWTCH): Likewise.
12987 [POSIX || POSIX2008] (VDISCARD): Likewise.
12988 [POSIX || POSIX2008] (VDSUSP): Likewise.
12989 [POSIX || POSIX2008] (VLNEXT): Likewise.
12990 [POSIX || POSIX2008] (VREPRINT): Likewise.
12991 [POSIX || POSIX2008] (VSTATUS): Likewise.
12992 [POSIX || POSIX2008] (VWERASE): Likewise.
12993 (B*): Change to B[0123456789]*.
12994 * conform/data/time.h-data [POSIX || UNIX98]
12995 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
12996 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
12997 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
12998 [POSIX] (tm_*): Do not allow.
12999
686554bf
JM
130002014-06-07 Joseph Myers <joseph@codesourcery.com>
13001
13002 * Makefile (install): Don't set LANGUAGE.
13003 * Makefile.in (install): Likewise.
13004 * assert/Makefile (test-assert-ENV): Remove variable.
13005 (test-assert-perr-ENV): Likewise.
13006 * elf/Makefile (neededtest4-ENV): Likewise.
13007 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13008 [$(cross-compiling) = no]: Don't set LANGUAGE.
13009 * io/ftwtest-sh (LANG): Remove variable.
13010 * libio/Makefile (tst-widetext-ENV): Likewise.
13011 * manual/install.texi (Running make install): Don't refer to
13012 environment settings for make install.
13013 * INSTALL: Regenerated.
13014 * nptl/tst-tls6.sh: Don't set LANG.
13015 * posix/globtest.sh (LANG): Remove variable.
13016 * string/Makefile (tester-ENV): Likewise.
13017 (inl-tester-ENV): Likewise.
13018 (noinl-tester-ENV): Likewise.
13019 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13020 [$(cross-compiling) = no]: Don't set LANGUAGE.
13021 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13022 without explicit environment settings.
13023
68e6b6b1
RM
130242014-06-06 Roland McGrath <roland@hack.frob.com>
13025
13026 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13027 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13028 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13029 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13030
4d3ae034
CM
130312014-06-06 Chris Metcalf <cmetcalf@tilera.com>
13032
13033 * crypt/crypt-private.h [DOS]: Add some includes taken from the
13034 other files in the crypt directory.
13035 * crypt/crypt.c: Remove duplicate includes.
13036 * crypt/crypt-entry.c: Likewise.
13037 * crypt/crypt_util.c: Likewise.
13038
8540f6d2
JM
130392014-06-06 Joseph Myers <joseph@codesourcery.com>
13040
13041 * Makeconfig (run-program-env): New variable.
13042 (run-program-prefix-before-env): Likewise.
13043 (run-program-prefix-after-env): Likewise.
13044 (run-program-prefix): Define in terms of new variables.
13045 (built-program-cmd-before-env): New variable.
13046 (built-program-cmd-after-env): Likewise.
13047 (built-program-cmd): Define in terms of new variables.
13048 (test-program-prefix-before-env): New variable.
13049 (test-program-prefix-after-env): Likewise.
13050 (test-program-prefix): Define in terms of new variables.
13051 (test-program-cmd-before-env): New variable.
13052 (test-program-cmd-after-env): Likewise.
13053 (test-program-cmd): Define in terms of new variables.
13054 * Rules (make-test-out): Use $(run-program-env).
13055 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13056 (help): Do not mention environment variables. Mention
13057 --timeoutfactor option.
13058 (timeoutfactor): New variable.
13059 (blacklist_exports): Remove function.
13060 (exports): Remove variable.
13061 (command): Do not include ${exports}.
13062 * manual/install.texi (Configuring and compiling): Do not mention
13063 test wrappers preserving environment variables. Mention that last
13064 assignment to a variable must take precedence.
13065 * INSTALL: Regenerated.
13066 * benchtests/Makefile (run-bench): Use $(run-program-env).
13067 * catgets/Makefile ($(objpfx)test1.cat): Use
13068 $(built-program-cmd-before-env), $(run-program-env) and
13069 $(built-program-cmd-after-env).
13070 ($(objpfx)test2.cat): Do not specify environment variables
13071 explicitly.
13072 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13073 $(run-program-env) and $(built-program-cmd-after-env).
13074 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13075 $(run-program-env) and $(test-program-cmd-after-env).
13076 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13077 explicitly.
13078 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13079 run_program_env and test_program_cmd_after_env arguments.
13080 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13081 * elf/tst-pathopt.sh: Use run_program_env argument.
13082 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13083 $(test-wrapper-env) and $(run-program-env).
13084 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13085 run_program_env arguments.
13086 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13087 * intl/Makefile ($(objpfx)tst-gettext.out): Use
13088 $(test-program-prefix-before-env), $(run-program-env) and
13089 $(test-program-prefix-after-env).
13090 ($(objpfx)tst-gettext2.out): Likewise.
13091 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13092 run_program_env and test_program_prefix_after_env arguments.
13093 * intl/tst-gettext2.sh: Likewise.
13094 * intl/tst-gettext4.sh: Do not set environment variables
13095 explicitly.
13096 * intl/tst-gettext6.sh: Likewise.
13097 * intl/tst-translit.sh: Likewise.
13098 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13099 $(test-program-prefix-before-env), $(run-program-env) and
13100 $(test-program-prefix-after-env).
13101 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13102 run_program_env and test_program_prefix_after_env arguments.
13103 * math/Makefile (run-regen-ulps): Use $(run-program-env).
13104 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13105 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
13106 explicitly with each use of ${test_wrapper_env}.
13107 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13108 $(test-program-prefix-before-env), $(run-program-env) and
13109 $(test-program-prefix-after-env).
13110 * posix/tst-getconf.sh: Do not set environment variables
13111 explicitly.
13112 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13113 run_program_env and test_program_prefix_after_env arguments.
13114 * stdio-common/tst-printf.sh: Do not set environment variables
13115 explicitly.
13116 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13117 $(test-program-prefix-before-env), $(run-program-env) and
13118 $(test-program-prefix-after-env).
13119 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13120 run_program_env and test_program_prefix_after_env arguments.
13121 Split $test calls into $test_pre and $test.
13122 * timezone/Makefile (build-testdata): Use
13123 $(built-program-cmd-before-env), $(run-program-env) and
13124 $(built-program-cmd-after-env).
13125
ed36bfa1
AZ
131262014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13127
13128 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13129 strlen for non SHARED builds.
13130
fc75bf46
SP
131312014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13132
13133 * nptl/allocatestack.c (check_list): Inlined function...
13134 (__reclaim_stacks): ... here.
13135
d89b3d80
OB
131362014-06-05 Ondřej Bílka <neleai@seznam.cz>
13137
13138 [BZ #15698]
13139 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13140 memory overrun.
13141
2bf18041
JM
131422014-06-05 Joseph Myers <joseph@codesourcery.com>
13143
13144 * Rules (make-test-out): Include
13145 LOCPATH=$(common-objpfx)localedata in default environment.
13146 * debug/Makefile (tst-chk1-ENV): Remove variable.
13147 (tst-chk2-ENV): Likewise.
13148 (tst-chk3-ENV): Likewise.
13149 (tst-chk4-ENV): Likewise.
13150 (tst-chk5-ENV): Likewise.
13151 (tst-chk6-ENV): Likewise.
13152 (tst-lfschk1-ENV): Likewise.
13153 (tst-lfschk2-ENV): Likewise.
13154 (tst-lfschk3-ENV): Likewise.
13155 (tst-lfschk4-ENV): Likewise.
13156 (tst-lfschk5-ENV): Likewise.
13157 (tst-lfschk6-ENV): Likewise.
13158 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13159 (tst-iconv7-ENV): Likewise.
13160 * intl/Makefile (LOCPATH-ENV): Likewise.
13161 (tst-codeset-ENV): Likewise.
13162 (tst-gettext3-ENV): Likewise.
13163 (tst-gettext5-ENV): Likewise.
13164 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13165 (tst-fopenloc-ENV): Likewise.
13166 (tst-fgetws-ENV): Remove variable.
13167 (tst-ungetwc1-ENV): Likewise.
13168 (tst-ungetwc2-ENV): Likewise.
13169 (bug-ungetwc2-ENV): Likewise.
13170 (tst-swscanf-ENV): Likewise.
13171 (bug-ftell-ENV): Likewise.
13172 (tst-fgetwc-ENV): Likewise.
13173 (tst-fseek-ENV): Likewise.
13174 (tst-ftell-partial-wide-ENV): Likewise.
13175 (tst-ftell-active-handler-ENV): Likewise.
13176 (tst-ftell-append-ENV): Likewise.
13177 * posix/Makefile (tst-fnmatch-ENV): Likewise.
13178 (tst-regexloc-ENV): Likewise.
13179 (bug-regex1-ENV): Likewise.
13180 (tst-regex-ENV): Likewise.
13181 (tst-regex2-ENV): Likewise.
13182 (bug-regex5-ENV): Likewise.
13183 (bug-regex6-ENV): Likewise.
13184 (bug-regex17-ENV): Likewise.
13185 (bug-regex18-ENV): Likewise.
13186 (bug-regex19-ENV): Likewise.
13187 (bug-regex20-ENV): Likewise.
13188 (bug-regex22-ENV): Likewise.
13189 (bug-regex23-ENV): Likewise.
13190 (bug-regex25-ENV): Likewise.
13191 (bug-regex26-ENV): Likewise.
13192 (bug-regex30-ENV): Likewise.
13193 (bug-regex32-ENV): Likewise.
13194 (bug-regex33-ENV): Likewise.
13195 (bug-regex34-ENV): Likewise.
13196 (bug-regex35-ENV): Likewise.
13197 (tst-rxspencer-ENV): Likewise.
13198 (tst-rxspencer-no-utf8-ENV): Likewise.
13199 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13200 (tst-sscanf-ENV): Likewise.
13201 (tst-swprintf-ENV): Likewise.
13202 (tst-swscanf-ENV): Likewise.
13203 (test-vfprintf-ENV): Likewise.
13204 (scanf13-ENV): Likewise.
13205 (bug14-ENV): Likewise.
13206 (tst-grouping-ENV): Likewise.
13207 * stdlib/Makefile (tst-strtod-ENV): Likewise.
13208 (tst-strtod3-ENV): Likewise.
13209 (tst-strtod4-ENV): Likewise.
13210 (tst-strtod5-ENV): Likewise.
13211 (testmb2-ENV): Likewise./
13212 * string/Makefile (tst-strxfrm-ENV): Likewise.
13213 (tst-strxfrm2-ENV): Likewise.
13214 (bug-strcoll1-ENV): Likewise.
13215 (test-strcasecmp-ENV): Likewise.
13216 (test-strncasecmp-ENV): Likewise.
13217 * time/Makefile (tst-strptime-ENV): Likewise.
13218 (tst-ftime_l-ENV): Likewise.
13219 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13220 (tst-mbrtowc-ENV): Likewise.
13221 (tst-wcrtomb-ENV): Likewise.
13222 (tst-mbrtowc2-ENV): Likewise.
13223 (tst-c16c32-1-ENV): Likewise.
13224 (tst-mbsnrtowcs-ENV): Likewise.
13225
cd1fb604
OB
132262014-06-05 Ondřej Bílka <neleai@seznam.cz>
13227
13228 * manual/resource.texi (How to get information about the memory
13229 subsystem?): Fix typo.
13230 Reported by Peon de la Parra Ivan <peon@keba.com>
13231
b42eca7d
GY
132322014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13233
13234 [BZ #16882]
13235 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13236 (pthread_spin_lock): Branch out of spin loop to proper location.
13237 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13238 (pthread_spin_lock): Likewise.
13239
902b71f9
DM
13240 * nptl/tst-spin4.c: New test.
13241 * nptl/Makefile (tests): Add tst-spin4.
13242
f9d2d032
AS
132432014-06-03 Andreas Schwab <schwab@suse.de>
13244
13245 [BZ #15946]
13246 * resolv/res_send.c (send_dg): Reload file descriptor after
13247 calling reopen.
13248
cf7bfd28
SL
132492014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13250
13251 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13252
111cc714
RH
132532014-06-03 Richard Henderson <rth@redhat.com>
13254
89b4bd6b
RH
13255 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13256 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13257 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13258 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13259 in the SAVE_PID block.
13260 (__libc_vfork): New alias.
71840409 13261 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 13262
111cc714
RH
13263 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13264 child in registers, not on the stack. Remove RESET_PID conditionals.
13265 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13266
ccc39911
MS
132672014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13268
13269 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13270
693096cc
W
132712014-06-03 Wilco <wdijkstr@arm.com>
13272
13273 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13274 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13275 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13276 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13277 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13278 Likewise.
13279
0b4366bc
W
132802014-06-03 Wilco <wdijkstr@arm.com>
13281
13282 * sysdeps/aarch64/fpu/math_private.h
13283 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13284 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13285 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13286 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13287 Fix declarations.
13288
8747cd03
KS
132892014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13290
13291 * crypt/crypt-private.h: Include ufc-crypt.h.
13292 (__b64_from_24bit): Declare extern.
13293 * crypt/crypt_util.c(__b64_from_24bit): New function.
13294 (b64t): New static const variable.
13295 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13296 (b64t): Remove variable.
13297 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13298 * crypt/sha256-crypt.c: Include crypt-private.h.
13299 (b64t): Remove variable.
13300 (__sha256_crypt_r): Remove b64_from_24bit and replace
13301 with __b64_from_24bit.
13302 * crypt/sha512-crypt.c: Likewise.
13303
d936d379
RM
133042014-06-02 Roland McGrath <roland@hack.frob.com>
13305
13306 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13307 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13308 Label the code __libc_vfork rather than __vfork.
13309 [!NOT_IN_libc] (vfork): Define as weak alias.
13310 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13311 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13312 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13313
9fa76613
SP
133142014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13315
13316 * malloc/malloc.c (malloc_info): Fix format specifier for
13317 n_mmaps.
13318
a88dadbe
W
133192014-06-02 Wilco <wdijkstr@arm.com>
13320
13321 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13322 FPCR write.
13323
c95b3011
W
133242014-06-02 Wilco <wdijkstr@arm.com>
13325
13326 [BZ #17009]
13327 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13328 Rewrite to reduce FPCR/FPSR accesses.
13329
6b4d7a90
DM
133302014-06-01 David S. Miller <davem@davemloft.net>
13331
13332 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13333
30f3d07c
DM
133342014-05-31 David S. Miller <davem@davemloft.net>
13335
13336 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13337 to occur in round to nearest mode when |x| >= 2.0
13338
74f31c18
RH
133392014-05-30 Richard Henderson <rth@twiddle.net>
13340
f0712b54
RH
13341 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13342 (PSEUDO_RET_NOERRNO): Remove.
13343 (ret): Don't redefine.
13344 (ret_NOERRNO): Define in terms of ret.
13345 (ret_ERRVAL): Likewise.
13346
74f31c18
RH
13347 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13348 use of PSEUDO_RET; perform the error check directly.
13349
30477995
MM
133502014-05-30 Marko Myllynen <myllynen@redhat.com>
13351
13352 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13353 with __int128_t.
13354
62a58816
SP
133552014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13356
13357 * malloc/malloc (malloc_info): Fix formatting.
13358
4d653a59
SP
133592014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13360 Roland McGrath <roland@hack.frob.com>
13361
13362 * malloc/malloc (malloc_info): Also print mmapped statistics.
13363
5190c17f
RM
133642014-05-30 Roland McGrath <roland@hack.frob.com>
13365
13366 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13367 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13368
987c0269
OB
133692014-05-30 Ondřej Bílka <neleai@seznam.cz>
13370
13371 * malloc/malloc.c (malloc_info): Inline mi_arena.
13372
af4e8ef9
RH
133732014-05-29 Richard Henderson <rth@twiddle.net>
13374
1670e207
RH
13375 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13376 Remove comma before expanding ASM_ARGS_##nr.
13377 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13378 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13379 of ASM_ARGS_##nr.
13380 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13381 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13382 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13383 (ASM_ARGS_1): Add leading comma.
13384
11a28aee
RH
13385 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13386 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13387 to __errno_location.
13388 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13389 Remove the expected plt for __errno_location.
13390
a17e5ffb 13391 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 13392 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
13393 call to __read_tp.
13394
b5be4597
RH
13395 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13396 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13397 it and break it down.
13398 (DOCARGS_0, DOCARGS_1): Do nothing.
13399 (DOCARGS_2): Update to store into the new stack frame.
13400 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13401 (UNDOCARGS_1): Update to restore from the new stack frame.
13402 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13403 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13404
645d44ab
RH
13405 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13406 (SINGLE_THREAD_P): New parameter for result regno.
13407 (PSEUDO): Update to match; use cbz instead of beq.
13408
a8b4f04a
RH
13409 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13410 Use ENTRY to define the _nocancel entry point. Share the syscall
13411 and syscall error check paths with the cancel path.
13412 (PSEUDO_END): New.
13413
af4e8ef9
RH
13414 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13415 whitespace; tabs before and after asm mnemonics.
13416
26b0d2e1
EW
134172014-05-29 Eric Wong <normalperson@yhbt.net>
13418
13419 [BZ #15132]
13420 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13421 Call fstat64 or stat64 internally, depending on arguments passed.
13422 Replace stat buffer argument with file descriptor argument.
13423 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13424 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13425 Pass fd to __internal_statvfs instead of calling fstat64.
13426 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13427 Pass fd to __internal_statvfs64 instead of calling fstat64.
13428 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13429 Pass -1 to __internal_statvfs instead of calling stat64.
13430 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13431 Pass -1 to __internal_statvfs64 instead of calling stat64.
13432
1efe2bd9
RM
134332014-05-28 Roland McGrath <roland@hack.frob.com>
13434
0d3b7a19
RM
13435 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13436 that was previously under [RESET_PID].
13437 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13438
1efe2bd9
RM
13439 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13440 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13441
a6bea3ca
RM
134422014-05-27 Roland McGrath <roland@hack.frob.com>
13443
30b6629e
RM
13444 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13445
a6bea3ca
RM
13446 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13447 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13448
3dfb9a5c
OB
134492014-05-27 Ondřej Bílka <neleai@seznam.cz>
13450
13451 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13452
774f9285
AS
134532014-05-27 Andreas Schwab <schwab@suse.de>
13454
13455 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13456 TLS_INIT_TP macro.
13457 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13458 * elf/rtld.c (init_tls, dl_main): Likewise.
13459 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13460 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13461 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13462 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13463 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13464 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13465 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13466 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13467 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13468 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13469 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13470 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13471 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13472 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13473 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13474 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13475 * sysdeps/generic/tls.h: Update description.
13476
36ffe739
WN
134772014-05-27 Will Newton <will.newton@linaro.org>
13478
13479 [BZ #16990]
13480 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13481 and restore r2 rather than just restoring.
13482
2482ae43
SP
134832014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13484
13485 [BZ #16724]
13486 * libio/tst-ftell-append.c: New test case.
13487 * libio/Makefile (tests): Add test case.
13488 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13489 append mode.
13490 * libio/wfileops.c (do_ftell_wide): Likewise.
13491
3d1024e8
AZ
134922014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13493
bab90016
AZ
13494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13495
c7a8d667
AZ
13496 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13497 ...
13498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13500 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13501 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13502 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13503 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13504 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13505 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13506 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13507 Moved ...
13508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13509 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13510 Moved ...
13511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13512 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13513 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13514 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13515 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13516 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13517 ...
13518 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13519 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13520 Moved ...
13521 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13522 here.
13523 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13524 ...
13525 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13526 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13527 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13528
daee7851
AZ
13529 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13530 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13531 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13532 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13533
50a40819
AZ
13534 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13535 merge into ...
13536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13537 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13538 ...
13539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13540 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13541 ...
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13543 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13544 Moved ...
13545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13546 here.
13547 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13548 Moved ...
13549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13550 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13551 Moved ...
13552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13553
8464c2a1
AZ
13554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13555 conditional [RESET_PID].
13556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13557 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13558 removed.
13559 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13560 removed.
13561
3d1024e8
AZ
13562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13563 <tcb-offsets.h>.
13564 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13565 (__libc_vfork): New strong alias.
13566 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13567 removed.
13568 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13569 Removed.
13570
13571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13572 <tcb-offsets.h>.
13573 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13574 (__libc_vfork): New strong alias.
13575 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13576 removed.
13577 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13578 removed.
13579
fdfd175d
CD
135802014-05-26 Carlos O'Donell <carlos@redhat.com>
13581
13582 * malloc/malloc.c (mi_arena): New function.
13583 (malloc_info): Remove nested function mi_arena. Call non-nosted
13584 function mi_arena.
13585
d298c416
AZ
135862014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13587
13588 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13589 by insrwi.
13590 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13591 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13592 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13593 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13594 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13595 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13596 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13597
b60ea6ff
AS
135982014-05-26 Andreas Schwab <schwab@suse.de>
13599
13600 [BZ #16984]
13601 * locale/programs/repertoire.c (repertoire_read): Add slash
13602 between I18NPATH element and file name.
13603 * locale/programs/locfile.c (locfile_read): Likewise.
13604
67365926
SL
136052014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13606
13607 * nptl/pthread_mutexattr_settype.c
13608 (__pthread_mutexattr_settype):
13609 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13610
f8bdf1f0
SL
136112014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13612
13613 * nptl/tst-mutex5 (do_test):
13614 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13615
15eaf6ff
SP
136162014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13617
13618 * benchtests/README: Document 'init' directive.
13619 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13620 BENCH_INIT.
13621 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13622 (parse_file): Recognize 'init' directive.
13623
75f11331
KM
136242014-05-26 Kyle McMartin <kyle@redhat.com>
13625
13626 [BZ #16796]
13627 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13628 alignment of struct pthread.
13629
c3ec475c
SP
136302014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13631
13632 [BZ #16878]
13633 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13634 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13635 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13636 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13637
82aab97c
RH
136382014-05-25 Richard Henderson <rth@twiddle.net>
13639
aa2f176d
RH
13640 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13641 (SINGLE_THREAD_P_PIC): Remove.
13642 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13643 (SINGLE_THREAD_P_PIC): Remove.
13644
ca3cfa40
RH
13645 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13646 branch to syscall error ...
13647 (PSEUDO): ... here.
13648 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13649 from __local_syscall_error to .Lsyscall_error.
13650 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13651 (SYSCALL_ERROR): Update label name.
13652
6e6c2d01
RH
13653 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13654 Do not use DOARGS/UNDOARGS.
13655 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13656 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13657 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13658 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13659 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13660
c69abcee
RH
13661 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13662 block comment.
13663
82aab97c
RH
13664 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13665 define if !NOT_IN_libc.
13666 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13667 define with non-default symbol versions.
13668
8820e3ac
RH
136692014-05-23 Richard Henderson <rth@twiddle.net>
13670
900e445f
RH
13671 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13672 (vfork, __vfork): Define via compat_symbol.
13673
8820e3ac
RH
13674 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13675 [!HAVE_IFUNC] (vfork_compat): Remove.
13676 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13677
e59252a5
JM
136782014-05-23 Joseph Myers <joseph@codesourcery.com>
13679
13680 [BZ #16978]
13681 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13682 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13683 variable.
13684
132c7f5f
RH
136852014-05-23 Richard Henderson <rth@twiddle.net>
13686
bc89e962
RH
13687 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13688 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13689 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13690 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13691
13692 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13693 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13694 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13695 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13696 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13697 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13698 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13699 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13700 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13701 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13702 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13703 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13704 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13705 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13706 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13707 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13708 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13709 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13710 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13711 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13712 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13713 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13714 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13715 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13716 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13717 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13718 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13719 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13720 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13721 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13722 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13723 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13724 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13725 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13726 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13727 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13728 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13729 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13730 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13731 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13732 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13733 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13734 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13735 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13736 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13737 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13738 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13739 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13740 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13741 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13742 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13743 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13744 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13745 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13746 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13747 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13748
e2fa4bc2
RH
13749 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13750 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13751 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13752 before exiting on error.
13753 (__libc_vfork): New strong alias.
13754 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13755 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13756
279b24e2
RH
13757 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13758 that was previously under [RESET_PID].
13759 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13760
132c7f5f
RH
13761 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13762
b72592e7
JM
137632014-05-23 Joseph Myers <joseph@codesourcery.com>
13764
13765 [BZ #16977]
13766 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13767 value when x - 1 is zero.
13768 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13769 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13770 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13771 0.0L for an argument of 1.0L.
13772 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13773 Likewise.
13774 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13775 value when x - 1 is zero.
13776 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13777 * sysdeps/i386/fpu/libm-test-ulps: Update.
13778 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13779
2302d679
RV
137802014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13781
13782 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13783 alphasort and versionsort.
13784
32999d63
AZ
137852014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13786
13787 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13788 macro.
13789 [copysignf]: Likewise.
13790
019324d0
SP
137912014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13792
13793 * crypt/md5-crypt.c: Fix formatting.
13794
34fff5c2
KS
137952014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13796
13797 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13798 (b64_from_24bit): New function.
13799
3d2badac
AZ
138002014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13801
13802 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13803 libc_hidden_builtin_def to ifunc.
13804 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13805 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13806
f7bb179f 138072014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13808
13809 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13810 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13811
4134b50d
JM
138122014-05-21 Joseph Myers <joseph@codesourcery.com>
13813
bb7d0337
JM
13814 * nscd/Depend (linuxthreads): Remove.
13815 (nptl): Add.
13816 * resolv/Depend (linuxthreads): Remove.
13817 * rt/Depend (linuxthreads): Remove.
13818
4134b50d
JM
13819 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13820 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13821 $(common-objpfx)elf/.
13822 (link-libc-before-gnulib): Likewise.
13823 (elfobjdir): Remove variable.
13824 * Makefile (install): Use $(elf-objpfx) instead of
13825 $(common-objpfx)elf/.
13826 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13827 $(elfobjdir)/.
13828 (link-libc-deps): Likewise.
13829 ($(common-objpfx)libc.so): Likewise.
13830 ($(common-objpfx)linkobj/libc.so): Likewise.
13831 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13832 instead of $(common-objpfx)elf/.
13833 (symbolic-link-list): Likewise.
13834 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13835 [$(cross-compiling) = no]: Likewise.
13836 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13837 $(elfobjdir)/.
13838 (static-gnulib-arch): Likewise.
13839 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13840 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13841 $(common-objpfx)elf/.
13842
3612eb8f
RH
138432014-05-21 Richard Henderson <rth@redhat.com>
13844
a6b3657b
RH
13845 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13846 (SINGLE_THREAD_P): Use the correct width load. Fold
13847 into the ldr offset.
13848
3612eb8f
RH
13849 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13850 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13851
175cef41
JM
138522014-05-20 Joseph Myers <joseph@codesourcery.com>
13853
13854 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13855 (libgcc_s_resume): Use __attribute_used__.
13856 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13857 Likewise.
13858
e13bccd3
AZ
138592014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13860
13861 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13862 optimization when used with float constants.
13863
7c112a38
AZ
13864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13865
ae75a883
AJ
138662014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13867
13868 [BZ #16915]
13869 * locale/nl_langinfo_l.c: Make direct reference to every
13870 _nl_current_CATEGORY symbol.
13871 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13872 (tests-static): Add tst-langinfo-static.
13873 (tests-special): Add tst-langinfo-static.out.
13874 ($(objpfx)tst-langinfo.out): Redirect output.
13875 ($(objpfx)tst-langinfo-static.out): New.
13876 * localedata/tst-langinfo.sh: Send output to stdout.
13877 * localedata/tst-langinfo-static.c: New file.
13878
4406c41c
AJ
13879 [BZ #16965]
13880 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13881 when the shift amount is modulo the limb size.
13882
4c0a1e63
RH
138832014-05-20 Richard Henderson <rth@redhat.com>
13884
de9d8f20
RH
13885 [BZ #16967]
13886 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13887 Change type of sa_flags from unsigned int to int.
13888
4c0a1e63
RH
13889 [BZ #16966]
13890 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13891
13892 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13893
a60339aa
WN
138942014-05-20 Will Newton <will.newton@linaro.org>
13895
13896 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13897 Test the return value of the system call in the nocancel case.
13898
7d05a816
YR
138992014-05-20 Will Newton <will.newton@linaro.org>
13900 Yvan Roux <yvan.roux@linaro.org>
13901
13902 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13903 #include of asm/ptrace.h.
13904 (PTRACE_GET_THREAD_AREA): Remove #undef.
13905 (PTRACE_GETHBPREGS): Likewise.
13906 (PTRACE_SETHBPREGS): Likewise.
13907 (struct user_regs_struct): New structure.
13908 (struct user_fpsimd_struct): New structure.
13909 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13910 #include of asm/ptrace.h and second #include of sys/user.h.
13911 (PTRACE_GET_THREAD_AREA): Remove #undef.
13912 (PTRACE_GETHBPREGS): Likewise.
13913 (PTRACE_SETHBPREGS): Likewise.
13914 (ELF_NGREG): Use new struct user_regs_struct.
13915 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13916
af121e37
AZ
139172014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13918
13919 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13920 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13921
834caf06
JM
139222014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13923
13924 [BZ #16958]
13925 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13926 membar to avoid block loads/stores to overlap previous stores.
13927
e184a918
RH
139282014-05-17 Richard Henderson <rth@redhat.com>
13929
13930 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13931 Create the __##syscall_name##_nocancel entry point.
13932 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13933 Remove; let the sysdep-cancel.h code create it.
13934
f56c7a6a
DM
139352014-05-17 David S. Miller <davem@davemloft.net>
13936
13937 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13938 Protect with __USE_GNU.
13939 (TIOCSET_TEMPT): Likewise.
13940 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13941 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13942 these are already provided in bits/ioctl-types.h
13943
f75616b2
RM
139442014-05-16 Roland McGrath <roland@hack.frob.com>
13945
3edeca86
RM
13946 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
13947 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
13948
f75616b2
RM
13949 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
13950 Use wait4 regardless of [__NR_waitpid].
13951
deb0f7f6
MR
139522014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13953
13954 PR libgcc/60166
13955 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
13956 (_FP_NANSIGN_Q): Set the quiet bit.
13957
79520f4b
JM
139582014-05-16 Joseph Myers <joseph@codesourcery.com>
13959
13960 * benchtests/Makefile
13961 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
13962 not $(common-objpfx)math/libm.so.
13963 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
13964 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
13965 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
13966 $(common-objpfx)dlfcn/libdl.so.
13967 ($(objpfx)tst-audit8): Depend on $(libm), not
13968 $(common-objpfx)math/libm.so.
13969 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
13970 not $(common-objpfx)dlfcn/libdl.so.
13971 * math/Makefile
13972 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
13973 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
13974 [$(build-shared) = yes].
13975 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
13976 $(common-objpfx)nptl/libpthread.so.
13977 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
13978 $(common-objpfx)math/libm.so$(libm.so-version) or
13979 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
13980 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
13981 $(common-objpfx)dlfcn/libdl.so.
13982 * setjmp/Makefile (link-libm): Remove variable.
13983 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
13984 * stdio-common/Makefile (link-libm): Remove variable.
13985 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
13986 * stdlib/Makefile (link-libm): Remove variable.
13987 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
13988 ($(objpfx)tst-strtod-round): Likewise.
13989 ($(objpfx)tst-tininess): Likewise.
13990 ($(objpfx)tst-strtod-underflow): Likewise.
13991 ($(objpfx)tst-strtod6): Likewise.
13992 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
13993 $(libdl), not $(common-objpfx)nptl/libpthread.so and
13994 $(common-objpfx)dlfcn/libdl.so.
13995
026b0fe4
AZ
139962014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13997
13998 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
13999 BSD terminal modes definitions.
14000
def4bcb2
RM
140012014-05-16 Roland McGrath <roland@hack.frob.com>
14002
fe39b021
RM
14003 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14004 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14005
1d1fc46e 14006 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
14007 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14008 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14009 Don't do #include_next.
14010 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14011 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14012 Don't do #include_next.
14013 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14014 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14015 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14016 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14017
c72399fb
AM
140182014-05-16 Allan McRae <allan@archlinux.org>
14019
d51d659d
AM
14020 * po/sv.po: Update Swedish translation from translation project.
14021
c72399fb
AM
14022 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14023 in sed expression.
14024
d0583c40
AJ
140252014-05-16 Aurelien Jarno <aurelien@aurel32.net>
14026
14027 [BZ #16917]
14028 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14029 errno if the TIOCGPTN ioctl fails with an error different than
14030 EINVAL.
14031 * login/tst-ptsname.c: New file.
14032 * login/Makefile (tests): Add tst-ptsname.
14033
d16e6ec7
AJ
14034 [BZ #16943]
14035 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14036 and prlimit64.
14037
cf26a0cb
SP
140382014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14039
14040 [BZ #16849]
14041 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14042 herrno to return EAI_AGAIN.
14043
5675da1e
RM
140442014-05-14 Roland McGrath <roland@hack.frob.com>
14045
a5d87b3d
RM
14046 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14047 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14048 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14049 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14050 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14051 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14052 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14053 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14054 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14055 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14056 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14057 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14058 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14059 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14060 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14061 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14062 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14063 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14064 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14065 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14066 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14067 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14068 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14069 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14070 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14071 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14072 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14073 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14074 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14075 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14076 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14077 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14079 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14080 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14081 Moved ...
14082 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14083 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14084 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14085 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14086 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14087 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14088 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14089 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14090 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14091 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14092 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14094 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14095 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14096 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14097 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14098 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14099 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14100 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14101 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14102 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14103 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14104 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14105 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14106 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14107 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14108 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14109 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14110 Moved ...
14111 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14113 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14114 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14115 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14116 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14117 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14118 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14119 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14120 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14121 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14122 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14123 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14124 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14125 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14126 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14127 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14128 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14129 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14130 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14131 Moved ...
14132 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14133 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14134 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14135
039890a6
RM
14136 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14137 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14138 (libpthread-sysdep_routines): Add elision-related stuff here instead.
14139 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14140 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14141 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14142 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14143 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14144 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14145 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14146 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14147 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14148 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14149 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14150 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14151 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14152 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14153 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14154 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14155 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14156 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14157 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14158 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14159 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14160 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14161 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14162 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14163 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14164 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14165 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14166 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14167
65c89320
RM
14168 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14169 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14170
348f8e8c
RM
14171 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14172 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14173 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14174 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14175 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14176 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14177 Moved ...
14178 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14179 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14180 Moved ...
14181 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14182 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14183 Moved ...
14184 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14185 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14186 Moved ...
14187 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14188 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14189 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14190 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14191 Moved ...
14192 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14193 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14194 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14195 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14196 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14197 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14198 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14199 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14200 Moved ...
14201 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14202 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14203 Moved ...
14204 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14205 ... here.
14206 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14207 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14208 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14209 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14210 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14211 Moved ...
14212 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14213 ... here.
14214 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14215 Moved ...
14216 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14217 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14218 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14219 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14220 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14221 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14222 Moved ...
14223 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14224 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14225 Moved ...
14226 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14227 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14228 Moved ...
14229 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14230 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14231 Moved ...
14232 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14233 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14234 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14235 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14236 Moved ...
14237 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14238 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14239 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14240 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14241 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14242 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14243 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14244 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14245 Moved ...
14246 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14247 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14248 Moved ...
14249 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14250 ... here.
14251 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14252 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14253 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14254 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14255 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14256 Moved ...
14257 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14258 ... here.
14259 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14260 Moved ...
14261 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14262 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14263 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14264 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14265 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14266 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14267 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14268 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14269 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14270 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14271 Moved ...
14272 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14273 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14274 Moved ...
14275 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14276 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14277 Moved ...
14278 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14279 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14280 Moved ...
14281 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14282 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14283 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14284 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14285 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14286 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14287 Moved ...
14288 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14289 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14290 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14291 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14292 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14293 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14294 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14295 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14296 Moved ...
14297 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14298 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14299 Moved ...
14300 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14301 ... here.
14302 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14303 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14304 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14305 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14306 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14307 Moved ...
14308 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14309 ... here.
14310 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14311 Moved ...
14312 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14313 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14314 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14315 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14316 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14317 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14318 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14319 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14320 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14321 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14322 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14323
5085af05
RM
14324 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14325 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14326
708f0813
RM
14327 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14328 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14329
c96067bc
RM
14330 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14331 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14332 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14333 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14334 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14335 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14336 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14337 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14338 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14339 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14340 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14341 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14342 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14343 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14344 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14345 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14346 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14347 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14348 Moved ...
14349 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14350 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14351 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14352 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14353 Moved ...
14354 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14355 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14356 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14357 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14358 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14359 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14360 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14361 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14362 Moved ...
14363 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14364 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14365 Moved ...
14366 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14367 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14368 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14369 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14370 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14371 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14372 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14373 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14374 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14375 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14376 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14377 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14378 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14379 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14380 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14381 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14382 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14383
ec136444
RM
14384 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14385 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14386 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14387 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14388 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14389
2fbdf533
RM
14390 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14391 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14392 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14393 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14394 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14395 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14396 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14397 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14398 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14399 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14400
4c68138b
RM
14401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14402 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14403
4eaae765
RM
14404 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14405 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
14406 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14407 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14408 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14409 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14410 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14411 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14412 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14413 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14414 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14415 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14416 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14417 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14418 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14419 Update #include.
14420 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14421 Likewise.
14422 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14423 Likewise.
14424 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14425 Likewise.
14426 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14427 Likewise.
14428 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14429 Likewise.
14430 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14431 Likewise.
14432 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14433 Likewise.
14434 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14435 Likewise.
14436 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14437 Likewise.
4ef6befa
RM
14438 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14439 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14440 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14441 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14442 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
14443 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14444 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14445 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14446 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14447 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14448 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14449 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14450 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14451 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14452 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 14453
941d7dfd
RM
14454 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14455 that was previously under [RESET_PID].
14456 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14457 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14458 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14459
1b731c35
RM
14460 * sysdeps/i386/nptl/Implies: New file.
14461 * sysdeps/x86_64/nptl/Implies: New file.
14462 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14463 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14464 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14465 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14466
e2787137
RM
14467 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14468 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14469 (__libc_vfork): New strong alias.
14470 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14471 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14472
14473 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14474 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14475 (__libc_vfork): New strong alias.
14476 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14477 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14478
5675da1e
RM
14479 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14480 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14481 (__libc_vfork): New strong alias.
14482 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14483 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14484 * nptl/pt-vfork.c: New file.
14485 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14486 (libpthread: GLIBC_2.20): New version set (empty).
14487
4f02e2b8
WN
144882014-05-14 Will Newton <will.newton@linaro.org>
14489
14490 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14491 rather than #if.
14492
0bf061d3
JM
144932014-05-14 Joseph Myers <joseph@codesourcery.com>
14494
1a84c3d6
JM
14495 [BZ #16564]
14496 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14497 arguments with exponent 65 or above.
14498 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14499 arguments 0x1p113L or above.
14500 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14501 to arguments 0x1p107L or above.
14502 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14503 positive arguments with exponent 65 or above.
14504 * math/auto-libm-test-in: Add more tests of log1p.
14505 * math/auto-libm-test-out: Regenerated.
14506
01dbacd2
JM
14507 [BZ #16928]
14508 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14509 non-finite arguments is +0.
14510 * math/s_cacosf.c (__cacosf): Likewise.
14511 * math/s_cacosl.c (__cacosl): Likewise.
14512 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14513 * sysdeps/i386/fpu/libm-test-ulps: Update.
14514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14515
913d03c8
JM
14516 [BZ #16927]
14517 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14518 value.
14519 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14520 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14521 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14522 for explicit high bit of mantissa when testing for argument equal
14523 to 1.
14524 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14525 * sysdeps/i386/fpu/libm-test-ulps: Update.
14526 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14527
0bf061d3
JM
14528 [BZ #16516]
14529 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14530 (__erf): Scale by 16 instead of 8 in potentially underflowing
14531 case. Ensure exception if result actually underflows.
14532 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14533 (__erff): Scale by 16 instead of 8 in potentially underflowing
14534 case. Ensure exception if result actually underflows.
14535 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14536 (efx8): Remove variable.
14537 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14538 case. Ensure exception if result actually underflows.
14539 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14540 (efx8): Remove variable.
14541 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14542 case. Ensure exception if result actually underflows.
14543 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14544 (efx8): Remove variable.
14545 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14546 case. Ensure exception if result actually underflows.
14547 * math/auto-libm-test-in: Add more tests of erf.
14548 * math/auto-libm-test-out: Regenerated.
14549
73ba67cb
AS
145502014-05-14 Andreas Schwab <schwab@suse.de>
14551
3d8c8bff
AS
14552 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14553 Remove code conditionalized on USE___THREAD.
14554
73ba67cb
AS
14555 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14556 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14557 not definedness.
14558
5c521ecd
JM
145592014-05-14 Joseph Myers <joseph@codesourcery.com>
14560
5e7698c6
JM
14561 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14562 Define unconditionally.
14563 (__ASSUME_O_CLOEXEC): Likewise.
14564 (__ASSUME_SOCK_CLOEXEC): Likewise.
14565 (__ASSUME_IN_NONBLOCK): Likewise.
14566 (__ASSUME_PIPE2): Likewise.
14567 (__ASSUME_EVENTFD2): Likewise.
14568 (__ASSUME_SIGNALFD4): Likewise.
14569 (__ASSUME_DUP3): Likewise.
14570 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14571 (__ASSUME_DUP3): Do not define.
14572 (__ASSUME_EVENTFD2): Likewise.
14573 (__ASSUME_IN_NONBLOCK): Likewise.
14574 (__ASSUME_O_CLOEXEC): Likewise.
14575 (__ASSUME_PIPE2): Likewise.
14576 (__ASSUME_SIGNALFD4): Likewise.
14577 (__ASSUME_SOCK_CLOEXEC): Likewise.
14578 (__ASSUME_UTIMES): Undefine.
14579 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14580 (__ASSUME_UTIMES): Do not define.
14581 (__ASSUME_O_CLOEXEC): Likewise.
14582 (__ASSUME_SOCK_CLOEXEC): Likewise.
14583 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14584 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14585 0x020621].
14586 (__ASSUME_PIPE2): Likewise.
14587 (__ASSUME_EVENTFD2): Likewise.
14588 (__ASSUME_SIGNALFD4): Likewise.
14589 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14590 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14591 Do not define.
14592 (__ASSUME_EVENTFD2): Likewise.
14593 (__ASSUME_SIGNALFD4): Likewise.
14594 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14595 (__ASSUME_32BITUIDS): Likewise.
14596 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14597 (__ASSUME_IPC64): Likewise.
14598 (__ASSUME_ST_INO_64_BIT): Likewise.
14599 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14600 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14601 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14602 (__ASSUME_UTIMES): Do not define.
14603 (__ASSUME_PSELECT): Likewise.
14604 (__ASSUME_PPOLL): Likewise.
14605 (__ASSUME_O_CLOEXEC): Likewise.
14606 (__ASSUME_SOCK_CLOEXEC): Likewise.
14607 (__ASSUME_IN_NONBLOCK): Likewise.
14608 (__ASSUME_PIPE2): Likewise.
14609 (__ASSUME_EVENTFD2): Likewise.
14610 (__ASSUME_SIGNALFD4): Likewise.
14611 (__ASSUME_DUP3): Likewise.
14612 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14613 (__ASSUME_UTIMES): Likewise.
14614 (__ASSUME_O_CLOEXEC): Likewise.
14615 (__ASSUME_SOCK_CLOEXEC): Likewise.
14616 (__ASSUME_IN_NONBLOCK): Likewise.
14617 (__ASSUME_PIPE2): Likewise.
14618 (__ASSUME_EVENTFD2): Likewise.
14619 (__ASSUME_SIGNALFD4): Likewise.
14620 (__ASSUME_DUP3): Likewise.
14621 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14622 (__ASSUME_UTIMES): Likewise.
14623 (__ASSUME_O_CLOEXEC): Likewise.
14624 (__ASSUME_SOCK_CLOEXEC): Likewise.
14625 (__ASSUME_IN_NONBLOCK): Likewise.
14626 (__ASSUME_PIPE2): Likewise.
14627 (__ASSUME_EVENTFD2): Likewise.
14628 (__ASSUME_SIGNALFD4): Likewise.
14629 (__ASSUME_DUP3): Likewise.
14630 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14631 Likewise.
14632 (__ASSUME_UTIMES): Likewise.
14633 (__ASSUME_EVENTFD2): Likewise.
14634 (__ASSUME_SIGNALFD4): Likewise.
14635 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14636 (__ASSUME_O_CLOEXEC): Likewise.
14637 (__ASSUME_SOCK_CLOEXEC): Likewise.
14638 (__ASSUME_IN_NONBLOCK): Likewise.
14639 (__ASSUME_PIPE2): Likewise.
14640 (__ASSUME_EVENTFD2): Likewise.
14641 (__ASSUME_SIGNALFD4): Likewise.
14642 (__ASSUME_DUP3): Likewise.
14643 (__ASSUME_UTIMES): Undefine.
14644
5c521ecd
JM
14645 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14646 feclearexcept. Remove symbol versioning code.
14647 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14648 symbol versioning code.
14649 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14650 symbol versioning code.
14651 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14652 feupdateenv. Remove symbol versioning code.
14653 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14654 fegetexceptflag. Remove symbol versioning code.
14655 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14656 fesetexceptflag. Remove symbol versioning code.
14657 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14658 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14659 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14660 (__posix_fadvise64_l32): Remove prototype.
14661 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14662 code.
14663
5da9dfad
RM
146642014-05-13 Roland McGrath <roland@hack.frob.com>
14665
14666 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14667 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14668 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14669 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14670
893b4f37
SK
146712014-05-13 Sami Kerola <kerolasa@iki.fi>
14672
14673 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14674 current working directory
14675
e0db6517
RM
146762014-05-13 Roland McGrath <roland@hack.frob.com>
14677
58aa195d
RM
14678 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14679 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14680 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14681 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14682 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14683 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14684 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14685 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14686 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14687 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14688 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14689 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14690 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14691 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14692 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14693 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14694 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14695 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14696 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14697 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14698 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14699 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14700 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14701 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14702 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14703 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14704 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14705 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14706 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14707 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14708 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14709 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14710 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14711 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14712 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14713 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14714 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14715 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14716 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14717 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14718 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14719 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14720
8c6d01f0
RM
14721 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14722 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14723
14724 * sysdeps/unix/sysv/linux/arm/Makefile
14725 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14726 Add rt-aeabi_unwind_cpp_pr1.
14727 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14728 Add nptl-aeabi_unwind_cpp_pr1.
14729 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14730 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14731 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14732 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14733 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14734 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14735
14736 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14737 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14738 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14739 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14740
bba6da4e
RM
14741 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14742 Deconditionalize the code that was previously under [RESET_PID].
14743 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14744
e0db6517
RM
14745 * sysdeps/generic/exit-thread.h: New file.
14746 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14747 * include/unistd.h (__exit_thread): Remove declaration.
14748 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14749 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14750 * csu/libc-start.c: Include <exit-thread.h>.
14751 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14752 * nptl/pthread_create.c: Include <exit-thread.h>.
14753 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14754 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14755 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14756 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14757 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14758 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14759 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14760 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14761 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14762 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14763 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14764 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14765 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14766 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14767 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14768 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14769 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14770
01eb16fd
AS
147712014-05-13 Andreas Schwab <schwab@suse.de>
14772
14773 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14774
637461d9
JM
147752014-05-12 Joseph Myers <joseph@codesourcery.com>
14776
14777 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14778 (__ASSUME_UTIMES): Do not condition on kernel version.
14779 (__ASSUME_PSELECT): Define unconditionally.
14780 (__ASSUME_PPOLL): Likewise.
14781 (__ASSUME_ATFCTS): Likewise.
14782 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14783 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14784 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14785 (__ASSUME_UTIMENSAT): Define unconditionally.
14786 (__ASSUME_PRIVATE_FUTEX): Likewise.
14787 (__ASSUME_FALLOCATE): Likewise.
14788 (__ASSUME_O_CLOEXEC): Likewise.
14789 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14790 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14791 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14792 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14793 (__ASSUME_IN_NONBLOCK): Likewise.
14794 (__ASSUME_PIPE2): Likewise.
14795 (__ASSUME_EVENTFD2): Likewise.
14796 (__ASSUME_SIGNALFD4): Likewise.
14797 (__ASSUME_DUP3): Likewise.
14798 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14799 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14800 (__ASSUME_AT_RANDOM): Likewise.
14801 (__ASSUME_PREADV): Likewise.
14802 (__ASSUME_PWRITEV): Likewise.
14803 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14804 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14805 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14806 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14807 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14808 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14809 (__ASSUME_O_CLOEXEC): Define unconditionally.
14810 (__ASSUME_PSELECT): Do not undefine conditionally.
14811 (__ASSUME_PPOLL): Likewise.
14812 (__ASSUME_ATFCTS): Likewise.
14813 (__ASSUME_SET_ROBUST_LIST): Likewise.
14814 (__ASSUME_UTIMENSAT): Likewise.
14815 (__ASSUME_FDATASYNC): Define unconditionally.
14816 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14817 (__ASSUME_SIGFRAME_V2): Likewise.
14818 )__ASSUME_EVENTFD2): Likewise.
14819 (__ASSUME_SIGNALFD4): Likewise.
14820 (__ASSUME_PSELECT): Do not undefine conditionally.
14821 (__ASSUME_PPOLL): Likewise.
14822 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14823 (__ASSUME_PSELECT): Define unconditionally.
14824 (__ASSUME_PPOLL): Likewise.
14825 (__ASSUME_O_CLOEXEC): Likewise.
14826 (__ASSUME_SOCK_CLOEXEC): Likewise.
14827 (__ASSUME_IN_NONBLOCK): Likewise.
14828 (__ASSUME_PIPE2): Likewise.
14829 (__ASSUME_EVENTFD2): Likewise.
14830 (__ASSUME_SIGNALFD4): Likewise.
14831 (__ASSUME_DUP3): Likewise.
14832 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14833 (__ASSUME_O_CLOEXEC): Likewise.
14834 (__ASSUME_SOCK_CLOEXEC): Likewise.
14835 (__ASSUME_IN_NONBLOCK): Likewise.
14836 (__ASSUME_PIPE2): Likewise.
14837 (__ASSUME_EVENTFD2): Likewise.
14838 (__ASSUME_SIGNALFD4): Likewise.
14839 (__ASSUME_DUP3): Likewise.
14840 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14841 (__ASSUME_EVENTFD2): Likewise.
14842 (__ASSUME_SIGNALFD4): Likewise.
14843 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14844
315eb1d8
AS
148452014-05-12 Andreas Schwab <schwab@suse.de>
14846
14847 [BZ #16932]
14848 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14849 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14850 than maximum RPC packet size.
14851 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14852 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14853 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14854 (_nss_nis_getservbyport_r): Likewise.
14855
91df99f7
WN
148562014-05-12 Will Newton <will.newton@linaro.org>
14857
14858 * malloc/Makefile (tests): Add tst-mallopt.
14859 * malloc/tst-mallopt.c: New file.
14860
0a982a29
RM
148612014-05-09 Roland McGrath <roland@hack.frob.com>
14862
14863 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14864 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14865
0ded08a5
AZ
148662014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14867
14868 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14869 (tst-tlsmod6.so): Likewise.
14870
55d4d550
RM
148712014-05-09 Roland McGrath <roland@hack.frob.com>
14872
14873 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14874
77d08aca
JM
148752014-05-09 Joseph Myers <joseph@codesourcery.com>
14876
14877 [BZ #16064]
14878 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14879 and <dl-procinfo.h>.
14880 (__fegetenv): Save SSE state in envp->__eip if supported.
14881 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14882 envp->__eip if supported.
14883 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14884 and <dl-procinfo.h>.
14885 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14886 __data_offset and __data_selector in environment to 0. Set SSE
14887 state if supported.
14888 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14889 test-fenv-sse.
14890 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14891 -mfpmath=sse.
14892 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14893
28162f4d
WN
148942014-05-09 Will Newton <will.newton@linaro.org>
14895
14896 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14897 and libc_relro_required for ARM.
14898 * sysdeps/arm/preconfigure: Regenerate.
14899
5a414ff7
DV
149002014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14901 Stefan Liebler <stli@linux.vnet.ibm.com>
14902
14903 * config.make.in (enable-lock-elision): New Makefile variable.
14904 * configure.ac: Likewise.
14905 * configure: Regenerate.
14906 * sysdeps/s390/configure.ac:
14907 Add check for gcc transactions support.
14908 * sysdeps/s390/configure: Regenerate.
14909 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14910 Build elision files if enabled.
14911 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14912 Add lock elision support for s390.
14913 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14914 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14915 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14916 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14917 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14918 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14919 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14920 Likewise.
14921 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14922 Likewise.
14923 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14924 Likewise.
14925 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14926 Likewise.
14927 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14928 (__lll_timedlock_elision, __lll_lock_elision)
14929 (__lll_unlock_elision, __lll_trylock_elision)
14930 (lll_timedlock_elision, lll_lock_elision)
14931 (lll_unlock_elision, lll_trylock_elision): Add.
14932 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14933 (pthread_mutex_t): Add lock elision support for s390.
14934
1a2f40e5
W
149352014-05-14 Wilco <wdijkstr@arm.com>
14936
14937 * sysdeps/arm/fclrexcpt.c: Cleanup.
14938 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14939 * sysdeps/arm/feenablxcpt.c: Cleanup.
14940 * sysdeps/arm/fegetenv.c: Cleanup.
14941 * sysdeps/arm/fegetexcept.c: Cleanup.
14942 * sysdeps/arm/fegetround.c: Cleanup.
14943 * sysdeps/arm/feholdexcpt.c: Cleanup.
14944 * sysdeps/arm/fesetenv.c: Cleanup.
14945 * sysdeps/arm/fesetround.c: Cleanup.
14946 * sysdeps/arm/feupdateenv.c: Cleanup.
14947 * sysdeps/arm/fgetexcptflg.c: Cleanup.
14948 * sysdeps/arm/fraiseexcpt.c: Cleanup.
14949 * sysdeps/arm/fsetexcptflg.c: Cleanup.
14950 * sysdeps/arm/ftestexcept.c: Cleanup.
14951 * sysdeps/arm/get-rounding-mode.h: Cleanup.
14952 * sysdeps/arm/setfpucw.c: Cleanup.
14953
f63c86fe
WN
149542014-05-09 Will Newton <will.newton@linaro.org>
14955
14956 * sysdeps/arm/armv7/strcmp.S: New file.
14957 * NEWS: Mention addition of ARMv7 optimized strcmp.
14958
7a1a51b5
RM
149592014-05-08 Roland McGrath <roland@hack.frob.com>
14960
95afbbe5
RM
14961 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
14962 look for %.ac rather than %.in.
14963
14964 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
14965 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
14966 * sysdeps/mach/hurd/configure: Regenerated.
14967 * sysdeps/unix/sysv/linux/configure: Regenerated.
14968
7a1a51b5
RM
14969 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
14970
5057ad3b
SE
149712014-05-07 Steve Ellcey <sellcey@mips.com>
14972
14973 [BZ# 16922]
14974 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
14975 (LONG_SUB): Ditto.
14976 (PTR_SUB): Ditto.
14977
8dc97517
AS
149782014-05-07 Andreas Schwab <schwab@suse.de>
14979
14980 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
14981 when skipping over non-matching result from nscd.
14982
ce0c5b8f
OB
149832014-05-07 Ondřej Bílka <neleai@seznam.cz>
14984
14985 [BZ #16876]
14986 * nptl/sockperf.c (client): Check socket return value.
8dc97517 14987
a1189263
OB
14988 [BZ #16877]
14989 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
14990 nscd security class.
ce0c5b8f 14991
0f58d252
RM
149922014-05-06 Roland McGrath <roland@hack.frob.com>
14993
14994 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
14995 * sysdeps/arm/unwind.h: ... here.
14996
83df9ad0
AJ
149972014-05-06 Aurelien Jarno <aurelien@aurel32.net>
14998
ce0c5b8f
OB
14999 [BZ# 16916]
15000 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15001 Define.
83df9ad0 15002
f360f94a
VR
150032014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15004
15005 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15006 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15007 multiarch strncpy for PPC64.
15008 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15009 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15010 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15011 multiarch optimizations.
15012 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15013 (__libc_ifunc_impl_list): Likewise.
15014 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15015 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15016 multiarch stpncpy for PPC64.
15017 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15018 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15019
978a41c3
AS
150202014-05-06 Andreas Schwab <schwab@suse.de>
15021
15022 [BZ #16912]
15023 * gmon/mcount.c (_MCOUNT_DECL): Use
15024 atomic_compare_and_exchange_bool_acq instead of
15025 catomic_compare_and_exchange_bool_acq.
15026
eb1ed03d
RM
150272014-05-05 Roland McGrath <roland@hack.frob.com>
15028
fe658845
RM
15029 * elf/Makefile (others, install-bin): Remove pldd.
15030 (pldd-modules): Variable removed.
15031 ($(objpfx)pldd): Target removed.
15032 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15033 (others, install-bin): Append pldd here.
15034 ($(objpfx)pldd): New target.
15035
eb1ed03d
RM
15036 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15037 to 0, so the first #if test emitted later doesn't see it undefined.
15038 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15039 * sysdeps/gnu/errlist.c: Regenerated.
15040
19c4bec0
AZ
150412014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15042
15043 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15044 [libc_hidden_builtin_def]: Define to empty value.
15045 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15046 [libc_hidden_builtin_def]: Likewise.
15047 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15048 [libc_hidden_builtin_def]: Likewise.
15049 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15050 [libc_hidden_builtin_def]: Likewise.
15051 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15052 __redirect_memcpy and define ifunc as default hidden symbol.
15053 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15054 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15055
7776e669
AC
150562014-05-04 Adam Conrad <adconrad@0c3.net>
15057
15058 * locale/iso-4217.def: Reintroduce XDR currency.
15059
d69aeb12
AM
150602014-05-04 Allan McRae <allan@archlinux.org>
15061
15062 * po/eo.po: Update Esperanto translation from translation project.
15063
8f1df5cf
CD
150642014-05-02 Carlos O'Donell <carlos@redhat.com>
15065
15066 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15067 and FEATURE_INDEX_MAX to 1.
15068 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15069
13e402e7
SE
150702014-05-01 Steve Ellcey <sellcey@mips.com>
15071
15072 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15073 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15074 * iconvdata/big5.c (ONE_DIRECTION): Define.
15075 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15076 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15077 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15078 * iconvdata/cp932.c (ONE_DIRECTION): Define.
15079 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15080 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15081 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15082 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15083 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15084 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15085 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15086 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15087 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15088 * iconvdata/gbk.c (ONE_DIRECTION): Define.
15089 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15090 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15091 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15092 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15093 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15094 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15095 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15096 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15097 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15098 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15099 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15100 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15101 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15102 * iconvdata/iso646.c (ONE_DIRECTION): Define.
15103 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15104 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15105 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15106 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15107 * iconvdata/johab.c (ONE_DIRECTION): Define.
15108 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15109 * iconvdata/sjis.c (ONE_DIRECTION): Define.
15110 * iconvdata/t.61.c (ONE_DIRECTION): Define.
15111 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15112 * iconvdata/tscii.c (ONE_DIRECTION): Define.
15113 * iconvdata/uhc.c (ONE_DIRECTION): Define.
15114 * iconvdata/unicode.c (ONE_DIRECTION): Define.
15115 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15116 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15117 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15118
c727f032
RM
151192014-05-01 Roland McGrath <roland@hack.frob.com>
15120
8f2f08d0
RM
15121 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15122 (_IO_JUMPS_OFFSET): Define to 0.
15123
c727f032
RM
15124 * nptl/sysdeps/pthread/bits/libc-lock.h
15125 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15126 (__libc_lock_define_initialized_recursive): Always define using
15127 initializer. Modern compilers treat uninitialized (implicit zero) and
15128 explicit zero initializers the same (i.e. put the datum in bss).
15129
a849e800
AS
151302014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15131
15132 * nscd/nscd-client.h: Include <string.h>.
15133
5331255b
DM
151342014-05-01 David S. Miller <davem@davemloft.net>
15135
15136 [BZ #16885]
15137 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15138 multiple zero bytes exist at the end of a string.
15139 Reported by Aurelien Jarno <aurelien@aurel32.net>
15140
15141 * string/test-strcmp.c (check): Add explicit test for situations where
15142 there are multiple zero bytes after the first.
15143
4fdfe821
AS
151442014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15145
15146 [BZ #16890]
15147 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15148 when compiling wprintf.
15149 * stdio-common/tstdiomisc.c (t3): New function.
15150 (main): Call it.
15151
0cdddc25
SE
151522014-05-01 Steve Ellcey <sellcey@mips.com>
15153
15154 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15155 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15156 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15157 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15158
6426d77e
SE
151592014-05-01 Steve Ellcey <sellcey@mips.com>
15160
15161 * stdlib/longlong.h: Updated from GCC.
15162
6d96f5e4
WN
151632014-05-01 Will Newton <will.newton@linaro.org>
15164 Bernard Ogden <bernie.ogden@linaro.org>
15165
7470db0c
WN
15166 * NEWS: Update fixed bug list.
15167
6d96f5e4
WN
15168 [BZ #15119]
15169 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15170
211d653c
DM
151712014-04-30 David S. Miller <davem@davemloft.net>
15172
4fa262fa
DM
15173 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15174 (libc_feholdexcept_setround_sparc_ctx): New function.
15175 (libc_fesetenv_sparc_ctx): Likewise.
15176 (libc_feupdateenv_sparc_ctx): Likewise.
15177 (libc_feholdsetround_sparc_ctx): Likewise.
15178 (libc_feholdexcept_setround_ctx): Define.
15179 (libc_feholdexcept_setroundf_ctx): Likewise.
15180 (libc_feholdexcept_setroundl_ctx): Likewise.
15181 (libc_fesetenv_ctx): Likewise.
15182 (libc_fesetenvf_ctx): Likewise.
15183 (libc_fesetenvl_ctx): Likewise.
15184 (libc_feupdateenv_ctx): Likewise.
15185 (libc_feupdateenvf_ctx): Likewise.
15186 (libc_feupdateenvl_ctx): Likewise.
15187 (libc_feresetround_ctx): Likewise.
15188 (libc_feresetroundf_ctx): Likewise.
15189 (libc_feresetroundl_ctx): Likewise.
15190 (libc_feholdsetround_ctx): Likewise.
15191 (libc_feholdsetroundf_ctx): Likewise.
15192 (libc_feholdsetroundl_ctx): Likewise.
15193
1d3d93ef
DM
15194 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15195 with __USE_GNU instead of XOPEN cpp guards.
15196
8aa583c3
DM
15197 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15198 0.
15199
211d653c
DM
15200 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15201 with XOPEN cpp guards.
15202
60c8f1f6
JB
152032014-04-30 Julian Brown <julian@codesourcery.com>
15204
15205 [BZ #16888]
15206 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15207 handling.
15208
9a461d46
JM
152092014-04-30 Joseph Myers <joseph@codesourcery.com>
15210
d0f5b3f8
JM
15211 [BZ #9894]
15212 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15213 Change to 2.6.32.
15214 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15215 * sysdeps/unix/sysv/linux/configure: Regenerated.
15216 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15217 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15218 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15219 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15220 * README: Update reference to required Linux kernel version.
15221 * manual/install.texi (Linux): Update reference to required Linux
15222 kernel headers version.
15223 * INSTALL: Regenerated.
15224
9a461d46
JM
15225 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15226 header inclusion.
15227 [POSIX] (limits.h): Likewise.
15228 [POSIX] (math.h): Likewise.
15229 [POSIX] (sys/wait.h): Likewise.
15230 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15231 function.
15232 [POSIX] (stddef.h): Do not allow header inclusion.
15233
1775babf
AZ
152342014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15235
57f41c40 15236 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 15237
8f630cca
YY
152382014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15239
15240 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15241 Return immediately after lll_futex_wake.
15242
1cdeb237
SP
152432014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15244
bc8f194c
SP
15245 [BZ #16791]
15246 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15247 structure.
15248 (datahead_init_pos): Call datahead_init_common early.
15249 (datahead_init_neg): Likewise.
15250
1cdeb237
SP
15251 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15252 datahead_init_neg): New functions.
15253 * nscd/aicache.c (addhstaiX): Use them.
15254 * nscd/grpcache.c (cache_addgr): Likewise.
15255 * nscd/hstcache.c (cache_addhst): Likewise.
15256 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15257 * nscd/netgroupcache.c (do_notfound): Likewise.
15258 (addgetnetgrentX): Likewise.
15259 (addinnetgrX): Likewise.
15260 * nscd/pwdcache.c (cache_addpw): Likewise.
15261 * nscd/servicescache.c (cache_addserv): Likewise.
15262
16b293a7
SP
152632014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15264 Atsushi Onoe <atsushi@onoe.org>
15265
15266 [BZ #14308]
15267 [BZ #12994]
15268 [BZ #13651]
15269 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15270 one response is valid.
15271 * resolv/res_send.c (send_dg): Check for validity of other
15272 response if the current response is a referral.
15273
a28a9b94
SE
152742014-04-29 Steve Ellcey <sellcey@mips.com>
15275
15276 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15277
2ca180e9
SL
152782014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15279
15280 [BZ #16823]
15281 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15282 Always divide by positive zero when computing -Inf result.
15283 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15284 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15285
18f2945a
AZ
152862014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15287
15288 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15289 FPSCR if value do not change.
15290 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15291 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15292 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15293 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15294 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15295 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15296 function.
15297
5abebba4
CD
152982014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15299
15300 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15301 * sysdeps/unix/sysv/linux/hppa: Move directory from
15302 ports/systeps/unix/sysv/linux/hppa.
15303 * README: Update listing for hppa-*-linux-gnu.
15304
f7ed60c2
OB
153052014-04-28 Ondřej Bílka <neleai@seznam.cz>
15306
fff763a5
OB
15307 [BZ #16754]
15308 * manual/stdio.texi (Hook functions): Fix types of stream hook
15309 functions.
f7ed60c2
OB
15310 [BZ #16854]
15311 * socket/sys/socket.h: Fix typo in comment.
15312
df639d73
WD
153132014-04-28 Wilco <wdijkstr@arm.com>
15314
f7ed60c2 15315 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
15316 * sysdeps/arm/math_private.h: New file.
15317 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15318
48332d82
L
153192014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15320
15321 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15322 with __int128_t.
15323 (La_x86_64_retval): Likewise.
15324
e5e0d9a4
IB
153252014-04-24 Ian Bolton <ian.bolton@arm.com>
15326
15327 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15328 fpsr if value didn't change.
15329 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15330 to fpcr if value didn't change.
15331 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15332 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15333 fpsr or fpcr if value didn't change.
15334 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15335 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15336 fpcr if value didn't change.
15337 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15338 to fpsr if value didn't change.
15339
bacc75f7
SP
153402014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15341
15342 * nptl/tst-sem3.c: Use test-skeleton.c
15343 (main): Rename to do_test. Use return instead of
15344 exit.
15345 * nptl/tst-sem4.c: Use test-skeleton.c
15346 (main): Rename to do_test.
15347
a059d359
DM
153482014-04-22 David S. Miller <davem@davemloft.net>
15349
15350 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15351 (struct sigaction): New struct member __glibc_reserved0, change
15352 type of sa_flags to int.
15353
ea6c92f3
YZ
153542014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15355
15356 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15357 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15358
766c4a36
SP
153592014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15360
15361 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15362 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15363
140cc7ab
VK
153642014-04-22 Will Newton <will.newton@linaro.org>
15365 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15366
15367 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15368 (__longjmp): Add longjmp and longjmp_target SystemTap
15369 probes.
15370 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15371 (__sigsetjmp): Add setjmp SystemTap probe.
15372
c54e5cf7
CD
153732014-04-17 Carlos O'Donell <carlos@redhat.com>
15374
15375 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15376 match manual order.
15377
75ffb047
AZ
153782014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15379
15380 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15381
2cd925f7
AZ
15382 * sysdeps/powerpc/fpu/fenv_private.h
15383 (libc_feholdexcept_setroundl_ctx): Define to
15384 libc_feholdexcept_setround_ppc_ctx.
15385 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15386 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15387 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15388 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15389
39e6cd8d
IB
153902014-04-17 Ian Bolton <ian.bolton@arm.com>
15391
15392 * sysdeps/aarch64/math-tests.h: New file.
15393
f9281df9
SY
153942014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15395
15396 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15397 New.
15398 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15399 Check and set bit_AVX2_Usable.
15400 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15401 macro.
15402 (bit_AVX2): Likewise.
15403 (index_AVX2_Usable): Likewise.
15404 (CPUID_AVX2): Likewise.
15405 (HAS_AVX2): Likewise.
15406
37d35007
WN
154072014-04-17 Will Newton <will.newton@linaro.org>
15408
7c677662
WN
15409 * manual/setjmp.texi (System V contexts): Add note that
15410 calling setcontext on a context created by a call to a
15411 signal handler is undefined. Update text to note that
15412 setcontext from a signal handler is possible but not
15413 recommended.
15414
37d35007 15415 [BZ #16629]
e04a4e9d
WN
15416 * stdlib/tst-setcontext.c: Include signal.h.
15417 (main): Check that the signal stack before and
15418 after swapcontext is the same.
15419
37d35007
WN
15420 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15421 Re-implement to restore registers in user code and avoid
15422 rt_sigreturn system call.
15423
423a7160
W
154242014-04-17 Wilco <wdijkstr@arm.com>
15425
15426 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15427 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15428 * math/test-fenv.c: Skip exception trap tests on targets which only
15429 support non-stop mode.
15430
bc93ab29
IB
154312014-04-17 Ian Bolton <ian.bolton@arm.com>
15432 Wilco Dijkstra <wilco.dijkstra@arm.com>
15433
15434 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15435 (libc_feholdsetround_aarch64_ctx)
15436 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15437 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15438 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15439 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15440 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15441 (libc_feresetround_noexl_ctx): Define.
15442
95fc5fa3
RH
154432014-04-16 Richard Henderson <rth@redhat.com>
15444
ddb04724
RH
15445 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15446
d77c0899
RH
15447 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15448 unwind tables.
15449
a3df56fc
RH
15450 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15451 const from the non-libc, non-ldso copy.
15452
95fc5fa3
RH
15453 * sysdeps/alpha/libm-test-ulps: Regenerate.
15454
7e0b6763
IB
154552014-04-16 Ian Bolton <ian.bolton@arm.com>
15456 Wilco Dijkstra <wilco.dijkstra@arm.com>
15457
15458 * sysdeps/aarch64/fpu/math_private.h: New file.
15459
a9ea2e0c
MS
154602014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15461
15462 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15463
ea8ba7cd
IZ
154642014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15465
7e54fd04 15466 [BZ #16275]
ea8ba7cd
IZ
15467 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15468 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15469 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15470 Intel MPX bound registers before _dl_profile_fixup.
15471 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15472 registers after _dl_profile_fixup. Save and restore bound
15473 registers bnd0/bnd1 when calling _dl_call_pltexit.
15474 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15475 (LR_BND_OFFSET): Likewise.
15476 (LRV_BND0_OFFSET): Likewise.
15477 (LRV_BND1_OFFSET): Likewise.
15478
9f2a4fbc
ST
154792014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15480
15481 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15482 to...
15483 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15484 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15485 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15486 fields.
9f2a4fbc 15487
fd15a59b
ST
154882014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15489
15490 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15491
f19dfa0a
SL
154922014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15493
15494 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15495
4fa8bc3b
SL
154962014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15497
15498 [BZ #14770]
15499 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15500 * sysdeps/s390/configure: Regenerate.
15501
8ea587db
SL
15502 [BZ #16824]
15503 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15504 Set round-to-nearest internally to reduce error accumulation.
15505
aa5f0ff1
AM
155062014-04-16 Alan Modra <amodra@gmail.com>
15507
15508 [BZ #16740]
15509 [BZ #16619]
15510 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15511 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15512 * NEWS: Update fixed bug list.
aa5f0ff1 15513
bb9c256f
SP
155142014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15515
15516 * benchtests/Makefile: Depend on libraries in build directory.
15517 (bench-math): Separate out math tests.
15518 (bench-pthread): Separate out pthread tests.
15519 (bench): Include math and pthread tests.
15520
f737dfd0
CD
155212014-04-14 Carlos O'Donell <carlos@redhat.com>
15522
15523 [BZ #16831]
15524 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15525 _dl_debug_initialize.
15526
0699f766
CD
15527 * configure.ac: Remove SELinux header check.
15528 * configure: Regenerate.
15529 * nscd/selinux.c (perms): Array of const char* to permission names.
15530 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15531 default policy. Call string_to_security_class and string_to_av_perm to
15532 translate strings. Enforce default policy and call avs_has_perm with
15533 results of translated strings.
15534
809bd45f
DM
155352014-04-13 David S. Miller <davem@davemloft.net>
15536
15537 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15538
89e691f2
AM
155392014-04-12 Allan McRae <allan@archlinux.org>
15540
15541 [BZ #16838]
15542 * manual/string.texi (Collation Functions): Fix qsort argument
15543 order in example.
15544 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15545
9c9daaeb
CM
155462014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15547
15548 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15549 Make the test a no-op if there are no exceptions defined.
15550
95561fb9
PP
155512014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15552
fe8d072c 15553 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15554 enable-hardcoded-path-in-tests
15555
970c602a
WN
155562014-04-11 Will Newton <will.newton@linaro.org>
15557
15558 * benchtests/Makefile (extra-objs): Add json-lib.o.
15559 (bench-func): Tidy up JSON output.
15560 * benchtests/bench-skeleton.c: Include json-lib.h.
15561 (main): Use JSON library functions to do output of
15562 benchmark results.
15563 * benchtests/bench-timing-type.c (main): Output the
15564 timing type simply, leaving formatting to the user.
15565 * benchtests/json-lib.c: New file.
15566 * benchtests/json-lib.h: Likewise.
15567
36875b06
TR
155682014-04-11 Torvald Riegel <triegel@redhat.com>
15569
15570 [BZ #15215]
15571 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15572 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15573 memory barriers. Add comments.
15574 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15575 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15576 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15577 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15578 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15579 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15580
579db35a
SL
155812014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15582
15583 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15584 * sysdeps/s390/s390-64/configure.ac: ... this ...
15585 * sysdeps/s390/configure.ac: ... to here.
15586 * sysdeps/s390/s390-32/configure: Delete file.
15587 * sysdeps/s390/s390-64/configure: Delete file.
15588 * sysdeps/s390/configure: Regenerate.
15589
c12e9f37
JAPH
155902014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15591
15592 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15593
439bda32
WN
155942014-04-11 Will Newton <will.newton@linaro.org>
15595
15596 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15597 to zero if it is not defined elsewhere. (mtrim): Test
15598 the value of MALLOC_DEBUG with #if rather than #ifdef.
15599
6a5d6ea1
TR
156002014-04-10 Torvald Riegel <triegel@redhat.com>
15601
15602 * benchtests/pthread_once-inputs: New file.
15603 * benchtests/pthread_once-source.c: New file.
15604 * benchtests/README: Update documentation.
15605
a4c75cfd
IZ
156062014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15607 H.J. Lu <hongjiu.lu@intel.com>
15608
7e54fd04 15609 [BZ #16275]
a4c75cfd
IZ
15610 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15611 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15612 * sysdeps/x86_64/configure: Regenerated.
15613 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15614 macro.
15615 (REGISTER_SAVE_RAX): Likewise.
15616 (REGISTER_SAVE_RCX): Likewise.
15617 (REGISTER_SAVE_RDX): Likewise.
15618 (REGISTER_SAVE_RSI): Likewise.
15619 (REGISTER_SAVE_RDI): Likewise.
15620 (REGISTER_SAVE_R8): Likewise.
15621 (REGISTER_SAVE_R9): Likewise.
15622 (REGISTER_SAVE_BND0): Likewise.
15623 (REGISTER_SAVE_BND1): Likewise.
15624 (REGISTER_SAVE_BND2): Likewise.
15625 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15626 bound registers when calling _dl_fixup.
15627
27822ce6
AZ
156282014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15629
15630 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15631 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15632 of its definition.
27822ce6
AZ
15633 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15634 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15635 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15636 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15637 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15638 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15639 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15640
a88ddc90
PTB
156412014-04-09 Peter Brett <peter@peter-b.co.uk>
15642
15643 [BZ #15514]
15644 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15645 pathconf(_PC_NAME_MAX).
15646
01f8eac2
AZ
156472014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15648
15649 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15650 Remove macro usage.
15651 (__PTHREAD_SPINS): Move definition to ...
15652 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15653 (__PTHREAD_SPINS): ... here.
15654 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15655 (__PTHREAD_SPIN): Likewise.
15656 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15657 (__PTHREAD_SPIN): Likewise.
15658 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15659 (__PTHREAD_SPIN): Likewise.
15660 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15661 (__PTHREAD_SPIN): Likewise.
15662 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15663 (__PTHREAD_SPIN): Likewise.
15664 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15665 (__PTHREAD_SPIN): Likewise.
15666 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15667 (__PTHREAD_SPIN): Likewise.
15668 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15669 (__PTHREAD_SPIN): Likewise.
15670 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15671 (__PTHREAD_SPIN): Likewise.
15672 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15673 (__PTHREAD_SPIN): Likewise.
15674 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15675 (__PTHREAD_SPIN): Likewise.
15676 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15677 (__PTHREAD_SPIN): Likewise.
15678
de21c33c
AZ
15679 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15680 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15681 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15682 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15683 imply folder.
15684 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15685 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15686 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15687 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15688 correct imply path.
15689 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15690 strlen symbol for non multi-arch builds.
15691 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15692 missing hidden_def and weak_alias.
15693
862c472e
CD
156942014-04-08 Carlos O'Donell <carlos@redhat.com>
15695
15696 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15697
8667f90e
WN
156982014-04-07 Will Newton <will.newton@linaro.org>
15699
15700 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15701 and contents. [!_LIBC] Remove #ifndef and contents.
15702 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15703 * string/memccpy.c (__memccpy): Use ANSI prototype.
15704 * string/memfrob.c (memfrob): Likewise.
15705 * string/strcoll.c (STRCOLL): Likewise.
15706 * string/strlen.c (strlen): Likewise.
15707 * string/strtok.c (STRTOK): Likewise.
15708 * string/strcat.c: Remove unused #include of memcopy.h.
15709 (strcat): Use ANSI prototype.
15710 * string/strchr.c: Remove unused #include of memcopy.h.
15711 (strchr): Use ANSI prototype.
15712 * string/strcmp.c: Remove unused #include of memcopy.h.
15713 (strcmp): Use ANSI prototype.
15714 * string/strcpy.c: Remove unused #include of memcopy.h.
15715 (strcpy): Use ANSI prototype.
15716
7ffa9423
AZ
157172014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15718
15719 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15720 * config.make.in (config-extra-cppflags): Set it from
15721 libc_extra_cppflags.
15722 * configure.ac (libc_extra_cflags): Make it accumulate over
15723 configure fragments.
15724 (libc_extra_cppflags): New flag.
15725 * configure. Regenerate.
15726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15727 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15728 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15730
8bd70862
AZ
15731 [BZ #16815]
15732 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15733 result for FE_DOWNWARD rounding mode.
15734 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15735 Likewise.
15736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15737
d42f3448
CM
157382014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15739
15740 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15741 in function argument name.
15742
1c21d115
DS
157432014-04-03 David Svoboda <svoboda@cert.org>
15744
15745 [BZ #5666]
15746 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15747 explicitly.
15748
fcccd512
RM
157492014-04-03 Roland McGrath <roland@hack.frob.com>
15750
15751 * elf/dl-unmap-segments.h: New file.
15752 * sysdeps/generic/ldsodefs.h
15753 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15754 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15755 * elf/dl-fptr.c: Likewise.
15756 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15757 * sysdeps/aarch64/tlsdesc.c: Likewise.
15758 * sysdeps/arm/tlsdesc.c: Likewise.
15759 * sysdeps/i386/tlsdesc.c: Likewise.
15760 * sysdeps/tile/dl-runtime.c: Likewise.
15761 * sysdeps/x86_64/tlsdesc.c: Likewise.
15762 * elf/dl-load.h: New file.
15763 * elf/dl-load.c: Include it.
15764 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15765 Macros moved to dl-load.h.
15766 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15767 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15768 Use _dl_unmap_segments in place of __munmap.
15769 Break out segment-mapping loop into ...
15770 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15771
f6488e2b
WN
157722014-04-03 Will Newton <will.newton@linaro.org>
15773
15774 * elf/dl-lookup.c (do_lookup_x): Remove comment
15775 referring to nested function and move variable
15776 declarations down to before first use.
15777
6f05bafe
JM
157782014-04-02 Joseph Myers <joseph@codesourcery.com>
15779
a84e78c8
JM
15780 [BZ #16799]
15781 [BZ #16800]
15782 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15783 with 0 numerator.
15784 * math/s_catanf.c (__catanf): Likewise.
15785 * math/s_catanh.c (__catanh): Likewise.
15786 * math/s_catanhf.c (__catanhf): Likewise.
15787 * math/s_catanhl.c (__catanhl): Likewise.
15788 * math/s_catanl.c (__catanl): Likewise.
15789 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15790 by positive zero when computing -Inf result.
15791 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15792 (catanh_test): Likewise.
15793 * sysdeps/i386/fpu/libm-test-ulps: Update.
15794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15795
6f05bafe
JM
15796 [BZ #16789]
15797 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15798 instead of using underflowing value in computing result.
15799 * math/s_clog10.c (__clog10): Likewise.
15800 * math/s_clog10f.c (__clog10f): Likewise.
15801 * math/s_clog10l.c (__clog10l): Likewise.
15802 * math/s_clogf.c (__clogf): Likewise.
15803 * math/s_clogl.c (__clogl): Likewise.
15804 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15805 (clog10_test): Likewise.
15806 * sysdeps/i386/fpu/libm-test-ulps: Update.
15807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15808
b0abbc21
AM
158092014-04-02 Alan Modra <amodra@gmail.com>
15810
15811 [BZ #16739]
15812 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15813 output when value is near a power of two. Use int64_t for lx and
15814 remove casts. Use decimal rather than hex exponent constants.
15815 Don't use long double multiplication when double will suffice.
15816 * math/libm-test.inc (nextafter_test_data): Add tests.
15817 * NEWS: Add 16739 and 16786 to bug list.
15818
af6b1797
AM
15819 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15820
483818d7
AM
15821 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15822
f6c55796
WN
158232014-04-01 Will Newton <will.newton@linaro.org>
15824
15825 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15826 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15827
13f7fe35
FW
158282014-04-01 Florian Weimer <fweimer@redhat.com>
15829
15830 [BZ #13347]
15831 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15832 * nptl/tst-setuid2.c: New file.
15833 * nptl/Makefile (xtests): Add tst-setuid2.
15834
c859b32e
AM
158352014-04-01 Alan Modra <amodra@gmail.com>
15836
15837 [BZ #16786]
15838 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15839
54fa2475
JM
158402014-03-31 Joseph Myers <joseph@codesourcery.com>
15841
8795b4a4
JM
15842 [BZ #6803]
15843 [BZ #6804]
15844 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15845 set errno as appropriate.
15846 * math/w_scalbf.c (__scalbf): Likewise.
15847 * math/w_scalbl.c (__scalbl): Likewise.
15848 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15849 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15850 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15851 Add more NaN tests.
15852
54fa2475
JM
15853 [BZ #16349]
15854 * math/w_atan2.c: Include <errno.h>.
15855 (__atan2): Set errno for result underflowing to zero.
15856 * math/w_atan2f.c: Include <errno.h>.
15857 (__atan2f): Set errno for result underflowing to zero.
15858 * math/w_atan2l.c: Include <errno.h>.
15859 (__atan2l): Set errno for result underflowing to zero.
15860 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15861 tests.
15862 * math/auto-libm-test-out: Regenerated.
15863
757d9dd5
AZ
158642014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15865
15866 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15867 Encode instruction correctly in little endian.
15868 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15869 Likewise.
15870 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15871 Likewise.
15872 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15873 Likewise.
15874 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15875 Likewise.
15876
d7a68734
JM
158772014-03-31 Joseph Myers <joseph@codesourcery.com>
15878
47c5adeb
JM
15879 [BZ #9894]
15880 * sysdeps/unix/sysv/linux/kernel-features.h
15881 [__sparc__ && !__arch64__ && !__sparc_v9__]
15882 (__ASSUME_SET_ROBUST_LIST): Do not define.
15883 [__sparc__ && !__arch64__ && !__sparc_v9__]
15884 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15885 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15886 Likewise.
15887 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15888 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15889 (__ASSUME_REQUEUE_PI): Likewise.
15890 (__ASSUME_SET_ROBUST_LIST): Likewise.
15891 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15892 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15893 Undefine.
15894 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15895 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15896 Likewise.
15897 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15898 Likewise.
15899 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15900 Likewise.
15901 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15902 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15903 Undefine.
15904 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15905 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15906 Likewise.
15907
d7a68734
JM
15908 [BZ #16648]
15909 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15910 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15911 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15912
c760f5c2
WN
159132014-03-31 Will Newton <will.newton@linaro.org>
15914
15915 * benchtests/Makefile (bench): Add ffs and ffsll to list
15916 of tests.
15917 * benchtests/ffs-inputs: New file.
15918 * benchtests/ffsll-inputs: Likewise.
15919
ea6029b1
JM
159202014-03-29 Joseph Myers <joseph@codesourcery.com>
15921
15922 [BZ #16770]
15923 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15924 too large before casting to int.
15925 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15926 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15927 * math/libm-test.inc (scalb_test_data): Add more tests.
15928
cf806aff
SP
159292014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15930
56737508
SP
15931 * benchtests/Makefile (DETAILED_OPT): New make option.
15932 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15933 set.
15934 * benchtests/bench-skeleton.c: Include stdbool.h.
15935 (main): Store and print timings per input.
15936 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15937 member to each argument value.
15938 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15939 (_print_arg_data): Initialize per-input timing to 0.
15940
cb5e4aad
SP
15941 * benchtests/Makefile (timing-type): New binary.
15942 (bench-clean): Also remove bench-timing-type.
15943 (bench): New target for timing-type.
15944 (bench-func): Print output in JSON format.
15945 * benchtests/bench-skeleton.c (main): Print output in JSON
15946 format.
15947 * benchtests/bench-timing-type.c: New file.
15948 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
15949 (TIMING_PRINT_STATS): Remove.
15950 * benchtests/scripts/bench.py (_print_arg_data): Store variant
15951 name separately.
15952
cf806aff
SP
15953 * benchtests/bench-modf.c: Remove.
15954 * benchtests/modf-inputs: New inputs file.
15955
289e0779
JM
159562014-03-28 Joseph Myers <joseph@codesourcery.com>
15957
15958 [BZ #16362]
15959 * math/s_clog10.c (M_PI_LOG10E): New macro.
15960 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
15961 imaginary parts are 0.
15962 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
15963 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
15964 imaginary parts are 0.
15965 * math/s_clog10l.c (M_PI_LOG10El): New macro.
15966 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
15967 imaginary parts are 0.
15968 * math/libm-test.inc (clog10_test_data): Update expected results
15969 for when real and imaginary parts are 0.
15970
277ae3f1
PP
159712014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
15972
15973 * elf/dl-load.c: Finish conversion of __builtin_expect into
15974 __glibc_{un}likely.
15975
03a7091f
JM
159762014-03-27 Joseph Myers <joseph@codesourcery.com>
15977
15978 [BZ #16348]
15979 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
15980 1+x for argument with exponent below -67.
15981 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
15982 Likewise.
15983 * math/auto-libm-test-in: Add more tests of exp.
15984 * math/auto-libm-test-out: Regenerated.
15985
ea7d8b95
SP
159862014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
15987
dd3022d7
SP
15988 [BZ #16759]
15989 * inet/getnetgrent_r.c (get_nonempty_val): New function.
15990 (nscd_getnetgrent): Use it.
15991
ea7d8b95
SP
15992 [BZ #16760]
15993 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
15994 of stpcpy.
15995
df5b85da
AK
159962014-03-27 Andi Kleen <ak@linux.intel.com>
15997
57f41c40
AS
15998 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
15999 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16000 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16001 (lll_robust_unlock): Remove out of line section. Use cfi
16002 intrinsics.
df5b85da 16003 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
16004 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16005 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16006 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16007 (lll_robust_unlock): Remove out of line section. Use cfi
16008 intrinsics.
df5b85da
AK
16009 (LLL_STUB_UNWIND_INFO*): Remove.
16010
fbd6b5a4
SP
160112014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16012
16013 [BZ #16758]
16014 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16015 blank values.
16016
1b26b855
PP
160172014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
16018
16019 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16020
9be36fb8
JM
160212014-03-26 Joseph Myers <joseph@codesourcery.com>
16022
16023 [BZ #16198]
16024 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16025 fnstenv.
16026 * math/test-fenv-preserve.c: New file.
16027 * math/Makefile (tests): Add test-fenv-preserve.
16028
60a2f3c1
WN
160292014-03-26 Will Newton <will.newton@linaro.org>
16030
16031 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16032
a5e5f1e2
RM
160332014-03-25 Roland McGrath <roland@hack.frob.com>
16034
16035 * scripts/versionlist.awk: Partition the version sets and emit all
16036 GLIBC_* (sorted) before all others (sorted).
16037
00f4012a
JM
160382014-03-25 Joseph Myers <joseph@codesourcery.com>
16039
16040 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16041 GLIBC_2.2.5 version.
16042
7bc5a741
AZ
160432014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16044
16045 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16046 calls.
16047
7578473b
AZ
16048 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16049 previous change.
16050
f3f1dab3
AZ
16051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16052
6da36183
AS
160532014-03-25 Andreas Schwab <schwab@suse.de>
16054
16055 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16056 label to be used after in6ailist is initialized.
16057
f3f1dab3 160582014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 16059
7578473b 16060 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
16061 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16062
046651c1
JM
160632014-03-25 Joseph Myers <joseph@codesourcery.com>
16064
16065 [BZ #16357]
16066 [BZ #16599]
16067 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16068 min_plus_half.
16069 (fp_formats): Update initializers.
16070 (init_fp_formats): Initialize new field.
16071 (output_for_one_input_case): Allow underflow for results up to
16072 min_plus_half.
16073 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16074 * math/auto-libm-test-in: Don't mark some underflows from asin and
16075 atanh as spurious.
16076 * math/auto-libm-test-out: Regenerated.
16077 * sysdeps/i386/fpu/libm-test-ulps: Update.
16078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16079
003e49ed
AS
160802014-03-25 Andreas Schwab <schwab@suse.de>
16081
16082 * libio/Makefile (tst-ftell-partial-wide-ENV)
16083 (tst-ftell-active-handler-ENV): Define.
16084
de031874
SL
160852014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
16086
16087 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16088
55a81e3b
PP
160892014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16090
16091 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16092
f3426898
JM
160932014-03-24 Joseph Myers <joseph@codesourcery.com>
16094
16095 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16096 * sysdeps/x86_64/fpu/multiarch/e_exp.c
16097 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16098
a42faf59
PP
160992014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16100
16101 [BZ #16634]
a42faf59 16102 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
16103 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16104 (open_path): Change from boolean 'secure' to complete flag 'mode'
16105 (_dl_map_object): Adjust.
a42faf59
PP
16106 * elf/Makefile (tests): Add tst-dlopen-aout.
16107 * elf/tst-dlopen-aout.c: New test.
16108
50936127
SL
161092014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16110
16111 [BZ #16714]
16112 * sysdeps/unix/sysv/linux/s390/bits/stat.h
16113 (struct stat): Rename member pad0 to __glibc_reserved0.
16114
26011b5c
SL
16115 [BZ #16712]
16116 * sysdeps/s390/s390-32/bits/wordsize.h
16117 (__WORDSIZE32_SIZE_ULONG): New define.
16118 * sysdeps/s390/s390-64/bits/wordsize.h
16119 (__WORDSIZE32_SIZE_ULONG): Likewise.
16120 * sysdeps/generic/stdint.h (SIZE_MAX):
16121 Define as UL if __WORDSIZE32_SIZE_ULONG.
16122
a2d86bf1
SL
16123 [BZ #16713]
16124 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16125 (__glibc_reserved0): New variable.
16126 (sa_flags): Change type to int.
16127
78b6eebc
SL
16128 * posix/Makefile (before-compile): Use += before-compile instead
16129 of a :=.
16130
f1399b5a
SL
16131 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16132 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16133
a071766e
AS
161342014-03-20 Andreas Schwab <schwab@suse.de>
16135
16136 [BZ #16743]
16137 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16138 non-matching result from nscd.
16139
27c673b8
SP
161402014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16141
16142 * scripts/bench.py: Moved to ...
16143 * benchtests/scripts/bench.py: ... here.
16144 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16145
44152e4b
AS
161462014-03-24 Andreas Schwab <schwab@suse.de>
16147
16148 [BZ #16002]
16149 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16150 alloca_account and account alloca use for struct in6ailist.
16151
b376a11a
JM
161522014-03-24 Joseph Myers <joseph@codesourcery.com>
16153
16154 [BZ #16284]
16155 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16156 rounding mode to recompute results that overflow to infinity or
16157 underflow to zero.
16158 * math/auto-libm-test-in: Don't mark tests as expected to fail for
16159 bug 16284.
16160 * math/auto-libm-test-out: Regenerated.
16161 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16162 (ccosh_test): Likewise.
16163 (csin_test_data): Use plus_oflow.
16164 (csin_test): Use ALL_RM_TEST.
16165 (csinh_test_data): Use plus_oflow.
16166 (csinh_test): Use ALL_RM_TEST.
16167 * sysdeps/i386/fpu/libm-test-ulps: Update.
16168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16169
f7be7376
JM
161702014-03-21 Joseph Myers <joseph@codesourcery.com>
16171
1ca2d03e
JM
16172 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16173 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16174 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16175
f7be7376
JM
16176 [BZ #16731]
16177 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16178 when x - 1 is zero.
16179 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16180 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16181 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16182 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16183 argument is 1.
16184 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16185 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16186 zero.
16187 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16188 * sysdeps/i386/fpu/libm-test-ulps: Update.
16189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16190
fdf4534d
SP
161912014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16192
df26ea53
SP
16193 * scripts/bench.pl: Remove file.
16194 * scripts/bench.py: New benchmark script.
16195 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16196 * benchtests/README: Mention python dependency.
16197 * scripts/pylintrc: New file.
16198 * scripts/pylint: New file.
16199
fdf4534d
SP
16200 * bits/mathdef.h: Use #ifdef instead of #if.
16201 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16202 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16203 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16204 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16205 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16206 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16207
6f23d093
AZ
162082014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16209 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16210
16211 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16212 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16213 and strpbrk-ppc64 objects.
16214 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16215 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16216 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16217 multiarch strpbrk for POWER7.
16218 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16219 multiarch strpbrk for PPC64.
16220 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16221 ifunc selector.
16222 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16223 strpbrk for POWER7.
16224
8c92dfff
JM
162252014-03-20 Joseph Myers <joseph@codesourcery.com>
16226
16227 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16228 (atan_test): Likewise.
16229 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16230 (atanh_test): Use ALL_RM_TEST.
16231 (atan2_test_data): Likewise.
16232 (cabs_test): Likewise.
16233 (cacosh_test): Likewise.
16234 (carg_test): Likewise.
16235 (casin_test): Likewise.
16236 (casinh_test): Likewise.
16237 (cbrt_test): Likewise.
16238 (csqrt_test): Likewise.
16239 (erf_test): Likewise.
16240 (erfc_test): Likewise.
16241 (pow10_test): Likewise.
16242 (exp2_test): Likewise.
16243 (hypot_test): Likewise.
16244 (j0_test): Likewise.
16245 (j1_test): Likewise.
16246 (lgamma_test): Likewise.
16247 (gamma_test): Likewise.
16248 (sincos_test): Likewise.
16249 (tanh_test): Likewise.
16250 (y0_test): Likewise.
16251 (y1_test): Likewise.
16252 * sysdeps/i386/fpu/libm-test-ulps: Update.
16253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16254
6eaf95cb
AZ
162552014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16256
a387428c
SP
16257 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
16259 and strcspn-ppc64 objects.
16260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16261 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16262 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16263 multiarch strcspn for POWER7.
16264 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16265 multiarch strcspn for PPC64.
16266 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16267 ifunc selector.
16268 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16269 strcspn for POWER7.
16270
ae3a5dff
JM
162712014-03-20 Joseph Myers <joseph@codesourcery.com>
16272
16273 * math/gen-libm-test.pl (generate_testfile): Expect only function
16274 name as argument to AUTO_TESTS_* and pass results for all rounding
16275 modes to parse_args.
16276 (parse_auto_input): Separate inputs of automatic tests from
16277 outputs before storing in %auto_tests.
16278 * math/libm-test.inc (acos_test_data): Update call to
16279 AUTO_TESTS_f_f.
16280 (acos_test): Use ALL_RM_TEST.
16281 (acos_tonearest_test_data): Remove.
16282 (acos_test_tonearest): Likewise.
16283 (acos_towardzero_test_data): Likewise.
16284 (acos_test_towardzero): Likewise.
16285 (acos_downward_test_data): Likewise.
16286 (acos_test_downward): Likewise.
16287 (acos_upward_test_data): Likewise.
16288 (acos_test_upward): Likewise.
16289 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16290 (asin_test_data): Likewise.
16291 (asin_test): Use ALL_RM_TEST.
16292 (asin_tonearest_test_data): Remove.
16293 (asin_test_tonearest): Likewise.
16294 (asin_towardzero_test_data): Likewise.
16295 (asin_test_towardzero): Likewise.
16296 (asin_downward_test_data): Likewise.
16297 (asin_test_downward): Likewise.
16298 (asin_upward_test_data): Likewise.
16299 (asin_test_upward): Likewise.
16300 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16301 (atan_test_data): Likewise.
16302 (atanh_test_data): Likewise.
16303 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16304 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16305 (carg_test_data): Likewise.
16306 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16307 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16308 (ccosh_test_data): Likewise.
16309 (cexp_test_data): Likewise.
16310 (clog_test_data): Likewise.
16311 (clog10_test_data): Likewise.
16312 (cos_test_data): Update call to AUTO_TESTS_f_f.
16313 (cos_test): Use ALL_RM_TEST.
16314 (cos_tonearest_test_data): Remove.
16315 (cos_test_tonearest): Likewise.
16316 (cos_towardzero_test_data): Likewise.
16317 (cos_test_towardzero): Likewise.
16318 (cos_downward_test_data): Likewise.
16319 (cos_test_downward): Likewise.
16320 (cos_upward_test_data): Likewise.
16321 (cos_test_upward): Likewise.
16322 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16323 (cosh_test): Use ALL_RM_TEST.
16324 (cosh_tonearest_test_data): Remove.
16325 (cosh_test_tonearest): Likewise.
16326 (cosh_towardzero_test_data): Likewise.
16327 (cosh_test_towardzero): Likewise.
16328 (cosh_downward_test_data): Likewise.
16329 (cosh_test_downward): Likewise.
16330 (cosh_upward_test_data): Likewise.
16331 (cosh_test_upward): Likewise.
16332 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16333 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16334 (ctan_test_data): Likewise.
16335 (ctan_test): Use ALL_RM_TEST.
16336 (ctan_tonearest_test_data): Remove.
16337 (ctan_test_tonearest): Likewise.
16338 (ctan_towardzero_test_data): Likewise.
16339 (ctan_test_towardzero): Likewise.
16340 (ctan_downward_test_data): Likewise.
16341 (ctan_test_downward): Likewise.
16342 (ctan_upward_test_data): Likewise.
16343 (ctan_test_upward): Likewise.
16344 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16345 (ctanh_test): Use ALL_RM_TEST.
16346 (ctanh_tonearest_test_data): Remove.
16347 (ctanh_test_tonearest): Likewise.
16348 (ctanh_towardzero_test_data): Likewise.
16349 (ctanh_test_towardzero): Likewise.
16350 (ctanh_downward_test_data): Likewise.
16351 (ctanh_test_downward): Likewise.
16352 (ctanh_upward_test_data): Likewise.
16353 (ctanh_test_upward): Likewise.
16354 (erf_test_data): Update call to AUTO_TESTS_f_f.
16355 (erfc_test_data): Likewise.
16356 (exp_test_data): Likewise.
16357 (exp_test): Use ALL_RM_TEST.
16358 (exp_tonearest_test_data): Remove.
16359 (exp_test_tonearest): Likewise.
16360 (exp_towardzero_test_data): Likewise.
16361 (exp_test_towardzero): Likewise.
16362 (exp_downward_test_data): Likewise.
16363 (exp_test_downward): Likewise.
16364 (exp_upward_test_data): Likewise.
16365 (exp_test_upward): Likewise.
16366 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16367 (exp10_test): Use ALL_RM_TEST.
16368 (exp10_tonearest_test_data): Remove.
16369 (exp10_test_tonearest): Likewise.
16370 (exp10_towardzero_test_data): Likewise.
16371 (exp10_test_towardzero): Likewise.
16372 (exp10_downward_test_data): Likewise.
16373 (exp10_test_downward): Likewise.
16374 (exp10_upward_test_data): Likewise.
16375 (exp10_test_upward): Likewise.
16376 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16377 (expm1_test_data): Likewise.
16378 (expm1_test): Use ALL_RM_TEST.
16379 (expm1_tonearest_test_data): Remove.
16380 (expm1_test_tonearest): Likewise.
16381 (expm1_towardzero_test_data): Likewise.
16382 (expm1_test_towardzero): Likewise.
16383 (expm1_downward_test_data): Likewise.
16384 (expm1_test_downward): Likewise.
16385 (expm1_upward_test_data): Likewise.
16386 (expm1_test_upward): Likewise.
16387 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16388 (fma_test): Use ALL_RM_TEST.
16389 (fma_towardzero_test_data): Remove.
16390 (fma_test_towardzero): Likewise.
16391 (fma_downward_test_data): Likewise.
16392 (fma_test_downward): Likewise.
16393 (fma_upward_test_data): Likewise.
16394 (fma_test_upward): Likewise.
16395 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16396 (j0_test_data): Update call to AUTO_TESTS_f_f.
16397 (j1_test_data): Likewise.
16398 (jn_test_data): Update call to AUTO_TESTS_if_f.
16399 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16400 (log_test_data): Update call to AUTO_TESTS_f_f.
16401 (log10_test_data): Likewise.
16402 (log1p_test_data): Likewise.
16403 (log2_test_data): Likewise.
16404 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16405 (pow_tonearest_test_data): Likewise.
16406 (sin_test_data): Update call to AUTO_TESTS_f_f.
16407 (sin_test): Use ALL_RM_TEST.
16408 (sin_tonearest_test_data): Remove.
16409 (sin_test_tonearest): Likewise.
16410 (sin_towardzero_test_data): Likewise.
16411 (sin_test_towardzero): Likewise.
16412 (sin_downward_test_data): Likewise.
16413 (sin_test_downward): Likewise.
16414 (sin_upward_test_data): Likewise.
16415 (sin_test_upward): Likewise.
16416 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16417 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16418 (sinh_test): Use ALL_RM_TEST.
16419 (sinh_tonearest_test_data): Remove.
16420 (sinh_test_tonearest): Likewise.
16421 (sinh_towardzero_test_data): Likewise.
16422 (sinh_test_towardzero): Likewise.
16423 (sinh_downward_test_data): Likewise.
16424 (sinh_test_downward): Likewise.
16425 (sinh_upward_test_data): Likewise.
16426 (sinh_test_upward): Likewise.
16427 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16428 (sqrt_test): Use ALL_RM_TEST.
16429 (sqrt_tonearest_test_data): Remove.
16430 (sqrt_test_tonearest): Likewise.
16431 (sqrt_towardzero_test_data): Likewise.
16432 (sqrt_test_towardzero): Likewise.
16433 (sqrt_downward_test_data): Likewise.
16434 (sqrt_test_downward): Likewise.
16435 (sqrt_upward_test_data): Likewise.
16436 (sqrt_test_upward): Likewise.
16437 (tan_test_data): Update call to AUTO_TESTS_f_f.
16438 (tan_test): Use ALL_RM_TEST.
16439 (tan_tonearest_test_data): Remove.
16440 (tan_test_tonearest): Likewise.
16441 (tan_towardzero_test_data): Likewise.
16442 (tan_test_towardzero): Likewise.
16443 (tan_downward_test_data): Likewise.
16444 (tan_test_downward): Likewise.
16445 (tan_upward_test_data): Likewise.
16446 (tan_test_upward): Likewise.
16447 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16448 (tgamma_test_data): Likewise.
16449 (y0_test_data): Likewise.
16450 (y1_test_data): Likewise.
16451 (yn_test_data): Update call to AUTO_TESTS_if_f.
16452 (main): Do not call removed functions.
16453
d71aeee8
JM
164542014-03-19 Joseph Myers <joseph@codesourcery.com>
16455
16456 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16457 (ldexp_test_data): Remove.
16458 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16459 scalbn_test_data.
16460 (scalb_test): Use ALL_RM_TEST.
16461
baaf1ded
AS
164622014-03-19 Andreas Schwab <schwab@suse.de>
16463
16464 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16465
b1115e91
JM
164662014-03-19 Joseph Myers <joseph@codesourcery.com>
16467
16468 [BZ #16649]
16469 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16470 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16471 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16472 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16473 (__ASSUME_PREADV): Undefine.
16474 (__ASSUME_PWRITEV): Likewise.
16475
0283ecca
RM
164762014-03-18 Roland McGrath <roland@hack.frob.com>
16477
7d375303
RM
16478 * bits/mman-linux.h: Add comment about non-Linux use.
16479 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16480 bits/mman-linux.h resting place.
16481
0283ecca
RM
16482 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16483 * bits/mman-linux.h: ... here.
16484
aebe1003
AZ
164852014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16486
16487 * conform/conformtest.pl: Add standard definition when calling C
16488 preprocessor on data files.
16489 (checknamespace): Remove unused variable.
16490
b29b6bb8
JM
164912014-03-18 Joseph Myers <joseph@codesourcery.com>
16492
16493 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16494 minus_oflow, plus_uflow and minus_uflow in expected results.
16495 * math/libm-test.inc (scalbn_test_data): Add more tests of
16496 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16497 minus_uflow.
16498 (scalbn_test): Use ALL_RM_TEST.
16499 (scalbln_test_data): Add more tests of negative arguments. Use
16500 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16501 (scalbln_test): Use ALL_RM_TEST.
16502
c8f8fa15
RM
165032014-03-18 Roland McGrath <roland@hack.frob.com>
16504
16505 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16506
fede7a5f
WN
165072014-03-18 Will Newton <will.newton@linaro.org>
16508
16509 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16510 inaccurate comment.
16511
80cf0a58
JM
165122014-03-18 Joseph Myers <joseph@codesourcery.com>
16513
16514 * Makerules [!subdir] (check-abi): Exit with error status if a
16515 test failed.
16516
b3620862
JM
165172014-03-17 Joseph Myers <joseph@codesourcery.com>
16518
16519 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16520 for rint. Include results for all rounding modes.
16521 (nearbyint_test): Use ALL_RM_TEST.
16522 (rint_test_data): Include all tests used for nearbyint.
16523
788bba36
WN
165242014-03-17 Will Newton <will.newton@linaro.org>
16525
04ec140a
WN
16526 * nptl/sysdeps/pthread/pthread.h: Revert previous
16527 change.
16528
7579d8d5
WN
16529 * sysdeps/generic/ldsodefs.h: Revert previous
16530 change.
16531
c15cf13a
WN
16532 * libio/genops.c: Revert previous change.
16533 * libio/libioP.h: Likewise.
16534 * stdio-common/vfprintf.c: Likewise.
16535
d0ac1324
WN
16536 * sysdeps/generic/math_private.h: Revert previous
16537 change.
16538
9290130a
WN
16539 * sysdeps/generic/math_private.h: Check whether
16540 HAVE_RM_CTX is defined with #ifdef rather
16541 than #if.
16542
afb466fc
WN
16543 * argp/argp-fmtstream.h: Check whether
16544 __STRICT_ANSI__ is defined with #ifdef rather
16545 than #if.
16546 * argp/argp.h: Likewise.
16547
f7efd7c3
WN
16548 * libio/genops.c: Check whether
16549 _IO_JUMPS_OFFSET is defined with #ifdef rather
16550 than #if.
16551 * libio/libioP.h: Likewise.
16552 * stdio-common/vfprintf.c: Likewise.
16553
53f1bed3
WN
16554 * sysdeps/generic/ldsodefs.h: Check whether
16555 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16556 than #if.
16557
788bba36
WN
16558 * nptl/sysdeps/pthread/pthread.h: Check
16559 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16560 its value.
16561
fcd89ebe
SP
165622014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16563
ae42bbc5
SP
16564 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16565 setting O_APPEND.
16566 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16567 test case.
16568
ea33158c
SP
16569 [BZ #16680]
16570 * libio/fileops.c (_IO_file_open): Seek to end of file but
16571 don't cache the offset.
16572 (get_file_offset): Remove function.
16573 (do_ftell): Use cached offset when available.
16574 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16575 don't cache the offset.
16576 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16577 case.
16578 (do_one_test): Call it.
16579 (do_ftell_test): Fix up expected old offset for a+ mode.
16580 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16581 available.
16582
b1dbb426
SP
16583 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16584 up test status with function return status.
16585 (do_write_test): Likewise.
16586 (do_append_test): Likewise.
16587
fcd89ebe
SP
16588 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16589 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16590 Remove.
16591
9962a2d3
JM
165922014-03-17 Joseph Myers <joseph@codesourcery.com>
16593
16594 * math/gen-libm-test.pl (parse_args): Handle results specified for
16595 each rounding mode separately.
16596 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16597 tests and results from lrint_tonearest_test_data,
16598 lrint_towardzero_test_data, lrint_downward_test_data and
16599 lrint_upward_test_data.
16600 (lrint_test): Use ALL_RM_TEST.
16601 (lrint_tonearest_test_data): Remove.
16602 (lrint_test_tonearest): Likewise.
16603 (lrint_towardzero_test_data): Likewise.
16604 (lrint_test_towardzero): Likewise.
16605 (lrint_downward_test_data): Likewise.
16606 (lrint_test_downward): Likewise.
16607 (lrint_upward_test_data): Likewise.
16608 (lrint_test_upward): Likewise.
16609 (llrint_test_data): Merge in per-rounding-mode tests and results
16610 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16611 llrint_downward_test_data and llrint_upward_test_data.
16612 (llrint_test): Use ALL_RM_TEST.
16613 (llrint_tonearest_test_data): Remove.
16614 (llrint_test_tonearest): Likewise.
16615 (llrint_towardzero_test_data): Likewise.
16616 (llrint_test_towardzero): Likewise.
16617 (llrint_downward_test_data): Likewise.
16618 (llrint_test_downward): Likewise.
16619 (llrint_upward_test_data): Likewise.
16620 (llrint_test_upward): Likewise.
16621 (rint_test_data): Merge in per-rounding-mode tests and results
16622 from rint_tonearest_test_data, rint_towardzero_test_data,
16623 rint_downward_test_data and rint_upward_test_data. Add
16624 per-rounding-mode results for tests not in those arrays.
16625 (rint_test): Use ALL_RM_TEST.
16626 (rint_tonearest_test_data): Remove.
16627 (rint_test_tonearest): Likewise.
16628 (rint_towardzero_test_data): Likewise.
16629 (rint_test_towardzero): Likewise.
16630 (rint_downward_test_data): Likewise.
16631 (rint_test_downward): Likewise.
16632 (rint_upward_test_data): Likewise.
16633 (rint_test_upward): Likewise.
16634 (main): Don't call removed functions.
16635
5006148e
RM
166362014-03-14 Roland McGrath <roland@hack.frob.com>
16637
16638 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16639 "Compiled on ..." crapola. It is anti-useful.
16640
d6fe5e58
JM
166412014-03-14 Joseph Myers <joseph@codesourcery.com>
16642
16643 * scripts/evaluate-test.sh: Handle fourth argument to determine
16644 whether test run should stop on failure.
16645 * Makeconfig (stop-on-test-failure): New variable.
16646 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16647 $(stop-on-test-failure).
16648 * Makefile (tests): Give a summary of results from testing and
16649 exit with failure status if they include an ERROR or FAIL.
16650 (xtests): Likewise.
16651 * manual/install.texi (Configuring and compiling): Mention
16652 stop-on-test-failure=y.
16653 * INSTALL: Regenerated.
16654
498a2233
RM
166552014-03-14 Roland McGrath <roland@hack.frob.com>
16656
22dbc19d
RM
16657 * scripts/versionlist.awk: New file.
16658 * Makerules [$(build-shared) = yes]
16659 (postclean-generated): Add Versions.def, not Versions.def.v and
16660 Versions.def.v.i.
16661 ($(common-objpfx)Versions.def.v.i): Target removed.
16662 ($(common-objpfx)Versions.def): New target.
16663 ($(common-objpfx)Versions.all): Depend on that rather that
16664 $(common-objpfx)Versions.def.v.
16665 * Versions.def: File removed.
16666
498a2233
RM
16667 * Makeconfig (+gccwarn): Add -Wundef.
16668 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16669 a dl-sysdep.h breaking its contract.
16670 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16671 * include/stackinfo.h: New file.
16672 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16673 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16674 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16675 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16676 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16677 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16678 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16679 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16680 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16681 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16682 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16683 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16684 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16685 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16686 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16687
c7de5025
AZ
166882014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16689
16690 [BZ #16707]
16691 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16692 implementation.
16693 * math/libm-test.inc (round_test_data): Add more tests.
16694
98fb27a3
AZ
16695 [BZ #16706]
16696 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16697 implementation.
16698 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16699
374f7f61
AZ
16700 [BZ #16701]
16701 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16702 implementation.
16703 * math/libm-test.inc (ceil_test_data): Add more tests.
16704
4655c291
AZ
16705 * math/libm-test.inc (trunc_test_data): Add more tests related to
16706 BZ#16414.
16707
d7329d4b
RM
167082014-03-14 Roland McGrath <roland@hack.frob.com>
16709
16710 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16711 with #if rather than #ifdef.
16712 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16713
aa4de9ce
L
167142014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16715
16716 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16717 first. Disable AVX-512 GCC support if assembler doesn't support
16718 it.
16719 * sysdeps/x86_64/configure: Regenerated.
16720
2e03fae7
CD
167212014-03-13 Carlos O'Donell <carlos@redhat.com>
16722
16723 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16724 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16725 (__old_pthread_attr_setstack): Likewise.
16726 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16727 [!_STACK_GROWS_DOWN]: Likewise.
16728
43ca83ec
MF
167292014-03-13 Mike Frysinger <vapier@gentoo.org>
16730
16731 * config.make.in (have-bash2): Delete.
16732 * configure.ac (libc_cv_have_bash2): Delete.
16733 * configure: Regenerate.
16734 * elf/Makefile (common-ldd-rewrite): Rename to ...
16735 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16736 (sh-ldd-rewrite): Delete.
16737 (bash-ldd-rewrite): Delete.
16738 (have-bash2): Delete checks.
57f41c40
AS
16739 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16740 ldd-rewrite.
c66e48b4
MF
16741
16742 * config.make.in (have-ksh): Delete.
16743 (KSH): Delete.
16744 * configure.ac (libc_cv_have_ksh): Delete.
16745 * configure: Regenerate.
16746
b93834ef
MF
16747 * elf/Makefile: Delete $(have-ksh) check.
16748 ($(objpfx)sotruss): Change KSH to BASH.
16749 * elf/sotruss.ksh: Rename to ...
16750 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16751 function style to match POSIX. Drop ksh vim mode setting.
16752
f3a4632a
MF
16753 * manual/time.texi (Specifying the Time Zone with TZ): Change
16754 Tuesday to Thursday.
16755
5896c8bd
MF
16756 * debug/tst-longjmp_chk2.c: Update header comment.
16757 (stackoverflow_handler): Add comment. Call assert on pass value.
16758
2d63a517
IZ
167592014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16760
7e54fd04 16761 [BZ #16194]
2d63a517
IZ
16762 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16763 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16764 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16765 (La_x86_64_vector): Add zmm.
16766 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16767 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16768 ($(objpfx)tst-audit10): New target.
16769 ($(objpfx)tst-audit10.out): Likewise.
16770 (tst-audit10-ENV): New.
16771 (AVX512-CFLAGS): Likewise.
16772 (CFLAGS-tst-audit10.c): Likewise.
16773 (CFLAGS-tst-auditmod10a.c): Likewise.
16774 (CFLAGS-tst-auditmod10b.c): Likewise.
16775 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16776 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16777 * sysdeps/x86_64/configure: Regenerated.
16778 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16779 AVX-512 zmm register support.
16780 (_dl_x86_64_save_sse): Likewise.
16781 (_dl_x86_64_restore_sse): Likewise.
16782 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16783 size vector registers.
16784 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16785 (ZMM_SIZE): Likewise.
16786 * sysdeps/x86_64/tst-audit10.c: New file.
16787 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16788 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16789
44c4e5d5
RM
167902014-03-13 Roland McGrath <roland@hack.frob.com>
16791
16792 * configure.ac (HAVE_EHDR_START): New check.
16793 * configure: Regenerated.
16794 * config.h.in (HAVE_EHDR_START): New #undef.
16795 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16796 assuming the lowest-addressed segment maps the start of the file.
16797
acd6e389
JM
167982014-03-13 Joseph Myers <joseph@codesourcery.com>
16799
16800 * INSTALL: Regenerated.
16801
6f918f36
WN
168022014-03-13 Will Newton <will.newton@linaro.org>
16803
16804 * manual/setjmp.texi (System V contexts): Improve
16805 clarity and grammar of documentation.
16806
798212a0
PP
168072014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16808
16809 [BZ #16381]
798212a0 16810 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16811 (tests-pie): Add tst-pie2.
798212a0
PP
16812 * elf/tst-pie2.c: New file.
16813 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16814 for ET_EXEC.
16815 * elf/rtld.c (map_doit): Load executable as lt_executable.
16816 (dl_main): Likewise.
16817
abe6d90c
JM
168182014-03-12 Joseph Myers <joseph@codesourcery.com>
16819
16820 [BZ #16642]
16821 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16822 (__ASSUME_PSELECT): Undefine.
16823
dd3946c6
AZ
168242014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16825
16826 [BZ #16689]
16827 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16828 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16829 static build.
16830 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16831 selector for static builds.
16832
c44496df
SP
168332014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16834
16835 [BZ #16695]
16836 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16837 key in the buffer.
16838
27c7220a
AZ
168392014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16840
57f41c40
AS
16841 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16842 IFUNC selector for static builds.
27c7220a 16843
600fa361
JM
168442014-03-11 Joseph Myers <joseph@codesourcery.com>
16845
76c96cf7
JM
16846 * sysdeps/mips/math_private.h [__mips_hard_float]
16847 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16848 libc_feresetround_mips_ctx.
16849 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16850 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16851 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16852
600fa361
JM
16853 [BZ #16677]
16854 * math/s_nextafter.c (__nextafter): Do not return value from
16855 overflowing computation.
16856 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16857 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16858 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16859 Likewise.
16860 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16861 Likewise.
16862 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16863 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16864
d7706c32
RM
168652014-03-11 Roland McGrath <roland@hack.frob.com>
16866
16867 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16868 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16869 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16870 the new mov targetting sp.
16871
4facea47
AZ
168722014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16873
16874 [BZ #16683]
16875 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16876 Define it for static builds as well.
16877 (NO_BZERO_IMPL): Likewise.
16878
e65caf1f
VR
168792014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16880
16881 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16882 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16883 multiarch strspn for PPC64.
16884 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16885 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16886 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16887 (__libc_ifunc_impl_list): Likewise.
16888 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16889 multiarch optimizations
16890 * string/strspn.c (strspn): Using macro to redefine symbol name.
16891
ba9cc071
AZ
168922014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16893 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16894
16895 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16896 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16897 multiarch strncat for PPC64.
16898 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16899 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16901 (__libc_ifunc_impl_list): Likewise.
16902 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16903 multiarch optimizations
16904
8b4ff974
SP
169052014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16906
16907 [BZ #16639]
16908 * nscd/nscd.service: Make service type forking.
16909
54b46a4b
AZ
169102014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16911
16912 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16913 sign in non default rounding modes.
16914 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16915
e9996ef7
JM
169162014-03-08 Joseph Myers <joseph@codesourcery.com>
16917
16918 * math/libm-test.inc (ALL_RM_TEST): New macro.
16919 (ceil_test): Use ALL_RM_TEST.
16920 (cimag_test): Likewise.
16921 (conj_test): Likewise.
16922 (copysign_test): Likewise.
16923 (cproj_test): Likewise.
16924 (creal_test): Likewise.
16925 (fabs_test): Likewise.
16926 (floor_test): Likewise.
16927 (fmax_test): Likewise.
16928 (fmin_test): Likewise.
16929 (fmod_test): Likewise.
16930 (fpclassify_test): Likewise.
16931 (frexp_test): Likewise.
16932 (ilogb_test): Likewise.
16933 (isfinite_test): Likewise.
16934 (finite_test): Likewise.
16935 (isgreater_test): Likewise.
16936 (isgreaterequal_test): Likewise.
16937 (isinf_test): Likewise.
16938 (isless_test): Likewise.
16939 (islessequal_test): Likewise.
16940 (islessgreater_test): Likewise.
16941 (isnan_test): Likewise.
16942 (isnormal_test): Likewise.
16943 (issignaling_test): Likewise.
16944 (isunordered_test): Likewise.
16945 (logb_test): Likewise.
16946 (logb_downward_test_data): Remove.
16947 (logb_test_downward): Likewise.
16948 (lround_test): Use ALL_RM_TEST.
16949 (llround_test): Likewise.
16950 (modf_test): Likewise.
16951 (nexttoward_test): Likewise.
16952 (remainder_test): Likewise.
16953 (drem_test): Likewise.
16954 (remainder_tonearest_test_data): Likewise.
16955 (remainder_test_tonearest): Likewise.
16956 (drem_test_tonearest): Likewise.
16957 (remainder_towardzero_test_data): Likewise.
16958 (remainder_test_towardzero): Likewise.
16959 (drem_test_towardzero): Likewise.
16960 (remainder_downward_test_data): Likewise.
16961 (remainder_test_downward): Likewise.
16962 (drem_test_downward): Likewise.
16963 (remainder_upward_test_data): Likewise.
16964 (remainder_test_upward): Likewise.
16965 (drem_test_upward): Likewise.
16966 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
16967 (round_test): Use ALL_RM_TEST.
16968 (signbit_test): Likewise.
16969 (trunc_test): Likewise.
16970 (significand_test): Likewise.
16971 (main): Don't call removed functions.
16972
bc61d27c
JM
169732014-03-07 Joseph Myers <joseph@codesourcery.com>
16974
5c780849
JM
16975 [BZ #16674]
16976 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
16977 || __USE_XOPEN2K8].
16978 (ILL_ILLOPN): Likewise.
16979 (ILL_ILLADR): Likewise.
16980 (ILL_ILLTRP): Likewise.
16981 (ILL_PRVOPC): Likewise.
16982 (ILL_PRVREG): Likewise.
16983 (ILL_COPROC): Likewise.
16984 (ILL_BADSTK): Likewise.
16985 (FPE_INTDIV): Likewise.
16986 (FPE_INTOVF): Likewise.
16987 (FPE_FLTDIV): Likewise.
16988 (FPE_FLTOVF): Likewise.
16989 (FPE_FLTUND): Likewise.
16990 (FPE_FLTRES): Likewise.
16991 (FPE_FLTINV): Likewise.
16992 (FPE_FLTSUB): Likewise.
16993 (SEGV_MAPERR): Likewise.
16994 (SEGV_ACCERR): Likewise.
16995 (BUS_ADRALN): Likewise.
16996 (BUS_ADRERR): Likewise.
16997 (BUS_OBJERR): Likewise.
16998 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16999 (TRAP_TRACE): Likewise.
17000 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17001 __USE_XOPEN2K8].
17002 (CLD_KILLED): Likewise.
17003 (CLD_DUMPED): Likewise.
17004 (CLD_TRAPPED): Likewise.
17005 (CLD_STOPPED): Likewise.
17006 (CLD_CONTINUED): Likewise.
17007 (POLL_IN): Likewise.
17008 (POLL_OUT): Likewise.
17009 (POLL_MSG): Likewise.
17010 (POLL_ERR): Likewise.
17011 (POLL_PRI): Likewise.
17012 (POLL_HUP): Likewise.
17013 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17014 Likewise.
17015 (ILL_ILLOPN): Likewise.
17016 (ILL_ILLADR): Likewise.
17017 (ILL_ILLTRP): Likewise.
17018 (ILL_PRVOPC): Likewise.
17019 (ILL_PRVREG): Likewise.
17020 (ILL_COPROC): Likewise.
17021 (ILL_BADSTK): Likewise.
17022 (FPE_INTDIV): Likewise.
17023 (FPE_INTOVF): Likewise.
17024 (FPE_FLTDIV): Likewise.
17025 (FPE_FLTOVF): Likewise.
17026 (FPE_FLTUND): Likewise.
17027 (FPE_FLTRES): Likewise.
17028 (FPE_FLTINV): Likewise.
17029 (FPE_FLTSUB): Likewise.
17030 (SEGV_MAPERR): Likewise.
17031 (SEGV_ACCERR): Likewise.
17032 (BUS_ADRALN): Likewise.
17033 (BUS_ADRERR): Likewise.
17034 (BUS_OBJERR): Likewise.
17035 (BUS_MCEERR_AR): Likewise.
17036 (BUS_MCEERR_AO): Likewise.
17037 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17038 (TRAP_TRACE): Likewise.
17039 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17040 __USE_XOPEN2K8].
17041 (CLD_KILLED): Likewise.
17042 (CLD_DUMPED): Likewise.
17043 (CLD_TRAPPED): Likewise.
17044 (CLD_STOPPED): Likewise.
17045 (CLD_CONTINUED): Likewise.
17046 (POLL_IN): Likewise.
17047 (POLL_OUT): Likewise.
17048 (POLL_MSG): Likewise.
17049 (POLL_ERR): Likewise.
17050 (POLL_PRI): Likewise.
17051 (POLL_HUP): Likewise.
17052 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17053 (ILL_ILLOPN): Likewise.
17054 (ILL_ILLADR): Likewise.
17055 (ILL_ILLTRP): Likewise.
17056 (ILL_PRVOPC): Likewise.
17057 (ILL_PRVREG): Likewise.
17058 (ILL_COPROC): Likewise.
17059 (ILL_BADSTK): Likewise.
17060 (FPE_INTDIV): Likewise.
17061 (FPE_INTOVF): Likewise.
17062 (FPE_FLTDIV): Likewise.
17063 (FPE_FLTOVF): Likewise.
17064 (FPE_FLTUND): Likewise.
17065 (FPE_FLTRES): Likewise.
17066 (FPE_FLTINV): Likewise.
17067 (FPE_FLTSUB): Likewise.
17068 (SEGV_MAPERR): Likewise.
17069 (SEGV_ACCERR): Likewise.
17070 (BUS_ADRALN): Likewise.
17071 (BUS_ADRERR): Likewise.
17072 (BUS_OBJERR): Likewise.
17073 (BUS_MCEERR_AR): Likewise.
17074 (BUS_MCEERR_AO): Likewise.
17075 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17076 (TRAP_TRACE): Likewise.
17077 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17078 __USE_XOPEN2K8].
17079 (CLD_KILLED): Likewise.
17080 (CLD_DUMPED): Likewise.
17081 (CLD_TRAPPED): Likewise.
17082 (CLD_STOPPED): Likewise.
17083 (CLD_CONTINUED): Likewise.
17084 (POLL_IN): Likewise.
17085 (POLL_OUT): Likewise.
17086 (POLL_MSG): Likewise.
17087 (POLL_ERR): Likewise.
17088 (POLL_PRI): Likewise.
17089 (POLL_HUP): Likewise.
17090 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17091 Likewise.
17092 (ILL_ILLOPN): Likewise.
17093 (ILL_ILLADR): Likewise.
17094 (ILL_ILLTRP): Likewise.
17095 (ILL_PRVOPC): Likewise.
17096 (ILL_PRVREG): Likewise.
17097 (ILL_COPROC): Likewise.
17098 (ILL_BADSTK): Likewise.
17099 (ILL_BADIADDR): Likewise.
17100 (ILL_BREAK): Likewise.
17101 (FPE_INTDIV): Likewise.
17102 (FPE_INTOVF): Likewise.
17103 (FPE_FLTDIV): Likewise.
17104 (FPE_FLTOVF): Likewise.
17105 (FPE_FLTUND): Likewise.
17106 (FPE_FLTRES): Likewise.
17107 (FPE_FLTINV): Likewise.
17108 (FPE_FLTSUB): Likewise.
17109 (FPE_DECOVF): Likewise.
17110 (FPE_DECDIV): Likewise.
17111 (FPE_DECERR): Likewise.
17112 (FPE_INVASC): Likewise.
17113 (FPE_INVDEC): Likewise.
17114 (SEGV_MAPERR): Likewise.
17115 (SEGV_ACCERR): Likewise.
17116 (SEGV_PSTKOVF): Likewise.
17117 (BUS_ADRALN): Likewise.
17118 (BUS_ADRERR): Likewise.
17119 (BUS_OBJERR): Likewise.
17120 (BUS_MCEERR_AR): Likewise.
17121 (BUS_MCEERR_AO): Likewise.
17122 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17123 (TRAP_TRACE): Likewise.
17124 (TRAP_BRANCH): Likewise.
17125 (TRAP_HWBKPT): Likewise.
17126 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17127 __USE_XOPEN2K8].
17128 (CLD_KILLED): Likewise.
17129 (CLD_DUMPED): Likewise.
17130 (CLD_TRAPPED): Likewise.
17131 (CLD_STOPPED): Likewise.
17132 (CLD_CONTINUED): Likewise.
17133 (POLL_IN): Likewise.
17134 (POLL_OUT): Likewise.
17135 (POLL_MSG): Likewise.
17136 (POLL_ERR): Likewise.
17137 (POLL_PRI): Likewise.
17138 (POLL_HUP): Likewise.
17139 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17140 (ILL_ILLOPN): Likewise.
17141 (ILL_ILLADR): Likewise.
17142 (ILL_ILLTRP): Likewise.
17143 (ILL_PRVOPC): Likewise.
17144 (ILL_PRVREG): Likewise.
17145 (ILL_COPROC): Likewise.
17146 (ILL_BADSTK): Likewise.
17147 (FPE_INTDIV): Likewise.
17148 (FPE_INTOVF): Likewise.
17149 (FPE_FLTDIV): Likewise.
17150 (FPE_FLTOVF): Likewise.
17151 (FPE_FLTUND): Likewise.
17152 (FPE_FLTRES): Likewise.
17153 (FPE_FLTINV): Likewise.
17154 (FPE_FLTSUB): Likewise.
17155 (SEGV_MAPERR): Likewise.
17156 (SEGV_ACCERR): Likewise.
17157 (BUS_ADRALN): Likewise.
17158 (BUS_ADRERR): Likewise.
17159 (BUS_OBJERR): Likewise.
17160 (BUS_MCEERR_AR): Likewise.
17161 (BUS_MCEERR_AO): Likewise.
17162 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17163 (TRAP_TRACE): Likewise.
17164 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17165 __USE_XOPEN2K8].
17166 (CLD_KILLED): Likewise.
17167 (CLD_DUMPED): Likewise.
17168 (CLD_TRAPPED): Likewise.
17169 (CLD_STOPPED): Likewise.
17170 (CLD_CONTINUED): Likewise.
17171 (POLL_IN): Likewise.
17172 (POLL_OUT): Likewise.
17173 (POLL_MSG): Likewise.
17174 (POLL_ERR): Likewise.
17175 (POLL_PRI): Likewise.
17176 (POLL_HUP): Likewise.
17177 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17178 (ILL_ILLOPN): Likewise.
17179 (ILL_ILLADR): Likewise.
17180 (ILL_ILLTRP): Likewise.
17181 (ILL_PRVOPC): Likewise.
17182 (ILL_PRVREG): Likewise.
17183 (ILL_COPROC): Likewise.
17184 (ILL_BADSTK): Likewise.
17185 (FPE_INTDIV): Likewise.
17186 (FPE_INTOVF): Likewise.
17187 (FPE_FLTDIV): Likewise.
17188 (FPE_FLTOVF): Likewise.
17189 (FPE_FLTUND): Likewise.
17190 (FPE_FLTRES): Likewise.
17191 (FPE_FLTINV): Likewise.
17192 (FPE_FLTSUB): Likewise.
17193 (SEGV_MAPERR): Likewise.
17194 (SEGV_ACCERR): Likewise.
17195 (BUS_ADRALN): Likewise.
17196 (BUS_ADRERR): Likewise.
17197 (BUS_OBJERR): Likewise.
17198 (BUS_MCEERR_AR): Likewise.
17199 (BUS_MCEERR_AO): Likewise.
17200 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17201 (TRAP_TRACE): Likewise.
17202 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17203 __USE_XOPEN2K8].
17204 (CLD_KILLED): Likewise.
17205 (CLD_DUMPED): Likewise.
17206 (CLD_TRAPPED): Likewise.
17207 (CLD_STOPPED): Likewise.
17208 (CLD_CONTINUED): Likewise.
17209 (POLL_IN): Likewise.
17210 (POLL_OUT): Likewise.
17211 (POLL_MSG): Likewise.
17212 (POLL_ERR): Likewise.
17213 (POLL_PRI): Likewise.
17214 (POLL_HUP): Likewise.
17215 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17216 (ILL_ILLOPN): Likewise.
17217 (ILL_ILLADR): Likewise.
17218 (ILL_ILLTRP): Likewise.
17219 (ILL_PRVOPC): Likewise.
17220 (ILL_PRVREG): Likewise.
17221 (ILL_COPROC): Likewise.
17222 (ILL_BADSTK): Likewise.
17223 (FPE_INTDIV): Likewise.
17224 (FPE_INTOVF): Likewise.
17225 (FPE_FLTDIV): Likewise.
17226 (FPE_FLTOVF): Likewise.
17227 (FPE_FLTUND): Likewise.
17228 (FPE_FLTRES): Likewise.
17229 (FPE_FLTINV): Likewise.
17230 (FPE_FLTSUB): Likewise.
17231 (SEGV_MAPERR): Likewise.
17232 (SEGV_ACCERR): Likewise.
17233 (BUS_ADRALN): Likewise.
17234 (BUS_ADRERR): Likewise.
17235 (BUS_OBJERR): Likewise.
17236 (BUS_MCEERR_AR): Likewise.
17237 (BUS_MCEERR_AO): Likewise.
17238 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17239 (TRAP_TRACE): Likewise.
17240 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17241 __USE_XOPEN2K8].
17242 (CLD_KILLED): Likewise.
17243 (CLD_DUMPED): Likewise.
17244 (CLD_TRAPPED): Likewise.
17245 (CLD_STOPPED): Likewise.
17246 (CLD_CONTINUED): Likewise.
17247 (POLL_IN): Likewise.
17248 (POLL_OUT): Likewise.
17249 (POLL_MSG): Likewise.
17250 (POLL_ERR): Likewise.
17251 (POLL_PRI): Likewise.
17252 (POLL_HUP): Likewise.
17253 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17254 (ILL_ILLOPN): Likewise.
17255 (ILL_ILLADR): Likewise.
17256 (ILL_ILLTRP): Likewise.
17257 (ILL_PRVOPC): Likewise.
17258 (ILL_PRVREG): Likewise.
17259 (ILL_COPROC): Likewise.
17260 (ILL_BADSTK): Likewise.
17261 (ILL_DBLFLT): Likewise.
17262 (ILL_HARDWALL): Likewise.
17263 (FPE_INTDIV): Likewise.
17264 (FPE_INTOVF): Likewise.
17265 (FPE_FLTDIV): Likewise.
17266 (FPE_FLTOVF): Likewise.
17267 (FPE_FLTUND): Likewise.
17268 (FPE_FLTRES): Likewise.
17269 (FPE_FLTINV): Likewise.
17270 (FPE_FLTSUB): Likewise.
17271 (SEGV_MAPERR): Likewise.
17272 (SEGV_ACCERR): Likewise.
17273 (BUS_ADRALN): Likewise.
17274 (BUS_ADRERR): Likewise.
17275 (BUS_OBJERR): Likewise.
17276 (BUS_MCEERR_AR): Likewise.
17277 (BUS_MCEERR_AO): Likewise.
17278 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17279 (TRAP_TRACE): Likewise.
17280 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17281 __USE_XOPEN2K8].
17282 (CLD_KILLED): Likewise.
17283 (CLD_DUMPED): Likewise.
17284 (CLD_TRAPPED): Likewise.
17285 (CLD_STOPPED): Likewise.
17286 (CLD_CONTINUED): Likewise.
17287 (POLL_IN): Likewise.
17288 (POLL_OUT): Likewise.
17289 (POLL_MSG): Likewise.
17290 (POLL_ERR): Likewise.
17291 (POLL_PRI): Likewise.
17292 (POLL_HUP): Likewise.
17293 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17294 (ILL_ILLOPN): Likewise.
17295 (ILL_ILLADR): Likewise.
17296 (ILL_ILLTRP): Likewise.
17297 (ILL_PRVOPC): Likewise.
17298 (ILL_PRVREG): Likewise.
17299 (ILL_COPROC): Likewise.
17300 (ILL_BADSTK): Likewise.
17301 (FPE_INTDIV): Likewise.
17302 (FPE_INTOVF): Likewise.
17303 (FPE_FLTDIV): Likewise.
17304 (FPE_FLTOVF): Likewise.
17305 (FPE_FLTUND): Likewise.
17306 (FPE_FLTRES): Likewise.
17307 (FPE_FLTINV): Likewise.
17308 (FPE_FLTSUB): Likewise.
17309 (SEGV_MAPERR): Likewise.
17310 (SEGV_ACCERR): Likewise.
17311 (BUS_ADRALN): Likewise.
17312 (BUS_ADRERR): Likewise.
17313 (BUS_OBJERR): Likewise.
17314 (BUS_MCEERR_AR): Likewise.
17315 (BUS_MCEERR_AO): Likewise.
17316 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17317 (TRAP_TRACE): Likewise.
17318 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17319 __USE_XOPEN2K8].
17320 (CLD_KILLED): Likewise.
17321 (CLD_DUMPED): Likewise.
17322 (CLD_TRAPPED): Likewise.
17323 (CLD_STOPPED): Likewise.
17324 (CLD_CONTINUED): Likewise.
17325 (POLL_IN): Likewise.
17326 (POLL_OUT): Likewise.
17327 (POLL_MSG): Likewise.
17328 (POLL_ERR): Likewise.
17329 (POLL_PRI): Likewise.
17330 (POLL_HUP): Likewise.
17331 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17332 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17333
bc61d27c
JM
17334 [BZ #16670]
17335 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17336 before #include of <time.h>.
17337 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17338 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17339 (test-xfail-UNIX98/sched.h/conform): Likewise.
17340
302949e2
MS
173412014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17342
17343 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17344 error absence of trapping exception support.
17345 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17346
a00f522a
JM
173472014-03-07 Joseph Myers <joseph@codesourcery.com>
17348
6f99f280
JM
17349 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17350 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17351 * timezone/Makefile (testdata): Move definition above include of
17352 Rules.
17353 (test-zones): New variable.
17354 (tests-special): Add zone files.
17355 (build-testdata): Use $(evaluate-test).
17356
0b20a9e8
JM
17357 * elf/Makefile (tests-special): Rename tests to end with .out.
17358 ($(objpfx)noload-mem): Likewise.
17359 ($(objpfx)tst-leaks1-mem): Likewise.
17360 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17361 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17362 $(objpfx)test-iconvconfig.out.
17363 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17364 set -e inside subshell and redirect output to file.
17365 * iconvdata/Makefile (generated): Rename tests to end with .out.
17366 Correct type.
17367 (tests-special): Rename tests to end with .out.
17368 ($(objpfx)mtrace-tst-loading): Likewise.
17369 * intl/Makefile (generated): Likewise.
17370 (tests-special): Likewise.
17371 ($(objpfx)mtrace-tst-gettext): Likewise.
17372 * misc/Makefile (generated): Likewise.
17373 (tests-special): Likewise.
17374 ($(objpfx)tst-error1-mem): Likewise.
17375 * nptl/Makefile (tests-special): Likewise.
17376 ($(objpfx)tst-stack3-mem): Likewise.
17377 (generated): Likewise.
17378 * posix/Makefile (generated): Likewise.
17379 (tests-special): Likewise.
17380 (xtests-special): Likewise.
17381 ($(objpfx)tst-fnmatch-mem): Likewise.
17382 ($(objpfx)bug-regex2-mem): Likewise.
17383 ($(objpfx)bug-regex14-mem): Likewise.
17384 ($(objpfx)bug-regex21-mem): Likewise.
17385 ($(objpfx)bug-regex31-mem): Likewise.
17386 ($(objpfx)tst-vfork3-mem): Likewise.
17387 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17388 ($(objpfx)tst-pcre-mem): Likewise.
17389 ($(objpfx)tst-boost-mem): Likewise.
17390 ($(objpfx)bug-ga2-mem): Likewise.
17391 ($(objpfx)bug-glob2-mem): Likewise.
17392 * resolv/Makefile (generate): Likewise.
17393 (tests-special): Likewise.
17394 (xtests-special): Likewise.
17395 (generated): Likewise.
17396 ($(objpfx)mtrace-tst-leaks): Likewise.
17397 ($(objpfx)mtrace-tst-leaks2): Likewise.
17398
265d52ab
JM
17399 * scripts/merge-test-results.sh: New file.
17400 * Makefile (tests-special-notdir): New variable.
17401 (tests): Run merge-test-results.sh.
17402 (xtests): Likewise.
17403 * Rules (tests-special-notdir): New variable.
17404 (xtests-special-notdir): Likewise.
17405 (tests): Run merge-test-results.sh
17406 (xtests): Likewise.
17407
54ee292d
JM
17408 * Makeconfig (test-xfail-name): New variable.
17409 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17410 compute variable name for expected failures.
17411 * conform/Makefile (conformtest-headers-data): New variable.
17412 (conformtest-standards): Likewise.
17413 (conformtest-headers-ISO): Likewise.
17414 (conformtest-headers-ISO99): Likewise.
17415 (conformtest-headers-ISO11): Likewise.
17416 (conformtest-headers-POSIX): Likewise.
17417 (conformtest-headers-XPG3): Likewise.
17418 (conformtest-headers-XPG4): Likewise.
17419 (conformtest-headers-UNIX98): Likewise.
17420 (conformtest-headers-XOPEN2K): Likewise.
17421 (conformtest-headers-POSIX2008): Likewise.
17422 (conformtest-headers-XOPEN2K8): Likewise.
17423 (conformtest-header-list-base): Likewise.
17424 (conformtest-header-list-tests): Likewise.
17425 (conformtest-header-base): Likewise.
17426 (conformtest-header-tests): Likewise.
17427 (tests-special): Add $(conformtest-header-list-tests). If
17428 [$(fast-check) && !$(cross-compiling)], add
17429 $(conformtest-header-tests) instead of
17430 $(objpfx)run-conformtest.out.
17431 (generated): Add $(conformtest-header-list-base). If
17432 [$(fast-check) && !$(cross-compiling)], add
17433 $(conformtest-header-base). Remove previous setting.
17434 ($(conformtest-header-list-tests)): New target.
17435 (test-xfail-run-conformtest): Remove variable.
17436 ($(objpfx)run-conformtest.out): Remove target.
17437 (test-xfail-ISO11/complex.h/conform): New variable.
17438 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17439 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17440 (test-xfail-XPG3/varargs.h/conform): Likewise.
17441 (test-xfail-XPG4/varargs.h/conform): Likewise.
17442 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17443 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17444 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17445 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17446 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17447 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17448 (test-xfail-XPG3/ftw.h/conform): Likewise.
17449 (test-xfail-XPG3/grp.h/conform): Likewise.
17450 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17451 (test-xfail-XPG3/limits.h/conform): Likewise.
17452 (test-xfail-XPG3/pwd.h/conform): Likewise.
17453 (test-xfail-XPG3/search.h/conform): Likewise.
17454 (test-xfail-XPG3/signal.h/conform): Likewise.
17455 (test-xfail-XPG3/stdio.h/conform): Likewise.
17456 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17457 (test-xfail-XPG3/string.h/conform): Likewise.
17458 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17459 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17460 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17461 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17462 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17463 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17464 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17465 (test-xfail-XPG3/termios.h/conform): Likewise.
17466 (test-xfail-XPG3/time.h/conform): Likewise.
17467 (test-xfail-XPG3/unistd.h/conform): Likewise.
17468 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17469 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17470 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17471 (test-xfail-XPG4/netdb.h/conform): Likewise.
17472 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17473 (test-xfail-XPG4/signal.h/conform): Likewise.
17474 (test-xfail-XPG4/stdio.h/conform): Likewise.
17475 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17476 (test-xfail-XPG4/stropts.h/conform): Likewise.
17477 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17478 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17479 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17480 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17481 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17482 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17483 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17484 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17485 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17486 (test-xfail-XPG4/termios.h/conform): Likewise.
17487 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17488 (test-xfail-XPG4/unistd.h/conform): Likewise.
17489 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17490 (test-xfail-POSIX/sched.h/conform): Likewise.
17491 (test-xfail-POSIX/signal.h/conform): Likewise.
17492 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17493 (test-xfail-POSIX/tar.h/conform): Likewise.
17494 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17495 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17496 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17497 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17498 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17499 (test-xfail-UNIX98/sched.h/conform): Likewise.
17500 (test-xfail-UNIX98/signal.h/conform): Likewise.
17501 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17502 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17503 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17504 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17505 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17506 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17507 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17508 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17509 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17510 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17511 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17512 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17513 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17514 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17515 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17516 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17517 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17518 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17519 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17520 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17521 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17522 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17523 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17524 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17525 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17526 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17527 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17528 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17529 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17530 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17531 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17532 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17533 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17534 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17535 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17536 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17537 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17538 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17539 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17540 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17541 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17542 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17543 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17544 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17545 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17546 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17547 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17548 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17549 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17550 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17551 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17552 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17553 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17554 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17555 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17556 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17557 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17558 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17559 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17560 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17561 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17562 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17563 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17564 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17565 (conformtest-cc-flags): Likewise.
17566 ($(conformtest-header-tests): New target.
17567 * conform/check-header-lists.sh: New file.
17568 * conform/run-conformtest.sh: Remove.
17569
a00f522a
JM
17570 * conform/conformtest.pl: Allow ' and \ in values given for
17571 constants.
17572 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17573 inclusion.
17574 [POSIX] (sys/types.h): Likewise.
17575 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17576 inclusion.
17577 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17578 inclusion.
17579 * conform/data/signal.h-data (SIGIO): Remove expectation.
17580 [XPG3] (SIGBUS): Do not expect.
17581 [POSIX || XPG3] (SIGPOLL): Likewise.
17582 [POSIX || XPG3] (SIGPROF): Likewise.
17583 [POSIX || XPG3] (SIGSYS): Likewise.
17584 [XPG3] (SIGTRAP): Likewise.
17585 [POSIX || XPG3] (SIGURG): Likewise.
17586 [POSIX || XPG3] (SIGVTALRM): Likewise.
17587 [POSIX || XPG3] (SIGXCPU): Likewise.
17588 [POSIX || XPG3] (SIGXFSZ): Likewise.
17589 [POSIX] (SA_SIGINFO): Expect.
17590 [XPG3] (siginfo_t): Do not expect type or contents.
17591 [POSIX] (si_pid): Do not expect element.
17592 [POSIX] (si_uid): Likewise.
17593 [POSIX] (si_addr): Likewise.
17594 [POSIX] (si_status): Likewise.
17595 [POSIX] (si_band): Likewise.
17596 [XPG4] (si_value): Likewise.
17597 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17598 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17599 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17600 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17601 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17602 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17603 [POSIX || XPG3] (ILL_COPROC): Likewise.
17604 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17605 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17606 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17607 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17608 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17609 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17610 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17611 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17612 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17613 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17614 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17615 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17616 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17617 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17618 [POSIX || XPG3] (CLD_EXITED): Likewise.
17619 [POSIX || XPG3] (CLD_KILLED): Likewise.
17620 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17621 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17622 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17623 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17624 [POSIX || XPG3] (POLL_IN): Likewise.
17625 [POSIX || XPG3] (POLL_OUT): Likewise.
17626 [POSIX || XPG3] (POLL_MSG): Likewise.
17627 [POSIX || XPG3] (POLL_ERR): Likewise.
17628 [POSIX || XPG3] (POLL_PRI): Likewise.
17629 [POSIX || XPG3] (POLL_HUP): Likewise.
17630 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17631 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17632 (SIG*): Do not allow.
17633 [XPG3] (si_*): Likewise.
17634 [XPG3] (SI_*): Likewise.
17635 [XPG3 || XPG4] (sigev_*): Likewise.
17636 [XPG3 || XPG4] (SIGEV_*): Likewise.
17637 [XPG3 || XPG4] (sival_*): Likewise.
17638 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17639 [POSIX || XPG3] (BUS_*): Likewise.
17640 [POSIX || XPG3] (CLD_*): Likewise.
17641 [POSIX || XPG3] (FPE_*): Likewise.
17642 [POSIX || XPG3] (ILL_*): Likewise.
17643 [POSIX || XPG3] (POLL_*): Likewise.
17644 [POSIX || XPG3] (SEGV_*): Likewise.
17645 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17646 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17647 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17648 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17649 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17650 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17651 Specify type and value.
17652 (TVERSLEN): Likewise.
17653 (REGTYPE): Likewise.
17654 (AREGTYPE): Likewise.
17655 (LNKTYPE): Likewise.
17656 (SYMTYPE): Likewise.
17657 (CHRTYPE): Likewise.
17658 (BLKTYPE): Likewise.
17659 (DIRTYPE): Likewise.
17660 (FIFOTYPE): Likewise.
17661 (CONTTYPE): Likewise.
17662 (TSUID): Likewise.
17663 (TSGID): Likewise.
17664 (TSVTX): Likewise.
17665 (TUREAD): Likewise.
17666 (TUWRITE): Likewise.
17667 (TUEXEC): Likewise.
17668 (TGREAD): Likewise.
17669 (TGWRITE): Likewise.
17670 (TGEXEC): Likewise.
17671 (TOREAD): Likewise.
17672 (TOWRITE): Likewise.
17673 (TOEXEC): Likewise.
17674 [POSIX] (TSVTX): Expect constant.
17675
aa97dee1
JM
176762014-03-06 Joseph Myers <joseph@codesourcery.com>
17677
f214606a
JM
17678 * Makefile (tests): Change dependencies to ....
17679 (tests-special): ... additions to this variable.
17680 (tests): Depend on $(tests-special).
17681 * Makerules (check-abi-list): New variable.
17682 (check-abi): Depend on $(check-abi-list).
17683 [$(subdir) = elf] (tests-special): Add
17684 $(objpfx)check-abi-libc.out.
17685 [$(build-shared) = yes && subdir] (tests-special): Add
17686 $(check-abi-list).
17687 [$(build-shared) = yes && subdir] (tests): Do not depend on
17688 check-abi.
17689 * Rules (tests): Depend on $(tests-special).
17690 (xtests): Depend on $(xtests-special).
17691 * catgets/Makefile (tests): Change dependencies to ....
17692 (tests-special): ... additions to this variable.
17693 * conform/Makefile (tests): Change dependencies to ....
17694 (tests-special): ... additions to this variable.
17695 * elf/Makefile (tests): Change dependencies to ....
17696 (tests-special): ... additions to this variable.
17697 * grp/Makefile (tests): Change dependencies to ....
17698 (tests-special): ... additions to this variable.
17699 * iconv/Makefile (xtests): Change dependencies to ....
17700 (xtests-special): ... additions to this variable.
17701 * iconvdata/Makefile (tests): Change dependencies to ....
17702 (tests-special): ... additions to this variable.
17703 * intl/Makefile (tests): Change dependencies to ....
17704 (tests-special): ... additions to this variable. Also add
17705 $(objpfx)tst-gettext.out.
17706 * io/Makefile (tests): Change dependencies to ....
17707 (tests-special): ... additions to this variable.
17708 * libio/Makefile (tests): Change dependencies to ....
17709 (tests-special): ... additions to this variable.
17710 * malloc/Makefile (tests): Change dependencies to ....
17711 (tests-special): ... additions to this variable.
17712 * misc/Makefile (tests): Change dependencies to ....
17713 (tests-special): ... additions to this variable.
17714 * nptl/Makefile (tests): Change dependencies to ....
17715 (tests-special): ... additions to this variable.
17716 * nptl_db/Makefile (tests): Change dependencies to ....
17717 (tests-special): ... additions to this variable.
17718 * posix/Makefile (tests): Change dependencies to ....
17719 (tests-special): ... additions to this variable.
17720 (xtests): Change dependencies to ....
17721 (xtests-special): ... additions to this variable.
17722 * resolv/Makefile (tests): Change dependencies to ....
17723 (tests-special): ... additions to this variable.
17724 (xtests): Change dependencies to ....
17725 (xtests-special): ... additions to this variable.
17726 * stdio-common/Makefile (tests): Change dependencies to ....
17727 (tests-special): ... additions to this variable.
17728 (do-tst-unbputc): Remove target.
17729 (do-tst-printf): Likewise.
17730 * stdlib/Makefile (tests): Change dependencies to ....
17731 (tests-special): ... additions to this variable.
17732 * string/Makefile (tests): Change dependencies to ....
17733 (tests-special): ... additions to this variable.
17734 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17735 (tests-special): ... additions to this variable.
17736
81700b53
JM
17737 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17738 whole file.
17739 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17740 whole file.
17741 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17742 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17743
2ea18461
JM
17744 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17745 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17746 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17747 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17748 * conform/data/libgen.h-data [XPG3]: Likewise.
17749 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17750 * conform/data/ndbm.h-data [XPG3]: Likewise.
17751 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17752 * conform/data/netdb.h-data [XPG3]: Likewise.
17753 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17754 * conform/data/poll.h-data [XPG3]: Likewise.
17755 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17756 * conform/data/strings.h-data [XPG3]: Likewise.
17757 * conform/data/stropts.h-data [XPG3]: Likewise.
17758 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17759 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17760 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17761 Likewise.
17762 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17763 * conform/data/sys/time.h-data [XPG3]: Likewise.
17764 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17765 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17766 * conform/data/sys/un.h-data [XPG3]: Likewise.
17767 * conform/data/syslog.h-data [XPG3]: Likewise.
17768 * conform/data/ucontext.h-data [XPG3]: Likewise.
17769 * conform/data/utmpx.h-data [XPG3]: Likewise.
17770 * conform/data/varargs.h-data [UNIX98]: Enable file.
17771
355bc986
JM
17772 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17773
215db402
JM
17774 * math/libm-test.inc (struct test_f_f_data): Move expected results
17775 into structure for each rounding mode.
17776 (struct test_ff_f_data): Likewise.
17777 (struct test_ff_f_data_nexttoward): Likewise.
17778 (struct test_fi_f_data): Likewise.
17779 (struct test_fl_f_data): Likewise.
17780 (struct test_if_f_data): Likewise.
17781 (struct test_fff_f_data): Likewise.
17782 (struct test_c_f_data): Likewise.
17783 (struct test_f_f1_data): Likewise.
17784 (struct test_fF_f1_data): Likewise.
17785 (struct test_ffI_f1_data): Likewise.
17786 (struct test_c_c_data): Likewise.
17787 (struct test_cc_c_data): Likewise.
17788 (struct test_f_i_data): Likewise.
17789 (struct test_ff_i_data): Likewise.
17790 (struct test_f_l_data): Likewise.
17791 (struct test_f_L_data): Likewise.
17792 (struct test_fFF_11_data): Likewise.
17793 (RM_): New macro.
17794 (RM_FE_DOWNWARD): Likewise.
17795 (RM_FE_TONEAREST): Likewise.
17796 (RM_FE_TOWARDZERO): Likewise.
17797 (RM_FE_UPWARD): Likewise.
17798 (RUN_TEST_LOOP_f_f): Update references to expected results.
17799 (RUN_TEST_LOOP_2_f): Likewise.
17800 (RUN_TEST_LOOP_fff_f): Likewise.
17801 (RUN_TEST_LOOP_c_f): Likewise.
17802 (RUN_TEST_LOOP_f_f1): Likewise.
17803 (RUN_TEST_LOOP_fF_f1): Likewise.
17804 (RUN_TEST_LOOP_fI_f1): Likewise.
17805 (RUN_TEST_LOOP_ffI_f1): Likewise.
17806 (RUN_TEST_LOOP_c_c): Likewise.
17807 (RUN_TEST_LOOP_cc_c): Likewise.
17808 (RUN_TEST_LOOP_f_i): Likewise.
17809 (RUN_TEST_LOOP_f_i_tg): Likewise.
17810 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17811 (RUN_TEST_LOOP_f_b): Likewise.
17812 (RUN_TEST_LOOP_f_b_tg): Likewise.
17813 (RUN_TEST_LOOP_f_l): Likewise.
17814 (RUN_TEST_LOOP_f_L): Likewise.
17815 (RUN_TEST_LOOP_fFF_11): Likewise.
17816 * math/gen-libm-test.pl (parse_args): Output four copies of
17817 expected results for each test.
17818
67737b8f
JM
17819 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17820 (__ASSUME_UTIMES): Remove.
17821 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17822 (__ASSUME_UTIMES): Likewise.
17823
aa97dee1
JM
17824 * math/gen-auto-libm-tests.c: Update comment on output format.
17825 (output_for_one_input_case): Generate before-rounding and
17826 after-rounding information as conditions on output flags not
17827 floating-point format.
17828 * math/auto-libm-test-out: Regenerated.
17829 * math/gen-libm-test.pl (cond_value): New function.
17830 (or_cond_value): Use cond_value.
17831 (generate_testfile): Handle conditional exceptions.
17832
e6b6a857
JM
178332014-03-05 Joseph Myers <joseph@codesourcery.com>
17834
2f0a0f44
JM
17835 * math/libm-test.inc (max_valid_error): New variable.
17836 (init_max_error): Take new argument specifying whether function
17837 results are exactly determined. Set max_valid_error and bound
17838 other variables for errors based on this argument.
17839 (set_max_error): Do not record results above max_valid_error.
17840 (check_float_internal): Only accept errors of up to 0.5ulps if
17841 also at most max_valid_error.
17842 (START): Take new argument EXACT and pass it to init_max_error.
17843 (acos_test): Update call to START.
17844 (acos_test_tonearest): Likewise.
17845 (acos_test_towardzero): Likewise.
17846 (acos_test_downward): Likewise.
17847 (acos_test_upward): Likewise.
17848 (acosh_test): Likewise.
17849 (asin_test): Likewise.
17850 (asin_test_tonearest): Likewise.
17851 (asin_test_towardzero): Likewise.
17852 (asin_test_downward): Likewise.
17853 (asin_test_upward): Likewise.
17854 (asinh_test): Likewise.
17855 (atan_test): Likewise.
17856 (atanh_test): Likewise.
17857 (atan2_test): Likewise.
17858 (cabs_test): Likewise.
17859 (cacos_test): Likewise.
17860 (cacosh_test): Likewise.
17861 (carg_test): Likewise.
17862 (casin_test): Likewise.
17863 (casinh_test): Likewise.
17864 (catan_test): Likewise.
17865 (catanh_test): Likewise.
17866 (cbrt_test): Likewise.
17867 (ccos_test): Likewise.
17868 (ccosh_test): Likewise.
17869 (ceil_test): Likewise.
17870 (cexp_test): Likewise.
17871 (cimag_test): Likewise.
17872 (clog_test): Likewise.
17873 (clog10_test): Likewise.
17874 (conj_test): Likewise.
17875 (copysign_test): Likewise.
17876 (cos_test): Likewise.
17877 (cos_test_tonearest): Likewise.
17878 (cos_test_towardzero): Likewise.
17879 (cos_test_downward): Likewise.
17880 (cos_test_upward): Likewise.
17881 (cosh_test): Likewise.
17882 (cosh_test_tonearest): Likewise.
17883 (cosh_test_towardzero): Likewise.
17884 (cosh_test_downward): Likewise.
17885 (cosh_test_upward): Likewise.
17886 (cpow_test): Likewise.
17887 (cproj_test): Likewise.
17888 (creal_test): Likewise.
17889 (csin_test): Likewise.
17890 (csinh_test): Likewise.
17891 (csqrt_test): Likewise.
17892 (ctan_test): Likewise.
17893 (ctan_test_tonearest): Likewise.
17894 (ctan_test_towardzero): Likewise.
17895 (ctan_test_downward): Likewise.
17896 (ctan_test_upward): Likewise.
17897 (ctanh_test): Likewise.
17898 (ctanh_test_tonearest): Likewise.
17899 (ctanh_test_towardzero): Likewise.
17900 (ctanh_test_downward): Likewise.
17901 (ctanh_test_upward): Likewise.
17902 (erf_test): Likewise.
17903 (erfc_test): Likewise.
17904 (exp_test): Likewise.
17905 (exp_test_tonearest): Likewise.
17906 (exp_test_towardzero): Likewise.
17907 (exp_test_downward): Likewise.
17908 (exp_test_upward): Likewise.
17909 (exp10_test): Likewise.
17910 (exp10_test_tonearest): Likewise.
17911 (exp10_test_towardzero): Likewise.
17912 (exp10_test_downward): Likewise.
17913 (exp10_test_upward): Likewise.
17914 (pow10_test): Likewise.
17915 (exp2_test): Likewise.
17916 (expm1_test): Likewise.
17917 (expm1_test_tonearest): Likewise.
17918 (expm1_test_towardzero): Likewise.
17919 (expm1_test_downward): Likewise.
17920 (expm1_test_upward): Likewise.
17921 (fabs_test): Likewise.
17922 (fdim_test): Likewise.
17923 (floor_test): Likewise.
17924 (fma_test): Likewise.
17925 (fma_test_towardzero): Likewise.
17926 (fma_test_downward): Likewise.
17927 (fma_test_upward): Likewise.
17928 (fmax_test): Likewise.
17929 (fmin_test): Likewise.
17930 (fmod_test): Likewise.
17931 (fpclassify_test): Likewise.
17932 (frexp_test): Likewise.
17933 (hypot_test): Likewise.
17934 (ilogb_test): Likewise.
17935 (isfinite_test): Likewise.
17936 (finite_test): Likewise.
17937 (isgreater_test): Likewise.
17938 (isgreaterequal_test): Likewise.
17939 (isinf_test): Likewise.
17940 (isless_test): Likewise.
17941 (islessequal_test): Likewise.
17942 (islessgreater_test): Likewise.
17943 (isnan_test): Likewise.
17944 (isnormal_test): Likewise.
17945 (issignaling_test): Likewise.
17946 (isunordered_test): Likewise.
17947 (j0_test): Likewise.
17948 (j1_test): Likewise.
17949 (jn_test): Likewise.
17950 (ldexp_test): Likewise.
17951 (lgamma_test): Likewise.
17952 (gamma_test): Likewise.
17953 (lrint_test): Likewise.
17954 (lrint_test_tonearest): Likewise.
17955 (lrint_test_towardzero): Likewise.
17956 (lrint_test_downward): Likewise.
17957 (lrint_test_upward): Likewise.
17958 (llrint_test): Likewise.
17959 (llrint_test_tonearest): Likewise.
17960 (llrint_test_towardzero): Likewise.
17961 (llrint_test_downward): Likewise.
17962 (llrint_test_upward): Likewise.
17963 (log_test): Likewise.
17964 (log10_test): Likewise.
17965 (log1p_test): Likewise.
17966 (log2_test): Likewise.
17967 (logb_test): Likewise.
17968 (logb_test_downward): Likewise.
17969 (lround_test): Likewise.
17970 (llround_test): Likewise.
17971 (modf_test): Likewise.
17972 (nearbyint_test): Likewise.
17973 (nextafter_test): Likewise.
17974 (nexttoward_test): Likewise.
17975 (pow_test): Likewise.
17976 (pow_test_tonearest): Likewise.
17977 (pow_test_towardzero): Likewise.
17978 (pow_test_downward): Likewise.
17979 (pow_test_upward): Likewise.
17980 (remainder_test): Likewise.
17981 (drem_test): Likewise.
17982 (remainder_test_tonearest): Likewise.
17983 (drem_test_tonearest): Likewise.
17984 (remainder_test_towardzero): Likewise.
17985 (drem_test_towardzero): Likewise.
17986 (remainder_test_downward): Likewise.
17987 (drem_test_downward): Likewise.
17988 (remainder_test_upward): Likewise.
17989 (drem_test_upward): Likewise.
17990 (remquo_test): Likewise.
17991 (rint_test): Likewise.
17992 (rint_test_tonearest): Likewise.
17993 (rint_test_towardzero): Likewise.
17994 (rint_test_downward): Likewise.
17995 (rint_test_upward): Likewise.
17996 (round_test): Likewise.
17997 (scalb_test): Likewise.
17998 (scalbn_test): Likewise.
17999 (scalbln_test): Likewise.
18000 (signbit_test): Likewise.
18001 (sin_test): Likewise.
18002 (sin_test_tonearest): Likewise.
18003 (sin_test_towardzero): Likewise.
18004 (sin_test_downward): Likewise.
18005 (sin_test_upward): Likewise.
18006 (sincos_test): Likewise.
18007 (sinh_test): Likewise.
18008 (sinh_test_tonearest): Likewise.
18009 (sinh_test_towardzero): Likewise.
18010 (sinh_test_downward): Likewise.
18011 (sinh_test_upward): Likewise.
18012 (sqrt_test): Likewise.
18013 (sqrt_test_tonearest): Likewise.
18014 (sqrt_test_towardzero): Likewise.
18015 (sqrt_test_downward): Likewise.
18016 (sqrt_test_upward): Likewise.
18017 (tan_test): Likewise.
18018 (tan_test_tonearest): Likewise.
18019 (tan_test_towardzero): Likewise.
18020 (tan_test_downward): Likewise.
18021 (tan_test_upward): Likewise.
18022 (tanh_test): Likewise.
18023 (tgamma_test): Likewise.
18024 (trunc_test): Likewise.
18025 (y0_test): Likewise.
18026 (y1_test): Likewise.
18027 (yn_test): Likewise.
18028 (significand_test): Likewise.
18029
e6b6a857
JM
18030 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18031 individual tests in comment.
18032 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18033 (prev_max_error): New variable.
18034 (prev_real_max_error): Likewise.
18035 (prev_imag_max_error): Likewise.
18036 (compare_ulp_data): Don't refer to test names in comment.
18037 (find_test_ulps): Remove function.
18038 (find_function_ulps): Likewise.
18039 (find_complex_function_ulps): Likewise.
18040 (init_max_error): Take function name as argument. Look up ulps
18041 for that function.
18042 (print_ulps): Remove function.
18043 (print_max_error): Use prev_max_error instead of calling
18044 find_function_ulps.
18045 (print_complex_max_error): Use prev_real_max_error and
18046 prev_imag_max_error instead of calling find_complex_function_ulps.
18047 (check_float_internal): Take max_ulp parameter instead of calling
18048 find_test_ulps. Don't call print_ulps.
18049 (check_float): Update call to check_float_internal.
18050 (check_complex): Update calls to check_float_internal.
18051 (START): Pass argument to init_max_error.
18052 * math/gen-libm-test.pl (%results): Don't include "kind"
18053 information.
18054 (parse_ulps): Don't handle ulps of individual tests.
18055 (print_ulps_file): Likewise.
18056 (output_ulps): Likewise.
18057 * math/README.libm-test: Update.
18058 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18059 individual tests.
18060 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18061 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18062 * sysdeps/arm/libm-test-ulps: Likewise.
18063 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18064 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18065 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18066 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18067 * sysdeps/microblaze/libm-test-ulps: Likewise.
18068 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18069 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18070 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18071 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18072 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18073 * sysdeps/sh/libm-test-ulps: Likewise.
18074 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18075 * sysdeps/tile/libm-test-ulps: Likewise.
18076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18077
45adef3c
JM
180782014-03-04 Joseph Myers <joseph@codesourcery.com>
18079
18080 * math/libm-test.inc (print_complex_max_error): Check separately
18081 whether real and imaginary errors are within allowed range and
18082 pass 0 to print_complex_function_ulps instead of value within
18083 allowed range.
18084
000232b9
SP
180852014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18086
d4b17258
SP
18087 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18088 formatting.
18089 (get_handles_fopen): Likewise.
18090 (do_write_test): Likewise.
18091
091eff71
SP
18092 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18093
fa3cd248
SP
18094 * libio/fileops.c (do_ftell): Use cached offset when
18095 available.
18096 * libio/iofwide.c (do_ftell_wide): Likewise.
18097 * libio/iofdopen.c (_IO_new_fdopen): Don't use
18098 _IO_file_attach.
18099 * libio/wfileops.c (_IO_fwide): Don't cache offset.
18100
000232b9
SP
18101 [BZ #16532]
18102 * libio/libioP.h (get_file_offset): New function.
18103 * libio/fileops.c (get_file_offset): Likewise.
18104 (do_ftell): Likewise.
18105 (_IO_new_file_seekoff): Split out ftell logic.
18106 * libio/wfileops.c (do_ftell_wide): Likewise.
18107 (_IO_wfile_seekoff): Split out ftell logic.
18108 * libio/tst-ftell-active-handler.c: New test case.
18109 * libio/Makefile (tests): Add it.
18110
116f4d1a
RM
181112014-03-03 Roland McGrath <roland@hack.frob.com>
18112
18113 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18114 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18115
532a6035
SP
181162014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18117
18118 [BZ #16639]
18119 * nscd/connections.c (nscd_init): Call do_exit.
18120 (start_threads): Call do_exit and notify_parent.
18121 (begin_drop_privileges): Call do_exit.
18122 (finish_drop_privileges): Likewise.
18123 * nscd/selinux.c (preserve_capabilities): Likewise.
18124 (install_real_capabilities): Likewise.
18125 (nscd_selinux_enabled): Likewise.
18126 (avc_create_thread): Likewise.
18127 (avc_alloc_lock): Likewise.
18128 (nscd_avc_init): Likewise.
18129 * nscd/nscd.c (parent_fd): New static variable.
18130 (main): Create a pipe between parent and child processes.
18131 Skip closing parent_fd.
18132 (monitor_child): New function.
18133 (do_exit): Likewise.
18134 (notify_parent): Likewise.
18135 * nscd/nscd.h (notify_parent): Likewise.
18136 (do_exit): Likewise.
18137
d6285c9f
CD
181382014-03-03 Carlos O'Donell <carlos@redhat.com>
18139
18140 * malloc/malloc.c (__libc_calloc): Revert last change.
18141
2b85d2a0
AZ
181422014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18143
18144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18145
c7debbdf
RS
181462014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18147
18148 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18149 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18150 implementation.
18151 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18152 (__libc_ifunc_impl_list): Likewise.
18153 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18154 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18155 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18156 * string/strrchr.c: Define STRRCHR.
18157
235eed86
OB
181582014-02-28 Ondřej Bílka <neleai@seznam.cz>
18159
18160 * benchtest/bench-strtok.c (simple_strtok): Delete.
18161 (strtok_string): Use as benchmark.
18162 * string/strtok (STRTOK): New macro.
18163
8e25d1e7
CD
181642014-02-28 Carlos O'Donell <carlos@redhat.com>
18165
ef563f92
CD
18166 * manual/threads.texi: Add header and standard comments to all
18167 functions.
18168
8e25d1e7
CD
18169 * elf/dl-lookup.c (check_match): New function.
18170 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18171 (do_lookup_x): Remove nested function check_match. Use non-nested
18172 function check_match.
18173
ff71cc37
RM
181742014-02-28 Roland McGrath <roland@hack.frob.com>
18175
f08e9a26
RM
18176 * csu/Makefile (generated, before-compile): Use += rather than =.
18177 * catgets/Makefile (generated, generated-dirs): Likewise.
18178 * debug/Makefile (generated): Likewise.
18179 * dlfcn/Makefile (generated): Likewise.
18180 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18181 * iconvdata/Makefile (before-compile, generated): Likewise.
18182 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18183 * libio/Makefile (generated): Likewise.
18184 * malloc/Makefile (generated): Likewise.
18185 * manual/Makefile (generated, generated-dirs): Likewise.
18186 * misc/Makefile (generated): Likewise.
18187 * posix/Makefile (generated): Likewise.
18188 * resolv/Makefile (generated): Likewise.
18189 * sunrpc/Makefile (generated, generated-dirs): Likewise.
18190 * timezone/Makefile (generated, generated-dirs): Likewise.
18191
ff71cc37
RM
18192 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18193
fe13a20c
AZ
181942014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18195
57f41c40
AS
18196 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18197 power8 implementation.
18198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18199 file: POWER8 llround ifunc implementation.
18200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18201 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
18202 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18203 POWER8 llround implementation.
18204
57f41c40
AS
18205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18206 power8 implementation.
18207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18208 file: POWER8 llrint ifunc implementation.
18209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18210 Add POWER8 implementation.
1ad8950a
AZ
18211 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18212 POWER8 llrint implementation.
18213
57f41c40
AS
18214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18215 power8 implementation.
18216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18217 file: POWER8 finite ifunc implementation.
18218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18219 Add POWER8 implementation.
cac626d6
AZ
18220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18221 Likewise.
18222 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18223 POWER8 finite implementation.
18224 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18225
57f41c40
AS
18226 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18227 power8 implementation.
18228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18229 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
18230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18231 POWER8 implementation.
18232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18233 Likewise.
57f41c40
AS
18234 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18235 isinf implementation.
4393fc11
AZ
18236 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18237
57f41c40
AS
18238 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18239 (INIT_ARCH): Add hwcap2 initialization.
18240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18241 power8 implementation.
18242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18243 file: POWER8 isnan ifunc implementation.
487972ae
AZ
18244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18245 POWER8 implementation.
18246 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18247 Likewise.
57f41c40
AS
18248 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18249 isnan implementation.
487972ae
AZ
18250 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18251
7d92b787
JY
182522014-02-27 Joey Ye <joey.ye@arm.com>
18253
18254 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18255 (_FP_NANFRAC_Q): Set to zero.
18256
1cadc858
SP
182572014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18258
18259 [BZ #16623]
18260 * math/auto-libm-test-in: New test inputs.
18261 * math/auto-libm-test-out: Regenerate.
18262 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18263 and DA.
18264 (__cos): Likewise.
18265 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18266
f8c17e79
JM
182672014-02-27 Joseph Myers <joseph@codesourcery.com>
18268
18269 * scripts/evaluate-test.sh: Take new argument indicating whether
18270 failure is expected.
18271 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18272 indicating whether failure is expected.
18273 * conform/Makefile (test-xfail-run-conformtest): New variable.
18274 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18275 level.
18276 * posix/Makefile (test-xfail-annexc): New variable.
18277 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18278
a5f891ac
JM
182792014-02-26 Joseph Myers <joseph@codesourcery.com>
18280
18281 * argp/Makefile: Include Makeconfig immediately after defining
18282 subdir.
18283 * assert/Makefile: Likewise.
18284 * benchtests/Makefile: Likewise.
18285 * catgets/Makefile: Likewise.
18286 * conform/Makefile: Likewise.
18287 * crypt/Makefile: Likewise.
18288 * csu/Makefile: Likewise.
18289 (all): Remove target.
18290 * ctype/Makefile: Include Makeconfig immediately after defining
18291 subdir.
18292 * debug/Makefile: Likewise.
18293 * dirent/Makefile: Likewise.
18294 * dlfcn/Makefile: Likewise.
18295 * gmon/Makefile: Likewise.
18296 * gnulib/Makefile: Likewise.
18297 * grp/Makefile: Likewise.
18298 * gshadow/Makefile: Likewise.
18299 * hesiod/Makefile: Likewise.
18300 * hurd/Makefile: Likewise.
18301 (all): Remove target.
18302 * iconvdata/Makefile: Include Makeconfig immediately after
18303 defining subdir.
18304 * inet/Makefile: Likewise.
18305 * intl/Makefile: Likewise.
18306 * io/Makefile: Likewise.
18307 * libio/Makefile: Likewise.
18308 (all): Remove target.
18309 * locale/Makefile: Include Makeconfig immediately after defining
18310 subdir.
18311 * login/Makefile: Likewise.
18312 * mach/Makefile: Likewise.
18313 (all): Remove target.
18314 * malloc/Makefile: Include Makeconfig immediately after defining
18315 subdir.
18316 (all): Remove target.
18317 * manual/Makefile: Include Makeconfig immediately after defining
18318 subdir.
18319 * math/Makefile: Likewise.
18320 * misc/Makefile: Likewise.
18321 * nis/Makefile: Likewise.
18322 * nss/Makefile: Likewise.
18323 * po/Makefile: Likewise.
18324 (all): Remove target.
18325 * posix/Makefile: Include Makeconfig immediately after defining
18326 subdir.
18327 * pwd/Makefile: Likewise.
18328 * resolv/Makefile: Likewise.
18329 * resource/Makefile: Likewise.
18330 * rt/Makefile: Likewise.
18331 * setjmp/Makefile: Likewise.
18332 * shadow/Makefile: Likewise.
18333 * signal/Makefile: Likewise.
18334 * socket/Makefile: Likewise.
18335 * soft-fp/Makefile: Likewise.
18336 * stdio-common/Makefile: Likewise.
18337 * stdlib/Makefile: Likewise.
18338 * streams/Makefile: Likewise.
18339 * string/Makefile: Likewise.
18340 * sunrpc/Makefile: Likewise.
18341 (all): Remove target.
18342 * sysvipc/Makefile: Include Makeconfig immediately after defining
18343 subdir.
18344 * termios/Makefile: Likewise.
18345 * time/Makefile: Likewise.
18346 * timezone/Makefile: Likewise.
18347 (all): Remove target.
18348 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18349 subdir.
18350 * wctype/Makefile: Likewise.
18351
5b456e9d
SE
183522014-02-26 Steve Ellcey <sellcey@mips.com>
18353
18354 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18355 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18356 (libc_feholdexcept_setround_mips): Ditto.
18357 (libc_feholdsetround): New.
18358 (libc_feholdsetroundf): New.
18359 (libc_feholdsetroundl): New.
18360 (libc_feupdateenv_test_mips): New.
18361 (libc_feupdateenv_test): New.
18362 (libc_feupdateenv_testf): New.
18363 (libc_feupdateenv_testl): New.
18364 (libc_feresetround): New.
18365 (libc_feresetroundf): New.
18366 (libc_feresetroundl): New.
18367 (libc_fetestexcept_mips): New.
18368 (libc_fetestexcept): New.
18369 (libc_fetestexceptf): New.
18370 (libc_fetestexceptl): New.
18371 (HAVE_RM_CTX): New.
18372 (libc_feholdexcept_setround_mips_ctx): New.
18373 (libc_feholdexcept_setround_ctx): New.
18374 (libc_feholdexcept_setroundf_ctx): New.
18375 (libc_feholdexcept_setroundl_ctx): New.
18376 (libc_fesetenv_mips_ctx): New.
18377 (libc_fesetenv_ctx): New.
18378 (libc_fesetenv_ctxf): New.
18379 (libc_fesetenv_ctxl): New.
18380 (libc_feupdateenv_mips_ctx): New.
18381 (libc_feupdateenv_ctx): New.
18382 (libc_feupdateenvf_ctx): New.
18383 (libc_feupdateenvl_ctx): New.
18384 (libc_feholdsetround_mips_ctx): New.
18385 (libc_feholdsetround_ctx): New.
18386 (libc_feholdsetroundf_ctx): New.
18387 (libc_feholdsetroundl_ctx): New.
18388 (libc_feresetround_mips_ctx): New.
18389 (libc_feresetround_ctx): New.
18390 (libc_feresetroundf_ctx): New.
18391 (libc_feresetroundl_ctx): New.
18392
085d0e35
CD
183932014-02-26 Carlos O'Donell <carlos@redhat.com>
18394
f067bf1f
CD
18395 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18396
085d0e35
CD
18397 * manual/ipc.texi: New file.
18398 * manual/Makefile (chapters): Add ipc.
18399 * manual/job.texi: Add "Inter-Process Communication" to next.
18400 * manual/process.texi: Add "Inter-Process Communication" to prev.
18401
86e58c08
AZ
184022014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18403
18404 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18405
4248f0da
OB
184062014-02-26 Ondřej Bílka <neleai@seznam.cz>
18407
18408 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18409
cf822e3c
OB
18410 * manual/arith.texi: Fix spaces after sentences.
18411 * manual/charset.texi: Likewise.
18412 * manual/errno.texi: Likewise.
18413 * manual/install.texi: Likewise.
18414 * manual/llio.texi: Likewise.
18415 * manual/locale.texi: Likewise.
18416 * manual/maint.texi: Likewise.
18417 * manual/math.texi: Likewise.
18418 * manual/memory.texi: Likewise.
18419 * manual/message.texi: Likewise.
18420 * manual/probes.texi: Likewise.
18421 * manual/resource.texi: Likewise.
18422 * manual/signal.texi: Likewise.
18423 * manual/socket.texi: Likewise.
18424 * manual/stdio.texi: Likewise.
18425 * manual/string.texi: Likewise.
18426 * manual/time.texi: Likewise.
18427 * manual/users.texi: Likewise.
18428
ade40b10
CD
184292014-02-25 Carlos O'Donell <carlos@redhat.com>
18430
18431 [BZ #16632]
18432 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18433 _DEFAULT_SOURCE is defined.
18434
d0503676
CD
184352014-02-25 Ulrich Drepper <drepper@gmail.com>
18436 Carlos O'Donell <carlos@redhat.com>
18437
18438 [BZ #16613]
18439 * elf/dl-tls.c (_dl_count_modids): New function.
18440 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18441 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18442 audit library and increment generation counter.
18443 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18444 * elf/tst-audit9.c: New file.
18445 * elf/tst-auditmod9a.c: New file.
18446 * elf/tst-auditmod9b.c: New file.
18447 * elf/Makefile: Add rules to build and run tst-audit9.
18448
4cbf380c
FW
184492014-02-25 Florian Weimer <fweimer@redhat.com>
18450
18451 [BZ #15347]
18452 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18453
80a56cc3
WN
184542014-02-25 Will Newton <will.newton@linaro.org>
18455
18456 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18457 (__longjmp): Restore sp and lr before restoring callee
18458 saved registers. Add longjmp and longjmp_target
18459 SystemTap probe point.
18460 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18461 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18462 Define to zero to match jmpbuf layout.
18463 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18464 (__sigsetjmp): Save sp and lr before saving callee
18465 saved registers. Add setjmp SystemTap probe point.
18466
3ea0f74e
SL
184672014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18468
18469 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18470
b04acb26
AS
184712014-02-24 Andreas Schwab <schwab@suse.de>
18472
18473 [BZ #15804]
18474 * elf/pldd.c (wait_for_ptrace_stop): New function.
18475 (main): Call it after attaching.
18476
098ad55c
RM
184772014-02-22 Roland McGrath <roland@hack.frob.com>
18478
d4ec6ae1
RM
18479 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18480 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18481 Versions files is now verboten.
18482 * hurd/Versions (libc: GLIBC_2.0):
18483 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18484 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18485 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18486 * mach/Versions: Likewise.
18487
098ad55c
RM
18488 * csu/Versions: Remove unused %include.
18489 * resolv/Versions: Likewise.
18490
acd7f096
JM
184912014-02-21 Joseph Myers <joseph@codesourcery.com>
18492
f0881698
JM
18493 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18494 ($(objpfx)check-local-headers.out): Likewise.
18495 ($(objpfx)begin-end-check.out): Likewise.
18496 * Makerules (check-abi-%.out): Likewise.
18497 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18498 ($(objpfx)test2.cat): Likewise.
18499 ($(objpfx)de/libc.cat): Likewise.
18500 ($(objpfx)test-gencat.out): Likewise.
18501 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18502 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18503 ($(objpfx)noload-mem): Likewise.
18504 ($(objpfx)tst-pathopt.out): Likewise.
18505 ($(objpfx)tst-rtld-load-self.out): Likewise.
18506 ($(objpfx)tst-array1-cmp.out): Likewise.
18507 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18508 ($(objpfx)tst-array2-cmp.out): Likewise.
18509 ($(objpfx)tst-array3-cmp.out): Likewise.
18510 ($(objpfx)tst-array4-cmp.out): Likewise.
18511 ($(objpfx)tst-array5-cmp.out): Likewise.
18512 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18513 ($(objpfx)check-textrel.out): Likewise.
18514 ($(objpfx)check-execstack.out): Likewise.
18515 ($(objpfx)check-localplt.out): Likewise.
18516 ($(objpfx)order2-cmp.out): Likewise.
18517 ($(objpfx)tst-leaks1-mem): Likewise.
18518 ($(objpfx)tst-leaks1-static-mem): Likewise.
18519 ($(objpfx)tst-initorder-cmp.out): Likewise.
18520 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18521 ($(objpfx)tst-unused-dep.out): Likewise.
18522 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18523 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18524 * iconv/Makefile (test-iconvconfig): Likewise.
18525 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18526 ($(objpfx)iconv-test.out): Likewise.
18527 ($(objpfx)tst-tables.out): Likewise.
18528 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18529 ($(objpfx)tst-gettext.out): Likewise.
18530 ($(objpfx)tst-translit.out): Likewise.
18531 ($(objpfx)tst-gettext2.out): Likewise.
18532 ($(objpfx)tst-gettext4.out): Likewise.
18533 ($(objpfx)tst-gettext6.out): Likewise.
18534 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18535 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18536 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18537 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18538 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18539 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18540 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18541 ($(objpfx)wordexp-tst.out): Likewise.
18542 ($(objpfx)annexc.out): Likewise.
18543 ($(objpfx)tst-fnmatch-mem): Likewise.
18544 ($(objpfx)bug-regex2-mem): Likewise.
18545 ($(objpfx)bug-regex14-mem): Likewise.
18546 ($(objpfx)bug-regex21-mem): Likewise.
18547 ($(objpfx)bug-regex31-mem): Likewise.
18548 ($(objpfx)tst-vfork3-mem): Likewise.
18549 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18550 ($(objpfx)tst-pcre-mem): Likewise.
18551 ($(objpfx)tst-boost-mem): Likewise.
18552 ($(objpfx)tst-getconf.out): Likewise.
18553 ($(objpfx)bug-ga2-mem): Likewise.
18554 ($(objpfx)bug-glob2-mem): Likewise.
18555 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18556 ($(objpfx)mtrace-tst-leaks2): Likewise.
18557 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18558 ($(objpfx)tst-printf.out): Likewise.
18559 ($(objpfx)tst-setvbuf1.out): Likewise.
18560 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18561 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18562 ($(objpfx)tst-fmtmsg.out): Likewise.
18563 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18564 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18565
acd7f096
JM
18566 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18567 * bits/sigaction.h [__USE_MISC]: Likewise.
18568 * bits/waitstatus.h: Update #endif comments.
18569 * ctype/ctype.h: Likewise.
18570 * dirent/dirent.h: Likewise.
18571 [__USE_MISC]: Remove redundant conditionals.
18572 * grp/grp.h: Update #endif comments.
18573 [__USE_GNU]: Remove redundant conditionals.
18574 [__USE_MISC]: Likewise.
18575 * inet/netinet/in.h [__USE_GNU]: Likewise.
18576 * io/sys/stat.h [__USE_MISC]: Likewise.
18577 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18578 * libio/bits/stdio.h: Update #endif comments.
18579 [__USE_MISC]: Remove redundant conditionals.
18580 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18581 * libio/stdio.h: Update #endif comments.
18582 [__USE_MISC]: Remove redundant conditionals.
18583 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18584 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18585 * math/math.h: Update #else and #endif comments.
18586 [__USE_MISC]: Remove redundant conditionals.
18587 * misc/sys/uio.h: Update #endif comments.
18588 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18589 * posix/glob.h [__USE_MISC]: Likewise.
18590 * posix/sys/types.h: Update #endif comments.
18591 [__USE_MISC]: Remove redundant conditionals.
18592 * posix/sys/wait.h: Update #endif comments.
18593 [__USE_MISC]: Remove redundant conditionals.
18594 * posix/unistd.h: Update #endif comments.
18595 [__USE_MISC]: Remove redundant conditionals.
18596 * pwd/pwd.h [__USE_GNU]: Likewise.
18597 [__USE_MISC]: Likewise.
18598 * resolv/netdb.h [__USE_GNU]: Likewise.
18599 * signal/signal.h: Update #endif comments.
18600 [__USE_MISC]: Remove redundant conditionals.
18601 * stdlib/stdlib.h: Update #else and #endif comments.
18602 [__USE_MISC]: Remove redundant conditionals.
18603 [__USE_GNU]: Likewise.
18604 * string/bits/string2.h [__USE_MISC]: Likewise.
18605 * string/string.h: Update #endif comments.
18606 [__USE_MISC]: Remove redundant conditionals.
18607 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18608 Likewise.
18609 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18610 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18611 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18612 Likewise.
18613 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18614 Likewise.
18615 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18616 comments.
18617 [__USE_MISC]: Remove redundant conditionals.
18618 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18619 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18620 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18621 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18622 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18623 Likewise.
18624 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18625 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18626 Likewise.
18627 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18628 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18629 Likewise.
18630 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18631 Likewise.
18632 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18633 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18634 Likewise.
18635 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18636 Likewise.
18637 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18638 * sysdeps/x86/bits/string.h: Update #endif comments.
18639 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18640 conditionals.
18641 * time/sys/time.h: Update #endif comments.
18642 * time/time.h: Likewise.
18643 [__USE_MISC]: Remove redundant conditionals.
18644
a5d82e4e
YG
186452014-02-21 Yury Gribov <y.gribov@samsung.com>
18646
18647 [BZ #16600]
18648 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18649
9a80491d
AS
186502014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18651
18652 * Versions.def (librt): Add GLIBC_2.17.
18653
105fa381
AC
186542014-02-21 Adam Conrad <adconrad@0c3.net>
18655
18656 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18657 synonym for _SYS_AUXV_H to allow direct inclusion.
18658 * sysdeps/sparc/bits/hwcap.h: Likewise.
18659 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18660 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18661 * sysdeps/sparc/sysdep.h: Likewise.
18662
b8cd1c4e
SP
186632014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18664
18665 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18666
bd939d23
RS
186672014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18668
18669 * benchtests/bench-strrchr.c: Print length instead of position.
18670
5d7b57ca
JM
186712014-02-20 Joseph Myers <joseph@codesourcery.com>
18672
bc688c10
JM
18673 [BZ #16611]
18674 * sysdeps/unix/sysv/linux/kernel-features.h
18675 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18676 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18677 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18678 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18679 Likewise.
18680 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18681 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18682 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18683 (__ASSUME_SENDMMSG): Define instead of using previous
18684 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18685 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18686 (__ASSUME_SENDMMSG_SYSCALL): Define.
18687 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18688 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18689 Likewise.
18690 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18691 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18692 Likewise.
18693 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18694 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18695 Likewise.
18696 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18697 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18698 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18699 [__ASSUME_SENDMMSG]: Change conditionals to
18700 [__ASSUME_SENDMMSG_SOCKETCALL].
18701 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18702 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18703 Define.
18704 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18705 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18706 Likewise.
18707 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18708 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18709 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18710 [!__ASSUME_SENDMMSG]: Change conditional to
18711 [!__ASSUME_SENDMMSG_SOCKETCALL].
18712 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18713 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18714 Define.
18715
0e31b18c
JM
18716 [BZ #16610]
18717 * sysdeps/unix/sysv/linux/kernel-features.h
18718 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18719 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18720 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18721 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18722 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18723 [__i386__ || __sparc__]
18724 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18725 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18726 (__ASSUME_RECVMMSG): Define instead of using previous
18727 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18728 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18729 (__ASSUME_RECVMMSG_SYSCALL): Define.
18730 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18731 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18732 Likewise.
18733 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18734 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18735 Likewise.
18736 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18737 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18738 Likewise.
18739 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18740 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18741 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18742 [__ASSUME_RECVMMSG]: Change condition to
18743 [__ASSUME_RECVMMSG_SOCKETCALL].
18744 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18745 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18746 Define.
18747 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18748 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18749 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18750 Likewise.
18751 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18752 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18753 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18754 [!__ASSUME_RECVMMSG]: Change condition to
18755 [!__ASSUME_RECVMMSG_SOCKETCALL].
18756 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18757 (__ASSUME_RECVMMSG_SYSCALL): Define.
18758
dd481ccf
JM
18759 [BZ #16609]
18760 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18761 __powerpc__ || __s390__ || __sh__ || __sparc__]
18762 (__ASSUME_SOCKETCALL): Define.
18763 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18764 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18765 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18766 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18767 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18768 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18769 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18770 (__ASSUME_ACCEPT4): Define instead of using previous
18771 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18772 __powerpc__ || __sparc__ || __s390__)] condition.
18773 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18774 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18775 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18776 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18777 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18778 [!__ASSUME_ACCEPT4]: Change condition to
18779 [!__ASSUME_ACCEPT4_SOCKETCALL].
18780 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18781 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18782 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18783 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18784 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18785 __ASSUME_ACCEPT4_SYSCALL.
18786 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18787 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18788 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18789 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18790 __ASSUME_ACCEPT4_SYSCALL.
18791 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18792 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18793 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18794 [__ASSUME_ACCEPT4]: Change condition to
18795 [__ASSUME_ACCEPT4_SOCKETCALL].
18796 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18797 (__ASSUME_SOCKETCALL): Define.
18798 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18799 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18800 (__ASSUME_SOCKETCALL): Define.
18801 (__ASSUME_ACCEPT4): Remove.
18802 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18803 Define.
18804 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18805 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18806 Likewise.
18807 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18808 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18809
5d7b57ca
JM
18810 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18811 macro.
18812 (HWCAP_ARM_LPAE): Likewise.
18813 (HWCAP_ARM_EVTSTRM): Likewise.
18814 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18815 Add vpfd32, lpae and evtstrm.
18816 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18817 Increase to 22.
18818
63689d61
JM
188192014-02-19 Joseph Myers <joseph@codesourcery.com>
18820
18821 * math/auto-libm-test-in: Add tests of clog10.
18822 * math/auto-libm-test-out: Regenerated.
18823 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18824 * sysdeps/i386/fpu/libm-test-ulps: Update.
18825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18826
ab09bf61
AS
188272014-02-18 Andreas Schwab <schwab@suse.de>
18828
18829 [BZ #16574]
18830 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18831 Store non-zero if the second buffer was newly allocated.
18832 (send_dg): Likewise.
18833 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18834 to send_vc and send_dg.
18835 (res_nsend): Pass NULL for ansp2_malloced.
18836 * resolv/res_query.c (__libc_res_nquery): Add parameter
18837 answerp2_malloced and pass it down to __libc_res_nsend.
18838 (res_nquery): Pass additional NULL to __libc_res_nquery.
18839 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18840 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18841 second answer buffer if answerp2_malloced was set.
18842 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18843 (__libc_res_nquerydomain): Add parameter
18844 answerp2_malloced and pass it down to __libc_res_nquery.
18845 (res_nquerydomain): Pass additional NULL to
18846 __libc_res_nquerydomain.
18847 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18848 additional NULL to __libc_res_nsend and __libc_res_nquery.
18849 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18850 additional NULL to __libc_res_nsearch.
18851 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18852 parameter of __libc_res_nsearch to check for separately allocated
18853 second buffer.
18854 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18855 __libc_res_nquery.
18856 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18857 additional NULL to __libc_res_nquery.
18858 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18859 __libc_res_nsearch.
18860 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18861 * include/resolv.h: Update prototypes of __libc_res_nquery,
18862 __libc_res_nsearch, __libc_res_nsend.
18863
a4fb7861
JM
188642014-02-18 Joseph Myers <joseph@codesourcery.com>
18865
c6af2d89
JM
18866 * math/auto-libm-test-in: Add tests of fma.
18867 * math/auto-libm-test-out: Regenerated.
18868 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18869 (fma_towardzero_test_data): Likewise.
18870 (fma_downward_test_data): Likewise.
18871 (fma_upward_test_data): Likewise.
18872 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18873 mpc_mode.
18874 (rounding_modes): Add values for new field.
18875 (func_calc_method): Add value mpfr_fff_f.
18876 (func_calc_desc): Add mpfr_fff_f union field.
18877 (test_function): Add field exact_args.
18878 (FUNC): Add macro argument EXACT_ARGS.
18879 (FUNC_mpfr_f_f): Update call to FUNC.
18880 (FUNC_mpfr_f_f): Likewise.
18881 (FUNC_mpfr_ff_f): Likewise.
18882 (FUNC_mpfr_if_f): Likewise.
18883 (FUNC_mpc_c_f): Likewise.
18884 (FUNC_mpc_c_c): Likewise.
18885 (test_functions): Add fma. Update calls to FUNC.
18886 (handle_input_arg): Add argument exact_args.
18887 (add_test): Update call to handle_input_arg.
18888 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18889 (output_for_one_input_case): Update call to calc_generic_results.
18890 Recalculate exact zero results in each rounding mode.
18891
a4fb7861
JM
18892 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18893 non-negative before setting low bit.
18894 * math/auto-libm-test-in: Mark one asin test possibly having
18895 spurious underflow.
18896 * math/auto-libm-test-out: Regenerated.
18897 * sysdeps/i386/fpu/libm-test-ulps: Update.
18898 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18899
ef114eaf
DH
189002014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18901
2b7f4f2c
SP
18902 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18903 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18904 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18905 * README: Add missing listing for microblaze*-*-linux-gnu.
18906
8125aedc
AM
189072014-02-16 Ondřej Bílka <neleai@seznam.cz>
18908
18909 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18910 duplicate code
18911
c70a4b1d
MF
189122014-02-16 Mike Frysinger <vapier@gentoo.org>
18913
18914 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18915 * sysdeps/unix/sysv/linux/ia64: Move directory from
18916 ports/sysdeps/unix/sysv/linux/ia64.
18917 * README: Update listing for ia64-*-linux-gnu.
18918
591aeaf7
TD
189192014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18920 Joseph Myers <joseph@codesourcery.com>
18921
18922 * Makeconfig (test-name): New variable.
18923 (evaluate-test): Likewise.
18924 * Makerules (do-test-clean): Remove .test-result files.
18925 (common-mostlyclean): Likewise.
18926 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18927 * scripts/evaluate-test.sh: New file.
18928
6e89caf1
JM
189292014-02-14 Joseph Myers <joseph@codesourcery.com>
18930
7f98f180
JM
18931 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18932 separate $(objpfx)tst-fopenloc-cmp.out and
18933 $(objpfx)tst-fopenloc-mem.out targets.
18934 (tests): Update dependencies.
18935 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18936 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18937 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18938 (tst-rxspencer-no-utf8-ARGS): New variable.
18939 (tst-rxspencer-no-utf8-ENV): Likewise.
18940 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18941 instead of $(objpfx)tst-rxspencer-mem.
18942 ($(objpfx)tst-rxspencer-mem): Change target to
18943 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
18944 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
18945 * posix/tst-rxspencer-no-utf8.c: New file.
18946
6e89caf1
JM
18947 * elf/Makefile ($(objpfx)order.out): Remove rule.
18948 [$(run-built-tests) = yes] (tests): Depend on
18949 $(objpfx)order-cmp.out.
18950 ($(objpfx)order-cmp.out): New rule.
18951 [$(run-built-tests) = yes] (tests): Depend on
18952 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
18953 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
18954 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
18955 $(objpfx)tst-array5-static-cmp.out.
18956 ($(objpfx)tst-array1.out): Remove rule.
18957 ($(objpfx)tst-array1-cmp.out): New rule.
18958 ($(objpfx)tst-array1-static.out): Remove rule.
18959 ($(objpfx)tst-array1-static-cmp.out): New rule.
18960 ($(objpfx)tst-array2.out): Remove rule.
18961 ($(objpfx)tst-array2-cmp.out): New rule.
18962 ($(objpfx)tst-array3.out): Remove rule.
18963 ($(objpfx)tst-array3-cmp.out): New rule.
18964 ($(objpfx)tst-array4.out): Remove rule.
18965 ($(objpfx)tst-array4-cmp.out): New rule.
18966 ($(objpfx)tst-array5.out): Remove rule.
18967 ($(objpfx)tst-array5-cmp.out): New rule.
18968 ($(objpfx)tst-array5-static.out): Remove rule.
18969 ($(objpfx)tst-array5-static-cmp.out): New rule.
18970 [$(run-built-tests) = yes] (tests): Depend on
18971 $(objpfx)order2-cmp.out.
18972 ($(objpfx)order2.out): Remove rule.
18973 ($(objpfx)order2-cmp.out): New rule.
18974 ($(objpfx)tst-initorder.out): Remove rule.
18975 [$(run-built-tests) = yes] (tests): Depend on
18976 $(objpfx)tst-initorder-cmp.out.
18977 ($(objpfx)tst-initorder-cmp.out): New rule.
18978 ($(objpfx)tst-initorder2.out): Remove rule.
18979 [$(run-built-tests) = yes] (tests): Depend on
18980 $(objpfx)tst-initorder2-cmp.out.
18981 ($(objpfx)tst-initorder2-cmp.out): New rule.
18982 [$(run-built-tests) = yes] (tests): Depend on
18983 $(objpfx)tst-unused-dep-cmp.out.
18984 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
18985 ($(objpfx)tst-unused-dep-cmp.out): New rule.
18986 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
18987 on $(objpfx)tst-setvbuf1-cmp.out.
18988 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
18989 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
18990 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
18991 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
18992 ($(objpfx)tst-svc.out): Remove rule.
18993 ($(objpfx)tst-svc-cmp.out): New rule.
18994
ed9a38e2
JM
189952014-02-13 Joseph Myers <joseph@codesourcery.com>
18996
18997 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
18998 * ctype/ctype.h [__USE_MISC]: Likewise.
18999 * dirent/dirent.h [__USE_MISC]: Likewise.
19000 * grp/grp.h [__USE_MISC]: Likewise.
19001 * io/fcntl.h [__USE_MISC]: Likewise.
19002 * io/sys/stat.h [__USE_MISC]: Likewise.
19003 * libio/stdio.h [__USE_MISC]: Likewise.
19004 * posix/unistd.h [__USE_MISC]: Likewise.
19005 * pwd/pwd.h [__USE_MISC]: Likewise.
19006 * stdlib.h [__USE_MISC]: Likewise.
19007 * string/bits/string2.h [__USE_MISC]: Likewise.
19008 * string/string.h [__USE_MISC]: Likewise.
19009 * time/time.h [__USE_MISC]: Likewise.
19010
d6680619
AS
190112014-02-13 Andreas Schwab <schwab@suse.de>
19012
19013 [BZ #16574]
19014 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19015 second answer buffer if it was separately allocated.
19016
ace614b8
JM
190172014-02-12 Joseph Myers <joseph@codesourcery.com>
19018
743151ae
JM
19019 * sysdeps/mips/math-tests.h: Include <features.h>.
19020 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19021 (ROUNDING_TESTS_long_double): Do not define.
19022 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19023 (EXCEPTION_TESTS_long_double): Likewise.
19024 * sysdeps/mips/mips64/libm-test-ulps: Update.
19025
498afc54
JM
19026 * include/features.h (__USE_BSD): Remove macro definitions.
19027 (__USE_SVID): Likewise.
19028 (_BSD_SOURCE): Likewise.
19029 (_SVID_SOURCE): Likewise.
19030 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19031 from definition of _DEFAULT_SOURCE.
19032 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19033 [_DEFAULT_SOURCE].
19034 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19035 * bits/mman.h [__USE_BSD]: Likewise.
19036 * bits/termios.h [__USE_BSD]: Likewise.
19037 * bits/waitstatus.h [__USE_BSD]: Likewise.
19038 * ctype/ctype.h [__USE_SVID]: Likewise.
19039 * dirent/dirent.h [__USE_BSD]: Likewise.
19040 * grp/grp.h [__USE_SVID]: Likewise.
19041 [__USE_BSD]: Likewise.
19042 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19043 * io/fcntl.h [__USE_BSD]: Likewise.
19044 * io/ftw.h [__USE_BSD]: Likewise.
19045 * io/sys/stat.h [__USE_BSD]: Likewise.
19046 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19047 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19048 * libio/stdio.h [__USE_SVID]: Likewise.
19049 [__USE_BSD]: Likewise.
19050 * math/math.h [__USE_SVID]: Likewise.
19051 [__USE_BSD]: Likewise.
19052 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19053 * misc/bits/syslog.h [__USE_BSD]: Likewise.
19054 * misc/search.h [__USE_SVID]: Likewise.
19055 * misc/sys/mman.h [__USE_BSD]: Likewise.
19056 * misc/sys/syslog.h [__USE_BSD]: Likewise.
19057 * misc/sys/uio.h [__USE_BSD]: Likewise.
19058 * posix/bits/unistd.h [__USE_BSD]: Likewise.
19059 * posix/glob.h [__USE_BSD]: Likewise.
19060 * posix/regex.h [__USE_BSD]: Likewise.
19061 * posix/sys/types.h [__USE_BSD]: Likewise.
19062 [__USE_SVID]: Likewise.
19063 * posix/sys/utsname.h [__USE_SVID]: Likewise.
19064 * posix/sys/wait.h [__USE_BSD]: Likewise.
19065 [__USE_SVID]: Likewise.
19066 * posix/unistd.h [__USE_BSD]: Likewise.
19067 [__USE_SVID]: Likewise.
19068 * pwd/pwd.h [__USE_SVID]: Likewise.
19069 * resolv/netdb.h [__USE_BSD]: Likewise.
19070 * setjmp/setjmp.h [__USE_BSD]: Likewise.
19071 * signal/signal.h [__USE_BSD]: Likewise.
19072 [__USE_SVID]: Likewise.
19073 * socket/sys/socket.h [__USE_BSD]: Likewise.
19074 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19075 * stdlib/stdlib.h [__USE_BSD]: Likewise.
19076 [__USE_SVID]: Likewise.
19077 * string/bits/string2.h [__USE_BSD]: Likewise.
19078 [__USE_SVID]: Likewise.
19079 * string/bits/string3.h [__USE_BSD]: Likewise.
19080 * string/endian.h [__USE_BSD]: Likewise.
19081 * string/string.h [__USE_SVID]: Likewise.
19082 [__USE_BSD]: Likewise.
19083 * string/strings.h [__USE_BSD]: Likewise.
19084 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19085 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19086 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19087 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19088 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19089 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19090 Likewise.
19091 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19092 Likewise.
19093 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19094 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19095 Likewise.
19096 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19097 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19098 Likewise.
19099 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19100 Likewise.
19101 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19102 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19103 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19104 Likewise.
19105 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19106 Likewise.
19107 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19108 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19109 * termios/termios.h [__USE_BSD]: Likewise.
19110 * time/sys/time.h [__USE_BSD]: Likewise.
19111 * time/time.h [__USE_BSD]: Likewise.
19112 [__USE_SVID]: Likewise.
19113
dd7b064c
JM
19114 * Makefile (subdir_targets): Remove subdir_lint.out.
19115
a2c4c199
JM
19116 * stdio-common/Makefile (do-tst-unbputc): Remove target.
19117 (do-tst-printf): Likewise.
19118 (tests): Depend directly on $(objpfx)tst-unbputc.out and
19119 $(objpfx)tst-printf.out.
19120
8756f740
JM
19121 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19122
1b6dd3f1
JM
19123 * Makerules (check-abi-%): Change target to
19124 $(objpfx)check-abi-%.out.
19125 (check-abi target): Update dependencies.
19126 (check-abi-pattern variable): Redirect output of diff to $@.
19127 (check-abi variable): Likewise.
19128 * elf/Makefile (check-abi): Update dependencies.
19129
ace614b8
JM
19130 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19131 unused.
19132 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19133 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19134 subnormal range.
19135 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19136 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19137 value has largest subnormal exponent.
19138 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19139 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19140 * sysdeps/aarch64/soft-fp/sfp-machine.h
19141 (_FP_TININESS_AFTER_ROUNDING): New macro.
19142 * sysdeps/alpha/soft-fp/sfp-machine.h
19143 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19144 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19145 Likewise.
19146 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19147 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19148 * sysdeps/mips/soft-fp/sfp-machine.h
19149 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19150 * sysdeps/powerpc/soft-fp/sfp-machine.h
19151 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19152 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19153 Likewise.
19154 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19155 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19156 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19157 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19158 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19159 Likewise.
19160
fbfdf9cb
DAS
191612014-02-12 Dylan Alex Simon <dylan@dylex.net>
19162
19163 [BZ #16545]
19164 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19165 model 1.
19166
68b7efaa
RH
191672014-02-12 Richard Henderson <rth@redhat.com>
19168
c70a4b1d 19169 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
19170 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19171 * sysdeps/unix/sysv/linux/alpha: Move directory from
19172 ports/sysdeps/unix/sysv/linux/alpha.
19173 * README: Update listing for alpha-*-linux-gnu.
19174
cb4a2928
JM
191752014-02-11 Joseph Myers <joseph@codesourcery.com>
19176
c941736c
JM
19177 * include/features.h: Update comment documenting feature test
19178 macros.
19179 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
19180 _DEFAULT_SOURCE.
19181 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19182 (_SVID_SOURCE): Likewise.
19183 (_DEFAULT_SOURCE): Update description of default features.
19184 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19185 with _GNU_SOURCE.
19186 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19187 (S_ISVTX): Likewise.
19188 * manual/math.texi (Mathematical Constants): Likewise.
19189 * manual/signal.texi (Interrupted Primitives): Likewise.
19190 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19191 * math/test-matherr.c (_SVID_SOURCE): Do not define.
19192 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19193 Don't refer to _SVID_SOURCE in warning text.
19194
e8d8d7ec
JM
19195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19196
cb4a2928
JM
19197 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19198 already defined.
19199 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19200 * sysdeps/mips/dl-lookup.c: Remove.
19201 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19202
7e6424e3
AK
192032014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19204
19205 [BZ #16447]
19206 * math/auto-libm-test-in: Add testcase for expl.
19207 * math/auto-libm-test-out: Regenerate.
19208 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19209 calculation of unsafe.
19210 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19211
75eff3fe
MS
192122014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
19213
19214 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19215 * sysdeps/unix/sysv/linux/aarch64: Move directory from
19216 ports/sysdeps/unix/sysv/linux/aarch64.
19217 * README: Update listing for aarch64*-*-linux-gnu.
19218
d35f1e80
WN
192192014-02-11 Will Newton <will.newton@linaro.org>
19220
19221 * manual/probes.texi (Mathematical Function Probes): Use
19222 "triggered" instead of "hit".
19223
7b3436d4
WN
19224 * manual/probes.texi (Internal Probes): Add documentation
19225 of setjmp, longjmp and longjmp_target probes.
19226
b4f12ca3
WN
19227 * include/stap-probe.h: Add comment about probe argument
19228 format.
19229
c13a72b7
WN
19230 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19231 definition. (tr_where, tr_freehook, tr_mallochook,
19232 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19233
195b8165
DM
192342014-02-11 David S. Miller <davem@davemloft.net>
19235
19236 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19237 processing int_tests.
19238
2ad7600b
JM
192392014-02-10 Joseph Myers <joseph@codesourcery.com>
19240
19241 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19242 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19243 * sysdeps/unix/sysv/linux/mips: Move directory from
19244 ports/sysdeps/unix/sysv/linux/mips.
19245 * README: Update listing for mips-*-linux-gnu and
19246 mips64-*-linux-gnu.
19247
73588a72
AS
192482014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19249
19250 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19251 * sysdeps/unix/sysv/linux/m68k: Move directory from
19252 ports/sysdeps/unix/sysv/linux/m68k.
19253 * README: Update listing for m68k-*-linux-gnu.
19254
4372980f
CM
192552014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19256
19257 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19258 * sysdeps/unix/sysv/linux/generic: Move directory from
19259 ports/sysdeps/unix/sysv/linux/generic.
19260 * sysdeps/unix/sysv/linux/tile: Move directory from
19261 ports/sysdeps/unix/sysv/linux/tile.
19262 * README: Update listing for tile*-*-linux-gnu.
19263
a1ffb40e
OB
192642014-02-10 Ondřej Bílka <neleai@seznam.cz>
19265
57f41c40
AS
19266 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19267 __builtin_expect.
a1ffb40e
OB
19268 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19269 * catgets/open_catalog.c (__open_catalog): Likewise.
19270 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19271 * debug/confstr_chk.c: Likewise.
19272 * debug/fread_chk.c (__fread_chk): Likewise.
19273 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19274 * debug/getgroups_chk.c: Likewise.
19275 * debug/mbsnrtowcs_chk.c: Likewise.
19276 * debug/mbsrtowcs_chk.c: Likewise.
19277 * debug/mbstowcs_chk.c: Likewise.
19278 * debug/memcpy_chk.c: Likewise.
19279 * debug/memmove_chk.c: Likewise.
19280 * debug/mempcpy_chk.c: Likewise.
19281 * debug/memset_chk.c: Likewise.
19282 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19283 * debug/strcat_chk.c (__strcat_chk): Likewise.
19284 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19285 * debug/strncat_chk.c (__strncat_chk): Likewise.
19286 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19287 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19288 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19289 * debug/wcpncpy_chk.c: Likewise.
19290 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19291 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19292 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19293 * debug/wcsncpy_chk.c: Likewise.
19294 * debug/wcsnrtombs_chk.c: Likewise.
19295 * debug/wcsrtombs_chk.c: Likewise.
19296 * debug/wcstombs_chk.c: Likewise.
19297 * debug/wmemcpy_chk.c: Likewise.
19298 * debug/wmemmove_chk.c: Likewise.
19299 * debug/wmempcpy_chk.c: Likewise.
19300 * debug/wmemset_chk.c: Likewise.
19301 * dirent/scandirat.c (SCANDIRAT): Likewise.
19302 * dlfcn/dladdr1.c (dladdr1): Likewise.
19303 * dlfcn/dladdr.c (dladdr): Likewise.
19304 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19305 * dlfcn/dlerror.c (__dlerror): Likewise.
19306 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19307 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19308 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19309 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19310 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19311 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19312 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19313 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19314 Likewise.
19315 * elf/dl-conflict.c: Likewise.
19316 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19317 * elf/dl-dst.h: Likewise.
19318 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19319 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19320 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19321 * elf/dl-init.c (call_init, _dl_init): Likewise.
19322 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
19323 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19324 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19325 Likewise.
a1ffb40e
OB
19326 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19327 Likewise.
19328 * elf/dl-minimal.c (__libc_memalign): Likewise.
19329 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19330 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19331 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19332 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
19333 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19334 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
19335 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19336 * elf/dl-writev.h (_dl_writev): Likewise.
19337 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
19338 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19339 (dl_main): Likewise.
a1ffb40e
OB
19340 * elf/setup-vdso.h (setup_vdso): Likewise.
19341 * grp/compat-initgroups.c (compat_call): Likewise.
19342 * grp/fgetgrent.c (fgetgrent): Likewise.
19343 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19344 * grp/putgrent.c (putgrent): Likewise.
19345 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19346 Likewise.
19347 * hurd/hurdinit.c: Likewise.
19348 * iconvdata/8bit-gap.c (struct): Likewise.
19349 * iconvdata/ansi_x3.110.c : Likewise.
19350 * iconvdata/big5.c : Likewise.
19351 * iconvdata/big5hkscs.c : Likewise.
19352 * iconvdata/cp1255.c: Likewise.
19353 * iconvdata/cp1258.c : Likewise.
19354 * iconvdata/cp932.c : Likewise.
19355 * iconvdata/euc-cn.c: Likewise.
19356 * iconvdata/euc-jisx0213.c : Likewise.
19357 * iconvdata/euc-jp.c: Likewise.
19358 * iconvdata/euc-jp-ms.c : Likewise.
19359 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19360 * iconvdata/gb18030.c : Likewise.
19361 * iconvdata/gbbig5.c (const): Likewise.
19362 * iconvdata/gbgbk.c: Likewise.
19363 * iconvdata/gbk.c : Likewise.
19364 * iconvdata/ibm1364.c : Likewise.
19365 * iconvdata/ibm930.c : Likewise.
19366 * iconvdata/ibm932.c: Likewise.
19367 * iconvdata/ibm933.c : Likewise.
19368 * iconvdata/ibm935.c : Likewise.
19369 * iconvdata/ibm937.c : Likewise.
19370 * iconvdata/ibm939.c : Likewise.
19371 * iconvdata/ibm943.c: Likewise.
19372 * iconvdata/iso_11548-1.c: Likewise.
19373 * iconvdata/iso-2022-cn.c : Likewise.
19374 * iconvdata/iso-2022-cn-ext.c : Likewise.
19375 * iconvdata/iso-2022-jp-3.c: Likewise.
19376 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19377 * iconvdata/iso-2022-kr.c : Likewise.
19378 * iconvdata/iso646.c (gconv_end): Likewise.
19379 * iconvdata/iso_6937-2.c : Likewise.
19380 * iconvdata/iso_6937.c : Likewise.
19381 * iconvdata/iso8859-1.c: Likewise.
19382 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19383 * iconvdata/shift_jisx0213.c : Likewise.
19384 * iconvdata/sjis.c : Likewise.
19385 * iconvdata/t.61.c : Likewise.
19386 * iconvdata/tcvn5712-1.c : Likewise.
19387 * iconvdata/tscii.c: Likewise.
19388 * iconvdata/uhc.c : Likewise.
19389 * iconvdata/unicode.c (gconv_end): Likewise.
19390 * iconvdata/utf-16.c (gconv_end): Likewise.
19391 * iconvdata/utf-32.c (gconv_end): Likewise.
19392 * iconvdata/utf-7.c (base64): Likewise.
19393 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19394 * iconv/gconv_close.c (__gconv_close): Likewise.
19395 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
19396 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19397 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19398 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19399 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19400 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
19401 * iconv/iconv.c (iconv): Likewise.
19402 * iconv/iconv_close.c: Likewise.
19403 * iconv/loop.c (SINGLE): Likewise.
19404 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19405 * include/atomic.h: Likewise.
19406 * inet/inet6_option.c (option_alloc): Likewise.
19407 * intl/bindtextdom.c (set_binding_values): Likewise.
19408 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19409 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19410 * intl/localealias.c (read_alias_file): Likewise.
19411 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
19412 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19413 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
19414 * libio/fmemopen.c (fmemopen): Likewise.
19415 * libio/iofgets.c (_IO_fgets): Likewise.
19416 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19417 * libio/iofgetws.c (fgetws): Likewise.
19418 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19419 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
19420 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19421 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
19422 * locale/findlocale.c (_nl_find_locale): Likewise.
19423 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19424 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19425 Likewise.
19426 * locale/setlocale.c (setlocale): Likewise.
19427 * login/programs/pt_chown.c (main): Likewise.
19428 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19429 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
19430 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19431 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
19432 * math/e_exp2l.c: Likewise.
19433 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19434 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19435 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19436 * math/s_catan.c (__catan): Likewise.
19437 * math/s_catanf.c (__catanf): Likewise.
19438 * math/s_catanh.c (__catanh): Likewise.
19439 * math/s_catanhf.c (__catanhf): Likewise.
19440 * math/s_catanhl.c (__catanhl): Likewise.
19441 * math/s_catanl.c (__catanl): Likewise.
19442 * math/s_ccosh.c (__ccosh): Likewise.
19443 * math/s_ccoshf.c (__ccoshf): Likewise.
19444 * math/s_ccoshl.c (__ccoshl): Likewise.
19445 * math/s_cexp.c (__cexp): Likewise.
19446 * math/s_cexpf.c (__cexpf): Likewise.
19447 * math/s_cexpl.c (__cexpl): Likewise.
19448 * math/s_clog10.c (__clog10): Likewise.
19449 * math/s_clog10f.c (__clog10f): Likewise.
19450 * math/s_clog10l.c (__clog10l): Likewise.
19451 * math/s_clog.c (__clog): Likewise.
19452 * math/s_clogf.c (__clogf): Likewise.
19453 * math/s_clogl.c (__clogl): Likewise.
19454 * math/s_csin.c (__csin): Likewise.
19455 * math/s_csinf.c (__csinf): Likewise.
19456 * math/s_csinh.c (__csinh): Likewise.
19457 * math/s_csinhf.c (__csinhf): Likewise.
19458 * math/s_csinhl.c (__csinhl): Likewise.
19459 * math/s_csinl.c (__csinl): Likewise.
19460 * math/s_csqrt.c (__csqrt): Likewise.
19461 * math/s_csqrtf.c (__csqrtf): Likewise.
19462 * math/s_csqrtl.c (__csqrtl): Likewise.
19463 * math/s_ctan.c (__ctan): Likewise.
19464 * math/s_ctanf.c (__ctanf): Likewise.
19465 * math/s_ctanh.c (__ctanh): Likewise.
19466 * math/s_ctanhf.c (__ctanhf): Likewise.
19467 * math/s_ctanhl.c (__ctanhl): Likewise.
19468 * math/s_ctanl.c (__ctanl): Likewise.
19469 * math/w_pow.c: Likewise.
19470 * math/w_powf.c: Likewise.
19471 * math/w_powl.c: Likewise.
19472 * math/w_scalb.c (sysv_scalb): Likewise.
19473 * math/w_scalbf.c (sysv_scalbf): Likewise.
19474 * math/w_scalbl.c (sysv_scalbl): Likewise.
19475 * misc/error.c (error_tail): Likewise.
19476 * misc/pselect.c (__pselect): Likewise.
19477 * nis/nis_callback.c (__nis_create_callback): Likewise.
19478 * nis/nis_call.c (__nisfind_server): Likewise.
19479 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19480 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19481 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19482 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19483 * nis/nis_lookup.c (nis_lookup): Likewise.
19484 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19485 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19486 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19487 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19488 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19489 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19490 * nis/nss_compat/compat-initgroups.c (add_group)
19491 (internal_getgrent_r): Likewise.
19492 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19493 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19494 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19495 (internal_getspnam_r): Likewise.
19496 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19497 (_nss_nis_getaliasbyname_r): Likewise.
19498 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19499 (_nss_nis_getntohost_r): Likewise.
19500 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19501 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19502 (_nss_nis_getgrgid_r): Likewise.
19503 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19504 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19505 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19506 (_nss_nis_gethostbyname4_r): Likewise.
19507 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19508 (initgroups_netid): Likewise.
a1ffb40e 19509 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19510 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19511 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19512 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19513 (_nss_nis_getprotobynumber_r): Likewise.
19514 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19515 (_nss_nis_getsecretkey): Likewise.
19516 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19517 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19518 (_nss_nis_getpwuid_r): Likewise.
19519 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19520 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19521 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19522 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19523 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19524 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19525 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19526 Likewise.
57f41c40
AS
19527 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19528 (_nss_nisplus_getntohost_r): Likewise.
19529 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19530 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19531 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19532 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19533 Likewise.
57f41c40
AS
19534 * nis/nss_nisplus/nisplus-initgroups.c
19535 (_nss_nisplus_initgroups_dyn): Likewise.
19536 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19537 (_nss_nisplus_getnetbyaddr_r): Likewise.
19538 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19539 (_nss_nisplus_getprotobynumber_r): Likewise.
19540 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19541 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19542 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19543 Likewise.
57f41c40
AS
19544 * nis/nss_nisplus/nisplus-service.c
19545 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19546 (_nss_nisplus_getservbyport_r): Likewise.
19547 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19548 (_nss_nisplus_getspnam_r): Likewise.
19549 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19550 Likewise.
a1ffb40e
OB
19551 * nscd/aicache.c (addhstaiX): Likewise.
19552 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19553 * nscd/connections.c (register_traced_file, send_ro_fd)
19554 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19555 (main_loop_epoll): Likewise.
a1ffb40e
OB
19556 * nscd/grpcache.c (addgrbyX): Likewise.
19557 * nscd/hstcache.c (addhstbyX): Likewise.
19558 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19559 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19560 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19561 (addinnetgrX): Likewise.
19562 * nscd/nscd-client.h (__nscd_acquire_maplock)
19563 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19564 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19565 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19566 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19567 Likewise.
19568 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19569 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19570 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19571 (__nscd_get_map_ref): Likewise.
a1ffb40e 19572 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19573 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19574 Likewise.
a1ffb40e
OB
19575 * nscd/pwdcache.c (addpwbyX): Likewise.
19576 * nscd/selinux.c (preserve_capabilities): Likewise.
19577 * nscd/servicescache.c (addservbyX): Likewise.
19578 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19579 * posix/fnmatch.c (fnmatch): Likewise.
19580 * posix/getopt.c (_getopt_internal_r): Likewise.
19581 * posix/glob.c (glob, glob_in_dir): Likewise.
19582 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19583 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19584 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19585 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19586 * resolv/res_init.c: Likewise.
19587 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19588 * resolv/res_query.c (__libc_res_nquery): Likewise.
19589 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19590 Likewise.
19591 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19592 * stdio-common/perror.c (perror): Likewise.
19593 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19594 * stdio-common/tmpnam.c (tmpnam): Likewise.
19595 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19596 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19597 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19598 Likewise.
a1ffb40e
OB
19599 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19600 * stdlib/putenv.c (putenv): Likewise.
19601 * stdlib/setenv.c (__add_to_environ): Likewise.
19602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19603 * stdlib/strtol_l.c (INTERNAL): Likewise.
19604 * string/memmem.c (memmem): Likewise.
19605 * string/strerror.c (strerror): Likewise.
19606 * string/strnlen.c (__strnlen): Likewise.
19607 * string/test-memmem.c (simple_memmem): Likewise.
19608 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19609 * sunrpc/pm_getport.c (__get_socket): Likewise.
19610 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19611 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19612 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19613 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19614 Likewise.
19615 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19616 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19617 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19618 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19619 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19620 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19621 Likewise.
19622 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19623 Likewise.
a1ffb40e
OB
19624 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19625 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19626 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19627 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19628 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19629 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19630 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19631 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19632 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19633 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19634 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19635 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19636 Likewise.
19637 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19638 Likewise.
19639 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19640 Likewise.
19641 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19642 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19643 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19644 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19645 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19646 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19647 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19648 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19649 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19650 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19651 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19652 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19653 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19654 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19655 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19656 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19657 Likewise.
a1ffb40e
OB
19658 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19659 Likewise.
19660 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19661 Likewise.
19662 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19663 Likewise.
19664 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19665 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19666 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19667 Likewise.
19668 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19669 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19670 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19671 * sysdeps/posix/sleep.c: Likewise.
19672 * sysdeps/posix/tempname.c: Likewise.
19673 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19674 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19675 Likewise.
57f41c40
AS
19676 * sysdeps/powerpc/powerpc32/dl-machine.h
19677 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19678 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19679 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19680 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19681 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19682 Likewise.
19683 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19684 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19685 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19686 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19687 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19688 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19689 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19690 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19691 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19692 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19693 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19694 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19695 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19696 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19697 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19698 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19699 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19700 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19701 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19702 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19703 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19704 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19705 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19706 Likewise.
19707 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19708 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19709 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19710 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19711 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19712 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19713 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19714 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19715 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19716 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19717 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19718 Likewise.
19719 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19720 (__posix_fallocate64_l64): Likewise.
19721 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19722 (posix_fallocate): Likewise.
57f41c40
AS
19723 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19724 Likewise.
a1ffb40e 19725 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19726 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19727 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19728 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19729 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19730 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19731 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19732 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19733 (__posix_fallocate64_l64): Likewise.
19734 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19735 Likewise.
19736 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19737 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19738 (__get_clockfreq): Likewise.
a1ffb40e
OB
19739 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19740 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19741 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19742 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19743 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19744 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19745 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19746 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19747 Likewise.
19748 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19749 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19750 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19751 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19752 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19753 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19754 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19755 Likewise.
19756 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19757 (posix_fallocate): Likewise.
19758 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19759 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19760 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19761 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19762 (elf_machine_rela, elf_machine_rela_relative)
19763 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19764 * time/asctime.c (asctime_internal): Likewise.
19765 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19766 * time/tzset.c (__tzset_parse_tz): Likewise.
19767 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19768 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19769 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19770 * wcsmbs/wcsmbsload.h: Likewise.
19771
f3d338c9
OB
19772 [BZ #15894]
19773 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19774
57f41c40
AS
19775 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19776 (arena_get2): Remove THREAD_STATS conditionals.
19777 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19778 (__malloc_stats, int): Likewise.
bdfe308a 19779
d674667c
MF
197802014-02-08 Mike Frysinger <vapier@gentoo.org>
19781
19782 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19783 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19784
6349768c
MF
19785 * manual/setjmp.texi: Fix typos/grammar errors.
19786
0b7c7473
MF
19787 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19788 Only return early when n is <= 0. Delete unused return statement.
19789
ac8cc9e3
MF
19790 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19791 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19792 * debug/tst-longjmp_chk3.c: New file.
19793
c5bb8e23
MF
19794 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19795 (test_main): Replace code with set_fortify_handler call.
19796 * debug/test-strcpy_chk.c: Likewise.
19797 * debug/tst-chk1.c: Likewise.
19798 * debug/tst-longjmp_chk.c: Likewise.
19799 * test-skeleton.c: Include fcntl.h & paths.h
19800 (set_fortify_handler): Define.
19801
10444e42
MF
19802 * debug/tst-longjmp_chk.c: Add header comment and include
19803 ../test-skeleton.c.
19804 (do_test): Mark static.
19805 (TEST_FUNCTION): Define.
19806
1e805e8d
MF
19807 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19808 (IP_PMTUDISC_INTERFACE): Likewise.
19809 (IP_MULTICAST_IF): Likewise.
19810 (IP_MULTICAST_TTL): Likewise.
19811 (IP_MULTICAST_LOOP): Likewise.
19812 (IP_ADD_MEMBERSHIP): Likewise.
19813 (IP_DROP_MEMBERSHIP): Likewise.
19814 (IP_UNBLOCK_SOURCE): Likewise.
19815 (IP_BLOCK_SOURCE): Likewise.
19816 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19817 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19818 (IP_MSFILTER): Likewise.
19819 (MCAST_JOIN_GROUP): Likewise.
19820 (MCAST_BLOCK_SOURCE): Likewise.
19821 (MCAST_UNBLOCK_SOURCE): Likewise.
19822 (MCAST_LEAVE_GROUP): Likewise.
19823 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19824 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19825 (MCAST_MSFILTER): Likewise.
19826 (IP_MULTICAST_ALL): Likewise.
19827 (IP_UNICAST_IF): Likewise.
19828
73f79bb7
MF
19829 * timezone/Makefile: Delete $(have-ksh) check.
19830 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19831 * timezone/tzselect.ksh: Add +x mode bits.
19832
8da79b60
MF
19833 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19834 (ANON_INODE_FS_MAGIC): Likewise.
19835 (BDEVFS_MAGIC): Likewise.
19836 (BINFMTFS_MAGIC): Likewise.
19837 (BTRFS_TEST_MAGIC): Likewise.
19838 (CRAMFS_MAGIC_WEND): Likewise.
19839 (DEBUGFS_MAGIC): Likewise.
19840 (ECRYPTFS_SUPER_MAGIC): Likewise.
19841 (EXT3_SUPER_MAGIC): Likewise.
19842 (EXT4_SUPER_MAGIC): Likewise.
19843 (FUTEXFS_SUPER_MAGIC): Likewise.
19844 (HOSTFS_SUPER_MAGIC): Likewise.
19845 (HUGETLBFS_MAGIC): Likewise.
19846 (MINIX3_SUPER_MAGIC): Likewise.
19847 (MTD_INODE_FS_MAGIC): Likewise.
19848 (NILFS_SUPER_MAGIC): Likewise.
19849 (OPENPROM_SUPER_MAGIC): Likewise.
19850 (PIPEFS_MAGIC): Likewise.
19851 (PSTOREFS_MAGIC): Likewise.
19852 (QNX6_SUPER_MAGIC): Likewise.
19853 (RAMFS_MAGIC): Likewise.
19854 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19855 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19856 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19857 (SECURITYFS_MAGIC): Likewise.
19858 (SELINUX_MAGIC): Likewise.
19859 (SMACK_MAGIC): Likewise.
19860 (SOCKFS_MAGIC): Likewise.
19861 (SQUASHFS_MAGIC): Likewise.
19862 (STACK_END_MAGIC): Likewise.
19863 (TMPFS_MAGIC): Likewise.
19864 (USBDEVICE_SUPER_MAGIC): Likewise.
19865 (V9FS_MAGIC): Likewise.
19866 (XENFS_SUPER_MAGIC): Likewise.
19867 (CRAMFS_MAGIC): Fix typo in comment.
19868 (EXT2_SUPER_MAGIC): Update comment.
19869 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19870
464263cc
JM
198712014-02-08 Joseph Myers <joseph@codesourcery.com>
19872
c6bfe5c4
JM
19873 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19874 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19875 * sysdeps/unix/sysv/linux/arm: Move directory from
19876 ports/sysdeps/unix/sysv/linux/arm.
19877 * README: Update listing for arm-*-linux-gnueabi.
19878
464263cc
JM
19879 * README: Remove mention of am33.
19880
32749f6c
RM
198812014-02-07 Roland McGrath <roland@hack.frob.com>
19882
19883 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19884 than the comma operator, to avoid "rhs of comma has no effect"
19885 compiler warnings.
19886 (__sigfillset, __sigandset, __sigorset): Likewise.
19887 * include/signal.h (__sigemptyset): Likewise.
19888 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19889
d5b396c1
AM
198902014-02-07 Allan McRae <allan@archlinux.org>
19891
19892 * version.h (RELEASE): Set to "development".
19893 (VERSION): Set to "2.19.90"
19894 * NEWS: Add 2.20 section.
19895
3bfff2ed
CD
198962014-02-06 Carlos O'Donell <carlos@redhat.com>
19897
19898 [BZ #16529]
19899 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19900
ee7cc385
SP
199012014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19902
19903 * manual/contrib.texi: Update entry for Carlos O'Donell,
19904 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19905
f877c4f2
CD
199062014-02-05 Carlos O'Donell <carlos@rehdat.com>
19907
27e839f6
CD
19908 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19909
f877c4f2
CD
19910 * sysdeps/unix/sysv/linux/kernel-features.h
19911 [__LINUX_KERNEL_VERSION >= 0x020621]
19912 (__ASSUME_PROC_PID_TASK_COMM): Define.
19913
68159946
SP
199142014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19915
ba17cdbd
SP
19916 [BZ #16398]
19917 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19918 conversion when destination buffer does not have enough space.
19919 * libio/tst-ftell-partial-wide.c: New test case.
19920 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19921
68159946
SP
19922 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19923 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19924 Leonard and Allan McRae.
19925
2b528732
DM
199262014-02-04 David S. Miller <davem@davemloft.net>
19927
19928 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19929 32-bit.
19930
0ff82463
AZ
199312014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19932
57f41c40
AS
19933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19934 New file
c01603f7
AZ
19935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19936 New file
57f41c40
AS
19937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19938 New file.
19939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19940 New file.
c01603f7
AZ
19941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19942 New file.
57f41c40
AS
19943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
19944 New file.
19945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
19946 New file.
c01603f7
AZ
19947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
19948 New file.
19949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
19950 New file.
19951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
19952 New file.
19953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
19954 New file.
19955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
19956 New file.
19957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
19958 New file.
19959
199602014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19961
0ff82463
AZ
19962 * nptl/shlib-versions: Change powerpc*le start to 2.17.
19963 * shlib-versions: Likewise.
19964
1695c773
AZ
199652014-02-04 Roland McGrath <roland@hack.frob.com>
19966 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19967
19968 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
19969 (abilist-pattern): New variable, set to %-le.abilist.
19970
19971 * Makerules (abilist-pattern): New variable.
19972 (vpath): Use $(abilist-pattern) in place of %.abilist.
19973 (check-abi-% pattern rule): Likewise.
19974 (check-abi, update-abi): Likewise.
19975
6c0ce4b4
EW
199762014-02-04 Eric Wong <normalperson@yhbt.net>
19977
19978 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19979
481e3524
CD
199802014-02-03 Carlos O'Donell <carlos@redhat.com>
19981
19982 * manual/startup.texi: Add next, previous, and top entries for
19983 the `Program Arguments' and `Environment Variables' nodes.
19984
375592d3
AO
199852014-02-03 Alexandre Oliva <aoliva@redhat.com>
19986
19987 * manual/macros.texi: Add comments before MTASC-safety macros.
19988
f54838ba
AO
19989 * manual/users.texi: Document MTASC-safety properties.
19990
57f41c40
AS
19991 * manual/threads.texi (pthread_key_create, pthread_key_delete)
19992 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
19993 @deftypefun, and add @safety note.
19994 * manual/signal.texi: Move comments that analyze the above
19995 functions to their home place.
19996
fd3daba4
AM
199972014-02-03 Allan McRae <allan@archlinux.org>
19998
19999 * po/sl.po: Update Slovenian translation from translation project.
20000
597636d7
AO
200012014-02-02 Alexandre Oliva <aoliva@redhat.com>
20002
20003 * manual/time.texi (timegm): Add missing blank after @c.
20004 Reported by Joseph Myers <joseph@codesourcery.com>.
20005
ee196e3c
AO
200062014-02-01 Alexandre Oliva <aoliva@redhat.com>
20007
20008 * manual/check-safety.sh: New.
20009 * manual/Makefile ($(objpfx)stamp-summary): Run it.
20010
f8d529d5
AO
20011 * manual/terminal.texi: Document MTASC-safety properties.
20012
de55fdf4
AO
20013 * manual/filesys.texi: Document MTASC-safety properties.
20014
c3299c08
AO
20015 * manual/errno.texi: Document MTASC-safety properties.
20016
06e90b14
AO
20017 * manual/intro.texi: Document safety identifiers and
20018 conditionals.
20019
1acd4371
AO
20020 * manual/string.texi (wcstok): Fix prototype.
20021 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20022
23e5b8cb
AO
20023 * manual/time.texi: Document MTASC-safety properties.
20024
11087373
AO
20025 * manual/string.texi: Document MTASC-safety properties.
20026
5da2c93d
AO
20027 * manual/threads.texi: Document MTASC-safety properties.
20028
171e9210
AO
20029 * manual/stdio.texi: Document MTASC-safety properties.
20030
d9e02532
AO
20031 * manual/syslog.texi: Document MTASC-safety properties.
20032
6af8bab7
AO
20033 * manual/sysinfo.texi: Document MTASC-safety properties.
20034
663b02d7
AO
20035 * manual/startup.texi: Document MTASC-safety properties.
20036
973f180b
AO
20037 * manual/socket.texi: Document MTASC-safety properties.
20038
8f3c25c8
AO
20039 * manual/signal.texi: Document MTASC-safety properties.
20040
542210fb
AO
200412014-01-31 Alexandre Oliva <aoliva@redhat.com>
20042
20043 * manual/setjmp.texi: Document MTASC-safety properties.
20044
433c45a2
AO
20045 * manual/search.texi: Document MTASC-safety properties.
20046
c8ce789c
AO
20047 * manual/resource.texi: Document MTASC-safety properties.
20048
19f5d29c
AO
20049 * manual/process.texi: Document MTASC-safety properties.
20050
e2dfb7f4
AO
20051 * manual/platform.texi: Document MTASC-safety properties.
20052
8c1413f5
AO
20053 * manual/pipe.texi: Document MTASC-safety properties.
20054
03483ada
AO
20055 * manual/pattern.texi: Document MTASC-safety properties.
20056
29e7e2df
AO
20057 * manual/message.texi: Document MTASC-safety properties.
20058
9f529d7c
AO
20059 [BZ #12751]
20060 * manual/memory.texi: Document MTASC-safety properties.
20061
27aaa791
AO
20062 * manual/math.texi: Document MTASC-safety properties.
20063
f2d58726
AO
20064 * manual/locale.texi: Document MTASC-safety properties.
20065
2cc3615c
AO
20066 * manual/llio.texi: Document MTASC-safety properties.
20067
d9f0ec97
AO
20068 * manual/libdl.texi: New.
20069
e7c4409a
AO
20070 * manual/lang.texi: Document MTASC-safety properties.
20071
27bdc63c
AO
20072 * manual/job.texi: Document MTASC-safety properties.
20073
a7b90ea9
AO
20074 * manual/getopt.texi: Document MTASC-safety properties.
20075
c49130e3
AO
20076 * manual/ctype.texi: Document MTASC-safety properties.
20077
0d23a5c1
MR
200782014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
20079
20080 [BZ #16046]
20081 * csu/libc-tls.c (static_map): Remove variable.
20082 (__libc_setup_tls): Use main executable's link map for TLS data.
20083 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20084 casing for LM_ID_BASE and GL(dl_nns).
20085 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20086 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
20087 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20088 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20089 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20090 member.
20091 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20092 l_phnum members.
20093
0037bb60
AO
200942014-01-30 Alexandre Oliva <aoliva@redhat.com>
20095
20096 * manual/debug.texi: Document MTASC-safety properties.
20097
409e00bd
L
200982014-01-29 H.J. Lu <hongjiu.lu@intel.com>
20099
20100 [BZ #16510]
20101 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20102 of __x86_64__ when disabling x87 inline functions.
20103
86e60666
AO
201042014-01-29 Alexandre Oliva <aoliva@redhat.com>
20105
20106 * manual/charset.texi: Document MTASC-safety properties.
20107
76167637
AO
20108 * manual/crypt.texi: Document MTASC-safety properties.
20109
e567f2a0
AO
20110 * manual/conf.texi: Document MTASC-safety properties.
20111
b719dafd
AO
20112 * manual/arith.texi: Document MTASC-safety properties.
20113
4a16c662
AO
20114 * manual/argp.texi: Document MTASC-safety properties.
20115
0a57b83e
AO
20116 * manual/macros.texi: Introduce macros to document multi
20117 thread, asynchronous signal and asynchronous cancellation
20118 safety properties.
20119 * manual/intro.texi: Introduce the properties themselves.
20120
feab2397
KK
201212014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20122
20123 * sysdeps/sh/sh4/Makefile: New file.
20124
1c0d11bc
AS
201252014-01-27 Andreas Schwab <schwab@linux-m68k.org>
20126
20127 * math/gen-libm-test.pl ($srcdir): New variable.
20128 ($auto_input): Use it.
20129
af37a8a3
SP
201302014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20131
d7b00f98
SP
20132 [BZ #16506]
20133 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20134 access beyond array bounds when parsing netgroups file.
20135
af37a8a3
SP
20136 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20137 the old buffer before realloc.
20138
0c00f062
AM
201392014-01-27 Allan McRae <allan@archlinux.org>
20140
20141 * po/fr.po: Update French translation from translation project.
20142
7d69a1b0
KK
201432014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20144
20145 * sysdeps/sh/libm-test-ulps: Regenerate.
20146
6e697ff7
DM
201472014-01-24 David S. Miller <davem@davemloft.net>
20148
20149 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20150
9cadb35c
KK
201512014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20152
20153 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20154 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20155
5d41dadf
SP
201562013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20157
20158 [BZ #16474]
20159 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20160 string pointers after reallocation.
20161
0bad441c
KK
201622014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20163
20164 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20165 __SH4A__ instead of __SH_FPU_ANY__.
20166
7007c661
KK
201672014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20168
20169 * sysdeps/sh/fpu_control.h: New file.
20170 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20171 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20172 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20173 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20174 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20175 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20176 * sysdeps/sh/sys/ucontext.h: Remove.
20177 * sysdeps/sh/sys: Remove directory.
20178
0f0c35e4
AK
201792014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20180
20181 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20182 s390/sys/ucontext.h.
20183 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20184 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20185
4959e284
L
201862014-01-20 H.J. Lu <hongjiu.lu@intel.com>
20187
20188 [BZ #15605]
20189 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20190
d98720e0
AZ
201912014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20192
20193 [BZ#16431]
20194 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20195 Adjust the vDSO correctly for internal calls.
20196 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20197
91cbd0bc
AM
201982014-01-20 Allan McRae <allan@archlinux.org>
20199
20200 * po/ca.po: Update Catalan translation from translation project.
20201
7a02cfad
MF
202022014-01-16 Mike Frysinger <vapier@gentoo.org>
20203
20204 * sysdeps/s390/sotruss-lib.c: New file.
20205
736c304a
AZ
202062014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20207
20208 [BZ#16430]
6e077ee5 20209 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
20210 (__GI___gettimeofday): Alias for a different internal symbol to avoid
20211 local calls issues by not having a PLT stub required for IFUNC calls.
20212 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20213
94d0cea0
JM
202142014-01-16 Joseph Myers <joseph@codesourcery.com>
20215
20216 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20217 * math/test-fpucw-static.c: Likewise.
20218
980cb518
SP
202192013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20220
20221 [BZ #16453]
20222 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20223
2393fc01
AZ
202242014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20225
20226 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20227 implementation for powerpc.
20228
d359bcc2
OB
202292014-01-15 Ondřej Bílka <neleai@seznam.cz>
20230
20231 [BZ #14782]
20232 * sysdeps/posix/system.c (__libc_system): Do not enable
20233 asynchronous cancellation.
20234
7beb48cb
AK
202352014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20236
20237 [BZ #16427]
20238 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20239 handling only for numbers special also in the IEEE case.
20240
c20d5bf5
AK
202412014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20242
20243 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20244
e83bd4ee
AM
202452014-01-11 Allan McRae <allan@archlinux.org>
20246
76d0ea69
AM
20247 * po/bg.po: Update Bulgarian translation from translation project.
20248
e83bd4ee
AM
20249 * po/de.po: Update German translation from translation project.
20250
bc2ba20a
RM
202512014-01-10 Roland McGrath <roland@hack.frob.com>
20252
20253 * sysdeps/generic/gcc-compat.h: New file.
20254
649ecea2
SP
202552014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20256
20257 * benchtests/asin-inputs: Correct slow inputs.
20258 * benchtests/acos-inputs: Likewise.
20259
1b19c006
AM
202602014-01-10 Allan McRae <allan@archlinux.org>
20261
a46dab08
AM
20262 * po:sv.po: Update Swedish translation from translation project.
20263
421df74a
AM
20264 * po/vi.po: Update Vietnamese translation from translation project.
20265
d61c51a7
AM
20266 * po/eo.po: Update Esperanto translation from translation project.
20267
0339a319
AM
20268 * po/cs.po: Update Czech translation from translation project.
20269
94ad3e99
AM
20270 * po/nl.po: Update Dutch translation from translation project.
20271
e349ca71
AM
20272 * po/pl.po: Update Polish translation from translation project.
20273
ddf930c1
AM
20274 * po/ru.po: Update Russian translation from translation project.
20275
1b19c006
AM
20276 * po/uk.po: Update Ukrainian translation from translation project.
20277
9f236c49
BM
202782014-01-08 Brooks Moses <bmoses@google.com>
20279
20280 * elf/dl-load.c: Fix comment typo.
20281
cd6701cf
CD
202822014-01-08 Carlos O'Donell <carlos@redhat.com>
20283
20284 * po/header.pot: Rename to...
20285 * po/pot.header: ... this.
20286 * po/Makefile: Use pot.header.
20287
66671c84
YK
202882014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20289 Maxim Kuvyrkov <maxim@kugelworks.com>
20290
20291 [BZ #16394]
cd6701cf
CD
20292 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20293 SRC and DEST against LEN.
66671c84 20294
38f34581
AZ
202952014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20296
20297 [BZ #16414]
20298 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20299 implementation.
20300 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20301
203022014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
20303
20304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20305
4c327f2a
JM
203062014-01-08 Joseph Myers <joseph@codesourcery.com>
20307
20308 [BZ #16408]
20309 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20310 for large positive arguments.
20311
b821f414
JM
203122014-01-07 Joseph Myers <joseph@codesourcery.com>
20313
1f0f2067
JM
20314 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20315
a5a326f6
JM
20316 * math/auto-libm-test-in: Mark various tests with
20317 xfail-rounding:ldbl-128ibm.
20318 * math/auto-libm-test-out: Regenerated.
20319
b821f414
JM
20320 [BZ #16407]
20321 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20322 Increase overflow threshold.
20323
94c8a4bc
OB
203242014-01-07 Ondřej Bílka <neleai@seznam.cz>
20325
20326 [BZ #14286]
20327 * stdio-common/vfprintf.c: Check for integer overflow.
20328
87ded0c3
AK
203292014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20330
20331 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20332 the first argument and return value of __tls_get_addr_internal.
20333
c5eebdd0
AK
203342014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20335
20336 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20337 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20338
05d138ef
AK
203392014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20340
20341 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20342 * sysdeps/s390/rtld-global-offsets.sym: New file.
20343 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20344 GLIBC_2.19 symbol.
20345 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20346 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20347 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20348 ... this.
20349 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20350 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20351 ... this.
20352 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20353 Regenerate.
20354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20355 Regenerate.
20356 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20357 halfs of GPRs for high_gprs contexts.
20358 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20359 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20360 field.
20361 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20362 uc_flags field.
20363 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20364 64 bit versions:
20365 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20366 for high GPRs (uc_high_gprs) and for future extensions
20367 (__reserved).
20368 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20369 for future extensions (__reserved).
20370 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20371 64 bit versions:
20372 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20373 SC_HIGHGPRS offset definition.
20374 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20375 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20376
93a45ff1
AK
20377 * Versions.def: Add GLIBC_2.19 for libpthread.
20378 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20379 siglongjmp for libpthread with GLIBC_2.19 symver.
20380 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20381 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20382 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20383 * sysdeps/s390/__longjmp.c: New file.
20384 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20385 * sysdeps/s390/longjmp.c: New file.
20386 * sysdeps/s390/setjmp.S: New file.
20387 * sysdeps/s390/sigjmp.S: New file.
20388 * sysdeps/s390/v1-longjmp.c: New file.
20389 * sysdeps/s390/v1-setjmp.h: New file.
20390 * sysdeps/s390/v1-sigjmp.c: New file.
20391 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20392 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20393 GLIBC_2.19 version.
20394 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20395 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20396 versioned symbols for ____longjmp_chk.
20397 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20398 Likewise.
20399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20400 Regenerate.
20401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20402 Regenerate.
20403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20404 Regenerate.
20405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20406 Regenerate.
20407 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20408 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20409 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20410 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20411 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20412 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20413 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20414 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20415 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20416 * sysdeps/s390/rtld-__longjmp.c: New file.
20417 * sysdeps/s390/rtld-setjmp.S: New file.
20418
eb3fc44b
JM
204192014-01-06 Joseph Myers <joseph@codesourcery.com>
20420
20421 [BZ #16400]
20422 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20423 Return -__logl (x) for small positive arguments without evaluating
20424 a polynomial.
20425
9341dde4
MF
204262014-01-06 Mike Frysinger <vapier@gentoo.org>
20427
20428 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20429 Rename to ...
20430 (__ptrace_peeksiginfo_args): ... this.
20431 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20432 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20433 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20434
4cff0293
AM
204352014-01-06 Allan McRae <allan@archlinux.org>
20436
20437 * inet/netinet/in.h: Fix typo in comment.
20438
75595dcf
AJ
204392014-01-05 Andreas Jaeger <aj@suse.de>
20440
20441 * sysdeps/i386/fpu/libm-test-ulps: Update.
20442
79c1e109
AM
204432014-01-05 Allan McRae <allan@archlinux.org>
20444
dd804818
AM
20445 * po/libc.pot: Regenerated.
20446
79c1e109
AM
20447 * malloc/memusagestat.c: Fix gettext call formatting.
20448
0c813d1f
SK
204492014-01-04 Sami Kerola <kerolasa@iki.fi>
20450
20451 * nscd/nscd.c: Improve usage() output.
20452
20f4a8d9
MF
204532014-01-04 Mike Frysinger <vapier@gentoo.org>
20454
20455 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20456 * sysdeps/unix/sysv/linux/configure: Regenerated.
20457 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20458 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20459
22562bb2
JM
204602014-01-03 Joseph Myers <joseph@codesourcery.com>
20461
20462 [BZ #16390]
20463 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20464 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20465
d7ad2d9b
AZ
204662014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20467
20468 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20469 extra tokens at end of #undef directive.
20470 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20471 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20472 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20473
7dd009d8
JM
204742014-01-03 Joseph Myers <joseph@codesourcery.com>
20475
24db925a
JM
20476 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20477
7dd009d8
JM
20478 * math/auto-libm-test-in: Mark various tests with
20479 xfail-rounding:ldbl-128ibm.
20480 * math/auto-libm-test-out: Regenerated.
20481
396e3ecf
JM
204822014-01-02 Joseph Myers <joseph@codesourcery.com>
20483
819e5d50
JM
20484 [BZ #16386]
20485 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20486 numbers with subnormal high part when calculating exponent.
20487
90b6a1e5
JM
20488 [BZ #16385]
20489 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20490 fabs.
20491
396e3ecf
JM
20492 [BZ #16384]
20493 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20494 M_LN2l.
20495 (__ieee754_acoshl): Use __log1pl not __log1p.
20496
6c8dbf00
OB
204972013-01-02 Ondřej Bílka <neleai@seznam.cz>
20498
57f41c40
AS
20499 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20500 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20501 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20502 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20503 (reused_arena, arena_get2): Convert to GNU style.
20504 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20505 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20506 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20507 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20508 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20509 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20510 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20511 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20512 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20513 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20514 * malloc/malloc.h: Likewise.
57f41c40
AS
20515 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20516 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20517 * malloc/mcheck.h: Likewise.
57f41c40
AS
20518 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20519 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20520 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20521 * malloc/morecore.c (__default_morecore): Likewise.
20522 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20523 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20524 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20525 (print_and_abort): Likewise.
6c8dbf00
OB
20526 * malloc/obstack.h: Likewise.
20527 * malloc/set-freeres.c (__libc_freeres): Likewise.
20528 * malloc/tst-mallocstate.c (main): Likewise.
20529 * malloc/tst-mtrace.c (main): Likewise.
20530 * malloc/tst-realloc.c (do_test): Likewise.
20531
d4124212
SP
205322013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20533
9a3c6a6f
SP
20534 [BZ #16366]
20535 * nscd/netgroupcache.c (do_notfound): New function.
20536 (addgetnetgrentX): Use it.
20537
d4124212
SP
20538 [BZ # 16365]
20539 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20540 NSS_STATUS_NOTFOUND.
20541
97b9a009
JM
205422014-01-01 Joseph Myers <joseph@codesourcery.com>
20543
20544 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20546
d4697bc9
AM
205472014-01-01 Allan McRae <allan@archlinux.org>
20548
ddb3687f
AM
20549 * scripts/update-copyrights: Update configure input file suffix.
20550
88726d48
AM
20551 * NEWS: Update copyright year.
20552 * catgets/gencat.c: Likewise.
20553 * csu/version.c: Likewise.
20554 * debug/catchsegv.sh: Likewise.
20555 * debug/pcprofiledump.c: Likewise.
20556 * debug/xtrace.sh: Likewise.
20557 * elf/ldconfig.c: Likewise.
20558 * elf/ldd.bash.in: Likewise.
20559 * elf/pldd.c: Likewise.
20560 * elf/sotruss.ksh: Likewise.
20561 * elf/sprof.c: Likewise.
20562 * iconv/iconv_prog.c: Likewise.
20563 * iconv/iconvconfig.c: Likewise.
20564 * locale/programs/locale.c: Likewise.
20565 * locale/programs/localedef.c: Likewise.
20566 * login/programs/pt_chown.c: Likewise.
20567 * malloc/memusage.sh: Likewise.
20568 * malloc/memusagestat.c: Likewise.
20569 * malloc/mtrace.pl: Likewise.
20570 * manual/libc.texinfo: Likewise.
20571 * nscd/nscd.c: Likewise.
20572 * nss/getent.c: Likewise.
20573 * nss/makedb.c: Likewise.
20574 * posix/getconf.c: Likewise.
20575 * scripts/test-installation.pl: Likewise.
20576
d4697bc9
AM
20577 * All files with FSF copyright notices: Update copyright dates
20578 using scripts/update-copyrights.
20579 * intl/plural.c: Regenerated.
20580 * locale/programs/charmap-kw.h: Likewise.
20581 * locale/programs/locfile-kw.h: Likewise.
20582
c8590f9d
MF
205832013-12-31 Mike Frysinger <vapier@gentoo.org>
20584
20585 * sysdeps/unix/sysv/linux/configure: Regenerated.
20586 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20587 the linux/fanotify.h header.
20588 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20589 HAVE_LINUX_FANOTIFY_H is defined.
20590
b19221b9
SP
205912013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20592
dd1d85e5
SP
20593 * benchtests/cos-inputs: New inputs.
20594 * benchtests/sin-inputs: Likewise.
20595
1acbb90f
SP
20596 * benchtests/atan-inputs: New inputs. Fix name of multiple
20597 precision fallback inputs.
20598
4c012ed3
SP
20599 * benchtests/atanh-inputs: New inputs.
20600 * benchtests/tanh-inputs: Likewise.
20601
eff98324
SP
20602 * benchtests/acosh-inputs: New inputs.
20603 * benchtests/asinh-inputs: Likewise.
20604
ce641152
SP
20605 * benchtests/cosh-inputs: New inputs.
20606 * benchtests/sinh-inputs: Likewise.
20607
b19221b9
SP
20608 * benchtests/acos-inputs: Add more inputs.
20609 * benchtests/asin-inputs: Likewise.
20610
030a4976 206112013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20612
030a4976 20613 [BZ #16375]
9dcc8f11
VS
20614 * manual/arith.texi: Fix spelling.
20615 * manual/charset.texi: Likewise.
20616 * manual/errno.texi: Likewise.
20617 * manual/filesys.texi: Likewise.
20618 * manual/lang.texi: Likewise.
20619 * manual/llio.texi: Likewise.
20620 * manual/locale.texi: Likewise.
20621 * manual/message.texi: Likewise.
20622 * manual/resource.texi: Likewise.
20623 * manual/search.texi: Likewise.
20624 * manual/setjmp.texi: Likewise.
20625 * manual/stdio.texi: Likewise.
20626 * manual/string.texi: Likewise.
20627 * manual/sysinfo.texi: Likewise.
20628 * manual/time.texi: Likewise.
20629
11520a57
CD
206302013-12-27 Carlos O'Donell <carlos@redhat.com>
20631
20632 * po/sl.po: New file.
20633
471103ae
MF
206342013-12-27 Mike Frysinger <vapier@gentoo.org>
20635
20636 * .gitignore: Add core/.gdbinit/.gdb_history.
20637
6c9642ed
AM
206382013-12-27 Allan McRae <allan@archlinux.org>
20639
20640 [BZ #16369]
20641 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20642 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20643
3f637079
BM
206442013-12-24 Brooks Moses <bmoses@google.com>
20645
20646 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20647 all compilers that claim C++98 compliance, not just GCC.
20648 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20649 Likewise.
20650
abc26e99
MK
206512013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20652
20653 * NEWS: Restore accidentally deleted bug-fix entries.
20654
362b47fe
MK
206552013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20656 Ondřej Bílka <neleai@seznam.cz>
20657
20658 [BZ #15073]
20659 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20660 have_lock.
362b47fe 20661
b9bcbbcb
OB
206622013-12-23 Ondřej Bílka <neleai@seznam.cz>
20663
20664 [BZ #12986]
20665 * manual/stdio.texi (String Input Conversions): Clarify that character
20666 classes are not supported.
20667
fb55fcd2
AZ
206682013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20669
20670 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20671
ef7344f0
JM
206722013-12-22 Joseph Myers <joseph@codesourcery.com>
20673
4f40e4b3
JM
20674 [BZ #16337]
20675 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20676 Calculate results for small negative arguments directly rather
20677 than using reflection formula with special underflow handling.
20678
ef7344f0
JM
20679 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20680 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20681 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20682 (fchflags): Likewise.
20683 (revoke): Likewise.
20684 (setlogin): Likewise.
20685 (sigaltstack): Likewise.
20686 (wait4): Likewise.
20687 (sigblock): Remove.
20688 (sigsetmask): Likewise.
20689 (wait3): Likewise.
20690 (waitpid): Likewise.
20691 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20692 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20693 file.
20694 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20695 * sysdeps/unix/bsd/Makefile: ... here.
20696 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20697 * sysdeps/unix/bsd/Versions: ... here.
20698 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20699 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20700 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20701 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20702 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20703 * sysdeps/unix/bsd/sigblock.c: ... here.
20704 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20705 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20706 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20707 * sysdeps/unix/bsd/sigvec.c: ... here.
20708 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20709 * sysdeps/unix/bsd/tcdrain.c: ... here.
20710 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20711 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20712 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20713 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20714 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20715 * sysdeps/unix/bsd/wait.c: ... here.
20716 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20717 * sysdeps/unix/bsd/wait3.c: ... here.
20718 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20719 * sysdeps/unix/bsd/waitpid.c: ... here.
20720
5b0626b9
JM
207212013-12-21 Joseph Myers <joseph@codesourcery.com>
20722
20723 [BZ #16356]
20724 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20725 round-to-nearest for [!USE_AS_EXPM1L].
20726 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20727 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20728 more tests of exp and exp10. Expect some exp10 tests to miss
20729 exceptions or fail in directed rounding modes.
20730 * math/auto-libm-test-out: Regenerated.
20731 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20732 (exp10_test_tonearest): New function.
20733 (exp10_towardzero_test_data): New array.
20734 (exp10_test_towardzero): New function.
20735 (exp10_downward_test_data): New array.
20736 (exp10_test_downward): New function.
20737 (exp10_upward_test_data): New array.
20738 (exp10_test_upward): New function.
20739 (main): Call the new functions.
20740 * sysdeps/i386/fpu/libm-test-ulps: Update.
20741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20742
7fda5682
JM
207432013-12-20 Joseph Myers <joseph@codesourcery.com>
20744
31e3a405
JM
20745 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20746 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20747 * math/auto-libm-test-out: Regenerated.
20748 * math/libm-test.inc (acosh_test_data): Add more tests.
20749 (atanh_test_data): Likewise.
20750 (ceil_test_data): Likewise.
20751 (copysign_test_data): Likewise.
20752 * sysdeps/i386/fpu/libm-test-ulps: Update.
20753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20754
85bff96a
JM
20755 * timezone/checktab.awk: Update from tzcode 2013i.
20756 * timezone/private.h: Likewise.
20757 * timezone/scheck.c: Likewise.
20758 * timezone/tzfile.h: Likewise.
20759 * timezone/tzselect.ksh: Likewise.
20760 * timezone/zdump.c: Likewise.
20761 * timezone/zic.c: Likewise.
20762
b7867a3b
JM
20763 * math/auto-libm-test-in: Add tests of cpow.
20764 * math/auto-libm-test-out: Regenerated.
20765 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20766 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20767 mpc_cc_c.
20768 (func_calc_desc): Add mpc_cc_c union field.
20769 (test_functions): Add cpow.
20770 (special_fill_2pi): New function.
20771 (special_real_inputs): Add 2pi.
20772 (calc_generic_results): Handle mpc_cc_c.
20773 * sysdeps/i386/fpu/libm-test-ulps: Update.
20774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20775
7fda5682
JM
20776 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20777 csqrt, ctan and ctanh.
20778 * math/auto-libm-test-out: Regenerated.
20779 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20780 (TEST_COND_x86): Likewise.
20781 (ccos_test_data): Use AUTO_TESTS_c_c.
20782 (ccosh_test_data): Likewise.
20783 (cexp_test_data): Likewise.
20784 (clog_test_data): Likewise.
20785 (csqrt_test_data): Likewise.
20786 (ctan_test_data): Likewise.
20787 (ctan_tonearest_test_data): Likewise.
20788 (ctan_towardzero_test_data): Likewise.
20789 (ctan_downward_test_data): Likewise.
20790 (ctan_upward_test_data): Likewise.
20791 (ctanh_test_data): Likewise.
20792 (ctanh_tonearest_test_data): Likewise.
20793 (ctanh_towardzero_test_data): Likewise.
20794 (ctanh_downward_test_data): Likewise.
20795 (ctanh_upward_test_data): Likewise.
20796 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20797 mpc_c_c.
20798 (func_calc_desc): Add mpc_c_c union field.
20799 (FUNC_mpc_c_c): New macro.
20800 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20801 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20802 ctanh.
20803 (special_fill_min_subnorm_p120): New function.
20804 (special_real_inputs): Add min_subnorm_p120.
20805 (calc_generic_results): Handle mpc_c_c.
20806 * sysdeps/i386/fpu/libm-test-ulps: Update.
20807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20808
5ff8d60e
SP
208092013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20810
57f41c40
AS
20811 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20812 (do_sin_slow): New functions.
20813 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20814 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20815
84ba214c
SP
20816 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20817 Use M to change sign of result instead of X. Assume X is
20818 positive.
20819 (csloww1): Likewise.
20820 (__sin): Adjust.
20821 (__cos): Adjust.
20822
975195e4
SP
20823 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20824 arguments A and DA.
20825 (__sin): Adjust.
20826 (__cos): Likewise.
20827
5ff8d60e
SP
20828 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20829 (__cos): Likewise.
20830 (sloww1): Don't adjust sign of DX.
20831 (csloww1): Likewise.
20832 (sloww2): Use X directly and don't adjust sign of DX.
20833 (csloww2): Likewise.
20834
eb983568
JM
208352013-12-19 Joseph Myers <joseph@codesourcery.com>
20836
64a17f1a
JM
20837 * math/auto-libm-test-in: Add tests of cabs and carg.
20838 * math/auto-libm-test-out: Regenerated.
20839 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20840 (carg_test_data): Likewise.
20841 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20842 mpc_c_f.
20843 (func_calc_desc): Add mpc_c_f union field.
20844 (test_functions): Add cabs and carg.
20845 (calc_generic_results): Handle mpc_c_f.
20846
eb983568
JM
20847 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20848 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20849 as a macro and a compat symbol.
20850 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20851 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20852 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20853 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20854 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20855 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20856 not use .hidden.
20857 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20858 Likewise.
20859 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20860 Likewise.
20861 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20862 Likewise.
20863 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20864 Likewise.
20865 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20866 Likewise.
20867 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20868 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20869 from GLIBC_2.3.2.
20870
6eeb678a
AZ
208712013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20872
20873 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20874
6f6fc482
JM
208752013-12-19 Joseph Myers <joseph@codesourcery.com>
20876
21fea2e2
JM
20877 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20878 trailing whitespace removed.
20879 * scripts/config.guess: Update to version 2013-11-29.
20880 * scripts/config.sub: Update to version 2013-10-01.
20881
6f6fc482
JM
20882 * math/auto-libm-test-in: Add tests of sincos.
20883 * math/auto-libm-test-out: Regenerated.
20884 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20885 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20886 mpfr_f_11.
20887 (func_calc_desc): Add mpfr_f_11 union field.
20888 (test_functions): Add sincos.
20889 (calc_generic_results): Handle mpfr_f_11.
20890 * sysdeps/i386/fpu/libm-test-ulps: Update.
20891 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20892
83f5c32d
AS
208932013-12-19 Andreas Schwab <schwab@suse.de>
20894
20895 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20896 CALL_MCOUNT.
20897 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20898 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20899 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20900
c688b419
JM
209012013-12-19 Joseph Myers <joseph@codesourcery.com>
20902
335ee092
JM
20903 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20904 * sysdeps/i386/fpu/libm-test-ulps: Update.
20905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20906
f88acd39
JM
20907 [BZ #16293]
20908 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20909 round-to-nearest mode when using frndint.
20910 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20911 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20912 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20913 Likewise.
20914 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20915 sinh test to fail.
20916 * math/auto-libm-test-out: Regenerated.
20917 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20918 (TEST_COND_x86): Likewise.
20919 (expm1_tonearest_test_data): New array.
20920 (expm1_test_tonearest): New function.
20921 (expm1_towardzero_test_data): New array.
20922 (expm1_test_towardzero): New function.
20923 (expm1_downward_test_data): New array.
20924 (expm1_test_downward): New function.
20925 (expm1_upward_test_data): New array.
20926 (expm1_test_upward): New function.
20927 (main): Run the new test functions.
20928 * sysdeps/i386/fpu/libm-test-ulps: Update.
20929 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20930
c688b419
JM
20931 * include/features.h: Update comment documenting feature test
20932 macros. Mention _DEFAULT_SOURCE in comment.
20933 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20934 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20935 _BSD_SOURCE and _SVID_SOURCE.
20936 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20937 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20938 !_SVID_SOURCE]: Likewise.
20939 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20940 (__USE_POSIX_IMPLICITLY): Define.
20941 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20942 (_POSIX_SOURCE): Undefine and redefine.
20943 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20944 (_POSIX_C_SOURCE): Likewise.
20945 * manual/creature.texi (_DEFAULT_SOURCE): Document.
20946 (Feature Test Macros): Update documentation of default features.
20947
9f6e964c
RS
209482013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20949
20950 * benchtests/Makefile: Add bench-strtok.
20951 * benchtests/bench-strtok.c: New file: strtok benchtest.
20952
ee0a148a
AM
209532013-12-19 Allan McRae <allan@archlinux.org>
20954
20955 * manual/install.texi: Suppress menu for plain text output.
20956 * INSTALL: Regenerated.
20957
b9ab448f
BM
209582013-12-18 Brooks Moses <bmoses@google.com>
20959
20960 [BZ #15846]
20961 * misc/getauxval.c: Include errno.h.
20962 (__getauxval): Set errno to ENOENT if the requested type is not
20963 found.
20964 * misc/sys/auxv.h (getauxval): Document that it may set errno;
20965 don't declare with __attribute_const__.
20966 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
20967 * manual/startup.texi: Document that getauxval sets errno.
20968
23776487
JM
209692013-12-18 Joseph Myers <joseph@codesourcery.com>
20970
f889953b
JM
20971 * math/auto-libm-test-in: Add tests of jn and yn.
20972 * math/auto-libm-test-out: Regenerated.
20973 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
20974 (yn_test_data): Likewise.
20975 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20976 mpfr_if_f.
20977 (func_calc_desc): Add mpfr_if_f union field.
20978 (FUNC_mpfr_if_f): New macro.
20979 (test_functions): Add jn and yn.
20980 (calc_generic_results): Assert type of second input for
20981 mpfr_ff_f. Handle mpfr_if_f.
20982 (output_for_one_input_case): Disable all checking for arguments
20983 fitting floating-point types in case of an integer argument.
20984 * sysdeps/i386/fpu/libm-test-ulps: Update.
20985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20986
23776487
JM
20987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20988 Don't expect fegetround reference in libm.so.
20989
cb756c6d
MS
209902013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20991
20992 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
20993 $(config-cflags-nofma).
20994
2dec468f
JM
209952013-12-18 Joseph Myers <joseph@codesourcery.com>
20996
5953eb3a
JM
20997 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
20998 * math/auto-libm-test-out: Regenerated.
20999
2dec468f
JM
21000 [BZ #16338]
21001 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21002 to determine exponent and adjust argument to have exponent of -1.
21003 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21004 log2.
21005 * math/auto-libm-test-out: Regenerated.
21006 * sysdeps/i386/fpu/libm-test-ulps: Update.
21007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21008
4d84e6ad
OB
210092013-12-18 Ondřej Bílka <neleai@seznam.cz>
21010
21011 * manual/probes.texi: Remove cases when per-thread arenas are
21012 disabled.
21013
1818483b
AS
210142013-12-18 Andreas Schwab <schwab@suse.de>
21015
21016 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21017 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21018 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21019 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21020 * sysdeps/i386/i686/multiarch/Makefile: Update.
21021 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21022
25de95bf
JM
210232013-12-17 Joseph Myers <joseph@codesourcery.com>
21024
21025 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21026 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21027
674762d9
PE
210282013-12-17 Paul Eggert <eggert@cs.ucla.edu>
21029
ed27ed83 21030 [BZ #15968]
0748546f
PE
21031 Support TZ transition times < 00:00:00.
21032 This is needed for version-3 tz-format files; it supports time
21033 stamps past 2037 for America/Godthab (the only entry in the tz
21034 database for which this change is relevant).
21035 * manual/time.texi (TZ Variable): Document transition times
21036 from -167:59:59 through -00:00:01.
21037 * time/tzset.c (tz_rule): Time of day is now signed.
21038 (__tzset_parse_tz): Parse negative time of day.
21039
4480e934
PE
21040 Document TZ transition times >= 25:00:00.
21041 * manual/time.texi (TZ Variable): Document transition times from
21042 25:00:00 through 167:59:59. These are already supported, and this
21043 support will help with version-3 tz-format files.
21044
69947401
PE
21045 * manual/time.texi (TZ Variable): Modernize North America example
21046 to reflect current (i.e., 2007-and-later) daylight saving rules.
21047
674762d9
PE
21048 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21049
7011c262
JM
210502013-12-17 Joseph Myers <joseph@codesourcery.com>
21051
2fc6557e
JM
21052 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21053 * sysdeps/unix/bsd/bits/stat.h: Likewise.
21054 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21055 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21056 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21057 * sysdeps/unix/bsd/bsdstat.h: Likewise.
21058 * sysdeps/unix/bsd/clock.c: Likewise.
21059 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21060 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21061 * sysdeps/unix/bsd/init-posix.c: Likewise.
21062 * sysdeps/unix/bsd/poll.c: Likewise.
21063 * sysdeps/unix/bsd/ptsname.c: Likewise.
21064 * sysdeps/unix/bsd/seekdir.c: Likewise.
21065 * sysdeps/unix/bsd/setegid.c: Likewise.
21066 * sysdeps/unix/bsd/seteuid.c: Likewise.
21067 * sysdeps/unix/bsd/setgid.c: Likewise.
21068 * sysdeps/unix/bsd/setrgid.c: Likewise.
21069 * sysdeps/unix/bsd/setruid.c: Likewise.
21070 * sysdeps/unix/bsd/setsid.c: Likewise.
21071 * sysdeps/unix/bsd/setuid.c: Likewise.
21072 * sysdeps/unix/bsd/sigaction.c: Likewise.
21073 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21074 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21075 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21076 * sysdeps/unix/bsd/telldir.c: Likewise.
21077 * sysdeps/unix/bsd/times.c: Likewise.
21078 * sysdeps/unix/bsd/usleep.c: Likewise.
21079
029c7b25
JM
21080 * misc/Makefile (install-lib): Remove libbsd-compat.a.
21081 ($(objpfx)libbsd-compat.a): Remove rule.
21082
7011c262
JM
21083 * include/features.h (__FAVOR_BSD): Do not define.
21084 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21085 features conflicting with POSIX.
21086 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21087 (_BSD_SOURCE): Remove description of not being a subset of other
21088 feature test macros.
21089 * manual/job.texi (getpgrp): Do not document BSD version.
21090 (getpgid): Do not document by reference to BSD getpgrp.
21091 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21092 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21093 * signal/signal.h [__FAVOR_BSD]: Likewise.
21094 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21095 instead of making contents conditional on [__FAVOR_BSD].
21096 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21097
affb6f78
AZ
210982013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21099
21100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21101
c88769dd
JM
211022013-12-17 Joseph Myers <joseph@codesourcery.com>
21103
6432a540
JM
21104 [BZ #16314]
21105 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21106 values below 2**-450, not 2**-500.
21107 * math/auto-libm-test-in: Don't allow spurious underflow from
21108 hypot.
21109 * math/auto-libm-test-out: Regenerated.
21110
c88769dd
JM
21111 [BZ #16316]
21112 [BZ #16330]
21113 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21114 values of ha and hb and sort them after adjusting subnormal
21115 arguments.
21116 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21117 Likewise.
21118 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21119 values of ea and eb and sort them after adjusting subnormal
21120 arguments.
21121 * math/auto-libm-test-in: Do not expect some hypot tests of
21122 subnormals to fail. Add more hypot tests.
21123 * math/auto-libm-test-out: Regenerated.
21124
29618f6b
KK
211252013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21126
21127 [BZ #13304]
21128 * sysdeps/sh/s_fma.c: New file.
21129 * sysdeps/sh/s_fmaf.c: New file.
21130 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
21131 version.
21132 * sysdeps/sh/Implies: Add sh/soft-fp.
21133
eacfdfbf
RM
211342013-12-16 Roland McGrath <roland@hack.frob.com>
21135
21136 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
21137 level of indirection to members `objname', `errstring', `malloced'.
21138 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21139 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
21140 it as the __longjmp argument (just pass 1 instead).
21141 (_dl_catch_error): Initialize C with argument pointers and address of
21142 volatile local ERRCODE rather than copying values out of C at return.
21143
ff362e5b
JM
211442013-12-16 Joseph Myers <joseph@codesourcery.com>
21145
21146 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21147 * math/auto-libm-test-out: Regenerated.
21148 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21149 (hypot_test_data): Likewise.
21150 (pow_test_data): Likewise.
21151 (pow_tonearest_test_data): Likewise.
21152 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21153 mpfr_ff_f.
21154 (func_calc_desc): Add mpfr_ff_f union field.
21155 (FUNC_mpfr_ff_f): New macro.
21156 (test_functions): Add atan2, hypot and pow.
21157 (special_fill_min): New function.
21158 (special_fill_minus_min): Likewise.
21159 (special_fill_min_subnorm): Likewise.
21160 (special_fill_minus_min_subnorm): Likewise.
21161 (special_real_inputs): Add min, -min, min_subnorm and
21162 -min_subnorm.
21163 (calc_generic_results): Handle mpfr_ff_f.
21164 * sysdeps/i386/fpu/libm-test-ulps: Update.
21165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21166
5764c27f
WN
211672013-12-16 Will Newton <will.newton@linaro.org>
21168
21169 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21170 (Aligned Memory Blocks): Add documentation for aligned_alloc
21171 and suggest it as an alternative to posix_memalign.
21172 (Hooks for Malloc): Document __memalign_hook is also called
21173 for aligned_alloc. (Summary of Malloc): Add summary for
21174 aligned alloc. Document __memalign_hook is also called
21175 for aligned_alloc.
21176
0a096e44
WN
211772013-12-16 Will Newton <will.newton@linaro.org>
21178
21179 * manual/memory.texi (Malloc Examples): Clarify default
21180 alignment documentation. Suggest posix_memalign rather
21181 than memalign or valloc.
21182 (Aligned Memory Blocks): Remove suggestion to use memalign
21183 or valloc. Remove obsolete comment about BSD.
21184 Document memalign errno values and mark the function obsolete.
21185 Document posix_memalign returned error codes. Mark valloc
21186 as obsolete. (Hooks for Malloc): __memalign_hook is also
21187 called for posix_memalign and valloc.
21188 (Summary of Malloc): Add posix_memalign to function summary.
21189 __memalign_hook is also called for posix_memalign and valloc.
21190
8d561986
SP
211912013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21192
21193 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21194 TAYLOR_SIN.
21195 (__sin): Adjust.
21196 (__cos): Likewise.
21197 (sloww): Use mynumber union. Expand ternary operator into
21198 if-else statements.
21199 (cslow): use mynumber union.
21200
73616a74
AM
212012013-12-16 Allan McRae <allan@archlinux.org>
21202
9e8ac24b
AM
21203 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21204 * configure: Regenerated.
21205
6f8e37eb
AM
21206 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21207
8894bad3
AM
21208 [BZ #14120]
21209 * configure.ac: Added --enable-maintainer-mode. Check for
21210 autoconf when enabled.
21211 * configure: Regenerated.
21212
73616a74
AM
21213 * nscd/nscd.service: New file.
21214 * nscd/nscd.tmpfiles: New file.
21215
584b18eb
OB
212162013-12-14 Ondřej Bílka <neleai@seznam.cz>
21217
21218 [BZ #12100]
21219 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21220 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21221 * sysdeps/x86_64/multiarch/strstr.c: ... here.
21222 (strstr): Add __strstr_sse2_unaligned ifunc.
21223 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21224 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21225 (strcasestr): Remove __strcasestr_sse42 ifunc.
21226 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21227 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21228 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21229
8a5c7897
KK
212302013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21231
21232 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21233 * sysdeps/sh/bits/fenv.h: ... here.
21234 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21235
fd712ef3
AZ
212362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21237
21238 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21239
42fcb46c
AZ
21240 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21241 hypotf multiarch implementations.
21242 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21243 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21244 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21245 multiarch hypot for PPC64.
21246 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21247 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21248 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21249 multiarch hypotf for PPC64.
21250
83efded4
AZ
21251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21252 modff multiarch implementations.
21253 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21255 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21256 multiarch modf for PPC64.
21257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21260 multiarch modff for PPC64.
21261
43e246d2
AZ
21262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21263 and logl multiarch implementations.
21264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21266 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21267 multiarch logb for PPC64.
21268 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21271 multiarch logb for PPC64.
21272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21275 multiarch logb for PPC64.
21276
8fdad123
AZ
21277 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21278 isinff multiarch implementation.
21279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21280 file.
21281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21283 multiarch isinf for PPC64.
21284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21285 file.
21286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21287 multiarch isinff for PPC64.
21288
1481d706
AZ
21289 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21290 finitef multiarch implementation.
21291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21292 file.
21293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21295 multiarch finite for PPC64.
21296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21297 file.
21298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21299 multiarch finitef for PPC64.
21300
5ccd5fc8
AZ
21301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21302 lrint multiarch implementation.
21303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21304 file.
21305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21307 multiarch llrint for PPC64.
21308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21309 multiarch lrint for PPC64.
21310
2568f3fa
AZ
21311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21312 copysignf multiarch implementation.
21313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21314 file.
21315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21316 file.
21317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21318 multiarch copysign for PPC64.
21319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21320 multiarch copysignf for PPC64.
21321
1cb341fd
AZ
21322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21323 multiarch implementation.
21324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21325 file.
21326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21327 file.
21328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21329 file.
21330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21331 file.
21332 multiarch llround for PPC64.
21333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21334 multiarch trunc for PPC64.
21335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21336 multiarch truncf for PPC64.
21337
59a3e194
AZ
21338 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21339 multiarch implementation.
21340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21341 file.
21342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21343 file.
21344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21345 file.
21346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21347 file.
21348 multiarch llround for PPC64.
21349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21350 multiarch round for PPC64.
21351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21352 multiarch roundf for PPC64.
21353
357fd3b4
AZ
21354 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21355 multiarch implementation.
21356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21357 file.
21358 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21359 file.
21360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21361 file.
21362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21363 file.
21364 multiarch llround for PPC64.
21365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21366 multiarch floor for PPC64.
21367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21368 multiarch floorf for PPC64.
21369
96770f12
AZ
21370 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21371 multiarch implementation.
21372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21373 file.
21374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21375 file.
21376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21377 file.
21378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21379 file.
21380 multiarch llround for PPC64.
21381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21382 multiarch ceil for PPC64.
21383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21384 multiarch ceilf for PPC64.
21385
c3627f6e
AZ
21386 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21387 multiarch implementation.
21388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21389 file.
21390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21391 file.
21392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21393 file.
21394 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21395 multiarch llround for PPC64.
21396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21397 multiarch lround for PPC64.
21398
b2284ad7
AZ
21399 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21400 multiarch implementation.
21401 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21403 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21404 file.
21405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21408 multiarch isnan for PPC64.
21409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21410 multiarch isnanf for PPC64.
21411
69bbc63d
AZ
21412 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21413 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21414 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21415 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21416 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21418
c24517c9
AZ
21419 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21420 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21421 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21422 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21423
a52374e8
AZ
21424 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21425 multiarch implementations.
21426 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21427 (__libc_ifunc_impl_list): Likewise.
21428 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21429 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21430 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21431 multiarch stpcpy for PPC64.
21432
7f5ec113
AZ
21433 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21434 multiarch implementations.
21435 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21436 (__libc_ifunc_impl_list): Likewise.
21437 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21438 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21439 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21440 multiarch strcpy for PPC64.
21441
e28bcd42
AZ
21442 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21443 redefine function name.
21444 (_wordcopy_fwd_dest_aligned): Likewise.
21445 (_wordcopy_bwd_aligned): Likewise.
21446 (_wordcopy_bwd_dest_aligned): Likewise.
21447 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21448 multiarch implementations.
21449 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21450 (__libc_ifunc_impl_list): Likewise.
21451 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21452 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21453 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21454 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21455 multiarch wcscpy for PPC64.
21456
92cacfce
AZ
21457 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21458 multiarch implementations.
21459 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21460 (__libc_ifunc_impl_list): Likewise.
21461 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21462 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21463 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21464 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21465 multiarch wcscpy for PPC64.
21466
7b714620
AZ
21467 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21468 multiarch implementations.
21469 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21470 (__libc_ifunc_impl_list): Likewise.
21471 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21472 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21473 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21474 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21475 multiarch wcsrchr for PPC64.
21476
16fd2ae3
AZ
21477 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21478 multiarch implementations.
21479 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21480 (__libc_ifunc_impl_list): Likewise.
21481 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21482 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21483 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21484 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21485 multiarch wcschr for PPC64.
21486
9ee2969b
AZ
21487 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21488 multiarch implementations.
21489 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21490 (__libc_ifunc_impl_list): Likewise.
21491 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21492 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21493 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21494 multiarch strchrnul for PPC64.
21495
372dc060
AZ
21496 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21497 implementations.
21498 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21499 (__libc_ifunc_impl_list): Likewise.
21500 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21501 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21502 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21503 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21504 strchr for PPC64.
21505
24c2c3b9
AZ
21506 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21507 implementations.
21508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21509 (__libc_ifunc_impl_list): Likewise.
21510 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21511 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21512 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21513 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21514 strncmp for PPC64.
21515
1c92d9a0
AZ
21516 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21517 multiarch implementations.
21518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21519 (__libc_ifunc_impl_list): Likewise.
21520 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21521 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21522 strncasecmp for PPC64.
21523 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21524 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21525 multiarch strncasecmp_l for PPC64.
21526
17de3ee3
AZ
21527 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21528 multiarch implementations.
21529 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21530 (__libc_ifunc_impl_list): Likewise.
21531 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21532 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21533 multiarch strcasecmp for PPC64.
21534 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21535 file.
21536 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21537 multiarch strcasecmp_l for PPC64.
21538
62982bf9
AZ
21539 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21540 implementations.
21541 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21542 (__libc_ifunc_impl_list): Likewise.
21543 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21544 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21545 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21546 strnlen for PPC64.
21547
a65f4904
AZ
21548 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21549 implementations.
21550 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21551 (__libc_ifunc_impl_list): Likewise.
21552 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21553 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21554 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21555 strlen for PPC64.
21556
1fd005ad
AZ
21557 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21558 implementations.
21559 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21560 (__libc_ifunc_impl_list): Likewise.
21561 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21562 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21563 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21564 rawmemrchr for PPC64.
21565
cd05ba91
AZ
21566 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21567 implementation.
21568 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21569 (__libc_ifunc_impl_list): Likewise.
21570 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21571 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21572 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21573 memrchr for PPC64.
21574
870f8676
AZ
21575 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21576 implementation.
21577 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21578 (__libc_ifunc_impl_list): Likewise.
21579 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21580 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21581 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21582 memchr for PPC64.
21583
f00be62b
AZ
21584 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21585 implementation.
21586 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21587 (__libc_ifunc_impl_list): Likewise.
21588 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21589 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21590 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21591 mempcpy for PPC64.
21592
8a29a3d0
AZ
21593 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21594 avoid cretion of __bzero symbol.
21595 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21596 Likewise.
21597 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21598 Likewise.
21599 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21600 Likewise.
21601 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21602 multiarch implementations.
21603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21604 (__libc_ifunc_impl_list): Likewise.
21605 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21606 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21607 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21608 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21609 bzero for PPC32.
21610 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21611 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21612 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21613 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21614 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21615 memset for PPC64.
21616 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21617
07253fcf
AZ
21618 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21620 implementations.
21621 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21622 (__libc_ifunc_impl_list): Likewise.
21623 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21624 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21625 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21626 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21627 memcmp for PPC64.
21628
b5beafbc
AZ
21629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21630 multiarch for POWER/PPC64.
21631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21632 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21633 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21634 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21635 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21636 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21637 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21638 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21639 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21640 memcpy for PPC64.
21641
5e6a4d4b
AZ
21642 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21643 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21644 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21645 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21646 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21647 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21648 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21649 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21650 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21651 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21652 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21653 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21654 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21655 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21656 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21664
ddfab6dc
KK
216652013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21666
21667 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21668
19b5525e
SP
216692013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21670
21671 * benchtests/Makefile (bench): Add exp2 and log2.
21672 (LDLIBS-bench-exp2): Add -lm.
21673 (LDLIBS-bench-log2): Likewise.
21674 * benchtests/exp2-inputs: New inputs file.
21675 * benchtests/log2-inputs: New inputs file.
21676 * benchtests/log-inputs: Add new inputs.
21677 * benchtests/tan-inputs: Likewise.
21678
196f7f5d
SP
216792013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21680
7a74607f
SP
21681 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21682 definition...
57f41c40
AS
21683 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21684 (csloww2): ... from here.
7a74607f 21685
196f7f5d
SP
21686 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21687 instead of structures.
21688 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21689 (POLYNOMIAL): Likewise.
21690 (TAYLOR_SLOW): Likewise.
21691 (__sin): Likewise.
21692 (__cos): Likewise.
21693 (slow1): Likewise.
21694 (slow2): Likewise.
21695 (sloww): Likewise.
21696 (sloww1); Likewise.
21697 (sloww2): Likewise.
21698 (bsloww1): Likewise.
21699 (bsloww2): Likewise.
21700 (cslow2): Likewise.
21701 (csloww): Likewise.
21702 (csloww1): Likewise.
21703 (csloww2): Likewise.
21704
0dfa665c
OB
217052013-12-10 Ondřej Bílka <neleai@seznam.cz>
21706
21707 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21708 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21709 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21710 * malloc/hooks.c (realloc_check): Likewise.
21711
5782a80f
OB
21712 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21713 * malloc/arena.c: Remove PER_THREAD conditional.
21714 [!PER_THREAD]: Remove code.
21715 (ptmalloc_unlock_all2): Likewise.
21716 (ptmalloc_init): Likewise.
21717 (_int_new_arena): Likewise.
21718 (arena_get2): Likewise.
21719 * malloc/hooks.c (__malloc_get_state): Likewise.
21720 (__malloc_set_state): Likewise.
21721 * malloc/malloc.c: Likewise.
21722 (struct malloc_state): Likewise.
21723 (struct malloc_par): Likewise.
21724 (__libc_realloc): Likewise.
21725 (__libc_mallopt): Likewise.
21726
aeb95445
AZ
217272013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21728
21729 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21730
e8349efd
OB
217312013-12-09 Ondřej Bílka <neleai@seznam.cz>
21732
21733 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21734 macro to a function. Check for zero perturb_byte.
21735 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21736
f3eeb3fc 21737 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21738 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21739 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21740 force_reg by atomic_forced_read.
21741 * malloc/arena.c (ptmalloc_init): Likewise.
21742 * malloc/hooks.c (top_check): Likewise.
21743
be2f9009
AZ
217442013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21745
21746 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21747
e7b914bd
MT
217482013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21749
21750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21751
9f0be4f8
JM
217522013-12-08 Joseph Myers <joseph@codesourcery.com>
21753
21754 * math/auto-libm-test-in: Add tests of lgamma.
21755 * math/auto-libm-test-out: Regenerated.
21756 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21757 (M_LOG_2_SQRT_PIl): Likewise.
21758 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21759 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21760 mpfr_f_f1.
21761 (func_calc_desc): Add mpfr_f_f1 union field.
21762 (ARGS1): New macro.
21763 (ARGS2): Likewise.
21764 (ARGS3): Likewise.
21765 (ARGS4): Likewise.
21766 (RET1): Likewise.
21767 (RET2): Likewise.
21768 (CALC): Likewise.
21769 (FUNC): Likewise.
21770 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21771 (test_functions): Add lgamma.
21772 (calc_generic_results): Handle mpfr_f_f1.
21773 * sysdeps/i386/fpu/libm-test-ulps: Update.
21774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21775
24eeafdb
AZ
217762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21777
21778 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21779 __mpn_add_n for PowerPC64/POWER7.
21780 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21781 __mpn_sub_n for PowerPC64/POWER7.
21782
4a2c0fd4
AZ
21783 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21784 __mpn_addmul_1 for PowerPC64.
21785 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21786 __mpn_submul_1 for PowerPC64.
21787 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21788 for PowerPC64.
21789 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21790 for PowerPC64.
21791
4b5b548c
FS
217922013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21793
21794 [BZ #15089]
21795 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21796
0a3ac0aa
AZ
217972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21798
21799 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21800
ccdc8438
AZ
21801 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21802 add multiarch folders.
21803 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21804 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21805 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21806 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21807 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21808 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21809 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21810 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21811 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21812 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21813 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21820
2e973d99
AZ
21821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21822 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21824 New file.
21825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21826 New file.
21827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21828 multiarch __ieee754_hypot for PowerPC32.
21829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21830 New file.
21831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21832 New file.
21833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21834 multiarch __ieee754_hypotf for PowerPC32.
21835
2d9470b2
AZ
21836 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21837 long_double_symbol only if __logbl is defined.
21838 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21839 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21840 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21841 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21842 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21843 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21844 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21845 path for implementation.
21846 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21847 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21849 logb, and logbl multiarch implementations for PowerPC32.
21850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21851 file.
21852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21853 file.
21854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21855 multiarch logb for PowerPC32.
21856 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21857 file.
21858 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21859 file.
21860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21861 multiarch logbf for PowerPC32.
21862 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21863 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21864 file.
21865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21866 multiarch logbl implementation for PowerPC32.
21867
5212ffce
AZ
21868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21869 and modff multiarch implementations.
21870 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21871 New file.
21872 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21873 New file.
21874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21875 multiarch modf for PowerPC32.
21876 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21877 New file.
21878 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21879 New file.
21880 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21881 multiarch modff for PowerPC32.
21882
79dccf31
AZ
21883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21884 and lrintf multiarch implementations.
21885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21886 New file.
21887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21888 New file.
21889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21890 multiarch lrint for PowerPC32.
21891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21892 file: multiarch lrintf for PowerPC32.
21893
deb66480
AZ
21894 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21895 and lroundf multiarch implementations.
21896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21897 New file.
21898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21899 New file.
21900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21901 New file.
21902 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21903 multiarch lround for PowerPC32.
21904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21905 file: multiarch lroundf for PowerPC32.
21906
264b036b
AZ
21907 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21908 copysign and copysignf multiarch implementations.
21909 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21910 New file.
21911 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21912 New file.
21913 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21914 file: multiarch copysign for PowerPC32.
21915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21916 file: multiarch copysignf for PowerPC32.
21917
d47db6c9
AZ
21918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21919 and truncf multiarch implementations.
21920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21921 New file.
21922 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21923 file.
21924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21925 multiarch trunc for PowerPC32.
21926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21927 New file.
21928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21929 New file.
21930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21931 multiarch truncf for PowerPC32.
21932
ddb60b5a
AZ
21933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21934 and roundf multiarch implementations.
21935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21936 New file.
21937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21938 file.
21939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21940 multiarch round for PowerPC32.
21941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21942 New file.
21943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
21944 New file.
21945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
21946 multiarch roundf for PowerPC32.
21947
bedcf49b
AZ
21948 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
21949 and floorf multiarch implementations.
21950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
21951 New file.
21952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
21953 file.
21954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
21955 multiarch floor for PowerPC32.
21956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
21957 New file.
21958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
21959 New file.
21960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
21961 multiarch floorf for PowerPC32.
21962
35ae5b40
AZ
21963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
21964 and ceilf multiarch implementations.
21965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
21966 New file.
21967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
21968 file.
21969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
21970 multiarch ceil for PowerPC32.
21971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
21972 New file.
21973 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
21974 file.
21975 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
21976 multiarch ceilf for PowerPC32.
21977
ae1a4cd9
AZ
21978 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
21979 is defined.
21980 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
21981 FINITEF is defined.
21982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
21983 and finitef multiarch implementations.
21984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
21985 New file.
21986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
21987 file.
21988 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
21989 multiarch finite for PowerPC32.
21990 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
21991 New file.
21992 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
21993 file: multiarch finitef for PowerPC32.
21994
64fffd65
AZ
21995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
21996 and isinff multiarch implementations.
21997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
21998 file.
21999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22000 file.
22001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22002 multiarch isinf for PowerPC32.
22003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22004 New file.
22005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22006 multiarch isinff for PowerPC32.
22007
8e4e7ba2
AZ
22008 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22009 alias when __isnan is defined.
22010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22011 and isnanf multiarch implementations.
22012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22013 file.
22014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22015 file.
22016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22017 file.
22018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22019 file.
22020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22021 multiarch isnan for PowerPC32.
22022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22023 New file.
22024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22025 New file.
22026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22027 multiarch isnanf for PowerPC32.
22028
ddba588e
AZ
22029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22030 and sqrtf multiarch implementations.
22031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22032 file.
22033 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22034 file.
22035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22036 multiarch sqrt for PowerPC32.
22037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22038 file.
22039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22040 file.
22041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22042 multiarch sqrtf for PowerPC32.
22043
0f96a2f0
AZ
22044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22045 and llroundf multiarch implementations.
22046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22047 New file.
22048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22049 New file.
22050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22051 New file.
22052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22053 file: multiarch llround for PowerPC32.
22054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22055 file: multiarch llroundf for PowerPC32.
22056
c9b5d79e
AZ
22057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22058 multiarch PowerPC32 fpu implementations.
22059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22060 New file.
22061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22062 New file.
22063 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22064 multiarch llrint for PowerPC32.
22065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22066 New file.
22067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22068 New file.
22069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22070 file.
22071
9cbb3aab
AZ
22072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22073
ea5a72f8
AZ
22074 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22075 file.
22076 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22077 file.
22078 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22079 file.
22080 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22081 multiarch wordcopy for PPC32.
22082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22083 wordcopy objects.
22084 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22085 (__libc_ifunc_impl_list): Likewise.
22086 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22087 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22088 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22089 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22090 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22091 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22092
93be09e7
AZ
22093 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22094 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22095 file.
22096 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22097 file.
22098 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22099 file.
22100 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22101 multiarch wcscpy for PPC32.
22102 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22103 multiarch objects.
22104 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22105 (__libc_ifunc_impl_list): Likewise.
22106 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22107 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22108 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22109 sysdeps/powerpc/power6/wcscpy.c.
22110
bb04e529
AZ
22111 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22112 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22113 file.
22114 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22115 file.
22116 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22117 file.
22118 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22119 multiarch wcsrchr for PPC32.
22120 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22121 multiarch objects.
22122 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22123 (__libc_ifunc_impl_list): Likewise.
22124 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22125 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22126 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22127 sysdeps/powerpc/power6/wcsrchr.c.
22128
05b5cd1c
AZ
22129 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22130 file.
22131 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22132 file.
22133 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22134 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22135 multiarch wcschr for PPc32.
22136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22137 multiarch objects.
22138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22139 (__libc_ifunc_impl_list): Likewise.
22140 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22141 * sysdeps/powerpc/power6/wcschr.c: ... to here.
22142 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22143 sysdeps/powerpc/power6/wcschr.c.
22144
ba964147
AZ
22145 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22146 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22147 file.
22148 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22149 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22150 file: multiarch strchr for PPC32.
22151 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22152 multiarch objects.
22153 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22154 (__libc_ifunc_impl_list): Likewise.
22155
31c81aaa
AZ
22156 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22157 name.
22158 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22159 file.
22160 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22161 file.
22162 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22163 multiarch strchrnul for PPC32.
22164 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22165 multiarch objects.
22166 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22167 (__libc_ifunc_impl_list): Likewise.
22168
0d0607d9
AZ
22169 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22170 file.
22171 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22172 multiarch strncasecmp for PPC32.
22173 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22174 file.
22175 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22176 multiarch strncasecmp_l for PPC32.
22177 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22178 strncasecmp multiarch objects.
22179 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22180 (__libc_ifunc_impl_list): Likewise.
22181
4dfd5c86
AZ
22182 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22183 file.
22184 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22185 multiarch strncasecmp for PPC32.
22186 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22187 New file.
22188 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22189 multiarch strcasecmp_l for PPC32.
22190 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22191 multiarch objects.
22192 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22193 (__libc_ifunc_impl_list): Likewise.
22194
a19e01a3
AZ
22195 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22196 file.
22197 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22198 file.
22199 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22200 multiarch strncmp for PPC32.
22201 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22202 multiarch objects.
22203 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22204 (__libc_ifunc_impl_list): Likewise.
22205
ae9cf7a2
AZ
22206 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22207 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22208 file.
22209 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22210 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22211 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22212 multiarch objects.
22213 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22214 (__libc_ifunc_impl_list): Likewise.
22215
3148bb7d
AZ
22216 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22217 file.
22218 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22219 file.
22220 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22221 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22222 multiarch objects.
22223 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22224 (__libc_ifunc_impl_list): Likewise.
22225
7af8b946
AZ
22226 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22227 file.
22228 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22229 file.
22230 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22231 multiarch rawmemchr for PPC32.
22232 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22233 multiarch objects.
22234 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22235 (__libc_ifunc_impl_list): Likewise.
22236
03a6aa6a
AZ
22237 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22238 file.
22239 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22240 file.
22241 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22242 file: memrchr multiarch for PPC32.
22243 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22244 multiarch objects.
22245 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22246 (__libc_ifunc_impl_list): Likewise.
22247
1c62e6d9
AZ
22248 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22249 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22250 file.
22251 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22252 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22253 multiarch memchr for PPC32.
22254 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22255 multiarch objects.
22256 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22257 (__libc_ifunc_impl_list): Likewise.
22258
87da8bdb
AZ
22259 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22260 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22261 file.
22262 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22263 file.
22264 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22265 file: multiarch mempcpy for PPC32.
22266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22267 multiarch objects.
22268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22269 (__libc_ifunc_impl_list): Likewise.
22270
20ed4714
AZ
22271 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22272 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22273 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22274 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22275 multiarch bzero for PPC32.
22276 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22277 file.
22278 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22279 file.
22280 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22281 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22282 file: multiarch memset for PPC32.
22283 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22284 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22285 memset multiarch objects.
22286 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22287 (__libc_ifunc_impl_list): Likewise.
22288
ab3e3a46
AZ
22289 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22290 file.
22291 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22292 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22293 memcmp for PPC32.
22294 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22295 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22296 multiarch objects.
22297 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22298 (__libc_ifunc_impl_list): Likewise.
22299
930de6f0
AZ
22300 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22301 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22302 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22303 file.
22304 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22305 file.
22306 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22307 file.
22308 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22309 multiarch memcpy for PPC32.
22310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22311 multiarch objects.
22312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22313 (__libc_ifunc_impl_list): Likewise.
22314
4c628e00
AZ
22315 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22316 support multiarch for POWER/PPC32.
22317 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22318 Likewise.
22319 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22321 Implies file to make multiarch folder appers before the fpu and
22322 default folder for power4 configuration.
22323
f4479220
SP
223242013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22325
22326 * scripts/bench.pl: Append volatile keyword to type.
22327
8517800f
KK
223282013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22329
22330 * sysdeps/sh/sotruss-lib.c: New file.
22331 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22332
180138f1
AZ
223332013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22334
22335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22336
bbf37bdc
JM
223372013-12-05 Joseph Myers <joseph@codesourcery.com>
22338
e47cc4e0
JM
22339 [BZ #6810]
22340 * math/w_tgamma.c: Include <errno.h>.
22341 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22342 * math/w_tgammaf.c: Include <errno.h>.
22343 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22344 * math/w_tgammal.c: Include <errno.h>.
22345 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22346 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22347 underflow. Add more tgamma tests.
22348 * math/auto-libm-test-out: Regenerated.
22349 * sysdeps/i386/fpu/libm-test-ulps: Update.
22350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22351
bbf37bdc
JM
22352 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22353 sin, sinh, tan, tanh, tgamma, y0 and y1.
22354 * math/auto-libm-test-out: Regenerated.
22355 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22356 (TEST_COND_x86): Likewise.
22357 (M_E2l): Remove macro.
22358 (M_E3l): Likewise.
22359 (M_2_SQRT_PIl): Likewise.
22360 (M_SQRT_PIl): Likewise.
22361 (M_1_DIV_El): Likewise.
22362 (log_test_data): Use AUTO_TESTS_f_f.
22363 (log10_test_data): Likewise.
22364 (log1p_test_data): Likewise.
22365 (log2_test_data): Likewise.
22366 (sin_test_data): Likewise.
22367 (sin_tonearest_test_data): Likewise.
22368 (sin_towardzero_test_data): Likewise.
22369 (sin_downward_test_data): Likewise.
22370 (sin_upward_test_data): Likewise.
22371 (sinh_test_data): Likewise.
22372 (sinh_tonearest_test_data): Likewise.
22373 (sinh_towardzero_test_data): Likewise.
22374 (sinh_downward_test_data): Likewise.
22375 (sinh_upward_test_data): Likewise.
22376 (tan_test_data): Likewise.
22377 (tan_tonearest_test_data): Likewise.
22378 (tan_towardzero_test_data): Likewise.
22379 (tan_downward_test_data): Likewise.
22380 (tan_upward_test_data): Likewise.
22381 (tanh_test_data): Likewise.
22382 (tgamma_test_data): Likewise.
22383 (y0_test_data): Likewise.
22384 (y1_test_data): Likewise.
22385 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22386 (special_real_inputs): Add pi/4.
22387 * sysdeps/i386/fpu/libm-test-ulps: Update.
22388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22389
eb5ad6b9
AZ
223902013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22391
22392 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22393 "longjmp_target" static probes.
22394 (__longjmp): Rename to __longjmp_symbol.
22395 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22396 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22397 on which longjmp to generate.
22398 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22399 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22400 probe.
22401 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22402 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22403 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22404 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22405 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22406 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22408 __longjmp_symbol based on which __longjmp to generate.
22409 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22410 probe.
22411 (setjmp): Rename to setjmp_symbol.
22412 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22413 (_setjmp): Rename to _setjmp_symbol.
22414 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22415 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22416 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22417 which setjmp to generate.
22418 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22419 "longjmp_target" static probes.
22420
d136c6dc
SP
224212013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22422
9298ecba
SP
22423 * benchtests/README: Add note about output arguments.
22424 * benchtests/bench-sincos.c: Remove file.
22425 * benchtests/sincos-inputs: New file.
22426 * scripts/bench.pl: Identify output arguments and define
22427 static variables for them.
22428
232983e9
SP
22429 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22430
d136c6dc
SP
22431 [BZ #15941]
22432 * Makefile (INSTALL): Add install-plain.texi as the primary
22433 dependency.
22434 * manual/install-plain.texi: New file.
22435 * manual/install.texi: Include node directive only for
22436 non-plaintext output.
22437
699ff837
JM
224382013-12-04 Joseph Myers <joseph@codesourcery.com>
22439
ab07cea8
JM
22440 * stdlib/longlong.h: Update from GCC.
22441
699ff837
JM
22442 [BZ #6807]
22443 [BZ #15901]
22444 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22445 * math/w_j0f.c (y0f): Likewise.
22446 * math/w_j0l.c (__y0l): Likewise.
22447 * math/w_j1.c (y1): Likewise.
22448 * math/w_j1f.c (y1f): Likewise.
22449 * math/w_j1l.c (__y1l): Likewise
22450 * math/w_jn.c (yn): Likewise.
22451 * math/w_jnf.c (ynf): Likewise.
22452 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22453 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22454 value for Bessel function domain errors outside _SVID_ mode.
22455 Adjust sign of return value for yn (negative integer, 0).
22456 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22457 by zero in return for negative x and set sign appropriately for
22458 negative n.
22459 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22460 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22461 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22462 expectations in error cases.
22463 (y1_test_data): Likewise.
22464 (yn_test_data): Likewise.
22465 * sysdeps/i386/fpu/libm-test-ulps: Update.
22466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22467
5b118558
UW
224682013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22469
22470 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22471 "64" to "64-v1". Add "64-v2".
22472 (abi-64-options): Rename to ...
22473 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22474 (abi-64-condition): Rename to ...
22475 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22476 (abi-64-ld-soname): Rename to ...
22477 (abi-64-v1-ld-soname): ... this.
22478 (abi-64-v2-options): Define.
22479 (abi-64-v2-condition): Likewise.
22480 (abi-64-v2-ld-soname): Likewise.
22481 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22482 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22486
61cd8fe4
UW
224872013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22488 Alan Modra <amodra@gmail.com>
22489
22490 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22491 New versions for use with the ELFv2 ABI.
22492 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22493 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22494 declaration.
22495 (struct La_ppc64v2_retval): Likewise.
22496 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22497 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22498 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22499 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22500 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22501 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22502 Do not save or restore CR.
22503 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22504 (_dl_profile_resolve): Do no save or restore CR. Support extended
22505 return values for ELFv2 ABI. Fix location of FPR return registers.
22506 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22507 updated values for _CALL_ELF == 2.
22508 (La_regs, La_retval, int_retval): Likewise.
22509
8b8a692c
UW
225102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22511
22512 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22513 (FRAME_MIN_SIZE_PARM): Likewise.
22514 (FRAME_BACKCHAIN): Likewise.
22515 (FRAME_CR_SAVE): Likewise.
22516 (FRAME_LR_SAVE): Likewise.
22517 (FRAME_TOC_SAVE): Likewise.
22518 (FRAME_PARM_SAVE): Likewise.
22519 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22520 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22521 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22522 (call_mcount_parm_offset): New macro.
22523 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22524 (PROF): Use symbolic stack frame offsets.
22525 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22526 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22527 Redefine in terms of FRAME_MIN_SIZE.
22528 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22529 (_dl_profile_resolve): Likewise. Update comment.
22530 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22531 symbols stack frame offsets.
22532 (__sigsetjmp): Likewise.
22533 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22534 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22535 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22536 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22537
22538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22539 (FRAME_BACKCHAIN): Remove.
22540 (FRAME_CR_SAVE): Likewise.
22541 (FRAME_LR_SAVE): Likewise.
22542 (FRAME_COMPILER_DW): Likewise.
22543 (FRAME_LINKER_DW): Likewise.
22544 (FRAME_TOC_SAVE): Likewise.
22545 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22546 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22547 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22548 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22550 (CHECK_SP): Use symbolic stack frame offsets.
22551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22552 zone" instead of caller's parameter save area for temp storage.
22553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22554 Likewise. Also, use symbolic stack frame offsets.
22555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22556 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22557 our own stack frame instead of the caller's.
22558 (__socket): Use symbolic stack frame offsets.
22559
122b66de
UW
225602013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22561 Alan Modra <amodra@gmail.com>
22562
22563 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22564 Define.
57f41c40
AS
22565 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22566 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22567 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22568 New function.
22569 (elf_machine_fixup_plt): Call it.
22570 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22571 reloc arguments.
22572 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22573 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22574 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22575 r2 before calling target.
22576
696caf1d
UW
225772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22578 Alan Modra <amodra@gmail.com>
22579
22580 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22581 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22582 versions of macros to support ELFv2 ABI.
22583 (LOCALENTRY): New macro.
22584 (ENTRY, EALIGN): Use it.
22585 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22586 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22587 fall through into ENTRY entry point.
22588 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22589 Only define if _CALL_ELF != 2.
22590
22591 (elf_machine_matches_host): Verify ABI version matches.
22592 (RTLD_START): Use LOCALENTRY.
22593 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22594 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22595 (PLT_ENTRY_WORDS): New macro.
22596 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22597 (elf_machine_runtime_setup): Support ELFv2 ABI.
22598 (elf_machine_fixup_plt): Likewise.
22599 (elf_machine_plt_conflict): Likewise.
22600 (resolve_ifunc): Likewise.
22601 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22602 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22603 Likewise.
22604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22605 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22607 (makecontext): Support ELFv2 ABI.
22608 * elf/elf.h (EF_PPC64_ABI): Define.
22609
d31beafa
UW
226102013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22611
57f41c40
AS
22612 * sysdeps/powerpc/powerpc64/sysdep.h
22613 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22614 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22615 (ENTRY) [ASSEMBLER]: ... but instead here ...
22616 (EALIGN) [ASSEMBLER]: ... and here.
22617 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22618 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22619 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22620 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22621 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22622 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22623 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22624 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22626 Use PPC64_LOAD_FUNCPTR.
22627
b525166b
UW
22628 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22629
7ec07d9a
AM
226302013-12-04 Alan Modra <amodra@gmail.com>
22631
22632 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22633 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22634 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22635 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22636
22637 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22638 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22639 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22640 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22641 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22642 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22643
5162e7dd
UW
226442013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22645
22646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22647 (__makecontext): Fix incorrect CFI when backtracing out of
22648 context created via makecontext.
22649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22650 (__setcontext): Fix incorrect CFI during switch to new context.
22651 (__novec_setcontext): Likewise.
22652
19e3372b
OB
226532013-12-04 Ondřej Bílka <neleai@seznam.cz>
22654
22655 [BZ #4772]
22656 * time/strptime_l.c (__strptime_internal): Allow modifiers
22657 in strptime.
22658 * time/tst-strptime.c (day_tests): Add testcase.
22659
ecaf142d
SP
226602013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22661
22662 * scripts/bench.pl: Skip over blank lines.
22663
fbf964ae
PE
226642013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22665
22666 [BZ #926]
22667 * manual/time.texi (Calendar Time): Clarify what timezone functions
22668 use.
22669
fa60a674
AZ
226702013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22671
22672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22673
d674f0ef
OB
226742013-12-04 Ondřej Bílka <neleai@seznam.cz>
22675
22676 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22677 implementation.
22678 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22679 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22680 * debug/memset_chk.c (__memset_chk): Likewise.
22681 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22682 * debug/strncpy_chk.c: Likewise.
22683
17dea188
JM
226842013-12-03 Joseph Myers <joseph@codesourcery.com>
22685
749008ff
JM
22686 [BZ #15268]
22687 [BZ #15425]
22688 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22689 (__ieee754_exp): For possibly underflowing results, check size of
22690 result and force underflow exception if required.
22691 * math/auto-libm-test-in: Add more tests of exp.
22692 * math/auto-libm-test-out: Regenerated.
22693 * sysdeps/i386/fpu/libm-test-ulps: Update.
22694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22695
17dea188
JM
22696 [BZ #16283]
22697 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22698 * math/w_exp2f.c (__exp2f): Likewise.
22699 * math/w_exp2l.c (__exp2l): Likewise.
22700 * math/auto-libm-test-in: Do not allow missing errno on exp2
22701 underflow.
22702 * math/auto-libm-test-out: Regenerated.
22703
b20de2c3
OB
227042013-12-03 Ondřej Bílka <neleai@seznam.cz>
22705
22706 [BZ #16274]
22707 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22708 handle filename validation.
22709 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22710 (do_open): Delete.
22711
d8e2dbe3
JM
227122013-12-03 Joseph Myers <joseph@codesourcery.com>
22713
34e16df5
JM
22714 [BZ #6786]
22715 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22716 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22717 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22718 <float.h>.
22719 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22720 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22721 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22722 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22723 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22724 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22725 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22726 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22727 Add more erfc tests.
22728 * math/auto-libm-test-out: Regenerated.
22729 * sysdeps/i386/fpu/libm-test-ulps: Update.
22730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22731
d8e2dbe3
JM
22732 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22733 exp2, expm1, j0 and j1.
22734 * math/auto-libm-test-out: Regenerated.
22735 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22736 (erfc_test_data): Likewise.
22737 (exp_test_data): Likewise.
22738 (exp_tonearest_test_data): Likewise.
22739 (exp_towardzero_test_data): Likewise.
22740 (exp_downward_test_data): Likewise.
22741 (exp_upward_test_data): Likewise.
22742 (exp10_test_data): Likewise.
22743 (exp2_test_data): Likewise.
22744 (expm1_test_data): Likewise.
22745 (j0_test_data): Likewise.
22746 (j1_test_data): Likewise.
22747 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22748 (input_flag_type): Add flag_xfail_rounding.
22749 (input_flags): Add xfail-rounding.
22750 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22751 (output_for_one_input_case): Handle flag_xfail_rounding.
22752 * sysdeps/i386/fpu/libm-test-ulps: Update.
22753 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22754
18d14251
AJ
227552013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22756
3d2e6075 22757 [BZ #16289]
18d14251
AJ
22758 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22759 division by 0.
22760
520d437b
SP
227612013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22762
22763 [BZ #16195]
22764 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22765 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22766 (STAP_PROBE0): New macro.
22767 (STAP_PROBE1): Likewise.
22768 (STAP_PROBE2): Likewise.
22769 (STAP_PROBE3): Likewise.
22770 (STAP_PROBE4): Likewise.
22771
416e0145
OB
227722013-12-02 Ondřej Bílka <neleai@seznam.cz>
22773
22774 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22775
9d17796a
SE
227762013-12-02 Steve Ellcey <sellcey@mips.com>
22777
22778 * benchtests/Makefile (bench): Add sqrt.
22779 (LDLIBS-bench-sqrt): New.
22780 * benchtests/sqrt-input: New.
22781
f524d6a8
PS
227822013-12-02 Pavel Simerda <psimerda@redhat.com>
22783
639a0ef8
PS
22784 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22785 (GAIH_EAI): Likewise.
22786 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22787 (gaih_inet): Likewise.
22788 (getaddrinfo): Don't use GAIH_EAI.
22789
f524d6a8
PS
22790 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22791 (struct gaih): Remove definition.
22792
df3aedaf
SP
227932013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22794
22795 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22796 Use HERRNOP directly.
22797
1ab19dec
AZ
227982013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22799
b42ad38d 22800 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22801
176b0c79
JM
228022013-11-30 Joseph Myers <joseph@codesourcery.com>
22803
22804 * math/gen-auto-libm-tests.c (test_functions): Add more
22805 single-argument functions.
22806 (special_fill_pi_2): New function.
22807 (special_fill_minus_pi_2): Likewise.
22808 (special_fill_pi_6): Likewise.
22809 (special_fill_minus_pi_6): Likewise.
22810 (special_fill_pi_3): Likewise.
22811 (special_fill_2pi_3): Likewise.
22812 (special_fill_e): Likewise.
22813 (special_fill_1_e): Likewise.
22814 (special_fill_e_minus_1): Likewise.
22815 (special_real_inputs): Add more special inputs.
22816 (output_for_one_input_case): Do not require ERANGE on underflow to
22817 zero if round-to-nearest result does not underflow to zero, unless
22818 exact results required.
22819 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22820 atan, atanh, cbrt, cos and cosh.
22821 * math/auto-libm-test-out: Regenerated.
22822 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22823 (acos_tonearest_test_data): Likewise.
22824 (acos_towardzero_test_data): Likewise.
22825 (acos_downward_test_data): Likewise.
22826 (acos_upward_test_data): Likewise.
22827 (acosh_test_data): Likewise.
22828 (asin_test_data): Likewise.
22829 (asin_tonearest_test_data): Likewise.
22830 (asin_towardzero_test_data): Likewise.
22831 (asin_upward_test_data): Likewise.
22832 (asinh_test_data): Likewise.
22833 (atan_test_data): Likewise.
22834 (atanh_test_data): Likewise.
22835 (cbrt_test_data): Likewise.
22836 (cos_test_data): Likewise.
22837 (cos_tonearest_test_data): Likewise.
22838 (cos_towardzero_test_data): Likewise.
22839 (cos_downward_test_data): Likewise.
22840 (cos_upward_test_data): Likewise.
22841 (cosh_test_data): Likewise.
22842 (cosh_tonearest_test_data): Likewise.
22843 (cosh_towardzero_test_data): Likewise.
22844 (cosh_downward_test_data): Likewise.
22845 (cosh_upward_test_data): Likewise.
22846 * sysdeps/i386/fpu/libm-test-ulps: Update.
22847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22848
ffb536d0
JM
228492013-11-29 Joseph Myers <joseph@codesourcery.com>
22850
2a77a467
JM
22851 [BZ #6787]
22852 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22853 * math/w_exp10f.c (__exp10f): Likewise.
22854 * math/w_exp10l.c (__exp10l): Likewise.
22855 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22856 errno settings in existing tests.
22857
ea3bc4e8
JM
22858 [BZ #14032]
22859 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22860 precision control set to double precision.
22861 * sysdeps/i386/fpu/w_sqrt.c: New file.
22862 * math/auto-libm-test-in: Add more tests.
22863 * math/auto-libm-test-out: Update.
22864
0712c9d8
JM
22865 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22866 (sqrt_test_tonearest): New function.
22867 (sqrt_towardzero_test_data): New variable.
22868 (sqrt_test_towardzero): New function.
22869 (sqrt_downward_test_data): New variable.
22870 (sqrt_test_downward): New function.
22871 (sqrt_upward_test_data): New variable.
22872 (sqrt_test_upward): New function.
22873 (main): Call the new functions.
22874
ffb536d0
JM
22875 * math/gen-auto-libm-tests.c: New file.
22876 * math/auto-libm-test-in: Likewise.
22877 * math/auto-libm-test-out: New generated file.
22878 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22879 variables.
22880 (%beautify): Add generated representations of zero.
22881 (top level): Set $auto_input and call parse_auto_input.
22882 (beautify): Remove trailing "f" from hex float constants.
22883 (parse_args): Handle XFAIL_TEST.
22884 (convert_condition): New function.
22885 (or_value): Likewise.
22886 (or_cond_value): Likewise.
22887 (generate_testfile): Handle AUTO_TESTS_* lines.
22888 (parse_auto_input): New function.
22889 * math/libm-test.inc (XFAIL_TEST): New macro.
22890 (ERRNO_UNCHANGED): Update value.
22891 (ERRNO_EDOM): Likewise.
22892 (ERRNO_ERANGE): Likewise.
22893 (IGNORE_RESULT): Likewise.
22894 (TEST_COND_flt_32): New macro.
22895 (TEST_COND_dbl_64): Likewise.
22896 (TEST_COND_ldbl_96_intel): Likewise.
22897 (TEST_COND_ldbl_96_m68k): Likewise.
22898 (TEST_COND_ldbl_128): Likewise.
22899 (TEST_COND_ldbl_128ibm): Likewise.
22900 (TEST_COND_long32): Likewise.
22901 (TEST_COND_long64): Likewise.
22902 (TEST_COND_before_rounding): Likewise.
22903 (TEST_COND_after_rounding): Likewise.
22904 (enable_test): Handle XFAIL_TEST flag.
22905 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22906 with finite results.
22907 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22908 auto-libm-test-out.
22909
acd98a8e
AK
229102013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22911 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22912
22913 [BZ #16214]
22914 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22915 __tls_get_addr_internal instead of __tls_get_offset in order to
22916 avoid GOT pointer dependency. Make rtld export
22917 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22918 __tls_get_addr since we are a __tls_get_offset platform.
22919 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22920 GOT pointer being set up before.
22921 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22922
3c1c46a6
JM
229232013-11-28 Joseph Myers <joseph@codesourcery.com>
22924
7475aef5
JM
22925 * manual/math.texi (Errors in Math Functions): Document accuracy
22926 goals.
22927
8bca7cd8
JM
22928 [BZ #15004]
22929 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22930 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22931 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22932 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22933 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22934 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22935 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22936 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22937 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22938 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22939 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22940 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22941 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22942 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22943 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22944 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22945
91a1f3fe
JM
22946 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
22947 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
22948 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
22949 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
22950 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
22951 Likewise.
22952 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
22953 Likewise.
22954 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
22955 Likewise.
22956 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
22957 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
22958 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
22959 atomic-feupdateenv and flt-rounds.
22960 * sysdeps/powerpc/nofpu/Versions (libc): Add
22961 __atomic_feholdexcept, __atomic_feclearexcept,
22962 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
22963 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
22964 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
22965 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
22966 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
22967 here.
22968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
22969 Update.
22970
c5df7609
JM
22971 * manual/arith.texi (FP Exceptions): Document that exceptions may
22972 not be raised when matherr is used.
22973 (Math Error Reporting): Document overflow in directed rounding
22974 modes. Document that errno may not be set when finite values are
22975 returned on overflow. Document intent to set errno on underflow
22976 only for underflow to zero.
22977
3c1c46a6
JM
22978 [BZ #16271]
22979 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
22980 round-to-nearest then adjust result for other rounding modes.
22981 * include/fenv.h (fegetround): Use libm_hidden_proto.
22982 * math/fegetround.c (fegetround): Use libm_hidden_def.
22983 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
22984 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
22985 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22986 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
22987 Likewise.
22988 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
22989 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
22990 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
22991 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
22992
5a4c6d53
SP
229932013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22994
22995 [BZ #16077]
22996 * nss/Versions (libnss_files): Add
22997 _nss_files_gethostbyname3_r.
22998 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
22999 New function.
23000 (HOST_DB_LOOKUP): Remove macro.
23001 (_nss_files_gethostbyname_r): Implement function without the
23002 HOST_DB_LOOKUP macro.
23003 (_nss_files_gethostbyname2_r): Likewise.
23004
897b98ba
OB
230052013-11-28 Ondřej Bílka <neleai@seznam.cz>
23006
23007 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23008
6f476861
UB
230092013-11-26 Uros Bizjak <ubizjak@gmail.com>
23010
23011 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23012 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23013 warning.
23014
bd12ab55
AZ
230152013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23016
23017 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23018 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23019 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23020 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23021 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23022 __fe_nomask_env_priv and attribute_hidden.
23023 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23024 (libc_feupdateenv_test_ppc): Likewise.
23025 (libc_feresetround_ppc): Likewise.
23026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23027 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23028 compat_symbol macro.
23029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23030 (__fe_nomask_env): Likewise.
23031 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23032
52bb6543
OB
230332013-11-26 Ondřej Bílka <neleai@seznam.cz>
23034
23035 * string/Makefile: Remove ifunc tests.
23036 * string/test-string.h: Define TEST_IFUNC.
23037 * string/test-bcopy-ifunc.c: Remove.
23038 * string/test-bzero-ifunc.c: Likewise.
23039 * string/test-memccpy-ifunc.c: Likewise.
23040 * string/test-memchr-ifunc.c: Likewise.
23041 * string/test-memcmp-ifunc.c: Likewise.
23042 * string/test-memcpy-ifunc.c: Likewise.
23043 * string/test-memmem-ifunc.c: Likewise.
23044 * string/test-memmove-ifunc.c: Likewise.
23045 * string/test-mempcpy-ifunc.c: Likewise.
23046 * string/test-memrchr-ifunc.c: Likewise.
23047 * string/test-memset-ifunc.c: Likewise.
23048 * string/test-rawmemchr-ifunc.c: Likewise.
23049 * string/test-stpcpy-ifunc.c: Likewise.
23050 * string/test-stpncpy-ifunc.c: Likewise.
23051 * string/test-strcasecmp-ifunc.c: Likewise.
23052 * string/test-strcasestr-ifunc.c: Likewise.
23053 * string/test-strcat-ifunc.c: Likewise.
23054 * string/test-strchr-ifunc.c: Likewise.
23055 * string/test-strchrnul-ifunc.c: Likewise.
23056 * string/test-strcmp-ifunc.c: Likewise.
23057 * string/test-strcpy-ifunc.c: Likewise.
23058 * string/test-strcspn-ifunc.c: Likewise.
23059 * string/test-strlen-ifunc.c: Likewise.
23060 * string/test-strncasecmp-ifunc.c: Likewise.
23061 * string/test-strncat-ifunc.c: Likewise.
23062 * string/test-strncmp-ifunc.c: Likewise.
23063 * string/test-strncpy-ifunc.c: Likewise.
23064 * string/test-strnlen-ifunc.c: Likewise.
23065 * string/test-strpbrk-ifunc.c: Likewise.
23066 * string/test-strrchr-ifunc.c: Likewise.
23067 * string/test-strspn-ifunc.c: Likewise.
23068 * string/test-strstr-ifunc.c: Likewise.
23069
ab260039 230702013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
23071
23072 * benchtests/Makefile: Remove ifunc tests.
23073 * benchtests/bench-string.h: Define TEST_IFUNC.
23074 * benchtests/bench-bcopy-ifunc.c: Remove.
23075 * benchtests/bench-bzero-ifunc.c: Likewise.
23076 * benchtests/bench-memccpy-ifunc.c: Likewise.
23077 * benchtests/bench-memchr-ifunc.c: Likewise.
23078 * benchtests/bench-memcmp-ifunc.c: Likewise.
23079 * benchtests/bench-memcpy-ifunc.c: Likewise.
23080 * benchtests/bench-memmem-ifunc.c: Likewise.
23081 * benchtests/bench-memmove-ifunc.c: Likewise.
23082 * benchtests/bench-mempcpy-ifunc.c: Likewise.
23083 * benchtests/bench-memrchr-ifunc.c: Likewise.
23084 * benchtests/bench-memset-ifunc.c: Likewise.
23085 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23086 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23087 * benchtests/bench-stpcpy-ifunc.c: Likewise.
23088 * benchtests/bench-stpncpy-ifunc.c: Likewise.
23089 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23090 * benchtests/bench-strcasestr-ifunc.c: Likewise.
23091 * benchtests/bench-strcat-ifunc.c: Likewise.
23092 * benchtests/bench-strchr-ifunc.c: Likewise.
23093 * benchtests/bench-strchrnul-ifunc.c: Likewise.
23094 * benchtests/bench-strcmp-ifunc.c: Likewise.
23095 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23096 * benchtests/bench-strcpy-ifunc.c: Likewise.
23097 * benchtests/bench-strcspn-ifunc.c: Likewise.
23098 * benchtests/bench-strlen-ifunc.c: Likewise.
23099 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23100 * benchtests/bench-strncat-ifunc.c: Likewise.
23101 * benchtests/bench-strncmp-ifunc.c: Likewise.
23102 * benchtests/bench-strncpy-ifunc.c: Likewise.
23103 * benchtests/bench-strnlen-ifunc.c: Likewise.
23104 * benchtests/bench-strpbrk-ifunc.c: Likewise.
23105 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 23106 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
23107 * benchtests/bench-strspn-ifunc.c: Likewise.
23108 * benchtests/bench-strstr-ifunc.c: Likewise.
23109
231102013-11-26 Ondřej Bílka <neleai@seznam.cz>
23111
ab260039
OB
23112 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23113
d1d9eaf4 231142013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 23115
d1d9eaf4
OB
23116 * resolv/netdb.h: Use __glibc_reserved instead __unused.
23117 * rt/aio.h: Likewise.
23118 * sysdeps/gnu/bits/utmp.h: Likewise.
23119 * sysdeps/gnu/bits/utmpx.h: Likewise.
23120 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23121 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23122 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23123 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23124 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23125 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23126 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23127 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23128 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23129 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23130 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23131 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23132 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23134 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23135 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23136 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23137 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23138 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23139 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23140 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23141 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23142 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23143 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23144 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23145 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23146 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23147 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23148 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23149 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23150 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23151 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23152 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23153 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23154 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23155 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23156 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23157 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23158 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23159 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23160 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23161 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23162
a7624ed9
CD
231632013-11-25 Carlos O'Donell <carlos@redhat.com>
23164
23165 [BZ #16245]
23166 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23167 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23168
63cfe52b
JM
231692013-11-25 Joseph Myers <joseph@codesourcery.com>
23170
23171 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23172 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23173 Likewise.
23174
41e8926a
AZ
231752013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23176
23177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23178 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23179 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23180 (__fesetround): Remove define.
23181 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23182 rounding and exceptions handling.
23183 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23184 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23185 (__fe_nomask_env): Likewise.
23186 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23187 __fegetround instead of fegetround.
23188 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23189 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23190
6851bd4d
RM
231912013-11-21 Roland McGrath <roland@hack.frob.com>
23192
070906ff
RM
23193 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23194 it's there.
23195
6851bd4d
RM
23196 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23197
84ae135d
MI
231982013-11-21 Meador Inge <meadori@codesourcery.com>
23199
23200 [BZ #11157]
23201 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23202 (encrypt_r): Likewise.
23203 * malloc/obstack.h (obstack_free): Likewise.
23204 * posix/unistd.h (encrypt): Likewise.
23205
daf75146
GM
232062013-11-21 Guy Martin <gmsoft@tuxicoman.be>
23207
23208 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23209 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23210 DL_CALL_DT_FINI() that call the functions directly.
23211 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23212 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23213 * elf/dl-fini.c: Likewise.
23214
10ad46bc
OB
232152013-11-20 Ondřej Bílka <neleai@seznam.cz>
23216
23217 * malloc/hooks.c (memalign_check): Add alignment rounding.
23218 * malloc/malloc.c (_mid_memalign): New function.
23219 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23220 Implement by calling _mid_memalign.
23221 * manual/probes.texi (Memory Allocation Probes): Remove
23222 memory_valloc_retry and memory_pvalloc_retry.
23223
f3fd2628
SP
232242013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23225
4712799f
SP
23226 * locale/programs/locarchive.c (open_archive): Add const
23227 qualifier to ARCHIVEFNAME and copy default fname to
23228 DEFAULT_FNAME.
23229
0417b20f
SP
23230 [BZ #15601]
23231 * libio/tst-widetext.input: Rename Oriya to Odia.
23232 * locale/iso-639.def: Likewise.
23233
f3fd2628
SP
23234 * manual/probes.texi (Mathematical Function Probes): Add
23235 documentation for sin, cos, asin and acos probes.
23236 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23237 (__sin32): Add slowasin probe.
23238 (__cos32): Add slowacos probe.
23239 (__mpsin): Add slowsin probe.
23240 (__mpcos): Add slowcos probe.
23241
73c1ce4f
JM
232422013-11-19 Joseph Myers <joseph@codesourcery.com>
23243
23244 [BZ #15483]
23245 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23246 thread-local __sim_exceptions_thread and global
23247 __sim_exceptions_global.
23248 (__sim_disabled_exceptions): Change to thread-local
23249 __sim_disabled_exceptions_thread and global
23250 __sim_disabled_exceptions_global.
23251 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23252 and global __sim_round_mode_global.
23253 (__simulate_exceptions): Use thread-local floating-point state and
23254 set global state from it as needed.
23255 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23256 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23257 __sim_round_mode_thread.
23258 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23259 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23260 and global __sim_exceptions_global.
23261 (__sim_disabled_exceptions): Change to thread-local
23262 __sim_disabled_exceptions_thread and global
23263 __sim_disabled_exceptions_global.
23264 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23265 and global __sim_round_mode_global.
23266 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23267 (SIM_SET_GLOBAL): Likewise.
23268 * sysdeps/powerpc/soft-fp/sfp-machine.h
23269 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23270 __sim_round_mode_thread.
23271 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23272 __sim_disabled_exceptions_thread.
23273 (__sim_exceptions): Change to __sim_exceptions_thread.
23274 (__sim_disabled_exceptions): Change to
23275 __sim_disabled_exceptions_thread.
23276 (__sim_round_mode): Change to __sim_round_mode_thread.
23277 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23278 thread-local floating-point state and set global state from it as
23279 needed.
23280 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23281 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23282 (__sim_disabled_exceptions): Remove extern declaration.
23283 (feenableexcept): Use thread-local floating-point state and set
23284 global state from it as needed.
23285 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23286 extern declaration.
23287 (__sim_disabled_exceptions): Likewise.
23288 (__sim_round_mode): Likewise.
23289 (__fegetenv): Use thread-local floating-point state.
23290 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23291 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23292 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23293 floating-point state and set global state from it as needed.
23294 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23295 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23296 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23297 Likewise.
23298 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23299 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23300 Likewise.
23301 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23302 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23303 Use __sim_round_mode_thread.
23304 * math/test-fenv-tls.c: New file.
23305 * math/Makefile (tests): Add test-fenv-tls.
23306 ($(objpfx)test-fenv-tls): Depend on
23307 $(common-objpfx)nptl/libpthread.so.
23308
b5449b12
AS
233092013-11-19 Andreas Schwab <schwab@suse.de>
23310
23311 * locale/programs/locale.c (show_info): Decode wordarray elements.
23312 * locale/categories.def (LC_MONETARY): Add element for
23313 _NL_MONETARY_CRNCYSTR.
23314 * locale/C-monetary.c (conversion_rate): New variable.
23315 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23316 element.
23317
e186536b
CM
233182013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23319
23320 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23321 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23322
5c349950
PP
233232013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23324
23325 * elf/Makefile (tst-auxv): New test.
23326 * elf/tst-auxv.c: New
23327 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23328
699df45b
JM
233292013-11-18 Joseph Myers <joseph@codesourcery.com>
23330
23331 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23332 (hidden_proto): Caller changed.
23333 (hidden_tls_proto): New macro.
23334 (libc_hidden_tls_proto): Likewise.
23335 (rtld_hidden_tls_proto): Likewise.
23336 (libm_hidden_tls_proto): Likewise.
23337 (libresolv_hidden_tls_proto): Likewise.
23338 (librt_hidden_tls_proto): Likewise.
23339 (libdl_hidden_tls_proto): Likewise.
23340 (libnss_files_hidden_tls_proto): Likewise.
23341 (libnsl_hidden_tls_proto): Likewise.
23342 (libnss_nisplus_hidden_tls_proto): Likewise.
23343 (libutil_hidden_tls_proto): Likewise.
23344
b7589107
OB
233452013-11-18 Ondřej Bílka <neleai@seznam.cz>
23346
23347 [BZ #10253]
23348 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23349 (decompose_rpath): Defer expansion to fillin_rpath.
23350 (_dl_init_paths): Pass linkmap to fillin_rpath.
23351
250c23bd
RS
233522013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23353
23354 * benchtests/Makefile: Add strsep.
23355 * benchtests/bench-strsep.c: New file: strsep benchtest.
23356 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23357
a7931fcf
AS
233582013-11-18 Andreas Schwab <schwab@suse.de>
23359
23360 * locale/programs/locale.c (show_info) [case byte]: Check for
23361 '\377' instead of '\177'.
23362 * locale/C-monetary.c (not_available): Always use "\377".
23363 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23364 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23365 detect unavailable sign_posn locale elements.
23366 * locale/localeconv.c (__localeconv): For grouping and
23367 mon_grouping handle "\177" and "\377" like no grouping.
23368 (INT_ELEM): New macro. Use it to set all numeric members.
23369 * locale/programs/ld-monetary.c (monetary_read)
23370 <tok_mon_grouping>: Normalize single -1 to the empty string.
23371 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23372 Likewise.
23373
728dab0e
OB
233742013-11-07 Ondřej Bílka <neleai@seznam.cz>
23375
23376 [BZ #16055]
23377 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23378 when we match (nil).
23379 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23380
66294491
JM
233812013-11-16 Joseph Myers <joseph@codesourcery.com>
23382
ce665817
JM
23383 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23384 (NO_TEST_INLINE): Update value.
23385 (ERRNO_UNCHANGED): Likewise.
23386 (ERRNO_EDOM): Likewise.
23387 (ERRNO_ERANGE): Likewise.
23388 (IGNORE_RESULT): Likewise.
23389 (check_float_internal): Check signs of NaN results if
23390 TEST_NAN_SIGN used.
23391 (check_complex): Pass TEST_NAN_SIGN flag through to second
23392 check_float_internal call.
23393 (copysign_test_data): Add tests with quiet NaNs as second
23394 argument. Use TEST_NAN_SIGN.
23395 (fabs_test_data): Add test of negative quiet NaN argument. Use
23396 TEST_NAN_SIGN.
23397 (signbit_test_data): Add tests of quiet NaN argument.
23398 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23399
ee1466a9
JM
23400 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23401 $ignore_result.
23402 (parse_args): Handle function results specified as IGNORE.
23403 * math/libm-test.inc (IGNORE_RESULT): New macro.
23404 (check_float_internal): Do not check numerical result if flag
23405 IGNORE_RESULT set.
23406 (check_complex): Pass through IGNORE_RESULT to second
23407 check_float_internal call.
23408 (check_int): Do not check numerical result if flag IGNORE_RESULT
23409 set.
23410 (check_long): Likewise.
23411 (check_bool): Likewise.
23412 (check_longlong): Likewise.
23413 (lrint_test_data): Add tests of infinite and NaN arguments.
23414 (lrint_tonearest_test_data): Likewise.
23415 (lrint_towardzero_test_data): Likewise.
23416 (lrint_downward_test_data): Likewise.
23417 (lrint_upward_test_data): Likewise.
23418 (llrint_test_data): Likewise.
23419 (llrint_tonearest_test_data): Likewise.
23420 (llrint_towardzero_test_data): Likewise.
23421 (llrint_downward_test_data): Likewise.
23422 (llrint_upward_test_data): Likewise.
23423 (lround_test_data): Likewise.
23424 (llround_test_data): Likewise.
23425
14407b7e
JM
23426 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23427 (ERRNO_UNCHANGED): Update value.
23428 (ERRNO_EDOM): Likewise.
23429 (ERRNO_ERANGE): Likewise.
23430 (NO_TEST_INLINE_FLOAT): New macro.
23431 (NO_TEST_INLINE_DOUBLE): Likewise.
23432 (enable_test): New function.
23433 (RUN_TEST_f_f): Check enable_test before running test.
23434 (RUN_TEST_2_f): Likewise.
23435 (RUN_TEST_fff_f): Likewise.
23436 (RUN_TEST_c_f): Likewise.
23437 (RUN_TEST_f_f1): Likewise.
23438 (RUN_TEST_fF_f1): Likewise.
23439 (RUN_TEST_fI_f1): Likewise.
23440 (RUN_TEST_ffI_f1): Likewise.
23441 (RUN_TEST_c_c): Likewise.
23442 (RUN_TEST_cc_c): Likewise.
23443 (RUN_TEST_f_i): Likewise.
23444 (RUN_TEST_f_i_tg): Likewise.
23445 (RUN_TEST_ff_i_tg): Likewise.
23446 (RUN_TEST_f_b): Likewise.
23447 (RUN_TEST_f_b_tg): Likewise.
23448 (RUN_TEST_f_l): Likewise.
23449 (RUN_TEST_f_L): Likewise.
23450 (RUN_TEST_fFF_11): Likewise.
23451 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23452 conditionals.
23453 (cosh_test_data): Likewise.
23454 (exp_test_data): Likewise.
23455 (expm1_test_data): Likewise.
23456 (hypot_test_data): Likewise.
23457 (pow_test_data): Likewise.
23458 (sinh_test_data): Likewise.
23459 (tanh_test_data): Likewise.
23460 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23461 flags argument.
23462
ca07f197
JM
23463 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23464 tests with quiet NaN input and output.
23465 (acosh_test_data): Likewise.
23466 (asin_test_data): Likewise.
23467 (asinh_test_data): Likewise.
23468 (atan_test_data): Likewise.
23469 (atanh_test_data): Likewise.
23470 (atan2_test_data): Likewise.
23471 (cbrt_test_data): Likewise.
23472 (cos_test_data): Likewise.
23473 (cosh_test_data): Likewise.
23474 (erf_test_data): Likewise.
23475 (erfc_test_data): Likewise.
23476 (exp_test_data): Likewise.
23477 (exp10_test_data): Likewise.
23478 (exp2_test_data): Likewise.
23479 (expm1_test_data): Likewise.
23480 (hypot_test_data): Likewise.
23481 (j0_test_data): Likewise.
23482 (j1_test_data): Likewise.
23483 (jn_test_data): Likewise.
23484 (lgamma_test_data): Likewise.
23485 (log_test_data): Likewise.
23486 (log10_test_data): Likewise.
23487 (log1p_test_data): Likewise.
23488 (log2_test_data): Likewise.
23489 (pow_test_data): Likewise.
23490 (scalb_test_data): Likewise.
23491 (sin_test_data): Likewise.
23492 (sincos_test_data): Likewise.
23493 (sinh_test_data): Likewise.
23494 (tan_test_data): Likewise.
23495 (tanh_test_data): Likewise.
23496 (tgamma_test_data): Likewise.
23497 (y0_test_data): Likewise.
23498 (y1_test_data): Likewise.
23499 (yn_test_data): Likewise.
23500
66294491
JM
23501 [BZ #16167]
23502 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23503 argument being NaN and avoid computations with second argument in
23504 that case.
23505 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23506 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23507 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23508
1820b143
CL
235092013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23510
23511 * locale/iso-639.def: Add Chitwani Tharu (the).
23512
714bd261
AS
235132013-11-14 Andreas Schwab <schwab@suse.de>
23514
23515 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23516 word instead of empty string.
23517
7ab44563
AZ
235182013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23519
23520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23521 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23523 (__fe_nomask_env): Likewise.
23524
e8470ea2
SE
235252013-11-13 Steve Ellcey <sellcey@mips.com>
23526
23527 * benchtests/bench-timing.h: Include time.h.
23528
17c1d9f0
L
235292013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23530
23531 [BZ #15997]
23532 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23533 to 3.4.0 for x32.
23534 * sysdeps/unix/sysv/linux/configure: Regenerated.
23535
9310c284
JM
235362013-11-13 Joseph Myers <joseph@codesourcery.com>
23537
23538 [BZ #16151]
23539 * stdlib/strtod_l.c (round_and_return): Do not consider
23540 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23541 exponent one less than half the least subnormal exponent.
23542 * stdlib/test-strtod-round-data: Add more tests.
23543 * stdlib/tst-strtod-round.c (tests): Regenerated.
23544
7a2ad8cf
AZ
235452013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23546
23547 [BZ #14143]
23548 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23549 (__fe_mask_env): Likewise.
23550 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23551 libm_hidden_proto and add function prototype.
23552 (__fe_mask_env): Add function prototype.
23553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23554 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23556 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23558 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23559
50727aa7
MS
235602013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23561
b2f386c1 23562 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23563 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23564
a615be46
MS
235652013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23566
23567 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23568 of htab_find_slot().
23569
7ddace62
DM
235702013-11-11 David S. Miller <davem@davemloft.net>
23571
23572 [BZ #16150]
23573 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23574 symbol in the non-vis3 case in static builds.
23575 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23576 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23577 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23578 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23579
9182aa67
JK
235802013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23581
23582 [BZ #387]
23583 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23584 it is empty.
23585
450a2e2d
AZ
235862013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23587
b2f386c1
SP
23588 * benchtests/Makefile: Add bench-strtod.
23589 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23590
8ec3f656
AS
235912013-11-11 Andreas Schwab <schwab@suse.de>
23592
23593 [BZ #16153]
23594 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23595 terminating NUL in key length.
23596
76a9b998
AZ
235972013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23598
23599 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23600 Add artificial ODP entry for vDSO symbol for PPC64.
23601 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23602 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23603
e4368156
OB
236042013-11-07 Ondřej Bílka <neleai@seznam.cz>
23605
23606 [BZ #15374]
23607 * nss/getent.c (services_keys): Recognize services starting with digit.
23608
8d6bb57c
DM
236092013-11-06 David S. Miller <davem@davemloft.net>
23610
23611 [BZ #15985]
23612 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23613 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23614
e256c421
WN
236152013-11-06 Will Newton <will.newton@linaro.org>
23616
23617 * manual/memory.texi (Malloc Examples): Remove register
23618 keyword from examples.
23619
f6e12daa 236202013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23621
f6e12daa 23622 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23623
9d880655
AS
236242013-11-04 Joseph Myers <joseph@codesourcery.com>
23625
fd2f9486 23626 [BZ #6981]
9d880655
AS
23627 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23628 depending on [__GCC_IEC_559 > 0].
23629 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23630 depending on [__GCC_IEC_559_COMPLEX > 0].
23631
ae129d3c
CL
236322013-11-03 Chris Leonard <cjl@sugarlabs.org>
23633
23634 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23635 to iso-639.def.
23636
4a15c2a4 236372013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23638
23639 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23640
8b35e35d
OB
236412013-11-01 Ondřej Bílka <neleai@seznam.cz>
23642
23643 [BZ #16112]
23644 * malloc/malloc (malloc_info): Do not handle first bin as
23645 special case.
23646
1d70fd6c
CL
236472013-11-01 Chris Leonard <cjl@sugarlabs.org>
23648
23649 * locale/iso-639.def: Add Central Nahuatl (nhn).
23650
8c5c2600
BH
236512013-11-01 Bruno Haible <bruno@clisp.org>
23652
23653 [BZ #7003]
23654 * manual/math.texi (BSD Random): Specify range upper bound as
23655 in POSIX.
23656
da5579c2
CL
236572013-10-31 Chris Leonard <cjl@sugarlabs.org>
23658
23659 * locale/iso-639.def: Add Meadow Mari (mhr).
23660
5d30d853
OB
236612013-10-31 Ondřej Bílka <neleai@seznam.cz>
23662
23663 [BZ #14752], [BZ #15763]
23664 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23665 Validate name.
23666 * rt/tst_shm.c: Add test for escaping directory.
23667
a4966c61
AS
236682013-10-31 Andreas Schwab <schwab@suse.de>
23669
8a43e768 23670 [BZ #15917]
a4966c61
AS
23671 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23672 followed by 'x' as part of digit sequence.
23673 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23674
28d708c4
MAP
236752013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23676
23677 [BZ #16037]
23678 * configure.ac: allow GNU Make 4.0 and greater.
23679 * configure: Regenerated.
23680
a56ee40b
WN
236812013-10-30 Will Newton <will.newton@linaro.org>
23682
23683 [BZ #16038]
23684 * malloc/hooks.c (memalign_check): Limit alignment to the
23685 maximum representable power of two.
23686 * malloc/malloc.c (__libc_memalign): Likewise.
23687 * malloc/tst-memalign.c (do_test): Add test for very
23688 large alignment values.
23689 * malloc/tst-posix_memalign.c (do_test): Likewise.
23690
c6e4925d
OB
236912013-10-30 Ondřej Bílka <neleai@seznam.cz>
23692
23693 [BZ #11087]
23694 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23695 (munmap_chunk): Likewise.
23696 (mremap_chunk): Likewise.
23697
236982013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23699
8a43e768 23700 [BZ #15799]
bbea82f7
OB
23701 * stdlib/div.c (div): Remove obsolete code.
23702 * stdlib/ldiv.c (ldiv): Likewise.
23703 * stdlib/lldiv.c (lldiv): Likewise.
23704
977f4b31
SP
237052013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23706
23707 [BZ #16071]
23708 * nss/nss_files/files-XXX.c (get_contents_ret): New
23709 enumerator.
23710 (get_contents): New function.
23711 (internal_getent): Use it. Expand size of LINEBUFLEN.
23712
cb8a6dbd
MF
237132013-10-30 Mike Frysinger <vapier@gentoo.org>
23714
23715 * configure.in: Moved to ...
23716 * configure.ac: ... here. Change reference to configure.in
23717 to configure.ac.
23718 * sysdeps/arm/preconfigure.ac: ... here.
23719 configure.in to configure.ac.
23720 * sysdeps/gnu/configure.in: Moved to ...
23721 * sysdeps/gnu/configure.ac: ... here.
23722 * sysdeps/i386/configure.in: Moved to ...
23723 * sysdeps/i386/configure.ac: ... here.
23724 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23725 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23726 * sysdeps/mach/configure.in: Moved to ...
23727 * sysdeps/mach/configure.ac: ... here.
23728 * sysdeps/mach/hurd/configure.in: Moved to ...
23729 * sysdeps/mach/hurd/configure.ac: ... here.
23730 * sysdeps/powerpc/configure.in: Moved to ...
23731 * sysdeps/powerpc/configure.ac: ... here.
23732 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23733 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23734 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23735 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23736 * sysdeps/s390/s390-32/configure.in: Moved to ...
23737 * sysdeps/s390/s390-32/configure.ac: ... here.
23738 * sysdeps/s390/s390-64/configure.in: Moved to ...
23739 * sysdeps/s390/s390-64/configure.ac: ... here.
23740 * sysdeps/sh/configure.in: Moved to ...
23741 * sysdeps/sh/configure.ac: ... here.
23742 * sysdeps/sparc/configure.in: Moved to ...
23743 * sysdeps/sparc/configure.ac: ... here.
23744 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23745 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23746 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23747 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23748 * sysdeps/x86_64/configure.in: Moved to ...
23749 * sysdeps/x86_64/configure.ac: ... here.
23750 * sysdeps/x86_64/preconfigure.in: Moved to ...
23751 * sysdeps/x86_64/preconfigure.ac: ... here.
23752 * aclocal.m4: Change reference to configure.in to configure.ac.
23753 * config.h.in: Likewise.
23754 * manual/install.texi: Likewise.
23755 * manual/maint.texi: Likewise.
23756 * Makefile: Likewise.
23757 * malloc/Makefile: Likewise.
23758 * nscd/Makefile: Likewise.
23759 * Makeconfig: Change reference to configure.in and
23760 preconfigure.in to configure.ac and preconfigure.ac
23761 respectively.
23762 * INSTALL: Regenerated.
23763 * configure: Likewise.
23764 * sysdeps/gnu/configure: Likewise.
23765 * sysdeps/i386/configure: Likewise.
23766 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23767 * sysdeps/mach/configure: Likewise.
23768 * sysdeps/mach/hurd/configure: Likewise.
23769 * sysdeps/powerpc/configure: Likewise.
23770 * sysdeps/powerpc/powerpc32/configure: Likewise.
23771 * sysdeps/powerpc/powerpc64/configure: Likewise.
23772 * sysdeps/s390/s390-32/configure: Likewise.
23773 * sysdeps/s390/s390-64/configure: Likewise.
23774 * sysdeps/sh/configure: Likewise.
23775 * sysdeps/sparc/configure: Likewise.
23776 * sysdeps/unix/sysv/linux/configure: Likewise.
23777 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23778 * sysdeps/x86_64/configure: Likewise.
23779 * sysdeps/x86_64/preconfigure: Likewise.
23780
36a4953a
AS
237812013-10-29 Andreas Schwab <schwab@suse.de>
23782
23783 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23784
c79a1204
SP
237852013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23786
dfa1b402
SP
23787 * benchtests/pow-inputs: Add new inputs.
23788
54f73d9c
SP
23789 * benchtests/exp-inputs: Add new inputs.
23790
c79a1204
SP
23791 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23792 conditional check for return value.
23793 (__cos32): Likewise.
23794
67beb545 237952013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23796
23797 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23798 to provide a boost for large inputs with word alignment.
23799 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23800 implementation based on optimized PPC64 strcpy.
23801 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23802 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23803 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23804 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23805
151659f6
OB
238062013-10-25 Ondřej Bílka <neleai@seznam.cz>
23807
482a077e 23808 [BZ #2801]
151659f6
OB
23809 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23810
10b0f26b
OB
238112013-10-25 Ondřej Bílka <neleai@seznam.cz>
23812
23813 [BZ #14876]
23814 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23815 * time/tst-strptime.c (day_tests): Add testcase.
23816
ca42d35e
OB
238172013-10-25 Ondřej Bílka <neleai@seznam.cz>
23818
482a077e 23819 [BZ #14029]
ca42d35e
OB
23820 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23821
52e6d801
FB
238222013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23823
23824 [BZ #16074]
23825 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23826 MAP_FAILED on error.
23827
7cbcdb36
SP
238282013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23829
23830 [BZ #16072]
23831 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23832 heap for large requests.
23833
894f3f10
AM
238342013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23835
23836 [BZ #9954]
23837 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23838 result if the result has no associated interface.
23839 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23840 interface for all 127.X.Y.Z addresses.
23841
b85545a6
CL
238422013-10-24 Chris Leonard <cjl@sugarlabs.org>
23843
23844 * locale/iso-639.def: Add Ligurian (lij)
23845
d1f23d46
OB
238462013-10-21 Ondřej Bílka <neleai@seznam.cz>
23847
23848 [BZ #15825]
23849 * sunrpc/rpc_main.c: Document rpcgen -5.
23850
4db5b08f
MS
238512013-10-19 Michael Stahl <mstahl@redhat.com>
23852
23853 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23854
a471e96a
OB
238552013-10-19 Ondřej Bílka <neleai@seznam.cz>
23856
d1f23d46 23857 [BZ #10278]
a471e96a
OB
23858 * posix/glob.c: Match only directories when trailing slash is present.
23859 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23860 (main): Add testcase.
23861
45c30c61
OB
238622013-10-19 Ondřej Bílka <neleai@seznam.cz>
23863
23864 [BZ #15670]
23865 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23866
484c12fb
CD
238672013-10-18 Carlos O'Donell <carlos@redhat.com>
23868
3d7dc513
CD
23869 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23870 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23871 AUTH_DES and cindex for FIPS 140-2.
23872 (DES Encryption): Add cindex FIPS 46-3.
23873
484c12fb
CD
23874 * locale/locarchive.h (struct locarhandle): Add fname.
23875 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23876 if an optional argument was specified to --list-archive,
23877 otherwise NULL.
23878 * locale/programs/locarchive.c (show_archive_content): Take new
23879 argument fname and pass it via ah.fname to open_archive.
23880 * locale/programs/localedef.h: Update decl.
23881 (open_archive): If AH->fname is non-null, open that file
23882 rather than the default file name, and don't ignore ENOENT.
23883 (create_archive): Set AH.fname to NULL.
23884 (delete_locales_from_archive): Likewise.
23885 (add_locales_to_archive): Likewise.
23886 * locale/programs/locfile.c (write_all_categories): Likewise.
23887
3c8325fb
JM
238882013-10-18 Joseph Myers <joseph@codesourcery.com>
23889 Aldy Hernandez <aldyh@redhat.com>
23890
23891 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23892 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23893 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23894 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23895 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23896 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23897 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23898 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23899 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23900 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23901 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23902 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23903 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23904 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23905 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23906 Likewise.
23907 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23908 Likewise.
23909 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23910 Likewise.
23911 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23912 Likewise.
23913 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23914 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23915 Likewise.
23916 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23917 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23918 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23919 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23920 Likewise.
23921 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23922 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23923 * sysdeps/powerpc/preconfigure: Likewise.
23924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23925 Likewise.
23926 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23927 Replace contents of file by #include of <fenv_libc.h>.
23928 * sysdeps/powerpc/soft-fp/sfp-machine.h
23929 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23930 and <sys/prctl.h>.
23931 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23932 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23933 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23934 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23935 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23936 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23937 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23938 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23939 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23940 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23941 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23942 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
23944 Allow copysignl PLT reference to be missing.
23945
5abe0682
RS
239462013-10-18 Richard Sandiford <richard@codesourcery.com>
23947 Joseph Myers <joseph@codesourcery.com
23948
23949 [BZ #15948]
23950 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
23951 single character.
23952 (add_to_tablewc): Assert sequence of wide characters is nonempty.
23953
c7738d08
SP
239542013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23955
23956 * elf/tst-tls-dlinfo.c: Don't include tls.h.
23957 * elf/tst-tls1.c: Likewise.
23958 * elf/tst-tls10.h: Likewise.
23959 * elf/tst-tls14.c: Likewise.
23960 * elf/tst-tls2.c: Likewise.
23961 * elf/tst-tls3.c: Likewise.
23962 * elf/tst-tls4.c: Likewise.
23963 * elf/tst-tls5.c: Likewise.
23964 * elf/tst-tls6.c: Likewise.
23965 * elf/tst-tls7.c: Likewise.
23966 * elf/tst-tls8.c: Likewise.
23967 * elf/tst-tls9.c: Likewise.
23968 * elf/tst-tlsmod1.c: Likewise.
23969 * elf/tst-tlsmod13.c: Likewise.
23970 * elf/tst-tlsmod13a.c: Likewise.
23971 * elf/tst-tlsmod14a.c: Likewise.
23972 * elf/tst-tlsmod16a.c: Likewise.
23973 * elf/tst-tlsmod16b.c: Likewise.
23974 * elf/tst-tlsmod2.c: Likewise.
23975 * elf/tst-tlsmod3.c: Likewise.
23976 * elf/tst-tlsmod4.c: Likewise.
23977 * elf/tst-tlsmod5.c: Likewise.
23978 * elf/tst-tlsmod6.c: Likewise.
23979
0bfcf2c7
OB
239802013-10-18 Ondřej Bílka <neleai@seznam.cz>
23981
23982 [BZ #12486]
23983 * malloc/malloc.c: remove checks for statistics.
23984
264aad1e
OB
239852013-10-17 Ondřej Bílka <neleai@seznam.cz>
23986
23987 [BZ #15277]
23988 * inet/inet_net.c (inet_network): Detect additional invalid strings.
23989 * inet/tst-network.c: Add testcase.
23990
b957ced8
AS
239912013-10-17 Andreas Schwab <schwab@suse.de>
23992
23993 [BZ #15218]
23994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
23995 to determine canonical name.
23996
c5d5d574
OB
239972013-10-17 Ondřej Bílka <neleai@seznam.cz>
23998
23999 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24000 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24001 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24002 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24003 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24004 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24005 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24006 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24007 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24008 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24009 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24010 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24011 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24012 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24013 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24014 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24015 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24016 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24017 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24018 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24019 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24020 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24021 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24022 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24023 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24024 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24025 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24026 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24027 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24028 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24029 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24030 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24031 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24032 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24033 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24034 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24035 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24036 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24037 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24038 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24039 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24040 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24041 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24042 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24043 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24044 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24045 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24046 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24047 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24048 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24049 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24050 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24051 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24052 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24053 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24054 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24055 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24056 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24057
e5c2c2d0
JM
240582013-10-17 Joseph Myers <joseph@codesourcery.com>
24059
24060 [BZ #16041]
24061 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24062 make result into a quiet NaN.
24063
51ca9e29
JM
240642013-10-16 Joseph Myers <joseph@codesourcery.com>
24065
24066 * soft-fp/adddf3.c: Fix horizontal whitespace.
24067 * soft-fp/addsf3.c: Likewise.
24068 * soft-fp/addtf3.c: Likewise.
24069 * soft-fp/divdf3.c: Likewise.
24070 * soft-fp/divsf3.c: Likewise.
24071 * soft-fp/divtf3.c: Likewise.
24072 * soft-fp/double.h: Likewise.
24073 * soft-fp/eqdf2.c: Likewise.
24074 * soft-fp/eqsf2.c: Likewise.
24075 * soft-fp/eqtf2.c: Likewise.
24076 * soft-fp/extenddftf2.c: Likewise.
24077 * soft-fp/extended.h: Likewise.
24078 * soft-fp/extendsfdf2.c: Likewise.
24079 * soft-fp/extendsftf2.c: Likewise.
24080 * soft-fp/extendxftf2.c: Likewise.
24081 * soft-fp/fixdfdi.c: Likewise.
24082 * soft-fp/fixdfsi.c: Likewise.
24083 * soft-fp/fixdfti.c: Likewise.
24084 * soft-fp/fixsfdi.c: Likewise.
24085 * soft-fp/fixsfsi.c: Likewise.
24086 * soft-fp/fixsfti.c: Likewise.
24087 * soft-fp/fixtfdi.c: Likewise.
24088 * soft-fp/fixtfsi.c: Likewise.
24089 * soft-fp/fixtfti.c: Likewise.
24090 * soft-fp/fixunsdfdi.c: Likewise.
24091 * soft-fp/fixunsdfsi.c: Likewise.
24092 * soft-fp/fixunsdfti.c: Likewise.
24093 * soft-fp/fixunssfdi.c: Likewise.
24094 * soft-fp/fixunssfsi.c: Likewise.
24095 * soft-fp/fixunssfti.c: Likewise.
24096 * soft-fp/fixunstfdi.c: Likewise.
24097 * soft-fp/fixunstfsi.c: Likewise.
24098 * soft-fp/fixunstfti.c: Likewise.
24099 * soft-fp/floatdidf.c: Likewise.
24100 * soft-fp/floatdisf.c: Likewise.
24101 * soft-fp/floatditf.c: Likewise.
24102 * soft-fp/floatsidf.c: Likewise.
24103 * soft-fp/floatsisf.c: Likewise.
24104 * soft-fp/floatsitf.c: Likewise.
24105 * soft-fp/floattidf.c: Likewise.
24106 * soft-fp/floattisf.c: Likewise.
24107 * soft-fp/floattitf.c: Likewise.
24108 * soft-fp/floatundidf.c: Likewise.
24109 * soft-fp/floatundisf.c: Likewise.
24110 * soft-fp/floatunditf.c: Likewise.
24111 * soft-fp/floatunsidf.c: Likewise.
24112 * soft-fp/floatunsisf.c: Likewise.
24113 * soft-fp/floatunsitf.c: Likewise.
24114 * soft-fp/floatuntidf.c: Likewise.
24115 * soft-fp/floatuntisf.c: Likewise.
24116 * soft-fp/floatuntitf.c: Likewise.
24117 * soft-fp/fmadf4.c: Likewise.
24118 * soft-fp/fmasf4.c: Likewise.
24119 * soft-fp/fmatf4.c: Likewise.
24120 * soft-fp/gedf2.c: Likewise.
24121 * soft-fp/gesf2.c: Likewise.
24122 * soft-fp/getf2.c: Likewise.
24123 * soft-fp/ledf2.c: Likewise.
24124 * soft-fp/lesf2.c: Likewise.
24125 * soft-fp/letf2.c: Likewise.
24126 * soft-fp/muldf3.c: Likewise.
24127 * soft-fp/mulsf3.c: Likewise.
24128 * soft-fp/multf3.c: Likewise.
24129 * soft-fp/negdf2.c: Likewise.
24130 * soft-fp/negsf2.c: Likewise.
24131 * soft-fp/negtf2.c: Likewise.
24132 * soft-fp/op-1.h: Likewise.
24133 * soft-fp/op-2.h: Likewise.
24134 * soft-fp/op-4.h: Likewise.
24135 * soft-fp/op-8.h: Likewise.
24136 * soft-fp/op-common.h: Likewise.
24137 * soft-fp/quad.h: Likewise.
24138 * soft-fp/single.h: Likewise.
24139 * soft-fp/soft-fp.h: Likewise.
24140 * soft-fp/sqrtdf2.c: Likewise.
24141 * soft-fp/sqrtsf2.c: Likewise.
24142 * soft-fp/sqrttf2.c: Likewise.
24143 * soft-fp/subdf3.c: Likewise.
24144 * soft-fp/subsf3.c: Likewise.
24145 * soft-fp/subtf3.c: Likewise.
24146 * soft-fp/truncdfsf2.c: Likewise.
24147 * soft-fp/trunctfdf2.c: Likewise.
24148 * soft-fp/trunctfsf2.c: Likewise.
24149 * soft-fp/trunctfxf2.c: Likewise.
24150 * soft-fp/unorddf2.c: Likewise.
24151 * soft-fp/unordsf2.c: Likewise.
24152 * soft-fp/unordtf2.c: Likewise.
24153
9ebb0332
JM
241542013-10-15 Joseph Myers <joseph@codesourcery.com>
24155
24156 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24157 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24158
4b1a6d8b
OB
241592013-10-15 Ondřej Bílka <neleai@seznam.cz>
24160
24161 * elf/dl-libc.c: Clear initfini list after freeing.
24162
1e145589
JM
241632013-10-14 Joseph Myers <joseph@codesourcery.com>
24164
24165 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24166 * soft-fp/addsf3.c: Likewise.
24167 * soft-fp/addtf3.c: Likewise.
24168 * soft-fp/divdf3.c: Likewise.
24169 * soft-fp/divsf3.c: Likewise.
24170 * soft-fp/divtf3.c: Likewise.
24171 * soft-fp/double.h: Likewise.
24172 * soft-fp/eqdf2.c: Likewise.
24173 * soft-fp/eqsf2.c: Likewise.
24174 * soft-fp/eqtf2.c: Likewise.
24175 * soft-fp/extenddftf2.c: Likewise.
24176 * soft-fp/extended.h: Likewise.
24177 * soft-fp/extendsfdf2.c: Likewise.
24178 * soft-fp/extendsftf2.c: Likewise.
24179 * soft-fp/extendxftf2.c: Likewise.
24180 * soft-fp/fixdfdi.c: Likewise.
24181 * soft-fp/fixdfsi.c: Likewise.
24182 * soft-fp/fixdfti.c: Likewise.
24183 * soft-fp/fixsfdi.c: Likewise.
24184 * soft-fp/fixsfsi.c: Likewise.
24185 * soft-fp/fixsfti.c: Likewise.
24186 * soft-fp/fixtfdi.c: Likewise.
24187 * soft-fp/fixtfsi.c: Likewise.
24188 * soft-fp/fixtfti.c: Likewise.
24189 * soft-fp/fixunsdfdi.c: Likewise.
24190 * soft-fp/fixunsdfsi.c: Likewise.
24191 * soft-fp/fixunsdfti.c: Likewise.
24192 * soft-fp/fixunssfdi.c: Likewise.
24193 * soft-fp/fixunssfsi.c: Likewise.
24194 * soft-fp/fixunssfti.c: Likewise.
24195 * soft-fp/fixunstfdi.c: Likewise.
24196 * soft-fp/fixunstfsi.c: Likewise.
24197 * soft-fp/fixunstfti.c: Likewise.
24198 * soft-fp/floatdidf.c: Likewise.
24199 * soft-fp/floatdisf.c: Likewise.
24200 * soft-fp/floatditf.c: Likewise.
24201 * soft-fp/floatsidf.c: Likewise.
24202 * soft-fp/floatsisf.c: Likewise.
24203 * soft-fp/floatsitf.c: Likewise.
24204 * soft-fp/floattidf.c: Likewise.
24205 * soft-fp/floattisf.c: Likewise.
24206 * soft-fp/floattitf.c: Likewise.
24207 * soft-fp/floatundidf.c: Likewise.
24208 * soft-fp/floatundisf.c: Likewise.
24209 * soft-fp/floatunsidf.c: Likewise.
24210 * soft-fp/floatunsisf.c: Likewise.
24211 * soft-fp/floatuntidf.c: Likewise.
24212 * soft-fp/floatuntisf.c: Likewise.
24213 * soft-fp/floatuntitf.c: Likewise.
24214 * soft-fp/fmadf4.c: Likewise.
24215 * soft-fp/fmasf4.c: Likewise.
24216 * soft-fp/fmatf4.c: Likewise.
24217 * soft-fp/gedf2.c: Likewise.
24218 * soft-fp/gesf2.c: Likewise.
24219 * soft-fp/getf2.c: Likewise.
24220 * soft-fp/ledf2.c: Likewise.
24221 * soft-fp/lesf2.c: Likewise.
24222 * soft-fp/letf2.c: Likewise.
24223 * soft-fp/muldf3.c: Likewise.
24224 * soft-fp/mulsf3.c: Likewise.
24225 * soft-fp/multf3.c: Likewise.
24226 * soft-fp/negdf2.c: Likewise.
24227 * soft-fp/negsf2.c: Likewise.
24228 * soft-fp/negtf2.c: Likewise.
24229 * soft-fp/op-1.h: Likewise.
24230 * soft-fp/op-2.h: Likewise.
24231 * soft-fp/op-4.h: Likewise.
24232 * soft-fp/op-8.h: Likewise.
24233 * soft-fp/op-common.h: Likewise.
24234 * soft-fp/quad.h: Likewise.
24235 * soft-fp/single.h: Likewise.
24236 * soft-fp/soft-fp.h: Likewise.
24237 * soft-fp/sqrtdf2.c: Likewise.
24238 * soft-fp/sqrtsf2.c: Likewise.
24239 * soft-fp/sqrttf2.c: Likewise.
24240 * soft-fp/subdf3.c: Likewise.
24241 * soft-fp/subsf3.c: Likewise.
24242 * soft-fp/subtf3.c: Likewise.
24243 * soft-fp/truncdfsf2.c: Likewise.
24244 * soft-fp/trunctfdf2.c: Likewise.
24245 * soft-fp/trunctfsf2.c: Likewise.
24246 * soft-fp/trunctfxf2.c: Likewise.
24247 * soft-fp/unorddf2.c: Likewise.
24248 * soft-fp/unordsf2.c: Likewise.
24249 * soft-fp/unordtf2.c: Likewise.
24250
17c48a60
OB
242512013-10-14 Ondřej Bílka <neleai@seznam.cz>
24252
24253 [BZ #15672]
24254 * misc/error.c (error_tail): Fix possible buffer overflow.
24255
cabba934
OB
242562013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24257
24258 [BZ #13028]
24259 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24260 address.
24261
94bf958a
PM
242622013-10-14 P. J. McDermott <pj@pehjota.net>
24263
24264 [BZ #832]
24265 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24266 testing pipefail option.
24267
71b4dea7
JM
242682013-10-12 Joseph Myers <joseph@codesourcery.com>
24269
24270 * soft-fp/double.h: Indent preprocessor directives inside #if.
24271 * soft-fp/extended.h: Likewise.
24272 * soft-fp/op-2.h: Likewise.
24273 * soft-fp/op-4.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
55602758
YC
242792013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24280
24281 * iconv/iconv_prog.c: Fix typos.
24282 * stdio-common/psiginfo-data.h: Likewise.
24283
9cd83302
RT
242842013-10-12 Reuben Thomas <rrt@sc3d.org>
24285
24286 [BZ #15764]
24287 * locale/setlocale.c: Fix typo.
24288
99fd9f47
JM
242892013-10-12 Joseph Myers <joseph@codesourcery.com>
24290
b7ea74f0
JM
24291 [BZ #16036]
24292 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24293 signaling NaN arguments.
24294 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24295 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24296
8a509447
JM
24297 [BZ #14910]
24298 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24299 unordered operands.
24300 * soft-fp/gesf2.c (__gesf2): Likewise.
24301 * soft-fp/getf2.c (__getf2): Likewise.
24302 * soft-fp/ledf2.c (__ledf2): Likewise.
24303 * soft-fp/lesf2.c (__lesf2): Likewise.
24304 * soft-fp/letf2.c (__letf2): Likewise.
24305
98998e9f
JM
24306 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24307 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24308 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24309 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24310 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24311 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24312 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24313 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24314 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24315 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24316 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24317 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24318 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24319 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24320 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24321 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24322 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24323 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24324 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24325 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24326 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24327 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24328 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24329 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24330 * soft-fp/floattidf.c (__floattidf): Likewise.
24331 * soft-fp/floattisf.c (__floattisf): Likewise.
24332 * soft-fp/floattitf.c (__floattitf): Likewise.
24333 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24334 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24335 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24336 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24337 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24338 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24339 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24340 * soft-fp/gesf2.c (__gesf2): Likewise.
24341 * soft-fp/getf2.c (__getf2): Likewise.
24342 * soft-fp/ledf2.c (__ledf2): Likewise.
24343 * soft-fp/lesf2.c (__lesf2): Likewise.
24344 * soft-fp/letf2.c (__letf2): Likewise.
24345
8edc4a11
JM
24346 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24347 Undefine and redefine.
24348 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24349 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24350 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24351 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24352 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24353 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24354 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24355 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24356 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24357 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24358 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24359 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24360 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24361 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24362 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24363
8399acaf
JM
24364 [BZ #16032]
24365 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24366 without decrementing exponent if mantissa >= that for the
24367 denominator, not >.
24368 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24369 denominator, not >. Decrement exponent in < case instead of
24370 incrementing in >= case.
24371 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24372 without decrementing exponent if mantissa >= that for the
24373 denominator, not >.
24374
99fd9f47
JM
24375 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24376 computing saturated result for unsigned overflow.
24377
10e1cf6b
SP
243782013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24379 Jeff Law <law@redhat.com>
24380
24381 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24382 (atan2Mp): Add systemtap probe marker.
24383 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24384 (__ieee754_log): Add systemtap probe marker.
24385 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24386 (atanMp): Add systemtap probe marker.
24387 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24388 (tanMp): Add systemtap probe marker.
24389 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24390 (__slowexp): Add systemtap probe marker.
24391 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24392 (__slowpow): Add systemtap probe marker.
24393 * manual/probes.texi: Document probes.
24394
3d110c7c
EB
243952013-10-11 Eric Biggers <ebiggers3@gmail.com>
24396
24397 [BZ #15362]
24398 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24399 written.
24400 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24401 written.
24402 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24403 written to buffer but not flushed.
24404 * libio/iofwrite_u.c: Likewise.
24405 * libio/iopadn.c: Return bytes returned even if EOF was
24406 encountered.
24407 * libio/iowpadn.c: Likewise.
24408 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24409 if _IO_padn does not write the whole buffer.
24410 [!COMPILE_WPRINTF] (PAD): Likewise.
24411
75b4202a
DM
244122013-10-10 David S. Miller <davem@davemloft.net>
24413
24414 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24415 directory block.
24416
6c6352e6
JM
244172013-10-10 Joseph Myers <joseph@codesourcery.com>
24418
33b853c3
JM
24419 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24420 instead of FSF address.
24421 * soft-fp/fixdfti.c: Likewise.
24422 * soft-fp/fixsfti.c: Likewise.
24423 * soft-fp/fixtfti.c: Likewise.
24424 * soft-fp/fixunsdfti.c: Likewise.
24425 * soft-fp/fixunssfti.c: Likewise.
24426 * soft-fp/fixunstfti.c: Likewise.
24427 * soft-fp/floattidf.c: Likewise.
24428 * soft-fp/floattisf.c: Likewise.
24429 * soft-fp/floattitf.c: Likewise.
24430 * soft-fp/floatuntidf.c: Likewise.
24431 * soft-fp/floatuntisf.c: Likewise.
24432 * soft-fp/floatuntitf.c: Likewise.
24433 * soft-fp/trunctfxf2.c: Likewise.
24434
6c6352e6
JM
24435 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24436 * soft-fp/fixdfti.c: Likewise.
24437 * soft-fp/fixsfti.c: Likewise.
24438 * soft-fp/fixtfti.c: Likewise.
24439 * soft-fp/fixunsdfti.c: Likewise.
24440 * soft-fp/fixunssfti.c: Likewise.
24441 * soft-fp/fixunstfti.c: Likewise.
24442 * soft-fp/floattidf.c: Likewise.
24443 * soft-fp/floattisf.c: Likewise.
24444 * soft-fp/floattitf.c: Likewise.
24445 * soft-fp/floatuntidf.c: Likewise.
24446 * soft-fp/floatuntisf.c: Likewise.
24447 * soft-fp/floatuntitf.c: Likewise.
24448 * soft-fp/trunctfxf2.c: Likewise.
24449
3bf78b71
DM
244502013-10-10 David S. Miller <davem@davemloft.net>
24451
24452 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24453
6f10289e
JM
244542013-10-10 Joseph Myers <joseph@codsourcery.com>
24455
bd878fc0
JM
24456 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24457 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24458 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24459 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24460 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24461 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24462 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24463
6f10289e
JM
24464 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24465 for NaNs before doing comparisons on argument.
24466 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24467 Likewise.
24468
321e2684
WN
244692013-10-10 Will Newton <will.newton@linaro.org>
24470
24471 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24472 passed to _int_memalign does not overflow.
24473
40fefba1
TR
244742013-10-10 Torvald Riegel <triegel@redhat.com>
24475
24476 * scripts/bench.pl: Add include-sources directive.
24477 * benchtests/README: Update documentation.
24478
2ae21ed2
JM
244792013-10-10 Joseph Myers <joseph@codesourcery.com>
24480
dcc2dd3f
JM
24481 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24482 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24483 instead of FP_INIT_ROUNDMODE.
24484 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24485 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24486
2ae21ed2
JM
24487 [BZ #16034]
24488 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24489 copy class of input value.
24490 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24491 not handle exceptions.
24492 * soft-fp/negsf2.c (__negsf2): Likewise.
24493 * soft-fp/negtf2.c (__negtf2): Likewise.
24494 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24495
cb8f9562
JM
244962013-10-09 Joseph Myers <joseph@codesourcery.com>
24497
24498 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24499 semicolon. From Linux kernel.
24500
5b60c59d
AB
245012013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24502
24503 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24504
b86835ca
YC
245052013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24506
24507 [BZ #156]
24508 * manual/socket.texi: Added statement about buffer
24509 for gethostbyname2_r.
24510
e7044ea7
OB
245112013-10-08 Ondřej Bílka <neleai@seznam.cz>
24512
24513 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24514 Use .p2align directive instead, throughout.
24515 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24516 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24517 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24518 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24519 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24520 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24521 * sysdeps/x86_64/strchr.S: Likewise.
24522 * sysdeps/x86_64/strrchr.S: Likewise.
24523
09544cbc
SP
245242013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24525
88576635
SP
24526 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24527
e7b2d1dd
SP
24528 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24529
09544cbc
SP
24530 * sysdeps/generic/math_private.h (__mpsin1): Remove
24531 declaration.
24532 (__mpcos1): Likewise.
24533 (__mpsin): New argument __range_reduce.
24534 (__mpcos): Likewise.
24535 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24536 (slow): Use __mpsin and __mpcos.
24537 (slow1): Likewise.
24538 (slow2): Likewise.
24539 (sloww): Likewise.
24540 (sloww1): Likewise.
24541 (sloww2): Likewise.
24542 (bsloww): Likewise.
24543 (bsloww1): Likewise.
24544 (bsloww2): Likewise.
24545 (cslow2): Likewise.
24546 (csloww): Likewise.
24547 (csloww1): Likewise.
24548 (csloww2): Likewise.
24549 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24550 range_reduce. Merge in __mpsin1.
24551 (__mpcos): Likewise.
24552 (__mpsin1): Remove.
24553 (__mpcos1): Likewise.
24554
7602d070
JM
245552013-10-07 Joseph Myers <joseph@codesourcery.com>
24556
24557 * locale/loadlocale.c (_nl_intern_locale_data): Use
24558 LOCFILE_ALIGNED_P.
24559 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24560 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24561 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24562 obstack data is appropriately aligned.
24563 (obstack_int32_grow_fast): Likewise.
24564 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24565 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24566 (add_locale_uint32_array): Likewise.
24567
a357259b
SP
245682013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24569
24570 * benchtests/Makefile: Remove ARGLIST and RET variables.
24571 ($(objpfx)bench-%.c): Pass only function name to the script.
24572 * benchtests/README: Update documentation.
24573 * benchtests/acos-inputs: Add new directives.
24574 * benchtests/acosh-inputs: Likewise.
24575 * benchtests/asin-inputs: Likewise.
24576 * benchtests/asinh-inputs: Likewise.
24577 * benchtests/atan-inputs: Likewise.
24578 * benchtests/atanh-inputs: Likewise.
24579 * benchtests/cos-inputs: Likewise.
24580 * benchtests/cosh-inputs: Likewise.
24581 * benchtests/exp-inputs: Likewise.
24582 * benchtests/log-inputs: Likewise.
24583 * benchtests/pow-inputs: Likewise.
24584 * benchtests/rint-inputs: Likewise.
24585 * benchtests/sin-inputs: Likewise.
24586 * benchtests/sinh-inputs: Likewise.
24587 * benchtests/tan-inputs: Likewise.
24588 * benchtests/tanh-inputs: Likewise.
24589 * scripts/bench.pl: Add support for new directives.
24590
9ec1b13d
AM
245912013-10-07 Alan Modra <amodra@gmail.com>
24592
24593 * README: Fix careless merge.
24594
8b7d57cd
AM
245952013-10-05 Alan Modra <amodra@gmail.com>
24596
24597 * NEWS: Mention powerpc64le support and bugs fixed.
24598 * README: Both big-endian and little-endian powerpc64 supported.
24599
7b7bab13
ST
246002013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24601
57f41c40
AS
24602 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24603 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24604 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24605 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24606
d39baad1
RA
246072013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24608
24609 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24610 match prototype.
24611
cd78f7e7
JM
246122013-10-04 Joseph Myers <joseph@codesourcery.com>
24613
29d73d86
JM
24614 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24615 Move -mhard-float appending from
24616 ports/sysdeps/powerpc/powerpc32/Makefile.
24617 [$(with-fp) = yes] (ASFLAGS): Likewise.
24618 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24619 * sysdeps/powerpc/nofpu: Move directory from
24620 ports/sysdeps/powerpc/nofpu.
24621 * sysdeps/powerpc/soft-fp: Move directory from
24622 ports/sysdeps/powerpc/soft-fp.
24623 * sysdeps/powerpc/powerpc32/405: Move directory from
24624 ports/sysdeps/powerpc/powerpc32/405.
24625 * sysdeps/powerpc/powerpc32/440: Move directory from
24626 ports/sysdeps/powerpc/powerpc32/440.
24627 * sysdeps/powerpc/powerpc32/464: Move directory from
24628 ports/sysdeps/powerpc/powerpc32/464.
24629 * sysdeps/powerpc/powerpc32/476: Move directory from
24630 ports/sysdeps/powerpc/powerpc32/476.
24631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24632 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24634 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24636 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24638 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24640 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24641 * README: Update for powerpc-*-linux-gnu software floating point
24642 support in libc.
24643
e246b347
JM
24644 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24645 case to powerpc/powerpc32*.
24646 * sysdeps/unix/sysv/linux/configure: Regenerated.
24647
89c2003e
JM
24648 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24649 (_FPU_MASK_OM): Define as 0x04.
24650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24651 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24652 0x00c10080.
24653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24654 0x0000003c.
24655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24656
cd78f7e7
JM
24657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24658 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24659 getcontext_e500.
24660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24661 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24662 setcontext_e500.
24663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24664 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24665 and setcontext_e500.
24666
c755294d
CL
246672013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24668
24669 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24670
e16d221c
SP
246712013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24672
24673 * manual/threads.texi (Default Thread Attributes): Fix typo.
24674
215c7d43
WN
246752013-10-04 Will Newton <will.newton@linaro.org>
24676
24677 * malloc/Makefile: Add tst-memalign.
24678 * malloc/tst-memalign.c: New file.
24679
27d0461b
WN
24680 * malloc/tst-posix_memalign.c: Add comments.
24681 (do_test): Add comments and call free on all potentially
24682 allocated pointers. Add space after cast.
24683
1bc92709
WN
24684 * malloc/tst-pvalloc.c: Add comments.
24685 (do_test): Add comments and call free on all potentially
24686 allocated pointers. Remove duplicate check for NULL pointer.
24687 Add space after cast.
24688
66a9be9d
WN
24689 * malloc/tst-valloc.c: Add comments.
24690 (do_test): Add comments and call free on all potentially
24691 allocated pointers. Remove duplicate check for NULL pointer.
24692 Add space after cast.
24693
4cb81307
AM
246942013-10-04 Alan Modra <amodra@gmail.com>
24695
24696 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24697 Use stdint types in rather than __attribute__((mode())).
24698 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24699
f8e3e9f3
AM
247002013-10-04 Alan Modra <amodra@gmail.com>
24701
24702 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24703 Correct handling of unaligned relocs for little-endian.
24704 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24705
8f9ebb08
AM
247062013-10-04 Alan Modra <amodra@gmail.com>
24707
24708 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24709 * configure: Regenerate.
24710 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24711 * shlib-versions: Likewise.
24712
0edf96c2
AM
247132013-10-04 Alan Modra <amodra@gmail.com>
24714
24715 * string/tester.c (test_memrchr): Increment reported test cycle.
24716
e0f7a380
AM
247172013-10-04 Alan Modra <amodra@gmail.com>
24718
24719 * string/test-memcpy.c (do_one_test): When reporting errors, print
24720 string address and don't overrun end of string.
24721
466b0393
AM
247222013-10-04 Alan Modra <amodra@gmail.com>
24723
24724 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24725 insrdi. Make better use of reg selection to speed exit slightly.
24726 Schedule entry path a little better. Remove useless "are we done"
24727 checks on entry to main loop. Handle wrapping around zero address.
24728 Correct main loop count. Handle single left-over word from main
24729 loop inline rather than by using loop_small. Remove extra word
24730 case in loop_small caused by wrong loop count. Add little-endian
24731 support.
24732 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24733 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24734 cache hint.
24735 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24736 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24737 support. Avoid rlwimi.
24738 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24739
3be87c77
AM
247402013-10-04 Alan Modra <amodra@gmail.com>
24741
24742 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24743 insrdi. Formatting.
3be87c77
AM
24744 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24745 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24746 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24747 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24748 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24749 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24750
759cfef3
AM
247512013-10-04 Alan Modra <amodra@gmail.com>
24752
24753 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24754 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24755 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24756 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24757 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24758 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24759 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24760 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24761 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24762 use of regs. Use power7 mtocrf. Tidy function tails.
24763
fe6e95d7
AM
247642013-10-04 Alan Modra <amodra@gmail.com>
24765
24766 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24767 Formatting. Consistently use rXXX register defines or rN defines.
24768 Use early exit labels that avoid restoring unused non-volatile regs.
24769 Make cr field use more consistent with rWORDn compares. Rename
24770 regs used as shift registers for unaligned loop, using rN defines
24771 for short lifetime/multiple use regs.
24772 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24773 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24774 addi 1,1,64 to pop stack frame. Simplify return value code.
24775 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24776
664318c3
AM
247772013-10-04 Alan Modra <amodra@gmail.com>
24778
24779 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24780 support. Correct typos, formatting. Optimize tail. Use insrdi
24781 rather than rlwimi.
24782 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24783 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24784 little-endian support. Correct typos.
24785 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24786 rather than rlwimi.
24787 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24788 in loop and entry code to keep "and." results.
24789 (strchr): Add little-endian support. Comment. Move cntlzd
24790 earlier in tail.
24791 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24792
43b84013
AM
247932013-10-04 Alan Modra <amodra@gmail.com>
24794
24795 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24796 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24797 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24798 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24799
8a7413f9
AM
248002013-10-04 Alan Modra <amodra@gmail.com>
24801
24802 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24803 (rTMP): Define as r11.
24804 (strcmp): Add little-endian support. Optimise tail.
24805 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24806 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24807 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24808 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24809 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24810 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24811 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24812
33ee81de
AM
248132013-10-04 Alan Modra <amodra@gmail.com>
24814
24815 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24816 little-endian support. Remove unnecessary "are we done" tests.
24817 Handle "s" wrapping around zero and extremely large "size".
24818 Correct main loop count. Handle single left-over word from main
24819 loop inline rather than by using small_loop. Correct comments.
24820 Delete "zero" tail, use "end_max" instead.
24821 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24822
db9b4570
AM
248232013-10-04 Alan Modra <amodra@gmail.com>
24824
24825 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24826 support. Don't branch over align.
24827 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24828 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24829 support. Rearrange tmp reg use to suit. Comment.
24830 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24831
f7c399cf
AM
248322013-10-04 Alan Modra <amodra@gmail.com>
24833
24834 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24835
0b2c2ace
AM
248362013-10-04 Alan Modra <amodra@gmail.com>
24837
24838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24839 conditional form of branch and link when obtaining pc.
24840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24841
02f04a6c
AM
248422013-10-04 Alan Modra <amodra@gmail.com>
24843
24844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24845 HIWORD/LOWORD.
24846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24848
9b874b2f
AM
248492013-10-04 Alan Modra <amodra@gmail.com>
24850
24851 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24852 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24853 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24854 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24855 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24856 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24857 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24858 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24859 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24860 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24861
be1e5d31
AB
248622013-10-04 Anton Blanchard <anton@au1.ibm.com>
24863 Alistair Popple <alistair@ozlabs.au.ibm.com>
24864 Alan Modra <amodra@gmail.com>
24865
24866 [BZ #15723]
24867 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24868 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24869 _dl_hwcap access for little-endian.
24870 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24871 destroy vmx regs when saving unaligned.
24872 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24873 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24874 destroy vmx regs when saving unaligned.
24875
fef13a78
AM
248762013-10-04 Alan Modra <amodra@gmail.com>
24877
24878 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24879 Don't use a union to pack hi/low value.
24880
76a66d51
AB
248812013-10-04 Anton Blanchard <anton@au1.ibm.com>
24882
24883 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24884 for little-endian.
24885 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24886 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24887 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24888 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24889 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24890
6a31fe7f
AM
248912013-10-04 Alan Modra <amodra@gmail.com>
24892
24893 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24894 constants to usual value for .cst8 section, and remove redundant
24895 high address load.
24896 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24897 constant for 0x1p52. Load little-endian words of double from
24898 correct stack offsets.
24899
7b88401f
AM
249002013-10-04 Alan Modra <amodra@gmail.com>
24901
24902 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24903 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24904 words of double from correct stack offsets.
24905 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24906 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24907 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24908 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24909 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24910 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24911 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24912 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24913 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24914 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24915 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24916 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24917 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24918 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24919 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24920 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24921 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24922
9c008155
AM
249232013-10-04 Alan Modra <amodra@gmail.com>
24924
24925 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24926 64-bit int/double union.
24927 (_FPU_SETCW): Likewise.
24928 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24929 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24930
da13146d
AM
249312013-10-04 Alan Modra <amodra@gmail.com>
24932
24933 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24934 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24935
603e8410
AM
249362013-10-04 Alan Modra <amodra@gmail.com>
24937
24938 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24939 use vector int constants.
24940 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24941
4a28b3ca
AB
249422013-10-04 Anton Blanchard <anton@au1.ibm.com>
24943
24944 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
24945 array with long long.
24946 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
24947 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
24948 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
24949 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
24950 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
24951 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
24952 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
24953 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
24954 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
24955 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
24956 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
24957 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
24958 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
24959
2ca85d2b
AB
249602013-10-04 Anton Blanchard <anton@au1.ibm.com>
24961
24962 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
24963 (__signbit): Likewise. Correct for little-endian.
24964 (__signbitl): Call __signbit.
24965 (lrint): Correct for little-endian.
24966 (lrintf): Call lrint.
24967
62a728ae
AM
249682013-10-04 Alan Modra <amodra@gmail.com>
24969
24970 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
24971 union 32-bit int array member with 64-bit int array.
24972 (t515, tm256): Double rather than long double.
24973 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
24974
32c301df
AM
249752013-10-04 Alan Modra <amodra@gmail.com>
24976
24977 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
24978 Delete.
24979 (IEEE854_LONG_DOUBLE_BIAS): Delete.
24980 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
24981 version of math_ldbl.h.
24982
650ef4bd
AM
249832013-10-04 Alan Modra <amodra@gmail.com>
24984
24985 [BZ #15734], [BZ #15735]
24986 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
24987 all uses of ieee875 long double macros and unions. Simplify test
24988 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
24989 ldbl_extract_mantissa value for ix,iy exponents. Properly
24990 normalize after ldbl_extract_mantissa, and don't add hidden bit
24991 already handled. Don't treat low word of ieee854 mantissa like
24992 low word of IBM long double and mask off bit when testing for
24993 zero.
24994 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
24995 all uses of ieee875 long double macros and unions. Simplify tests
24996 for 0.0L and inf. Correct double adjustment of k. Delete dead code
24997 adjusting ha,hb. Simplify code setting kld. Delete two600 and
24998 two1022, instead use their values. Recognise that tests for large
24999 "a" and small "b" are mutually exclusive. Rename vars. Comment.
25000 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25001 Rewrite all uses of ieee875 long double macros and unions. Simplify
25002 test for 0.0L and nan. Correct negation.
25003 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25004 ieee875 long double macros and unions. Correct output for large
25005 magnitude x. Correct absolute value calculation.
25006 (__erfcl): Likewise.
25007 * math/libm-test.inc: Add tests for errors discovered in IBM long
25008 double versions of fmodl, remainderl, erfl and erfcl.
25009
765714ca
AM
250102013-10-04 Alan Modra <amodra@gmail.com>
25011
25012 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25013 all uses of ieee854 long double macros and unions. Simplify tests
25014 for long doubles that are fully specified by the high double.
25015 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25016 Likewise.
25017 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25018 Remove dead code too.
25019 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25020 (__ieee754_ynl): Likewise.
25021 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25022 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25023 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25024 Remove dead code too.
25025 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25026 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25027 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25028 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25029 Simplify.
25030 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25031 Simplify.
25032 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25033 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25034 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25035 Comment on variable precision.
25036 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25037 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25038 Likewise.
25039 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25040 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25041 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25042 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25043 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25044
4ebd120c
AM
250452013-10-04 Alan Modra <amodra@gmail.com>
25046
25047 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25048 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25049 all uses of ieee854 long double macros and unions.
25050 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25051 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25052 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25053 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25054 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25055 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25056 Likewise.
25057 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25058 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25059 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25060 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25061 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25062 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25063 Simplify sign and nan test too.
25064 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25065 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25066 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25067 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25068 Likewise.
25069 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25070 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25071 Likewise.
25072 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25073 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25074 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25075 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25076 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25077 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25078
1b6adf88
AM
250792013-10-04 Alan Modra <amodra@gmail.com>
25080
25081 * stdio-common/printf_size.c (__printf_size): Don't use
25082 union ieee854_long_double in fpnum union.
25083 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
25084 signbit macro to retrieve sign from long double.
25085 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25086 retrieve sign from long double.
25087 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25088 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25089 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25090 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25091 * math/test-misc.c (main): Don't use union ieee854_long_double.
25092
4cf69995
AM
250932013-10-04 Alan Modra <amodra@gmail.com>
25094
25095 [BZ #15680]
25096 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25097 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25098 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25099 calculation. Remove unnecessary test for denormal exponent.
25100 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25101 Correct handling of denormals. Avoid undefined shift behaviour.
25102 Correct normalisation of low mantissa when low double is denormal.
25103 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25104 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
25105 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25106 Correct normalisation of low mantissa. Test for overflow of high
25107 mantissa and normalise.
25108 (ldbl_nearbyint): Use more readable constant for two52.
25109 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25110 (__mpn_construct_long_double): Fix test for overflow of high
25111 mantissa and correct normalisation. Avoid undefined shift.
25112
9605ca6c
AM
251132013-10-04 Alan Modra <amodra@gmail.com>
25114
25115 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25116 (union ibm_extended_long_double): Define as an array of ieee754_double.
25117 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25118 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25119 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25120 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25121 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25122 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25123 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25124 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25125 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25126 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25127 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25128
975569d0
JM
251292013-10-03 Joseph Myers <joseph@codesourcery.com>
25130
d3d23756
JM
25131 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25132 page size instead of calling getpagesize.
25133
975569d0
JM
25134 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25135 (LOCFILE_ALIGN_MASK): Likewise.
25136 (LOCFILE_ALIGN_UP): Likewise.
25137 (LOCFILE_ALIGNED_P): Likewise.
25138 * locale/programs/ld-collate.c (collate_output): Use the new
25139 macros instead of __alignof__ (int32_t).
25140 * locale/weight.h (findidx): Likewise.
25141
b1fe1f2b
OB
251422013-10-03 Ondřej Bílka <neleai@seznam.cz>
25143
25144 [BZ #431]
25145 * manual/string.texi: Fix strncat and wcsncat.
25146
5f855e35
BM
251472013-10-03 Brooks Moses <bmoses@google.com>
25148
25149 [BZ #15915]
25150 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25151 * Makerules: ...here, and adjust associated comments.
25152
3cef6009
WN
251532013-10-02 Will Newton <will.newton@linaro.org>
25154
25155 * malloc/Makefile: Add tst-pvalloc.
25156 * malloc/tst-pvalloc.c: New file.
25157
7815420b
WN
251582013-10-02 Will Newton <will.newton@linaro.org>
25159
25160 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25161 improve test coverage.
25162
4868b204
WN
251632013-10-02 Will Newton <will.newton@linaro.org>
25164
25165 * malloc/Makefile: Add tst-posix_memalign.
25166 * malloc/tst-posix_memalign.c: New file.
25167
29c793b3
EB
251682013-10-01 Eric Blake <eblake@redhat.com>
25169
25170 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25171 Use __THROWNL rather than __THROW on static functions.
25172
fd967522
PM
251732013-09-30 Petr Machata <pmachata@redhat.com>
25174
25175 * elf/elf.h (R_AARCH64_ABS16): New macro.
25176 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25177 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25178 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25179 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25180 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25181 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25182 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25183 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25184 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25185 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25186 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25187 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25188 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25189 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25190 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25191 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25192 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25193 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25194 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25195 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25196 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25197 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25198 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25199 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25200 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25201 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25202 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25203 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25204 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25205 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25206 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25207 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25208 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25209 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25210 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25211 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25212 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25213 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25214 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25215 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25216 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25217 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25218 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25219 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25220 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25221 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25222 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25223 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25224 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25225 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25226 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25227 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25228 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25229 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25230 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25231 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25232 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25233 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25234 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25235 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25236 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25237 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25238 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25239 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25240 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25241 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25242 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25243 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25244 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25245 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25246 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25247 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25248 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25249 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25250 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25251 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25252 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25253 (R_AARCH64_TLSDESC_LDR): Likewise.
25254 (R_AARCH64_TLSDESC_ADD): Likewise.
25255 (R_AARCH64_TLSDESC_CALL): Likewise.
25256
b2179107
AS
252572013-09-30 Andreas Schwab <schwab@suse.de>
25258
25259 [BZ #15048]
25260 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25261 the nss database lookup.
25262 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25263 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25264
47f28d0a
MF
252652013-09-28 Mike Frysinger <vapier@gentoo.org>
25266
25267 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25268
252692013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
25270
25271 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25272 ${Bash-specific parameter/pattern/string} parameter expansion.
25273 * sysdeps/unix/make-syscalls.sh: Likewise.
25274
f4518a17
KK
252752013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25276
25277 * sysdeps/sh/stackguard-macros.h: New file.
25278
dc1a95c7
OB
252792013-09-26 Ondřej Bílka <neleai@seznam.cz>
25280
25281 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25282 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25283 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25284 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25285 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25286 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25287
5ebbff8f
AZ
252882013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25289
25290 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25291 Fix thread ID register.
25292
4fd2cf9f
JM
252932013-09-25 Joseph Myers <joseph@codesourcery.com>
25294
25295 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25296 [POSIX || UNIX98]: Require rather than permitting all symbols from
25297 <time.h>.
25298 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25299 element of struct sched_param.
25300 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25301 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25302 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25303 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25304 constant.
25305
12c22bc4
OL
253062013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25307
25308 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25309 argument calculation.
25310
a03d8ea7
JM
253112013-09-24 Joseph Myers <joseph@codesourcery.com>
25312
25313 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25314 Expect macro.
25315 [POSIX] (pthread_attr_t): Do not require type.
25316 [POSIX] (pthread_cond_t): Likewise.
25317 [POSIX] (pthread_condattr_t): Likewise.
25318 [POSIX] (pthread_key_t): Likewise.
25319 [POSIX] (pthread_mutex_t): Likewise.
25320 [POSIX] (pthread_mutexattr_t): Likewise.
25321 [POSIX] (pthread_once_t): Likewise.
25322 [POSIX] (pthread_t): Likewise.
25323 [POSIX-based standards] (pthread_atfork): Expect function.
25324
6055173a
JM
253252013-09-24 Joseph Myers <joseph@codesourcery.com>
25326 Richard Sandiford <richard@codesourcery.com>
25327
25328 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25329 (swap_endianness_p): New extern variable.
25330 (set_big_endian): New inline function.
25331 (maybe_swap_uint32): Likewise.
25332 (maybe_swap_uint32_array): Likewise.
25333 (maybe_swap_uint32_obstack): Likewise.
25334 * locale/programs/locfile.c: Include <stdbool.h>.
25335 (swap_endianness_p): New variable.
25336 (add_locale_uint32): Call maybe_swap_uint32.
25337 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25338 (write_locale_data): Call maybe_swap_uint32_array.
25339 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25340 maybe_swap_uint32.
25341 (obstack_int32_grow_fast): Likewise.
25342 (output_weightwc): Call maybe_swap_uint32_obstack.
25343 (collate_output): Likewise.
25344 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25345 (OPT_LITTLE_ENDIAN): Likewise.
25346 (options): Add --little-endian and --big-endian options.
25347 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25348 * locale/programs/locarchive.c: Include "locfile.h".
25349 (GET): New macro.
25350 (SET): Likewise.
25351 (INC): Likewise.
25352 (create_archive): Use the new macros to access fields of
25353 structures directly mapped from or written to locale archives.
25354 (oldlocrecentcmp): Likewise.
25355 (enlarge_archive): Likewise.
25356 (insert_name): Likewise.
25357 (add_alias): Likewise.
25358 (add_locale): Likewise.
25359 (delete_locales_from_archive): Likewise.
25360 (show_archive_content): Likewise.
25361 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25362 locale data.
25363
39bf0bb4
RM
253642013-09-24 Roland McGrath <roland@hack.frob.com>
25365
25366 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25367 http://www.gnu.org/doc/freemanuals.texi.
25368 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25369
f02eed10
WN
253702013-09-24 Will Newton <will.newton@linaro.org>
25371
25372 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25373 macro.
25374
a3a6c312
JM
253752013-09-23 Joseph Myers <joseph@codesourcery.com>
25376
25377 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25378 unsigned char.
25379
107375ac
MR
253802013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25381
25382 * manual/threads.texi (POSIX Threads): Fix a typo.
25383
141f3a77
SP
253842013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25385
303e567a
SP
25386 [BZ #14547]
25387 * string/tst-strcoll-overflow.c: New test case.
25388 * string/Makefile (xtests): Add tst-strcoll-overflow.
25389 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25390 cache if string sizes may cause integer overflow.
25391
141f3a77
SP
25392 [BZ #14547]
25393 * string/strcoll_l.c (coll_seq): New members rule, idx,
25394 save_idx and back_us.
25395 (get_next_seq_nocache): New function.
25396 (do_compare_nocache): New function.
25397 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25398 when malloc fails.
25399
c61b4d41
CD
254002013-09-23 Carlos O'Donell <carlos@redhat.com>
25401
0b1f8e35
CD
25402 [BZ #15754]
25403 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25404 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25405 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25406
c61b4d41
CD
25407 [BZ #15754]
25408 * elf/Makefile (tests): Add tst-ptrguard1.
25409 (tests-static): Add tst-ptrguard1-static.
25410 (tst-ptrguard1-ARGS): Define.
25411 (tst-ptrguard1-static-ARGS): Define.
25412 * elf/tst-ptrguard1.c: New file.
25413 * elf/tst-ptrguard1-static.c: New file.
25414 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25415 * sysdeps/i386/stackguard-macros.h: Likewise.
25416 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25417 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25418 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25419 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25420 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25421 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25422
254232013-09-23 Hector Marco <hecmargi@upv.es>
25424 Ismael Ripoll <iripoll@disca.upv.es>
25425 Carlos O'Donell <carlos@redhat.com>
25426
25427 [BZ #15754]
25428 * sysdeps/generic/stackguard-macros.h: Define
25429 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25430 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25431 Define __pointer_chk_guard_local.
25432 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25433 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25434
f5f4e7b4
VV
254352013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25436
25437 [BZ #15859]
25438 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25439
5bb43a43
AS
254402013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25441
25442 * include/string.h (__ffs): Declare as hidden.
25443 * string/ffs.c (__ffs): Define as hidden.
25444 * sysdeps/i386/ffs.c (__ffs): Likewise.
25445 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25446 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25447 * sysdeps/s390/ffs.c (__ffs): Likewise.
25448 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25449
3ea5be54
AO
254502013-09-20 Alexandre Oliva <aoliva@redhat.com>
25451
ffb89e53
AO
25452 * NEWS: Mention malloc probes.
25453
322dea08
AO
25454 * malloc/arena.c (new_heap): New memory_heap_new probe.
25455 (grow_heap): New memory_heap_more probe.
25456 (shrink_heap): New memory_heap_less probe.
25457 (heap_trim): New memory_heap_free probe.
25458 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25459 (systrim): New memory_sbrk_less probe.
25460 * manual/probes.texi: Document them.
25461
655673f3
AO
25462 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25463 * manual/probes.texi: Document it.
25464
35fed6f1
AO
25465 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25466 (__libc_realloc): Add memory_realloc_retry probe.
25467 (__libc_memalign): Add memory_memalign_retry probe.
25468 (__libc_valloc): Add memory_valloc_retry probe.
25469 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25470 (__libc_calloc): Add memory_calloc_retry probe.
25471 * manual/probes.texi: Document them.
25472
6999d38c
AO
25473 * malloc/arena.c (get_free_list): Add probe
25474 memory_arena_reuse_free_list.
25475 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25476 and memory_arena_reuse.
25477 (arena_get2) [!PER_THREAD]: Likewise.
25478 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25479 memory_arena_reuse_realloc.
25480 * manual/probes.texi: Document them.
25481
0653427f
AO
25482 * malloc/malloc.c (__libc_free): Add
25483 memory_mallopt_free_dyn_thresholds probe.
25484 (__libc_mallopt): Add multiple memory_mallopt probes.
25485 * manual/probes.texi: Document them.
25486
3ea5be54
AO
25487 * malloc/malloc.c: Include stap-probe.h.
25488 (__libc_mallopt): Add memory_mallopt probe.
25489 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25490 * manual/probes.texi: New.
25491 * manual/Makefile (chapters): Add probes.
25492 * manual/threads.texi: Set next node.
25493
e35696c3 254942013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25495
e35696c3
CL
25496 [BZ #15963, #13985]
25497 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25498 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25499 Add `Chinese' to `nan' entry name.
25500
4aafb73c
SP
255012013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25502
25503 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25504 (POLYNOMIAL): Likewise.
25505 (TAYLOR_SINCOS): Likewise.
25506 (TAYLOR_SLOW): Likewise.
25507 (__sin): Use TAYLOR_SINCOS.
25508 (__cos): Likewise.
25509 (slow): Use TAYLOR_SLOW.
25510 (sloww): Likewise.
25511 (bsloww): Likewise.
25512 (csloww): Likewise.
25513
d84f25c7
LD
255142013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25515
25516 * stdlib/strtod_l.c: Fix buffer overrun.
25517
5eea0404
SP
255182013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25519
7849ff93
SP
25520 * benchtests/Makefile (bench): Add sincos.
25521 * benchtests/bench-sincos.c: New file.
25522
cfa3c886
SP
25523 * math/libm-test.inc (cos_test_data): New test inputs.
25524 (sin_test_data): Likewise.
25525
b348e1e3
SP
25526 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25527 macro.
25528 (__sin): Use it.
25529 (__cos): Likewise.
25530 (slow1): Likewise.
25531 (slow2): Likewise.
25532 (sloww1): Likewise.
25533 (sloww2): Likewise.
25534 (bsloww1): Likewise.
25535 (bsloww2): Likewise.
25536 (cslow2): Likewise.
25537 (csloww1): Likewise.
25538 (csloww2): Likewise.
25539
6cce25f8
SP
25540 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25541 function.
25542 (__sin): Use it.
25543 (__cos): Likewise.
25544
5eea0404
SP
25545 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25546 gotos.
25547 (__cos): Likewise.
25548
9c21573c
MR
255492013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25550
25551 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25552 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25553 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25554 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25555 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25556 * elf/cache.c (print_entry): Handle the new cache flags.
25557
24d22e65
JM
255582013-09-18 Joseph Myers <joseph@codesourcery.com>
25559 Aldy Hernandez <aldyh@redhat.com>
25560
25561 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25562 Change condition to [_SOFT_FLOAT].
25563 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25564 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25565 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25566 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25567 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25568 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25569 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25570 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25571 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25572 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25573 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25574 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25575 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25576 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25577 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25578 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25579 declaration.
25580
d13ef066
JM
255812013-09-18 Joseph Myers <joseph@codesourcery.com>
25582
2e071de0
JM
25583 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25584 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25585 (__longjmp): Use LOAD_GP to load saved GPRs.
25586 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25587 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25588 (__sigsetjmp): Use SAVE_GP to save GPRs.
25589
d13ef066
JM
25590 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25591 Do not append -msoft-float.
25592 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25593
97a0650b
SP
255942013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25595
25596 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25597
11ca09e9
JM
255982013-09-17 Joseph Myers <joseph@codesourcery.com>
25599
25600 [BZ #15966]
25601 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25602 (_FPU_GETCW): Use initial "__" on variable and field names but not
25603 on macro parameter name.
25604 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25605 parentheses around reference to macro parameter.
25606
08ffcf34
RS
256072013-09-13 Richard Sandiford <richard@codesourcery.com>
25608
25609 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25610 prototype.
25611 (ctype_startup): Use uint32_t in cast and sizeof for
25612 ctype->charnames.
25613
ae7080d3
JL
256142013-09-11 Jia Liu <proljc@gmail.com>
25615
25616 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25617 __daddr_t_defined.
25618 [__FreeBSD__]: Likewise.
25619
5905e7b3
OB
256202013-09-11 Ondřej Bílka <neleai@seznam.cz>
25621
25622 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25623 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25624 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25625 (strchr): Remove __strchr_sse42 ifunc selection.
25626 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25627 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25628
b987c776
WN
256292013-09-11 Will Newton <will.newton@linaro.org>
25630
25631 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25632 parameter to RES. Remove hardcoded 1000 value.
25633 * benchtests/bench-skeleton.c (main): Pass RES parameter
25634 to TIMING_INIT and multiply result by 1000.
25635
ddf985af
AZ
256362013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25637
25638 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25639
ffdd3181
AS
256402013-09-11 Andreas Schwab <schwab@suse.de>
25641
25642 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25643 if not defined.
25644 (O_TMPFILE) [__USE_GNU]: Define.
25645 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25646 Define.
25647
b73ed247
WN
256482013-09-11 Will Newton <will.newton@linaro.org>
25649
25650 [BZ #15857]
25651 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25652 does not overflow.
25653
55e17aad
WN
256542013-09-11 Will Newton <will.newton@linaro.org>
25655
25656 [BZ #15856]
25657 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25658 does not overflow.
25659
1159a193
WN
256602013-09-11 Will Newton <will.newton@linaro.org>
25661
25662 [BZ #15855]
25663 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25664 does not overflow.
25665
5905e7b3 256662013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25667
25668 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25669 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25670 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25671 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25672 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25673
cdfc721b
AM
256742013-09-10 Allan McRae <allan@archlinux.org>
25675
aa04af00
AM
25676 [BZ #15748]
25677 * manual/arith.texi (Parsing of Floats): Clarify
25678 cross-reference.
25679
cdfc721b
AM
25680 [BZ #15849]
25681 * manual/install.texi (Running make install): Mention
25682 --enable-pt-chown.
25683 * INSTALL: Regenerated.
25684
95e7cf29
MR
256852013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25686
25687 * csu/init-first.c (_init): Remove the !SHARED condition around
25688 FPU control word initialization.
25689 * elf/dl-support.c (_dl_fpu_control): New variable.
25690 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25691 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25692 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25693 * math/test-fpucw-static.c: New file.
25694 * math/test-fpucw-ieee.c: New file.
25695 * math/test-fpucw-ieee-static.c: New file.
25696 * math/Makefile (tests): Add `test-fpucw-ieee' and
25697 `$(tests-static)'.
25698 (tests-static): New variable.
25699 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25700 dependency to...
25701 [($(build-shared),yes)]
25702 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25703 ... this.
25704 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25705 New dependency.
25706
83e43bf0
AM
257072013-09-09 Allan McRae <allan@archlinux.org>
25708
a9f5ce09
AM
25709 [BZ #15939]
25710 * manual/string.texi (Collation Functions): Fix typo in
25711 strcoll example.
25712 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25713
34829bc2
AM
25714 [BZ #15893]
25715 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25716
3932737d
AM
25717 [BZ #15892]
25718 * libio/memstream.c (open_memstream): Fix memory leak.
25719 * libio/wmemstream.c (open_wmemstream): Likewise.
25720
83e43bf0
AM
25721 [BZ #15895]
25722 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25723
0c66b8e9
WN
257242013-09-09 Will Newton <will.newton@linaro.org>
25725
25726 * malloc/Makefile: Add tst-realloc to tests.
25727 * malloc/tst-realloc.c: New file.
25728
f6b00fd1
AM
257292013-09-09 Allan McRae <allan@archlinux.org>
25730
25731 [BZ #15844]
25732 * COPYING: Update from GNU website to fix FSF address.
25733 * COPYING.LIB: Likewise.
25734
eec55e16
DM
257352013-09-06 David S. Miller <davem@davemloft.net>
25736
25737 * po/zh_TW.po: Update Chinese (traditional) translation from
25738 translation project.
25739
1ecbb381
RS
257402013-09-06 Richard Sandiford <richard@codesourcery.com>
25741 Joseph Myers <joseph@codesourcery.com>
25742
25743 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25744 "localeinfo.h".
25745 (obstack_chunk_alloc): New macro.
25746 (obstack_chunk_free): Likewise.
25747 (record_offset): New function.
25748 (init_locale_data): Likewise.
25749 (align_locale_data): Likewise.
25750 (add_locale_empty): Likewise.
25751 (add_locale_raw_data): Likewise.
25752 (add_locale_raw_obstack): Likewise.
25753 (add_locale_string): Likewise.
25754 (add_locale_wstring): Likewise.
25755 (add_locale_uint32): Likewise.
25756 (add_locale_uint32_array): Likewise.
25757 (add_locale_char): Likewise.
25758 (start_locale_structure): Likewise.
25759 (end_locale_structure): Likewise.
25760 (start_locale_prelude): Likewise.
25761 (end_locale_prelude): Likewise.
25762 (write_locale_data): Take locale_file structure rather than an
25763 iovec.
25764 * locale/programs/locfile.h: Include "obstack.h".
25765 (struct locale_file): Change to store locale file contents instead
25766 of header.
25767 (init_locale_data): New prototype.
25768 (align_locale_data): Likewise.
25769 (add_locale_empty): Likewise.
25770 (add_locale_raw_data): Likewise.
25771 (add_locale_raw_obstack): Likewise.
25772 (add_locale_string): Likewise.
25773 (add_locale_wstring): Likewise.
25774 (add_locale_uint32): Likewise.
25775 (add_locale_uint32_array): Likewise.
25776 (add_locale_char): Likewise.
25777 (start_locale_structure): Likewise.
25778 (end_locale_structure): Likewise.
25779 (start_locale_prelude): Likewise.
25780 (end_locale_prelude): Likewise.
25781 (write_locale_data): Update prototype.
25782 * locale/programs/3level.h (struct TABLE): Remove result field.
25783 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25784 Use new locale_file interface.
25785 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25786 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25787 * locale/programs/ld-address.c (address_output): Use new
25788 locale_file interface.
25789 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25790 NO_ADD_LOCALE.
25791 (collate_finish): Don't call collseq_table_finalize.
25792 (collate_output): Use new locale_file interface.
25793 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25794 in file.
25795 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25796 (TABLE): Move defines earlier in file.
25797 (ELEMENT): Likewise.
25798 (DEFAULT): Likewise.
25799 (wctrans_table_add): Move macro and inline function earlier in
25800 file.
25801 (struct wctype_table): Move type earlier in file.
25802 (add_locale_wctype_table): New static prototype.
25803 (struct locale_ctype_t): Use logical types instead of struct iovec
25804 pointers for members.
25805 (ctype_output): Use new locale_file interface.
25806 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25807 new locale_file interface.
25808 (allocate_arrays): Update for use of new locale_file interface.
25809 * locale/programs/ld-identification.c (identification_output): Use
25810 new locale_file interface.
25811 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25812 * locale/programs/ld-messages.c (messages_output): Likewise.
25813 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25814 * locale/programs/ld-name.c (name_output): Likewise.
25815 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25816 * locale/programs/ld-paper.c (paper_output): Likewise.
25817 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25818 * locale/programs/ld-time.c (time_output): Likewise.
25819
e029e2e5
AZ
258202013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25821
25822 * benchtests/Makefile: Add memrchr benchmark.
25823 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25824 benchmark as memrchr.
25825 * benchtests/bench-memrchr-ifunc.c: New file.
25826 * benchtests/bench-memrchr.c: New file.
25827
bbf6e8e4
WN
258282013-09-06 Will Newton <will.newton@linaro.org>
25829
25830 * benchtests/Makefile (string-bench): Add memcpy.
25831
6c82a2f8
CD
258322013-09-05 Carlos O'Donell <carlos@redhat.com>
25833 Cong Wang <amwang@redhat.com>
25834
e732c5f0 25835 [BZ #15850]
6c82a2f8
CD
25836 * sysdeps/unix/sysv/linux/bits/in.h
25837 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25838 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25839 before __USE_KERNEL_IPV6_DEFS uses.
25840 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25841 IPPROTO_BEETPH.
25842 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25843 sockaddr_in6, or ipv6_mreq.
25844
5430fc65
AZ
258452013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25846
25847 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25848 memory access for final bytes in some large inputs.
25849 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25850
4660856c
AZ
258512013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25852
25853 * string/test-memrchr.c: New file.
25854 * string/test-memrchr-ifunc.c: New file.
25855 * string/Makefile: Add new memrchr testcase.
25856
bb8ea713
MF
258572013-09-05 Mike Frysinger <vapier@gentoo.org>
25858
25859 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25860 fanotify_init returns EPERM.
25861
b92a20b5
JM
258622013-09-04 Joseph Myers <joseph@codesourcery.com>
25863
25864 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25865 errors.
25866 (top level): Treat second token from macro or constant entries for
25867 allowed headers as allowed.
25868 * include/complex.h: Condition internal declarations on
25869 [!_ISOMAC].
25870 * include/fenv.h: Condition include of <stdbool.h> and internal
25871 declarations on [!_ISOMAC].
7447ccd9
CL
25872
258732013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25874
3e181dda 25875 [BZ #15923]
7447ccd9
CL
25876 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25877
3f2e46a4
JM
258782013-09-04 Joseph Myers <joseph@codesourcery.com>
25879
25880 * configure.in (--enable-versioning): Remove configure option.
25881 (libc_cv_asm_symver_directive): Remove configure test.
25882 (libc_cv_ld_version_script_option): Likewise.
25883 (VERSIONING): Remove variable and AC_SUBST.
25884 (DO_VERSIONING): Remove AC_DEFINE.
25885 * configure: Regenerated.
25886 * config.h.in (DO_VERSIONING): Remove macro.
25887 * Makerules [$(versioning) = yes]: Change conditionals to
25888 [$(build-shared) = yes].
25889 * config.make.in (versioning): Remove variable.
25890 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25891 [$(build-shared) = yes].
25892 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25893 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25894 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25895 [$(build-shared) = yes].
25896 * extra-lib.mk [$(versioning) = yes]: Likewise.
25897 * hurd/Makefile [$(versioning) = yes]: Likewise.
25898 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25899 [SHARED].
25900 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25901 [SHARED].
25902 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25903 [SHARED && !NO_HIDDEN].
25904 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25905 [SHARED].
25906 [SHARED && DO_VERSIONING]: Likewise..
25907 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25908 [$(build-shared) = yes].
25909 * manual/install.texi (--disable-versioning): Remove
25910 documentation.
25911 * INSTALL: Regenerated.
25912 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25913 to [SHARED].
25914 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25915 [$(build-shared) = yes].
25916 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25917 * sysdeps/i386/i686/multiarch/strstr-c.c
25918 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25919 [SHARED && !NO_HIDDEN].
25920 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25921 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25922 * sysdeps/powerpc/powerpc32/dl-machine.c
25923 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25924 * sysdeps/powerpc/powerpc32/sysdep.h
25925 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25926 to [SHARED && PIC && !NO_HIDDEN].
25927 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25928 conditional to [SHARED].
25929
44558701
WN
259302013-09-04 Will Newton <will.newton@linaro.org>
25931
25932 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25933 * benchtests/bench-string.h: Include bench-timing.h instead
25934 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25935 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25936 call to HP_TIMING_DIFF_INIT.
25937 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25938 instead of hp-timing.h macros.
25939 * benchtests/bench-memchr.c: Likewise.
25940 * benchtests/bench-memcmp.c: Likewise.
25941 * benchtests/bench-memcpy.c: Likewise.
25942 * benchtests/bench-memmem.c: Likewise.
25943 * benchtests/bench-memmove.c: Likewise.
25944 * benchtests/bench-memset.c: Likewise.
25945 * benchtests/bench-rawmemchr.c: Likewise.
25946 * benchtests/bench-strcasecmp.c: Likewise.
25947 * benchtests/bench-strcasestr.c: Likewise.
25948 * benchtests/bench-strcat.c: Likewise.
25949 * benchtests/bench-strchr.c: Likewise.
25950 * benchtests/bench-strcmp.c: Likewise.
25951 * benchtests/bench-strcpy.c: Likewise.
25952 * benchtests/bench-strcpy_chk.c: Likewise.
25953 * benchtests/bench-strlen.c: Likewise.
25954 * benchtests/bench-strncasecmp.c: Likewise.
25955 * benchtests/bench-strncat.c: Likewise.
25956 * benchtests/bench-strncmp.c: Likewise.
25957 * benchtests/bench-strncpy.c: Likewise.
25958 * benchtests/bench-strnlen.c: Likewise.
25959 * benchtests/bench-strpbrk.c: Likewise.
25960 * benchtests/bench-strrchr.c: Likewise.
25961 * benchtests/bench-strspn.c: Likewise.
25962 * benchtests/bench-strstr.c: Likewise.
25963
cae16d66
WN
259642013-09-04 Will Newton <will.newton@linaro.org>
25965
25966 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
25967
ffa3cd7f
JM
259682013-09-03 Joseph Myers <joseph@codesourcery.com>
25969
25970 [BZ #15427]
25971 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
25972 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
25973 * math/libm-test.inc (lgamma_test_data): Add more tests.
25974 * sysdeps/i386/fpu/libm-test-ulps: Update.
25975 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25976
8f02859f
OB
259772013-09-03 Ondřej Bílka <neleai@seznam.cz>
25978
25979 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
25980 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25981 Add ifunc.
25982 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25983 Add strcmp-sse2-unaligned
25984 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
25985
18d43716
MF
259862013-09-02 Mike Frysinger <vapier@gentoo.org>
25987
25988 * Versions.def (libc): Add GLIBC_2.19.
25989
ac444012
MF
259902013-09-02 Mike Frysinger <vapier@gentoo.org>
25991
25992 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
25993 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
25994
b7835e32
JM
259952013-09-02 Joseph Myers <joseph@codesourcery.com>
25996
25997 [BZ #14155]
25998 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
25999 intermediate calculations in recurrence.
26000 (__ieee754_ynf): Likewise.
26001 * math/libm-test.inc (jn_test_data): Do not allow spurious
26002 underflow exception. Add more tests.
26003 (yn_test_data): Add more tests.
26004 * sysdeps/i386/fpu/libm-test-ulps: Update.
26005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26006
8220f4f0
OB
260072013-09-02 Ondřej Bílka <neleai@seznam.cz>
26008
26009 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26010
f24a6d08
OB
260112013-08-30 Ondřej Bílka <neleai@seznam.cz>
26012
26013 * csu/init-first.c: Fix then/than typos.
26014 * locale/programs/ld-collate.c: Likewise.
26015 * locale/programs/linereader.h: Likewise.
26016 * manual/charset.texi: Likewise.
26017 * manual/filesys.texi: Likewise.
26018 * manual/stdio.texi: Likewise.
26019 * manual/string.texi: Likewise.
26020 * stdlib/fmtmsg.c: Likewise.
26021 * sysdeps/i386/stpncpy.S: Likewise.
26022 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26023 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26024 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26025 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26026
382466e0
OB
260272013-08-30 Ondřej Bílka <neleai@seznam.cz>
26028
26029 * elf/dl-open.c: Fix typos.
26030 * iconvdata/gbbig5.c: Likewise.
26031 * iconvdata/iso-2022-jp.c: Likewise.
26032 * iconv/gconv_int.h: Likewise.
26033 * iconv/loop.c: Likewise.
26034 * nis/rpcsvc/nis.h: Likewise.
26035 * resolv/ns_name.c: Likewise.
26036 * stdio-common/vfscanf.c: Likewise.
26037 * streams/stropts.h: Likewise.
26038 * sunrpc/rpc_thread.c: Likewise.
26039 * sysdeps/i386/strpbrk.S: Likewise.
26040 * sysdeps/ieee754/k_standard.c: Likewise.
26041 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26042 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26043 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26044 * sysdeps/mach/hurd/profil.c: Likewise.
26045 * sysdeps/s390/dl-procinfo.h: Likewise.
26046 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26047 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26048 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26049 * sysdeps/x86_64/dl-trampoline.S: Likewise.
26050 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26051
0186c6e9
OB
260522013-08-30 Ondřej Bílka <neleai@seznam.cz>
26053
26054 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26055 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26056
d4e16af1
OB
260572013-08-29 Ondřej Bílka <neleai@seznam.cz>
26058
26059 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26060 aix specific files.
26061 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26062 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26063 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26064 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26065 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26066 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26067 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26068 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26069
88335980
TS
260702013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26071 Roland McGrath <roland@hack.frob.com>
26072
26073 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26074 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26075
ed479b02
ST
260762013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26077
26078 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26079 __executable_start symbol instead of _start.
26080
f1cc4c86
TS
260812013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26082
d821f07c
TS
26083 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26084 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26085 Move macros to...
26086 * sysdeps/gnu/ldsodefs.h: ... this new file.
26087
c54290cf
TS
26088 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26089 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26090 instead of ELFOSABI_LINUX.
26091
0007fc9b 26092 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
26093 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26094 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26095 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26096 Likewise.
26097 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26098 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26099 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26100 Likewise.
26101 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26102 (ibm_extended_long_double): Add ieee_nan member.
26103 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26104 (do_test): New function.
26105
f1cc4c86
TS
26106 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26107 TEST_TRUNC.
26108 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26109 functions, renamed from truncdfsf_test, trunctfsf_test,
26110 trunctfdf_test.
26111 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26112 functions.
26113 (do_test): Run all these.
26114
6f65e668
OB
261152013-08-29 Ondřej Bílka <neleai@seznam.cz>
26116
26117 * argp/argp-help.c: Fix typos.
26118 * argp/argp-parse.c: Likewise.
26119 * debug/backtracesyms.c: Likewise.
26120 * elf/elf.h: Likewise.
26121 * malloc/malloc.c: Likewise.
26122 * nis/nis_print.c: Likewise.
26123 * resolv/res_comp.c: Likewise.
26124 * stdlib/stdlib.h: Likewise.
26125 * sunrpc/clnt_tcp.c: Likewise.
26126 * sunrpc/clnt_udp.c: Likewise.
26127 * sunrpc/clnt_unix.c: Likewise.
26128 * sysdeps/unix/bsd/ptsname.c: Likewise.
26129 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26130 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
26131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26132 Likewise.
26133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26134 Likewise.
26135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26136 Likewise.
6f65e668
OB
26137 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26138
3a309239
SP
261392013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26140
26141 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26142 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26143
3b813b29
MF
261442013-08-27 Mike Frysinger <vapier@gentoo.org>
26145
26146 [BZ #15897]
26147 * dlfcn/Makefile (tests): Add bug-dl-leaf.
26148 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26149 ($(objpfx)bug-dl-leaf): New rule.
26150 ($(objpfx)bug-dl-leaf.so): Likewise.
26151 ($(objpfx)bug-dl-leaf.out): Likewise.
26152 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26153 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26154 * dlfcn/bug-dl-leaf.c: New test.
26155 * dlfcn/bug-dl-leaf-lib.c: Likewise.
26156 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26157 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26158 (dlclose): Likewise.
26159 (dlmopen): Likewise.
26160
8cc3269f
RM
261612013-08-27 Roland McGrath <roland@hack.frob.com>
26162
7f9d0034
RM
26163 * include/netdb.h [!_ISOMAC]:
26164 Don't include <tls.h>.
26165 (h_errno, __libc_h_errno): Move declaration and macros out of
26166 [_LIBC_REENTRANT].
26167
fb431262
RM
26168 * include/resolv.h [_RESOLV_H_]:
26169 Don't include <tls.h>.
26170 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26171 * resolv/res_libc.c: Don't include <tls.h>.
26172 (_res): Use __attribute__ ((nocommon)) in place of
26173 __attribute__ ((section (".bss"))).
26174
bd81123a
RM
26175 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26176 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26177
c4e42566
RM
26178 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26179
f890a59b
RM
26180 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26181 only under [SIOCGIFCONF && SIOCGIFNETMASK].
26182
26183 * resolv/res_mkquery.c: Include <sys/time.h>.
26184
5d1f0a09
RM
26185 * inet/ifreq.c: Moved to ...
26186 * sysdeps/unix/ifreq.c: ... here.
26187 * inet/ifreq.c: New file, true stub version.
26188
6fcf28b3
RM
26189 * socket/sa_len.c: New file.
26190 * socket/Makefile (aux): Add it.
26191 * sysdeps/unix/sysv/linux/Makefile
26192 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26193 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26194 and #include <socket/sa_len.c>.
26195 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26196 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26197
e041fb8b
RM
26198 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26199 * bits/socket.h: ... here.
26200
8cc3269f
RM
26201 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26202 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26203 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26204
5d228a43
AS
262052013-08-27 Andreas Schwab <schwab@suse.de>
26206
45b8accc
AS
26207 [BZ #15736]
26208 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26209 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26210 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26211 * string/test-strcasecmp.c (test_main): Run tests in several
26212 locales.
26213 * string/test-strncasecmp.c (test_main): Likewise.
26214
5d228a43
AS
26215 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26216 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26217 to __strcasecmp_nonascii and __strncasecmp_nonascii.
26218 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26219 (__strncasecmp_ssse3) [PIC]: Likewise.
26220
59d112a4
RM
262212013-08-26 Roland McGrath <roland@hack.frob.com>
26222
53234cc3
RM
26223 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26224
59d112a4
RM
26225 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26226 instead of explicitly declaring xdecrypt.
26227 * nis/nss_nis/nis-publickey.c: Likewise.
26228
595aba70
SP
262292013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26230
26231 [BZ #15890]
26232 * nscd/aicache.c: Include res_hconf.h.
26233 (addhstaiX): Initialize res_hconf.
26234
ffabd393
AS
262352013-08-26 Andreas Schwab <schwab@suse.de>
26236
26237 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26238 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26239
e0a69f5c
SP
262402013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26241
26242 * nscd/aicache.c (addhstaiX): Fix indentation.
26243
8c12f01d
MF
262442013-08-25 Mike Frysinger <vapier@gentoo.org>
26245
26246 * configure.ac: Quote $build_pt_chown test.
26247 * configure: Regenerated.
26248
8fe89494
JM
262492013-08-23 Joseph Myers <joseph@codesourcery.com>
26250
26251 [BZ #15532]
26252 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26253 * math/s_cexpf.c (__cexpf): Likewise.
26254 * math/s_cexpl.c (__cexpl): Likewise.
26255 * math/libm-test.inc (cexp_test_data): Correct expected return
26256 value for NaN + i0. Add another test.
26257
75b181d6
DM
262582013-08-22 David S. Miller <davem@davemloft.net>
26259
26260 * po/ca.po: Update Catalan translation from translation project.
936241e4 26261 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 26262
acd06bb1
JM
262632013-08-21 Joseph Myers <joseph@codesourcery.com>
26264
26265 [BZ #15797]
26266 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26267 is infinite, not alongside NaN test.
26268 * math/s_fdimf.c (__fdimf): Likewise.
26269 * math/s_fdiml.c (__fdiml): Likewise.
26270 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26271 errno is unchanged.
26272
c0c3f78a
OB
262732013-08-21 Ondřej Bílka <neleai@seznam.cz>
26274
26275 * argp/argp-help.c: Fix typos.
26276 * crypt/speeds.c: Likewise.
26277 * csu/check_fds.c: Likewise.
26278 * elf/dl-load.c: Likewise.
26279 * elf/dl-open.c: Likewise.
26280 * elf/reldep3.c: Likewise.
26281 * elf/reldep.c: Likewise.
26282 * elf/sprof.c: Likewise.
26283 * iconv/iconv_charmap.c: Likewise.
26284 * iconv/skeleton.c: Likewise.
26285 * iconv/strtab.c: Likewise.
26286 * io/lockf64.c: Likewise.
26287 * libio/libioP.h: Likewise.
26288 * resolv/gai_notify.c: Likewise.
26289 * resolv/ns_name.c: Likewise.
26290 * resolv/ns_samedomain.c: Likewise.
26291 * resolv/res_send.c: Likewise.
26292 * stdlib/random.c: Likewise.
26293 * sunrpc/rpc/xdr.h: Likewise.
26294 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26295 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26296 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26297 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26298 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26299 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26300 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26301 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26302 * sysdeps/mach/hurd/check_fds.c: Likewise.
26303 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26304 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26305 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26306 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26307 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26308 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26309 * sysdeps/pthread/aio_notify.c: Likewise.
26310 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26311 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26312 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26313 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26314 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26315
46ed1038
LD
263162013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26317
26318 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26319 version if bit_Slow_SSE4_2 is set.
26320 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26321 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26322
d400dcac
AZ
263232013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26324
26325 [BZ #15867]
26326 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26327 trampoline stack frame information.
26328 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26329 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26330 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26331 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26332 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26333 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26334 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26335 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26336 sa_flags value.
26337 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26338 interrupting a syscall and set with option SA_SIGINFO.
26339
42c8fdd8
JM
263402013-08-20 Joseph Myers <joseph@codesourcery.com>
26341
c980f2f4
JM
26342 [BZ #15531]
26343 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26344 argument is infinite.
26345 * math/s_cprojf.c (__cprojf): Likewise.
26346 * math/s_cprojl.c (__cprojl): Likewise.
26347 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26348 * math/libm-test.inc (cproj_test_data): Add more tests.
26349
0716c4fc
JM
26350 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26351
42c8fdd8
JM
26352 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26353 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26354 size. Use __ffs to determine corresponding shift.
26355
b31469d0
JM
263562013-08-20 Joseph Myers <joseph@codesourcery.com>
26357 Roland McGrath <roland@hack.frob.com>
26358
26359 * Makefile (INSTALL): Remove trailing blank lines from output of
26360 makeinfo.
26361
4e39af6e
AK
263622013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26363
26364 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26365 Align 32 bit compat elf_greg to 8 bytes.
26366
f315524e
AA
263672013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26368
26369 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26370
1326ba1a
SP
263712013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26372
26373 * string/strcoll_l.c (coll_seq): New structure.
26374 (get_next_seq_cached): New function.
26375 (get_next_seq): New function.
26376 (do_compare): New function.
26377 (STRCOLL): Use GNU style definition. Simplify implementation
26378 by using get_next_seq, get_next_seq_cached and do_compare.
26379
91ce4085
FW
263802013-08-16 Florian Weimer <fweimer@redhat.com>
26381
26382 [BZ #14699]
26383 CVE-2013-4237
26384 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26385 member.
26386 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26387 member.
26388 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26389 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26390 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26391 conditional.
26392 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26393 GETDENTS_64BIT_ALIGNED.
26394 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26395 * manual/filesys.texi (Reading/Closing Directory): Document
26396 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26397 strongly.
26398 * manual/conf.texi (Limits for Files): Add portability note to
26399 NAME_MAX, PATH_MAX.
26400 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26401
ca0a6bc4
AS
264022013-08-13 Andreas Schwab <schwab@suse.de>
26403
26404 [BZ #15749]
26405 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26406 of fabs.
26407 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26408 LDBL_MAX_EXP >= 16384]: Add tests for it.
26409
6c1fd795
DM
264102013-08-12 David S. Miller <davem@davemloft.net>
26411
26412 * version.h (RELEASE): Set to "development".
26413 (VERSION): Set to "2.18.90".
26414 * NEWS: Add 2.19 section.
26415
31ad488d
DM
264162013-08-03 David S. Miller <davem@davemloft.net>
26417
26418 * po/ko.po: Update Korean translation from translation project.
26419
db24e684
DM
264202013-08-01 David S. Miller <davem@davemloft.net>
26421
26422 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26423 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26424 Bilka.
26425
f723285b
DM
264262013-07-30 David S. Miller <davem@davemloft.net>
26427
26428 * po/fr.po: Update French translation from translation project.
26429
3cbc52db
DM
264302013-07-28 David S. Miller <davem@davemloft.net>
26431
30bbc0cc
DM
26432 * po/cs.po: Update Czech translation from translation project.
26433
3cbc52db
DM
26434 * po/sv.po: Update Swedish translation from translation project.
26435
d492e6d0
DM
264362013-07-27 David S. Miller <davem@davemloft.net>
26437
f1a7f492
DM
26438 * po/eo.po: Update Esperanto translation from translation project.
26439
90e62a4a
DM
26440 * po/vi.po: Update Vietnamese translation from translation project.
26441
d492e6d0
DM
26442 * po/de.po: Update German translation from translation project.
26443
d4baa62d
DM
264442013-07-26 David S. Miller <davem@davemloft.net>
26445
641aa7b4
DM
26446 * po/bg.po: Update Bulgarian translation from translation project.
26447
d4baa62d
DM
26448 * po/nl.po: Update Dutch translation from translation project.
26449 * po/pl.po: Update Polish translation from translation project.
26450 * po/ru.po: Update Russian translation from translation project.
26451
61a9dcb9
DM
264522013-07-24 David S. Miller <davem@davemloft.net>
26453
26454 * po/libc.pot: Update.
26455
7b1f8b58
AZ
264562013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26457
26458 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26459 variable page size.
26460 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26461 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26462 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26463
a8fc7a03
AK
264642013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26465
26466 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26467
e4608715
CD
264682013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26469 Andreas Schwab <schwab@suse.de>
26470 Roland McGrath <roland@hack.frob.com>
26471 Joseph Myers <joseph@codesourcery.com>
26472 Carlos O'Donell <carlos@redhat.com>
26473
26474 [BZ #15755]
26475 * config.h.in: Define HAVE_PT_CHOWN.
26476 * config.make.in (build-pt-chown): New variable.
26477 * configure.in (--enable-pt_chown): New configure option.
26478 * configure: Regenerate.
26479 * login/Makefile: Include Makeconfig. Build pt_chown only if
26480 build-pt-chown is enabled.
26481 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26482 pt_chown to fix pty ownership.
26483 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26484 CLOSE_ALL_FDS.
26485 * manual/install.texi (Configuring and compiling): Mention
26486 --enable-pt_chown. Add @findex for grantpt.
26487 * INSTALL: Regenerate.
26488
da2d62df
DM
264892013-07-20 David S. Miller <davem@davemloft.net>
26490
26491 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26492 difference between 32-bit and 64-bit.
26493
d7e06450
CD
264942013-07-15 Carlos O'Donell <carlos@redhat.com>
26495
26496 [BZ #15711]
26497 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26498 Avoid system header dependency with -ffreestanding.
26499 ($(objpfx)bits/syscall%d): Likewise.
26500
f959cfd7
DM
265012013-07-13 David S. Miller <davem@davemloft.net>
26502
26503 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26504 underflows from atanl/atan2l due to bug 15319.
26505 (casinh_test_data): Likewise.
26506
c61f8513
DM
265072013-07-07 David S. Miller <davem@davemloft.net>
26508
26509 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26510
72c90ed0
JA
265112013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26512
26513 * sysdeps/i386/fpu/libm-test-ulps: Update.
26514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26515
52dfbe13
SP
265162013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26517
26518 * configure.in (--enable-lock-elision): Fix message text.
26519 * INSTALL: Regenerate.
26520 * configure: Regenerate.
26521
3f169543
AZ
265222013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26523
26524 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26525
521c6785
AJ
265262013-07-03 Andreas Jaeger <aj@suse.de>
26527
26528 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26529 define.
26530 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26531 (ptrace_peeksiginfo_args): Add.
26532 (__ptrace_peeksiginfo_flags): Add.
26533 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26534 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26535 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26536
d2cc15cb
AM
265372013-07-03 Allan McRae <allan@archlinux.org>
26538
26539 * sysdeps/i386/fpu/libm-test-ulps: Update.
26540
3aaeeca7
DM
265412013-07-02 David S. Miller <davem@davemloft.net>
26542
26543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26544
5314ed1a
MT
265452013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26546
26547 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26548
67338156
JM
265492013-07-02 Joseph Myers <joseph@codesourcery.com>
26550
26551 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26552 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26553
1717da59
AK
265542013-07-02 Andi Kleen <ak@linux.intel.com>
26555
26556 * config.h.in (ENABLE_LOCK_ELISION): Add.
26557 * configure.in (--enable-lock-elision): Add option.
26558 * manual/install.texi: Document --enable lock elision.
26559 * configure: Regenerate
26560 * INSTALL: Regenerate.
26561
1c81621c
L
265622013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26563
26564 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26565 SSE4.2 strcasecmp for libc.a.
26566 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26567
77f01ab5
JM
265682013-07-02 Joseph Myers <joseph@codesourcery.com>
26569
26570 [BZ #13304]
26571 * soft-fp/op-common.h (_FP_FMA): New macro.
26572 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26573 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26574 (_FP_MUL_MEAT_1_imm): ... here.
26575 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26576 (_FP_MUL_MEAT_1_wide): ... here.
26577 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26578 (_FP_MUL_MEAT_1_hard): ... here.
26579 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26580 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26581 (_FP_MUL_MEAT_2_wide): ... here.
26582 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26583 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26584 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26585 (_FP_MUL_MEAT_2_gmp): ... here.
26586 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26587 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26588 (_FP_MUL_MEAT_4_wide): ... here.
26589 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26590 (_FP_MUL_MEAT_4_gmp): ... here.
26591 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26592 (_FP_WFRACBITS_DW_S): Likewise.
26593 (_FP_WFRACXBITS_DW_S): Likewise.
26594 (_FP_HIGHBIT_DW_S): Likewise.
26595 (FP_FMA_S): Likewise.
26596 (_FP_FRAC_HIGH_DW_S): Likewise.
26597 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26598 (_FP_WFRACBITS_DW_D): Likewise.
26599 (_FP_WFRACXBITS_DW_D): Likewise.
26600 (_FP_HIGHBIT_DW_D): Likewise.
26601 (FP_FMA_D): Likewise.
26602 (_FP_FRAC_HIGH_DW_D): Likewise.
26603 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26604 (_FP_WFRACBITS_DW_E): Likewise.
26605 (_FP_WFRACXBITS_DW_E): Likewise.
26606 (_FP_HIGHBIT_DW_E): Likewise.
26607 (FP_FMA_E): Likewise.
26608 (_FP_FRAC_HIGH_DW_E): Likewise.
26609 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26610 (_FP_WFRACBITS_DW_Q): Likewise.
26611 (_FP_WFRACXBITS_DW_Q): Likewise.
26612 (_FP_HIGHBIT_DW_Q): Likewise.
26613 (FP_FMA_Q): Likewise.
26614 (_FP_FRAC_HIGH_DW_Q): Likewise.
26615 * soft-fp/fmasf4.c: New file.
26616 * soft-fp/fmadf4.c: Likewise.
26617 * soft-fp/fmatf4.c: Likewise.
26618
6308fd9a
LD
266192013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26620
26621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26622 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26623 Silvermont.
26624 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26625 macro.
26626 (index_Slow_SSE4_2): Likewise.
26627 (index_Prefer_PMINUB_for_stringop): Likewise.
26628 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26629 bit_Slow_SSE4_2 is set.
26630 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26631 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26632
89cd9569
RA
266332013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26634
26635 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26636 rtld_global._dl_hwcap2.
26637 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26638 POWER8.
26639 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26640 POWER8 feature descriptions defined in _dl_hwcap2.
26641 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26642 string handling for POWER8 feature bits.
26643 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26644 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26645 _dl_powerpc_cap_flags.
26646 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26647 * sysdeps/powerpc/rtld-global-offsets.sym
26648 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26649 _dl_hwcap2 in the rtld_global_ro structure.
26650
1ae8bfe0
RA
266512013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26652
26653 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26654 hardware capabilities in support of AT_HWCAP2.
26655 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26656 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26657 GLRO(dl_hwcap2).
26658 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26659 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26660 explicitly the unknown a_type display mechanism is used.
26661 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26662 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26663 struct member.
26664 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26665 to macro prototype for AT_HWCAP2 support.
26666 * sysdeps/i386/dl-procinfo.h: Likewise.
26667 * sysdeps/s390/dl-procinfo.h: Likewise.
26668 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26669 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26670 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26671 return -1 for unknown a_type display fallback.
26672 * sysdeps/sparc/dl-procinfo.h: Likewise.
26673 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26674 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26675
8fbec010
JM
266762013-06-28 Joseph Myers <joseph@codesourcery.com>
26677
26678 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26679 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26680
0432680e
PY
266812013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26682
26683 [BZ #12492]
26684 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26685 mprotect making __stack_prot writable.
26686
ce61a2ad
NF
266872013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26688 Joseph Myers <joseph@codesourcery.com>
26689
26690 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26691 as being properly aligned.
26692
f91f1c0f
MR
266932013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26694
3d0f5d0c
MR
26695 * dlfcn/modstatic5.c: New file.
26696 * dlfcn/tststatic5.c: New file.
26697 * dlfcn/Makefile (tests): Add tststatic5.
26698 (tests-static): Likewise.
26699 (modules-names): Add modstatic5.
26700 (tststatic5-ENV): New variable.
26701 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26702
f91f1c0f
MR
26703 [BZ #15022]
26704 * elf/dl-support.c (_dl_main_map): New variable.
26705 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26706 (_dl_nns, _dl_load_adds): Set to 1.
26707 (_dl_initial_searchlist): Refer to _dl_main_map.
26708 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26709 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26710 call to _dl_get_origin.
26711 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26712 around call_map.
26713 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26714 * dlfcn/modstatic3.c: New file.
26715 * dlfcn/tststatic3.c: New file.
26716 * dlfcn/tststatic4.c: New file.
26717 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26718 (tests-static): Likewise.
26719 (modules-names): Add modstatic3.
26720 (tststatic3-ENV, tststatic4-ENV): New variables.
26721 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26722 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26723
cbe7d24b
JM
267242013-06-26 Joseph Myers <joseph@codesourcery.com>
26725
26726 * configure.in (CC): Require GCC version 4.4 or later.
26727 * configure: Regenerated.
26728 * manual/install.texi (Tools for Compilation): Update GCC version
26729 requirement.
26730 * INSTALL: Regenerated.
26731
11b8a0e1
LD
267322013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26733
26734 [BZ #15674]
bb5bb87c
L
26735 * string/test-memcmp.c (check2): New.
26736 (main): Call check2.
26737
11b8a0e1
LD
26738 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26739
b0037103
MR
267402013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26741
26742 [BZ #15022]
26743 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26744 over to...
26745 (dl_open_worker) [!SHARED]: ... here.
26746
c18c701d
RA
267472013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26748
26749 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26750
1d17fa5f
RH
267512013-06-25 Richard Henderson <rth@redhat.com>
26752
26753 * locale/programs/locarchive.c: Include <libc-internal.h>
26754
8fcb833a
JM
267552013-06-25 Joseph Myers <joseph@codesourcery.com>
26756
26757 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26758 trailing whitespace removed.
26759
17db6e8d
MF
267602013-06-24 Mike Frysinger <vapier@gentoo.org>
26761
26762 [BZ #10283]
17db6e8d
MF
26763 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26764 * locale/programs/locarchive.c: Include libc-mmap.h.
26765 (prepare_address_space): Take two new outputs (the mmap base and len).
26766 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26767 values.
26768 (create_archive): Declare new mmap base and len values for
26769 prepare_address_space, and store the result in ah.
26770 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26771 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26772 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26773 Declare new mmap base and len values for
26774 prepare_address_space, and store the result in new_ah.
26775 (open_archive): Declare new mmap base and len values for
26776 prepare_address_space, and store the result in ah.
26777 (close_archive): If ah->mmap_base is not NULL, use that and
26778 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26779 * sysdeps/generic/libc-mmap.h: New file.
26780
d605071e
MF
267812013-06-24 Mike Frysinger <vapier@gentoo.org>
26782
26783 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26784 (ALIGN_UP): Likewise.
26785 (PTR_ALIGN_DOWN): Likewise.
26786 (PTR_ALIGN_UP): Likewise.
26787
2f063a6e
RA
267882013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26789
26790 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26791 entry mapped to PPC_PLATFORM_POWER8.
26792 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26793 POWER8.
26794 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26795 (_dl_string_platform): Add case for exporting platform position for
26796 POWER8.
26797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26798 search path to sysdeps/powerpc/powerpc32/power8 directory.
26799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26800 search path to sysdeps/powerpc/powerpc64/power8 directory.
26801 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26802 power7 directories.
26803 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26804 power7 directories.
26805
a31ee4b3
SP
268062013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26807
a74ca98f
SP
26808 * INSTALL: Regenerate.
26809
a31ee4b3
SP
26810 * nscd/connections.c (nscd_init): Fix comment.
26811
695c378f
JM
268122013-06-22 Joseph Myers <joseph@codesourcery.com>
26813
d8412221
JM
26814 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26815
695c378f
JM
26816 [BZ #15667]
26817 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26818 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26819
d1d54715
MR
268202013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26821
26822 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26823 DL_DST_REQ_STATIC.
26824 (DL_DST_REQ_STATIC): Remove macro.
26825
8fdda7af
JM
268262013-06-21 Joseph Myers <joseph@codesourcery.com>
26827
26828 [BZ #7006]
26829 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26830 with a shift of 0 bits.
26831
f3bc5e5a
MR
268322013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26833
26834 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26835 $(tststatic-ENV).
26836
be09e8c9
KK
268372013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26838
26839 [BZ #15655]
26840 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26841
85c2e611
AZ
268422013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26843
26844 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26845 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26846 accepts -fno-tree-loop-distribute-patterns.
26847 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26848 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26849 recursive call.
26850 * string/memset.c (memset): Likewise.
26851 * string/test-memmove.c (simple_memmove): Disable loop transformation
26852 to library calls.
26853 * string/test-memset.c (simple_memset): Likewise.
26854 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26855 * benchtests/bench-memset.c (simple_memset): Likewise.
26856 * configure: Regenerated.
26857
c91e0825
JM
268582013-06-20 Joseph Myers <joseph@codesourcery.com>
26859
b8c792af
JM
26860 * math/test-misc.c (main): Ignore fesetround failure when failures
26861 of subsequent rounding tests would be ignored.
26862
c91e0825
JM
26863 [BZ #15654]
26864 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26865 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26866 * math/fegetenv.c (__fegetenv): Return 0.
26867 * math/fegetexcept.c (fegetexcept): Return 0.
26868 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26869 FE_TONEAREST.
26870 * math/feholdexcpt.c (feholdexcept): Return 0.
26871 * math/fesetenv.c (__fesetenv): Return 0.
26872 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26873 argument FE_TONEAREST.
26874 * math/feupdateenv.c (__feupdateenv): Return 0.
26875 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26876
bfcacbde
RM
268772013-06-18 Roland McGrath <roland@hack.frob.com>
26878
26879 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26880 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26881 ($(objpfx)rtld-%.os rules): Use them.
26882
e55a9b25
AZ
268832013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26884
26885 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26886 fields.
26887
346d65b3
RM
268882013-06-17 Roland McGrath <roland@hack.frob.com>
26889
12086fb4
RM
26890 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26891 length of target pattern, then descending length of dependency pattern.
26892 * configure.in (AWK): Require gawk 3.1.2 or newer.
26893 * manual/install.texi (Tools for Compilation): Say that we do.
26894 * configure: Regenerated.
26895
346d65b3
RM
26896 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26897 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26898 * scripts/sysd-rules.awk: ... this new script.
26899 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26900 than a glob-style pattern.
26901
1a846317
JM
269022013-06-17 Joseph Myers <joseph@codesourcery.com>
26903
26904 * math/test-misc.c (main): Do not treat incorrectly rounded
26905 conversions as failure unless ROUNDING_TESTS passes.
26906
8fc75e6f
JM
269072013-06-15 Joseph Myers <joseph@codesourcery.com>
26908
3711a167
JM
26909 [BZ #15631]
26910 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26911 restore exception state around main square root computation, then
26912 check for inexactness explicitly.
26913
8fc75e6f
JM
26914 * math/libm-test.inc (fma_test_data): Add another test.
26915
61dd6208
SP
269162013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26917
adf23d2c
SP
26918 * manual/threads.texi (Non-POSIX Extensions): New document
26919 node. Document pthread_getattr_default_np and
26920 pthread_setattr_default_np.
26921
61dd6208
SP
26922 * Versions.def (libpthread): Add GLIBC_2.18.
26923 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26925 Likewise.
26926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26927 Likewise.
26928 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26929 Likewise.
26930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26931 Likewise.
26932 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26933 Likewise.
26934 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26935 Likewise.
26936 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26937 Likewise.
26938 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26939 Likewise.
26940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26941 Likewise.
26942
d086fc7b
LD
269432013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26944
26945 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26946 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
26947
747ef469
SP
269482013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
26949 H.J. Lu <hjl.tools@gmail.com>
26950
26951 [BZ #15627]
26952 * sysdeps/x86_64/rtld-memset.c: Remove file.
26953 * sysdeps/x86_64/rtld-memset.S: New file.
26954
1b2feed2
JM
269552013-06-14 Joseph Myers <joseph@codesourcery.com>
26956
26957 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
26958 (test_in_one_mode): Take arguments for whether the rounding mode
26959 is supported for each floating-point type.
26960 (do_test): Pass new arguments to test_in_one_mode using
26961 ROUNDING_TESTS.
26962
a58ad3f8
RM
269632013-06-13 Roland McGrath <roland@hack.frob.com>
26964
26965 * posix/tst-waitid.c (do_test): Distinguish different instances of
26966 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
26967 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
26968 before entering the kernel for waitpid.
26969
c204ab28
SP
269702013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26971
26972 * NEWS: Fix note on clock function precision. Text by Roland
26973 McGrath.
26974
f4a29fba
RM
269752013-06-13 Roland McGrath <roland@hack.frob.com>
26976
26977 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
26978 it into place only when and if the sanity check passes.
26979
1f24b9ad
JM
269802013-06-13 Joseph Myers <joseph@codesourcery.com>
26981
26982 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
26983 output for whether conversion result is exact. Take argument
26984 indicating whether type is IBM long double.
26985 (round_for_all): Change need_exact field to ibm_ld.
26986 * stdlib/tst-strtod-round.c (struct exactness): New type.
26987 (struct test): Change bool ld_ok field to struct exactness exact.
26988 (TEST): Update all definitions for change to field.
26989 (tests): Regenerate array contents.
26990 (test_in_one_mode): Take pointer to new field instead of old ld_ok
26991 field value. Check for IBM long double here.
26992 (do_test): Update calls to test_in_one_mode.
26993
58206c68
SP
269942013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
26995
26996 [BZ #12515]
26997 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
26998 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
26999
2d6f4c5b 270002013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
27001
27002 [BZ #15605]
27003 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27004 generated by the compiler on loop optimizations.
27005 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27006 general definitions.
27007
94f2c076
JM
270082013-06-12 Joseph Myers <joseph@codesourcery.com>
27009
27010 * math/bug-nextafter.c: Include <math-tests.h>.
27011 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27012 the relevant type.
27013 * math/bug-nexttoward.c: Include <math-tests.h>.
27014 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27015 the relevant type.
27016 * math/test-misc.c: Include <math-tests.h>.
27017 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27018 the relevant type.
27019
e0e50a0a
AJ
270202013-06-12 Andreas Jaeger <aj@suse.de>
27021
27022 * po/ia.po: Update Interlingua translation from translation
27023 project.
27024
25061094
SP
270252013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27026
27027 * include/fenv.h: Include stdbool.h.
27028 (struct rm_ctx): New structure.
27029 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27030 Define macro.
27031 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27032 (SET_RESTORE_ROUNDF): Likewise.
27033 (SET_RESTORE_ROUNDL): Likewise.
27034 (SET_RESTORE_ROUND_NOEX): Likewise.
27035 (SET_RESTORE_ROUND_NOEXF): Likewise.
27036 (SET_RESTORE_ROUND_NOEXL): Likewise.
27037 (SET_RESTORE_ROUND_53BIT): Likewise.
27038 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27039 (libc_feresetround_noexf_ctx): Likewise.
27040 (libc_feresetround_noexl_ctx): Likewise.
27041 (libc_feholdsetround_53bit_ctx): Likewise.
27042 (libc_feresetround_53bit_ctx): Likewise.
27043 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27044 (libc_feholdexcept_setround_sse_ctx): New function.
27045 (libc_fesetenv_sse_ctx): Likewise.
27046 (libc_feupdateenv_sse_ctx): Likewise.
27047 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27048 (libc_feholdexcept_setround_387_ctx): Likewise.
27049 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27050 (libc_feholdsetround_387_prec_ctx): Likewise.
27051 (libc_feholdsetround_387_ctx): Likewise.
27052 (libc_feholdsetround_387_53bit_ctx): Likewise.
27053 (libc_feholdsetround_sse_ctx): Likewise.
27054 (libc_feresetround_sse_ctx): Likewise.
27055 (libc_feresetround_387_ctx): Likewise.
27056 (libc_feupdateenv_387_ctx): Likewise.
27057 (libc_feholdexcept_setroundf_ctx): Define macro.
27058 (libc_fesetenvf_ctx): Likewise.
27059 (libc_feupdateenvf_ctx): Likewise.
27060 (libc_feholdsetroundf_ctx): Likewise.
27061 (libc_feresetroundf_ctx): Likewise.
27062 (libc_feholdexcept_setround_ctx): Likewise.
27063 (libc_fesetenv_ctx): Likewise.
27064 (libc_feupdateenv_ctx): Likewise.
27065 (libc_feholdsetround_ctx): Likewise.
27066 (libc_feresetround_ctx): Likewise.
27067 (libc_feholdexcept_setroundl_ctx): Likewise.
27068 (libc_feupdateenvl_ctx): Likewise.
27069 (libc_feholdsetroundl_ctx): Likewise.
27070 (libc_feresetroundl_ctx): Likewise.
27071 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27072 (libc_feresetround_53bit_ctx): Likewise.
27073
59b30555
SP
270742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27075
27076 * locale/iso-639.def: Convert to UTF-8.
27077
f1d73d30
JM
270782013-06-11 Joseph Myers <joseph@codesourcery.com>
27079
27080 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27081 (EXCEPTION_TESTS_double): Likewise.
27082 (EXCEPTION_TESTS_long_double): Likewise.
27083 (EXCEPTION_TESTS): Likewise.
27084 * math/libm-test.inc (test_exceptions): Only test exceptions if
27085 EXCEPTION_TESTS (FLOAT).
27086
94aca5e7
SP
270872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27088
27089 * benchtests/Makefile (string-bench): Add strcpy_chk and
27090 stpcpy_chk.
27091 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27092 * benchtests/bench-stpcpy_chk.c: New file.
27093 * benchtests/bench-strcpy_chk-ifunc.c: New file.
27094 * benchtests/bench-strcpy_chk.c: New file.
27095 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27096 code.
27097 (do_test): Likewise.
27098
fac0c5f2
RA
270992013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27100
27101 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27102 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27103 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27104 with tabs where appropriate.
27105 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27106 dl-procinfo.h.
27107 [PPC_PLATFORM_PPC440]: Likewise.
27108 [PPC_PLATFORM_PPC464]: Likewise.
27109 [PPC_PLATFORM_PPC476]: Likewise.
27110 (_dl_string_platform): Add support for detecting ppc405, ppc440,
27111 ppc464, and ppc476 platform strings merging from ports/
27112 dl-procinfo.h.
27113
f22bc486
AS
271142013-06-11 Andreas Schwab <schwab@suse.de>
27115
27116 [BZ #14991]
27117 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27118 (from_ucs4_idx): Regenerate.
27119 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27120 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27121 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27122 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27123 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27124 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27125 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27126 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27127 from FROM_LOOP and TO_LOOP specific macros.
27128 (BODY): Handle combining characters.
27129 * iconvdata/BIG5HKSCS.irreversible: Update.
27130 * iconvdata/BIG5HKSCS.precomposed: New file.
27131 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27132 characters.
27133 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27134
c1f75dc3
SP
271352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27136
4eacded2
SP
27137 * include/sys/time.h: Fix indentation and add copyright header.
27138
fec799f8
SP
27139 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27140 (do_test): Likewise.
27141 * string/test-memchr.c (do_one_test): Likewise.
27142 (do_test): Likewise.
27143 * string/test-memcmp.c (do_one_test): Likewise.
27144 (do_test): Likewise.
27145 * string/test-memcpy.c (do_one_test): Likewise.
27146 (do_test): Likewise.
27147 * string/test-memmem.c (do_one_test): Likewise.
27148 (do_test): Likewise.
27149 (do_random_tests): Likewise.
27150 * string/test-memmove.c (do_one_test): Likewise.
27151 (do_test): Likewise.
27152 * string/test-memset.c (do_one_test): Likewise.
27153 (do_test): Likewise.
27154 * string/test-rawmemchr.c (do_one_test): Likewise.
27155 (do_test): Likewise.
27156 * string/test-strcasecmp.c (do_one_test): Likewise.
27157 (do_test): Likewise.
27158 * string/test-strcasestr.c (do_one_test): Likewise.
27159 (do_test): Likewise.
27160 * string/test-strcat.c (do_one_test): Likewise.
27161 (do_test): Likewise.
27162 * string/test-strchr.c (do_one_test): Likewise.
27163 (do_test): Likewise.
27164 * string/test-strcmp.c (do_one_test): Likewise.
27165 (do_test): Likewise.
27166 * string/test-strcpy.c (do_one_test): Likewise.
27167 (do_test): Likewise.
27168 * string/test-string.h: Likewise.
27169 (test_init): Likewise.
27170 * string/test-strlen.c (do_one_test): Likewise.
27171 (do_test): Likewise.
27172 * string/test-strncasecmp.c (do_one_test): Likewise.
27173 (do_test): Likewise.
27174 * string/test-strncat.c (do_one_test): Likewise.
27175 (do_test): Likewise.
27176 * string/test-strncmp.c (do_one_test): Likewise.
27177 (do_test_limit): Likewise.
27178 (do_test): Likewise.
27179 * string/test-strncpy.c (do_one_test): Likewise.
27180 (do_test): Likewise.
27181 * string/test-strnlen.c (do_one_test): Likewise.
27182 (do_test): Likewise.
27183 * string/test-strpbrk.c (do_one_test): Likewise.
27184 (do_test): Likewise.
27185 * string/test-strrchr.c (do_one_test): Likewise.
27186 (do_test): Likewise.
27187 * string/test-strspn.c (do_one_test): Likewise.
27188 (do_test): Likewise.
27189 * string/test-strstr.c (do_one_test): Likewise.
27190 (do_test): Likewise.
27191
97020474
SP
27192 * benchtests/Makefile (string-bench): Add string benchmarks.
27193 * benchtests/bench-bcopy-ifunc.c: New file.
27194 * benchtests/bench-bcopy.c: New file.
27195 * benchtests/bench-bzero-ifunc.c: New file.
27196 * benchtests/bench-bzero.c: New file.
27197 * benchtests/bench-memccpy-ifunc.c: New file.
27198 * benchtests/bench-memccpy.c: New file.
27199 * benchtests/bench-memchr-ifunc.c: New file.
27200 * benchtests/bench-memchr.c: New file.
27201 * benchtests/bench-memcmp-ifunc.c: New file.
27202 * benchtests/bench-memcmp.c: New file.
27203 * benchtests/bench-memmem-ifunc.c: New file.
27204 * benchtests/bench-memmem.c: New file.
27205 * benchtests/bench-memmove-ifunc.c: New file.
27206 * benchtests/bench-memmove.c: New file.
27207 * benchtests/bench-mempcpy-ifunc.c: New file.
27208 * benchtests/bench-mempcpy.c: New file.
27209 * benchtests/bench-memset-ifunc.c: New file.
27210 * benchtests/bench-memset.c: New file.
27211 * benchtests/bench-rawmemchr-ifunc.c: New file.
27212 * benchtests/bench-rawmemchr.c: New file.
27213 * benchtests/bench-stpcpy-ifunc.c: New file.
27214 * benchtests/bench-stpcpy.c: New file.
27215 * benchtests/bench-stpncpy-ifunc.c: New file.
27216 * benchtests/bench-stpncpy.c: New file.
27217 * benchtests/bench-strcasecmp-ifunc.c: New file.
27218 * benchtests/bench-strcasecmp.c: New file.
27219 * benchtests/bench-strcasestr-ifunc.c: New file.
27220 * benchtests/bench-strcasestr.c: New file.
27221 * benchtests/bench-strcat-ifunc.c: New file.
27222 * benchtests/bench-strcat.c: New file.
27223 * benchtests/bench-strchr-ifunc.c: New file.
27224 * benchtests/bench-strchr.c: New file.
27225 * benchtests/bench-strchrnul-ifunc.c: New file.
27226 * benchtests/bench-strchrnul.c: New file.
27227 * benchtests/bench-strcmp-ifunc.c: New file.
27228 * benchtests/bench-strcmp.c: New file.
27229 * benchtests/bench-strcpy-ifunc.c: New file.
27230 * benchtests/bench-strcpy.c: New file.
27231 * benchtests/bench-strcspn-ifunc.c: New file.
27232 * benchtests/bench-strcspn.c: New file.
27233 * benchtests/bench-strlen-ifunc.c: New file.
27234 * benchtests/bench-strlen.c: New file.
27235 * benchtests/bench-strncasecmp-ifunc.c: New file.
27236 * benchtests/bench-strncasecmp.c: New file.
27237 * benchtests/bench-strncat-ifunc.c: New file.
27238 * benchtests/bench-strncat.c: New file.
27239 * benchtests/bench-strncmp-ifunc.c: New file.
27240 * benchtests/bench-strncmp.c: New file.
27241 * benchtests/bench-strncpy-ifunc.c: New file.
27242 * benchtests/bench-strncpy.c: New file.
27243 * benchtests/bench-strnlen-ifunc.c: New file.
27244 * benchtests/bench-strnlen.c: New file.
27245 * benchtests/bench-strpbrk-ifunc.c: New file.
27246 * benchtests/bench-strpbrk.c: New file.
27247 * benchtests/bench-strrchr-ifunc.c: New file.
27248 * benchtests/bench-strrchr.c: New file.
27249 * benchtests/bench-strspn-ifunc.c: New file.
27250 * benchtests/bench-strspn.c: New file.
27251 * benchtests/bench-strstr-ifunc.c: New file.
27252 * benchtests/bench-strstr.c: New file.
27253
c1f75dc3
SP
27254 * benchtests/Makefile: Disable parallel execution of targets.
27255 (string-bench): Add memcpy.
27256 (benchset): New variable to store a list of benchmark sets.
27257 (bench-func): Renamed from bench.
27258 (bench-set): New target.
27259 (bench): Depend on bench-func and bench-set.
27260 * benchtests/README: Add section on benchmark sets.
27261 * benchtests/bench-memcpy-ifunc.c: New file.
27262 * benchtests/bench-memcpy.c: New file.
27263 * benchtests/bench-string.h: New file.
27264
50fd745b
AS
272652013-06-11 Andreas Schwab <schwab@suse.de>
27266
27267 [BZ #15577]
27268 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27269 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27270 values in the triple.
27271 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27272 terminator in the group key.
27273
3ee7e9fe
AJ
272742013-06-11 Andreas Jaeger <aj@suse.de>
27275
27276 * po/zh_TW.po: Update Chinese (traditional) translation from
27277 translation project.
27278
89fb6835
SP
272792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27280
27281 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27282 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27283 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27284 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27285 (clock_getcpuclockid): Likewise.
27286 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27287 Add weak_alias and libc_hidden_def.
27288 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27289 * rt/clock_gettime.c (clock_gettime): Rename to
27290 __clock_gettime. Add weak_alias and libc_hidden_def.
27291 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27292 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27293 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27294 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27295 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27296 Likewise.
27297 * rt/clock_settime.c (clock_settime): Rename to
27298 __clock_settime. Add weak_alias and libc_hidden_def.
27299 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27300
0efa6f8b
JM
273012013-06-10 Joseph Myers <joseph@codesourcery.com>
27302
b8c61b4b
JM
27303 * mach/err_boot.sub: Remove trailing whitespace.
27304 * mach/err_ipc.sub: Likewise.
27305 * mach/err_mach.sub: Likewise.
27306
0efa6f8b
JM
27307 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27308 (ROUNDING_TESTS_double): Likewise.
27309 (ROUNDING_TESTS_long_double): Likewise.
27310 (ROUNDING_TESTS): Likewise.
27311 * math/libm-test.inc: Include <math-tests.h>.
27312 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27313 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27314 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27315 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27316
50b818bf
SP
273172013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27318
27319 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27320 of assigning.
27321
60d2f8f3
JM
273222013-06-08 Joseph Myers <joseph@codesourcery.com>
27323
4902d2c3
JM
27324 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27325 otherwise empty TRANS lines.
27326 * sysdeps/gnu/errlist.c: Regenerated.
27327
60d2f8f3
JM
27328 * catgets/gencat.c (error_print): Use (void) in function
27329 definition.
27330 * crypt/crypt_util.c (__init_des): Likewise.
27331 * crypt/speeds.c (Stop): Likewise.
27332 (main): Likewise.
27333 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27334 * inet/ruserpass.c (token): Likewise.
27335 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27336 * intl/localealias.c (extend_alias_table): Likewise.
27337 * intl/plural-exp.c (init_germanic_plural): Likewise.
27338 * libio/fcloseall.c (__fcloseall): Likewise.
27339 * libio/genops.c (_IO_flush_all): Likewise.
27340 (_IO_flush_all_linebuffered): Likewise.
27341 (_IO_cleanup): Likewise.
27342 (_IO_iter_begin): Likewise.
27343 (_IO_iter_end): Likewise.
27344 (_IO_list_lock): Likewise.
27345 (_IO_list_unlock): Likewise.
27346 (_IO_list_resetlock): Likewise.
27347 * libio/getchar.c (getchar): Likewise.
27348 * libio/getchar_u.c (getchar_unlocked): Likewise.
27349 * libio/getwchar.c (getwchar): Likewise.
27350 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27351 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27352 * login/getpt.c (__getpt): Likewise.
27353 * login/tst-utmp.c (main): Likewise.
27354 * malloc/hooks.c (__malloc_check_init): Likewise.
27355 * malloc/malloc.c (__malloc_stats): Likewise.
27356 * malloc/mtrace.c (tr_break): Likewise.
27357 (mtrace): Likewise.
27358 (muntrace): Likewise.
27359 * misc/fstab.c (endfsent): Likewise.
27360 * misc/getclktck.c (__getclktck): Likewise.
27361 * misc/getdtsz.c (__getdtablesize): Likewise.
27362 * misc/gethostid.c (gethostid): Likewise.
27363 * misc/getpagesize.c (__getpagesize): Likewise.
27364 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27365 (__get_nprocs): Likewise.
27366 (__get_phys_pages): Likewise.
27367 (__get_avphys_pages): Likewise.
27368 * misc/getttyent.c (getttyent): Likewise.
27369 (setttyent): Likewise.
27370 (endttyent): Likewise.
27371 * misc/getusershell.c (getusershell): Likewise.
27372 (endusershell): Likewise.
27373 (setusershell): Likewise.
27374 (initshells): Likewise.
27375 * misc/hsearch.c (__hdestroy): Likewise.
27376 * misc/sync.c (sync): Likewise.
27377 * misc/syslog.c (closelog_internal): Likewise.
27378 (closelog): Likewise.
27379 * misc/ttyslot.c (ttyslot): Likewise.
27380 * misc/vhangup.c (vhangup): Likewise.
27381 * posix/fork.c (__fork): Likewise.
27382 * posix/getegid.c (__getegid): Likewise.
27383 * posix/geteuid.c (__geteuid): Likewise.
27384 * posix/getgid.c (__getgid): Likewise.
27385 * posix/getpid.c (__getpid): Likewise.
27386 * posix/getppid.c (__getppid): Likewise.
27387 * posix/getuid.c (__getuid): Likewise.
27388 * posix/pause.c (pause): Likewise.
27389 * posix/setpgrp.c (setpgrp): Likewise.
27390 * posix/setsid.c (__setsid): Likewise.
27391 * posix/test-vfork.c (noop): Likewise.
27392 * resolv/gethnamaddr.c (_endhtent): Likewise.
27393 (_gethtent): Likewise.
27394 (ht_endhostent): Likewise.
27395 (gethostent): Likewise.
27396 (dns_service): Likewise.
27397 * stdlib/drand48.c (drand48): Likewise.
27398 * stdlib/lrand48.c (lrand48): Likewise.
27399 * stdlib/mrand48.c (mrand48): Likewise.
27400 * stdlib/rand.c (rand): Likewise.
27401 * stdlib/random.c (__random): Likewise.
27402 * stdlib/setenv.c (clearenv): Likewise.
27403 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27404 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27405 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27406 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27407 (__get_nprocs): Likewise.
27408 (__get_phys_pages): Likewise.
27409 (__get_avphys_pages): Likewise.
27410 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27411 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27412 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27413 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27414 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27415 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27416 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27417 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27418 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27419 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27420 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27421 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27422 * sysdeps/posix/clock.c (clock): Likewise.
27423 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27424 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27425 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27426 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27427 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27428 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27429 (__get_nprocs_conf): Likewise.
27430 (__get_phys_pages): Likewise.
27431 (__get_avphys_pages): Likewise.
27432 * time/clock.c (clock): Likewise.
27433 * time/tzset.c (__tzname_max): Likewise.
27434
2e09a79a
JM
274352013-06-07 Joseph Myers <joseph@codesourcery.com>
27436
27437 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27438 (__bswap_32): Do not use "register".
27439 * crypt/crypt.c (_ufc_doit_r): Likewise.
27440 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27441 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27442 * gmon/gmon.c (__monstartup): Likewise.
27443 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27444 * hurd/hurdmalloc.c (more_memory): Likewise.
27445 (malloc): Likewise.
27446 (free): Likewise.
27447 (realloc): Likewise.
27448 (malloc_fork_prepare): Likewise.
27449 (malloc_fork_parent): Likewise.
27450 (malloc_fork_child): Likewise.
27451 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27452 (_svcauth_des): Likewise.
27453 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27454 * inet/inet_net.c (inet_network): Likewise.
27455 * inet/inet_netof.c (inet_netof): Likewise.
27456 * inet/rcmd.c (__validuser2_sa): Likewise.
27457 * io/fts.c (fts_open): Likewise.
27458 (fts_load): Likewise.
27459 (fts_close): Likewise.
27460 (fts_read): Likewise.
27461 (fts_children): Likewise.
27462 (fts_build): Likewise.
27463 (fts_stat): Likewise.
27464 (fts_sort): Likewise.
27465 (fts_alloc): Likewise.
27466 (fts_lfree): Likewise.
27467 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27468 (_IO_file_xsgetn): Likewise.
27469 (_IO_file_xsgetn_mmap): Likewise.
27470 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27471 (_IO_cookie_write): Likewise.
27472 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27473 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27474 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27475 * malloc/obstack.c (_obstack_begin): Likewise.
27476 (_obstack_begin_1): Likewise.
27477 (_obstack_newchunk): Likewise.
27478 (_obstack_allocated_p): Likewise.
27479 (obstack_free): Likewise.
27480 (_obstack_memory_used): Likewise.
27481 * misc/getttyent.c (getttynam): Likewise.
27482 (getttyent): Likewise.
27483 (skip): Likewise.
27484 (value): Likewise.
27485 * misc/getusershell.c (initshells): Likewise.
27486 * misc/syslog.c (__vsyslog_chk): Likewise.
27487 * misc/ttyslot.c (ttyslot): Likewise.
27488 * nis/nis_hash.c (__nis_hash): Likewise.
27489 * posix/fnmatch_loop.c (FCT): Likewise.
27490 * posix/getconf.c (print_all): Likewise.
27491 (main): Likewise.
27492 * posix/getopt.c (exchange): Likewise.
27493 * posix/glob.c (globfree): Likewise.
27494 (prefix_array): Likewise.
27495 (__glob_pattern_type): Likewise.
27496 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27497 (NS_GET32): Likewise.
27498 (NS_PUT16): Likewise.
27499 (NS_PUT32): Likewise.
27500 * resolv/gethnamaddr.c (getanswer): Likewise.
27501 (gethostbyname2): Likewise.
27502 (gethostbyaddr): Likewise.
27503 (_gethtent): Likewise.
27504 (_gethtbyname2): Likewise.
27505 (_gethtbyaddr): Likewise.
27506 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27507 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27508 * resolv/res_init.c (__res_vinit): Likewise.
27509 (net_mask): Likewise.
27510 * resolv/res_mkquery.c (outchar): Likewise.
27511 (PRINT): Likewise.
27512 * stdio-common/printf_fp.c (outchar): Likewise.
27513 (PRINT): Likewise.
27514 * stdio-common/printf_fphex.c (outchar): Likewise.
27515 (PRINT): Likewise.
27516 * stdio-common/printf_size.c (outchar): Likewise.
27517 (PRINT): Likewise.
27518 * stdio-common/test_rdwr.c (main): Likewise.
27519 * stdio-common/tfformat.c (matches): Likewise.
27520 * stdio-common/vfprintf.c (outchar): Likewise.
27521 (printf_unknown): Likewise.
27522 (buffered_vfprintf): Likewise.
27523 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27524 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27525 (ReadFile): Likewise.
27526 * stdlib/qsort.c (SWAP): Likewise.
27527 (_quicksort): Likewise.
27528 * stdlib/setenv.c (__add_to_environ): Likewise.
27529 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27530 * stdlib/strtol_l.c (__strtol_l): Likewise.
27531 * stdlib/tst-strtod.c (main): Likewise.
27532 * stdlib/tst-strtol.c (main): Likewise.
27533 * stdlib/tst-strtoll.c (main): Likewise.
27534 * string/bits/string2.h (__strcmp_cc): Likewise.
27535 (__strcmp_cg): Likewise.
27536 (__strcspn_c1): Likewise.
27537 (__strcspn_c2): Likewise.
27538 (__strcspn_c3): Likewise.
27539 (__strspn_c1): Likewise.
27540 (__strspn_c2): Likewise.
27541 (__strspn_c3): Likewise.
27542 (__strsep_1c): Likewise.
27543 (__strsep_2c): Likewise.
27544 (__strsep_3c): Likewise.
27545 * string/memccpy.c (__memccpy): Likewise.
27546 * string/stpcpy.c (__stpcpy): Likewise.
27547 * string/strcmp.c (strcmp): Likewise.
27548 * string/strrchr.c (strrchr): Likewise.
27549 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27550 Likewise.
27551 * sysdeps/mach/hurd/getcwd.c
27552 (_hurd_canonicalize_directory_name_internal): Likewise.
27553 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27554 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27555 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27556 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27557 Likewise, in both definitions.
27558 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27559 definitions.
27560 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27561 64] (__bswap_64): Likewise.
27562 * time/test_time.c (main): Likewise.
27563 * time/tzfile.c (__tzfile_read): Likewise.
27564 (__tzfile_compute): Likewise.
27565 * time/tzset.c (__tzset_parse_tz): Likewise.
27566 (tzset_internal): Likewise.
27567 (compute_change): Likewise.
27568 * wcsmbs/wcscat.c (__wcscat): Likewise.
27569 * wcsmbs/wcschr.c (wcschr): Likewise.
27570 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27571 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27572 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27573 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27574 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27575 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27576 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27577 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27578 * wcsmbs/wmemset.c (wmemset): Likewise.
27579
9e54314b
JM
275802013-06-06 Joseph Myers <joseph@codesourcery.com>
27581
27582 * scripts/config.guess: Update to version 2013-05-16.
27583 * scripts/config.sub: Update to version 2013-04-24.
27584 * scripts/install-sh: Update to version 2011-11-20.07.
27585 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27586 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27587
350635a5
OB
275882013-06-06 Ondřej Bílka <neleai@seznam.cz>
27589
27590 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27591 * elf/sln.c: Likewise.
27592 * hurd/hurd/ioctl.h: Likewise.
27593 * hurd/hurdmalloc.c: Likewise.
27594 * hurd/xattr.c: Likewise.
27595 * include/shlib-compat.h: Likewise.
27596 * inet/ruserpass.c: Likewise.
27597 * libio/iofgets_u.c: Likewise.
27598 * libio/iofgetws_u.c: Likewise.
27599 * locale/programs/ld-identification.c: Likewise.
27600 * locale/programs/ld-time.c: Likewise.
27601 * mach/msg-destroy.c: Likewise.
27602 * nss/nss_files/files-netgrp.c: Likewise.
27603 * resolv/res_data.c: Likewise.
27604 * soft-fp/op-1.h: Likewise.
27605 * soft-fp/op-2.h: Likewise.
27606 * soft-fp/op-4.h: Likewise.
27607 * soft-fp/op-common.h: Likewise.
27608 * stdio-common/printf_fphex.c: Likewise.
27609 * stdlib/strtod_l.c: Likewise.
27610 * sunrpc/rpc/clnt.h: Likewise.
27611 * sysdeps/generic/framestate.c: Likewise.
27612 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27613 * sysdeps/i386/bsd-setjmp.S: Likewise.
27614 * sysdeps/i386/__longjmp.S: Likewise.
27615 * sysdeps/i386/setjmp.S: Likewise.
27616 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27617 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27618 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27619 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27620 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27621 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27622 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27623 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27624 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27625 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27626 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27627 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27628 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27629 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27630 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27631 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27632 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27633 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27634 * sysdeps/ieee754/support.c: Likewise.
27635 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27636 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27637 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27638 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27639 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27640 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27641 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27642 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27643 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27644 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27645 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27646 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27647 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27648 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27649 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27650 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27651 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27653
44a988af
OB
276542013-06-05 Ondřej Bílka <neleai@seznam.cz>
27655
25506f09 27656 * posix/transbug.c: Remove executable mode.
44a988af 27657
9c84384c
JM
276582013-06-05 Joseph Myers <joseph@codesourcery.com>
27659
27660 * crypt/speeds.c: Remove trailing whitespace.
27661 * dlfcn/default.c: Likewise.
27662 * elf/ifuncdep2.c: Likewise.
27663 * elf/ifuncmain1.c: Likewise.
27664 * elf/ifuncmain1vis.c: Likewise.
27665 * elf/testobj.h: Likewise.
27666 * elf/tst-stackguard1.c: Likewise.
27667 * gmon/sys/gmon.h: Likewise.
27668 * hurd/hurdmsg.c: Likewise.
27669 * hurd/new-fd.c: Likewise.
27670 * hurd/ports-get.c: Likewise.
27671 * iconvdata/ibm1008_420.c: Likewise.
27672 * inet/tst-getni1.c: Likewise.
27673 * inet/tst-getni2.c: Likewise.
27674 * libio/ioungetc.c: Likewise.
27675 * libio/wfiledoalloc.c: Likewise.
27676 * manual/libm-err-tab.pl: Likewise.
27677 * math/w_dremf.c: Likewise.
27678 * misc/ftruncate.c: Likewise.
27679 * posix/bug-glob2.c: Likewise.
27680 * posix/tst-pcre.c: Likewise.
27681 * posix/wait4.c: Likewise.
27682 * resolv/README: Likewise.
27683 * resolv/res_debug.h: Likewise.
27684 * resolv/tst-inet_ntop.c: Likewise.
27685 * setjmp/bug269-setjmp.c: Likewise.
27686 * soft-fp/extended.h: Likewise.
27687 * soft-fp/op-1.h: Likewise.
27688 * soft-fp/op-2.h: Likewise.
27689 * soft-fp/op-4.h: Likewise.
27690 * soft-fp/op-8.h: Likewise.
27691 * soft-fp/testit.c: Likewise.
27692 * stdio-common/bug16.c: Likewise.
27693 * stdlib/random.c: Likewise.
27694 * sunrpc/rpcsvc/rquota.x: Likewise.
27695 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27696 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27697 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27698 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27699 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27700 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27701 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27702 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27703 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27704 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27705 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27706 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27707 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27708 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27709 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27710 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27711 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27712 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27713 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27714 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27715 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27716 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27717 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27718 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27719 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27720 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27721 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27722 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27723 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27724 * sysdeps/ieee754/s_lib_version.c: Likewise.
27725 * sysdeps/mach/hurd/check_fds.c: Likewise.
27726 * sysdeps/mach/hurd/getsockname.c: Likewise.
27727 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27728 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27729 * sysdeps/powerpc/bits/link.h: Likewise.
27730 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27731 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27732 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27733 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27734 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27735 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27736 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27737 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27738 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27739 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27740 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27741 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27742 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27743 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27744 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27745 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27746 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27747 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27748 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27749 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27750 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27751 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27752 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27753 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27754 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27755 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27756 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27757 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27758 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27759 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27760 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27761 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27762 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27763 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27764 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27765 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27766 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27767 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27768 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27769 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27770 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27771 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27772 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27773 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27774 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27775 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27776 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27777 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27778 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27779 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27780 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27781 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27782 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27783 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27784 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27785 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27786 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27787 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27788 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27789 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27790 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27791 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27792 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27793 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27794 * sysdeps/powerpc/sysdep.h: Likewise.
27795 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27796 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27797 * sysdeps/sh/dl-trampoline.S: Likewise.
27798 * sysdeps/sh/memset.S: Likewise.
27799 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27800 * sysdeps/sh/strlen.S: Likewise.
27801 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27802 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27803 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27804 * sysdeps/sparc/sparc32/rem.S: Likewise.
27805 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27806 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27807 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27808 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27809 * sysdeps/sparc/sparc32/urem.S: Likewise.
27810 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27811 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27812 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27813 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27814 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27815 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27816 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27817 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27818 * sysdeps/unix/bsd/times.c: Likewise.
27819 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27820 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27824 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27825 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27826 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27827 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27828 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27829 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27830 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27831 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27832 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27833 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27834 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27835 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27836 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27837 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27838 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27839 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27840 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27841 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27842 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27843 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27844 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27845 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27846 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27847 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27848 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27849 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27850 * sysdeps/x86_64/strcspn.S: Likewise.
27851
869378a5
RA
278522013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27853
27854 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27855 generated file. Regenerate properly from gen-translit.pl.
27856 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27857 locale/C-translit.h.
27858
840e2943
AS
278592013-06-05 Andreas Schwab <schwab@suse.de>
27860
27861 [BZ #15100]
27862 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27863 week as 6 instead of -1.
27864 * time/tst-strptime.c (day_tests): Add test case.
27865
4c60cb0c
SP
278662013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27867
27868 * sysdeps/generic/math_private.h
27869 (libc_feholdexcept_setround_53bit): Replace with
27870 libc_feholdsetround_53bit.
27871 (libc_feupdateenv_53bit): Replace with
27872 libc_feresetround_53bit.
27873 (SET_RESTORE_ROUND_53BIT): Adjust.
27874
d180203e
SP
278752013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27876
96df079a
SP
27877 * string/test-strchrnul.c: Add copyright header.
27878
d180203e
SP
27879 * posix/tst-getaddrinfo4.c: Increase test timeout.
27880
8b0ccb2d
CD
278812013-06-03 Carlos O'Donell <carlos@redhat.com>
27882
27883 [BZ #15536]
27884 * math/libm-test.inc (MAX_EXP): Remove
27885 (MIN_EXP): Define.
27886 (ulp): Use MIN_EXP - MANT_DIG.
27887 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27888
3b3c4d40
CD
278892013-05-31 Carlos O'Donell <carlos@redhat.com>
27890
27891 * po/be.po: Revert last change.
27892 * po/zh_CN.po: Likewise.
27893 * po/header.pot: Likewise.
27894
fab7ce3f
JM
278952013-05-31 Joseph Myers <joseph@codesourcery.com>
27896
27897 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27898 link-libc-deps to empty as target-specific variable.
27899 * Makerules (link-libc-args): New variable.
27900 (libc-for-link): Likewise.
27901 (link-libc-deps): Likewise.
27902 (lib%.so): Depend on $(link-libc-deps). Link with
27903 $(link-libc-args).
27904 (build-module): Link with $(link-libc-args).
27905 (build-module-asneeded): Likewise.
27906 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27907 list of objects.
27908 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27909 target-specific variable.
27910 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27911 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27912 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27913 libc.
27914 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27915 libc and ld.so.
27916 ($(objpfx)libpcprofile.so): Likewise.
27917 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27918 libc_nonshared.a.
27919 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27920 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27921 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27922 $(link-libc-deps).
27923 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27924 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27925 * login/Makefile ($(objpfx)libutil.so): Likewise.
27926 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27927 * math/Makefile ($(objpfx)libm.so): Likewise.
27928 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27929 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27930 variable instead of depending directly on libc.
27931 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27932 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27933 $(link-libc-deps).
27934 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27935 libc.
27936 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27937 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27938 ($(objpfx)libanl.so): Likewise.
27939 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27940 ld.so.
27941 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27942 $(link-libc-deps).
27943 * sysdeps/i386/fpu/Makefile: Remove file.
27944 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
27945 ($(objpfx)libm.so): Remove dependency on ld.so.
27946
eca5920c
PF
279472013-05-30 Patsy Franklin <pfrankli@redhat.com>
27948
27949 [BZ # 15553]
27950 * nis/yp_xdr.c (XDRMAXNAME): Define.
27951 (XDRMAXRECORD): Define.
27952 (xdr_domainname): Use XDRMAXNAME.
27953 (xdr_mapname): Likewise.
27954 (xdr_peername): Likewise.
27955 (xdr_keydat): Use XDRMAXRECORD.
27956 (xdr_valdat): Likewise.
27957
279582013-05-30 Jeff Law <law@redhat.com>
96945714
JL
27959
27960 [BZ #14256]
27961 * manual/errno.texi (ESTALE): Update to account for more than
27962 just NFS file systems.
27963 * sysdeps/gnu/errlist.c: Regenerated.
27964
b9375348
SP
279652013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27966
27967 [BZ #15465]
27968 * elf/Makefile (tests): Add tst-null-argv.
27969 (modules-names): Add tst-null-argv-lib.
27970 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
27971 (tst-null-argv-ENV): Set environment for tst-null-argv.
27972 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
27973 (RTLD_PROGNAME): New macro.
27974 * elf/tst-null-argv.c: New test case.
27975 * elf/tst-null-argv-lib.c: Library for test case.
27976 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
27977 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
27978 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
27979 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
27980 * elf/dl-init.c (call_init): Likewise.
27981 (_dl_init): Likewise.
27982 * elf/dl-load.c (print_search_path): Likewise.
27983 (_dl_map_object): Likewise.
27984 * elf/dl-lookup.c (do_lookup_x): Likewise.
27985 (add_dependency): Likewise.
27986 (_dl_lookup_symbol_x): Likewise.
27987 (_dl_debug_bindings): Likewise.
27988 * elf/dl-open.c (_dl_show_scope): Likewise.
27989 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
27990 * elf/dl-version.c (match_symbol): Likewise.
27991 (_dl_check_map_versions): Likewise.
27992 * elf/rtld.c (dl_main): Likewise.
27993 (print_unresolved): Use RTLD_PROGNAME.
27994 (print_missing_version): Likewise.
27995 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
27996 (elf_machine_rela): Likewise.
27997 * sysdeps/powerpc/powerpc32/dl-machine.c
27998 (__process_machine_rela): Likewise.
27999 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28000 Likewise.
28001 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28002 Likewise.
28003 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28004 Likewise.
28005 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28006 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28007 Likewise.
28008 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28009 Likewise.
28010 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28011
8a9f20c8
CD
280122013-05-28 Carlos O'Donell <carlos@redhat.com>
28013
28014 * po/be.po: Add descriptive title.
28015 * po/zh_CN.po: Likewise.
28016 * po/header.pot: Likewise.
28017
0e60d68e
MF
280182013-05-28 Mike Frysinger <vapier@gentoo.org>
28019
28020 * locale/programs/locarchive.c (create_archive): Inlucde fname in
28021 error message.
28022 (enlarge_archive): Likewise.
28023
56b672e9
BN
280242013-05-28 Ben North <ben@redfrontdoor.org>
28025
28026 * manual/arith.texi (frexp): It is the magnitude of the return
28027 value which lies in [0.5, 1), not the return value itself.
28028
5e056687
AZ
280292013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28030
28031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28032
2b66ef5d
TS
280332013-05-26 Thomas Schwinge <thomas@codesourcery.com>
28034
528c2405
TS
28035 * stdio-common/bug26.c (main): Correct fscanf template.
28036
07b4c13d
TS
28037 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28038 declare _dl_skip_args.
28039
ec9dd97c
TS
28040 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28041 Don't declare.
28042
2b66ef5d
TS
28043 * manual/platform.texi: Add missing @end deftypefun.
28044
4f8dfe27
JM
280452013-05-24 Joseph Myers <joseph@codesourcery.com>
28046
0323d086
JM
28047 [BZ #15529]
28048 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28049 bit of mantissa of 2^16382.
28050 * math/libm-test.inc (hypot_test_data): Add more tests.
28051
dd4259b9
JM
28052 * math/libm-test.inc: Add drem and pow10 to list of tested
28053 functions.
28054 (pow10_test): New function.
28055 (drem_test): Likewise.
28056 (drem_test_tonearest): Likewise.
28057 (drem_test_towardzero): Likewise.
28058 (drem_test_downward): Likewise.
28059 (drem_test_upward): Likewise.
28060 (main): Call the new functions.
28061
4f8dfe27
JM
28062 * math/libm-test.inc (finite_test_data): Remove.
28063 (finite_test): Run tests from isfinite_test_data.
28064 (gamma_test_data): Remove.
28065 (gamma_test): Run tests from lgamma_test_data.
28066 * sysdeps/i386/fpu/libm-test-ulps: Update.
28067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28068
d116b7c4
AZ
280692013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28070
28071 * manual/platform.texi: Add PowerPC PPR function set documentation.
28072 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28073 implementation.
28074
e96e3767
CD
280752013-05-24 Carlos O'Donell <carlos@redhat.com>
28076
28077 * math/libm-test.inc (MAX_EXP): Define.
28078 (ULPDIFF): Define.
28079 (ulp): New function.
28080 (check_float_internal): Use ULPDIFF.
28081 (cpow_test): Disable failing test.
28082 (check_ulp): Test ulp() implemetnation.
28083 (main): Call check_ulp before starting tests.
28084
b679a606
JM
280852013-05-24 Joseph Myers <joseph@codesourcery.com>
28086
e8bdba36
JM
28087 * math/gen-libm-test.pl (generate_testfile): Do not handle
28088 START_DATA and END_DATA.
28089 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28090 END_DATA.
28091 (acos_tonearest_test_data): Likewise.
28092 (acos_towardzero_test_data): Likewise.
28093 (acos_downward_test_data): Likewise.
28094 (acos_upward_test_data): Likewise.
28095 (acosh_test_data): Likewise.
28096 (asin_test_data): Likewise.
28097 (asin_tonearest_test_data): Likewise.
28098 (asin_towardzero_test_data): Likewise.
28099 (asin_downward_test_data): Likewise.
28100 (asin_upward_test_data): Likewise.
28101 (asinh_test_data): Likewise.
28102 (atan_test_data): Likewise.
28103 (atanh_test_data): Likewise.
28104 (atan2_test_data): Likewise.
28105 (cabs_test_data): Likewise.
28106 (cacos_test_data): Likewise.
28107 (cacosh_test_data): Likewise.
28108 (carg_test_data): Likewise.
28109 (casin_test_data): Likewise.
28110 (casinh_test_data): Likewise.
28111 (catan_test_data): Likewise.
28112 (catanh_test_data): Likewise.
28113 (cbrt_test_data): Likewise.
28114 (ccos_test_data): Likewise.
28115 (ccosh_test_data): Likewise.
28116 (ceil_test_data): Likewise.
28117 (cexp_test_data): Likewise.
28118 (cimag_test_data): Likewise.
28119 (clog_test_data): Likewise.
28120 (clog10_test_data): Likewise.
28121 (conj_test_data): Likewise.
28122 (copysign_test_data): Likewise.
28123 (cos_test_data): Likewise.
28124 (cos_tonearest_test_data): Likewise.
28125 (cos_towardzero_test_data): Likewise.
28126 (cos_downward_test_data): Likewise.
28127 (cos_upward_test_data): Likewise.
28128 (cosh_test_data): Likewise.
28129 (cosh_tonearest_test_data): Likewise.
28130 (cosh_towardzero_test_data): Likewise.
28131 (cosh_downward_test_data): Likewise.
28132 (cosh_upward_test_data): Likewise.
28133 (cpow_test_data): Likewise.
28134 (cproj_test_data): Likewise.
28135 (creal_test_data): Likewise.
28136 (csin_test_data): Likewise.
28137 (csinh_test_data): Likewise.
28138 (csqrt_test_data): Likewise.
28139 (ctan_test_data): Likewise.
28140 (ctan_tonearest_test_data): Likewise.
28141 (ctan_towardzero_test_data): Likewise.
28142 (ctan_downward_test_data): Likewise.
28143 (ctan_upward_test_data): Likewise.
28144 (ctanh_test_data): Likewise.
28145 (ctanh_tonearest_test_data): Likewise.
28146 (ctanh_towardzero_test_data): Likewise.
28147 (ctanh_downward_test_data): Likewise.
28148 (ctanh_upward_test_data): Likewise.
28149 (erf_test_data): Likewise.
28150 (erfc_test_data): Likewise.
28151 (exp_test_data): Likewise.
28152 (exp_tonearest_test_data): Likewise.
28153 (exp_towardzero_test_data): Likewise.
28154 (exp_downward_test_data): Likewise.
28155 (exp_upward_test_data): Likewise.
28156 (exp10_test_data): Likewise.
28157 (exp2_test_data): Likewise.
28158 (expm1_test_data): Likewise.
28159 (fabs_test_data): Likewise.
28160 (fdim_test_data): Likewise.
28161 (finite_test_data): Likewise.
28162 (floor_test_data): Likewise.
28163 (fma_test_data): Likewise.
28164 (fma_towardzero_test_data): Likewise.
28165 (fma_downward_test_data): Likewise.
28166 (fma_upward_test_data): Likewise.
28167 (fmax_test_data): Likewise.
28168 (fmin_test_data): Likewise.
28169 (fmod_test_data): Likewise.
28170 (fpclassify_test_data): Likewise.
28171 (frexp_test_data): Likewise.
28172 (gamma_test_data): Likewise.
28173 (hypot_test_data): Likewise.
28174 (ilogb_test_data): Likewise.
28175 (isfinite_test_data): Likewise.
28176 (isgreater_test_data): Likewise.
28177 (isgreaterequal_test_data): Likewise.
28178 (isinf_test_data): Likewise.
28179 (isless_test_data): Likewise.
28180 (islessequal_test_data): Likewise.
28181 (islessgreater_test_data): Likewise.
28182 (isnan_test_data): Likewise.
28183 (isnormal_test_data): Likewise.
28184 (issignaling_test_data): Likewise.
28185 (isunordered_test_data): Likewise.
28186 (j0_test_data): Likewise.
28187 (j1_test_data): Likewise.
28188 (jn_test_data): Likewise.
28189 (ldexp_test_data): Likewise.
28190 (lgamma_test_data): Likewise.
28191 (lrint_test_data): Likewise.
28192 (lrint_tonearest_test_data): Likewise.
28193 (lrint_towardzero_test_data): Likewise.
28194 (lrint_downward_test_data): Likewise.
28195 (lrint_upward_test_data): Likewise.
28196 (llrint_test_data): Likewise.
28197 (llrint_tonearest_test_data): Likewise.
28198 (llrint_towardzero_test_data): Likewise.
28199 (llrint_downward_test_data): Likewise.
28200 (llrint_upward_test_data): Likewise.
28201 (log_test_data): Likewise.
28202 (log10_test_data): Likewise.
28203 (log1p_test_data): Likewise.
28204 (log2_test_data): Likewise.
28205 (logb_test_data): Likewise.
28206 (logb_downward_test_data): Likewise.
28207 (lround_test_data): Likewise.
28208 (llround_test_data): Likewise.
28209 (modf_test_data): Likewise.
28210 (nearbyint_test_data): Likewise.
28211 (nextafter_test_data): Likewise.
28212 (nexttoward_test_data): Likewise.
28213 (pow_test_data): Likewise.
28214 (pow_tonearest_test_data): Likewise.
28215 (pow_towardzero_test_data): Likewise.
28216 (pow_downward_test_data): Likewise.
28217 (pow_upward_test_data): Likewise.
28218 (remainder_test_data): Likewise.
28219 (remainder_tonearest_test_data): Likewise.
28220 (remainder_towardzero_test_data): Likewise.
28221 (remainder_downward_test_data): Likewise.
28222 (remainder_upward_test_data): Likewise.
28223 (remquo_test_data): Likewise.
28224 (rint_test_data): Likewise.
28225 (rint_tonearest_test_data): Likewise.
28226 (rint_towardzero_test_data): Likewise.
28227 (rint_downward_test_data): Likewise.
28228 (rint_upward_test_data): Likewise.
28229 (round_test_data): Likewise.
28230 (scalb_test_data): Likewise.
28231 (scalbn_test_data): Likewise.
28232 (scalbln_test_data): Likewise.
28233 (signbit_test_data): Likewise.
28234 (sin_test_data): Likewise.
28235 (sin_tonearest_test_data): Likewise.
28236 (sin_towardzero_test_data): Likewise.
28237 (sin_downward_test_data): Likewise.
28238 (sin_upward_test_data): Likewise.
28239 (sincos_test_data): Likewise.
28240 (sinh_test_data): Likewise.
28241 (sinh_tonearest_test_data): Likewise.
28242 (sinh_towardzero_test_data): Likewise.
28243 (sinh_downward_test_data): Likewise.
28244 (sinh_upward_test_data): Likewise.
28245 (sqrt_test_data): Likewise.
28246 (tan_test_data): Likewise.
28247 (tan_tonearest_test_data): Likewise.
28248 (tan_towardzero_test_data): Likewise.
28249 (tan_downward_test_data): Likewise.
28250 (tan_upward_test_data): Likewise.
28251 (tanh_test_data): Likewise.
28252 (tgamma_test_data): Likewise.
28253 (trunc_test_data): Likewise.
28254 (y0_test_data): Likewise.
28255 (y1_test_data): Likewise.
28256 (yn_test_data): Likewise.
28257 (significand_test_data): Likewise.
28258
b679a606
JM
28259 * math/gen-libm-test.pl (@functions): Remove variable.
28260 (generate_testfile): Don't handle START and END lines.
28261 * math/libm-test.inc (START): New macro.
28262 (END): Likewise.
28263 (END_COMPLEX): Likewise.
28264 (acos_test): Use END macro without arguments.
28265 (acos_test_tonearest): Likewise.
28266 (acos_test_towardzero): Likewise.
28267 (acos_test_downward): Likewise.
28268 (acos_test_upward): Likewise.
28269 (acosh_test): Likewise.
28270 (asin_test): Likewise.
28271 (asin_test_tonearest): Likewise.
28272 (asin_test_towardzero): Likewise.
28273 (asin_test_downward): Likewise.
28274 (asin_test_upward): Likewise.
28275 (asinh_test): Likewise.
28276 (atan_test): Likewise.
28277 (atanh_test): Likewise.
28278 (atan2_test): Likewise.
28279 (cabs_test): Likewise.
28280 (cacos_test): Use END_COMPLEX macro without arguments.
28281 (cacosh_test): Likewise.
28282 (carg_test): Use END macro without arguments.
28283 (casin_test): Use END_COMPLEX macro without arguments.
28284 (casinh_test): Likewise.
28285 (catan_test): Likewise.
28286 (catanh_test): Likewise.
28287 (cbrt_test): Use END macro without arguments.
28288 (ccos_test): Use END_COMPLEX macro without arguments.
28289 (ccosh_test): Likewise.
28290 (ceil_test): Use END macro without arguments.
28291 (cexp_test): Use END_COMPLEX macro without arguments.
28292 (cimag_test): Use END macro without arguments.
28293 (clog_test): Use END_COMPLEX macro without arguments.
28294 (clog10_test): Likewise.
28295 (conj_test): Likewise.
28296 (copysign_test): Use END macro without arguments.
28297 (cos_test): Likewise.
28298 (cos_test_tonearest): Likewise.
28299 (cos_test_towardzero): Likewise.
28300 (cos_test_downward): Likewise.
28301 (cos_test_upward): Likewise.
28302 (cosh_test): Likewise.
28303 (cosh_test_tonearest): Likewise.
28304 (cosh_test_towardzero): Likewise.
28305 (cosh_test_downward): Likewise.
28306 (cosh_test_upward): Likewise.
28307 (cpow_test): Use END_COMPLEX macro without arguments.
28308 (cproj_test): Likewise.
28309 (creal_test): Use END macro without arguments.
28310 (csin_test): Use END_COMPLEX macro without arguments.
28311 (csinh_test): Likewise.
28312 (csqrt_test): Likewise.
28313 (ctan_test): Likewise.
28314 (ctan_test_tonearest): Likewise.
28315 (ctan_test_towardzero): Likewise.
28316 (ctan_test_downward): Likewise.
28317 (ctan_test_upward): Likewise.
28318 (ctanh_test): Likewise.
28319 (ctanh_test_tonearest): Likewise.
28320 (ctanh_test_towardzero): Likewise.
28321 (ctanh_test_downward): Likewise.
28322 (ctanh_test_upward): Likewise.
28323 (erf_test): Use END macro without arguments.
28324 (erfc_test): Likewise.
28325 (exp_test): Likewise.
28326 (exp_test_tonearest): Likewise.
28327 (exp_test_towardzero): Likewise.
28328 (exp_test_downward): Likewise.
28329 (exp_test_upward): Likewise.
28330 (exp10_test): Likewise.
28331 (exp2_test): Likewise.
28332 (expm1_test): Likewise.
28333 (fabs_test): Likewise.
28334 (fdim_test): Likewise.
28335 (finite_test): Likewise.
28336 (floor_test): Likewise.
28337 (fma_test): Likewise.
28338 (fma_test_towardzero): Likewise.
28339 (fma_test_downward): Likewise.
28340 (fma_test_upward): Likewise.
28341 (fmax_test): Likewise.
28342 (fmin_test): Likewise.
28343 (fmod_test): Likewise.
28344 (fpclassify_test): Likewise.
28345 (frexp_test): Likewise.
28346 (gamma_test): Likewise.
28347 (hypot_test): Likewise.
28348 (ilogb_test): Likewise.
28349 (isfinite_test): Likewise.
28350 (isgreater_test): Likewise.
28351 (isgreaterequal_test): Likewise.
28352 (isinf_test): Likewise.
28353 (isless_test): Likewise.
28354 (islessequal_test): Likewise.
28355 (islessgreater_test): Likewise.
28356 (isnan_test): Likewise.
28357 (isnormal_test): Likewise.
28358 (issignaling_test): Likewise.
28359 (isunordered_test): Likewise.
28360 (j0_test): Likewise.
28361 (j1_test): Likewise.
28362 (jn_test): Likewise.
28363 (ldexp_test): Likewise.
28364 (lgamma_test): Likewise.
28365 (lrint_test): Likewise.
28366 (lrint_test_tonearest): Likewise.
28367 (lrint_test_towardzero): Likewise.
28368 (lrint_test_downward): Likewise.
28369 (lrint_test_upward): Likewise.
28370 (llrint_test): Likewise.
28371 (llrint_test_tonearest): Likewise.
28372 (llrint_test_towardzero): Likewise.
28373 (llrint_test_downward): Likewise.
28374 (llrint_test_upward): Likewise.
28375 (log_test): Likewise.
28376 (log10_test): Likewise.
28377 (log1p_test): Likewise.
28378 (log2_test): Likewise.
28379 (logb_test): Likewise.
28380 (logb_test_downward): Likewise.
28381 (lround_test): Likewise.
28382 (llround_test): Likewise.
28383 (modf_test): Likewise.
28384 (nearbyint_test): Likewise.
28385 (nextafter_test): Likewise.
28386 (nexttoward_test): Likewise.
28387 (pow_test): Likewise.
28388 (pow_test_tonearest): Likewise.
28389 (pow_test_towardzero): Likewise.
28390 (pow_test_downward): Likewise.
28391 (pow_test_upward): Likewise.
28392 (remainder_test): Likewise.
28393 (remainder_test_tonearest): Likewise.
28394 (remainder_test_towardzero): Likewise.
28395 (remainder_test_downward): Likewise.
28396 (remainder_test_upward): Likewise.
28397 (remquo_test): Likewise.
28398 (rint_test): Likewise.
28399 (rint_test_tonearest): Likewise.
28400 (rint_test_towardzero): Likewise.
28401 (rint_test_downward): Likewise.
28402 (rint_test_upward): Likewise.
28403 (round_test): Likewise.
28404 (scalb_test): Likewise.
28405 (scalbn_test): Likewise.
28406 (scalbln_test): Likewise.
28407 (signbit_test): Likewise.
28408 (sin_test): Likewise.
28409 (sin_test_tonearest): Likewise.
28410 (sin_test_towardzero): Likewise.
28411 (sin_test_downward): Likewise.
28412 (sin_test_upward): Likewise.
28413 (sincos_test): Likewise.
28414 (sinh_test): Likewise.
28415 (sinh_test_tonearest): Likewise.
28416 (sinh_test_towardzero): Likewise.
28417 (sinh_test_downward): Likewise.
28418 (sinh_test_upward): Likewise.
28419 (sqrt_test): Likewise.
28420 (tan_test): Likewise.
28421 (tan_test_tonearest): Likewise.
28422 (tan_test_towardzero): Likewise.
28423 (tan_test_downward): Likewise.
28424 (tan_test_upward): Likewise.
28425 (tanh_test): Likewise.
28426 (tgamma_test): Likewise.
28427 (trunc_test): Likewise.
28428 (y0_test): Likewise.
28429 (y1_test): Likewise.
28430 (yn_test): Likewise.
28431 (significand_test): Likewise.
28432
bae143d2
OB
284332013-05-24 Ondřej Bílka <neleai@seznam.cz>
28434
28435 [BZ #15381]
28436 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28437
9323d39b
EM
284382013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28439
d4ea44a0 28440 [BZ #14894]
9323d39b
EM
28441 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28442 __ppc_mdoio and __ppc_mdoom.
28443 * manual/platform.texi: Document new functions __ppc_yield,
28444 __ppc_mdoio and __ppc_mdoom.
28445
13e23af7
CD
284462013-05-22 Carlos O'Donell <carlos@redhat.com>
28447
28448 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28449 (main): Mention "tls" pseudo-hwcap is legacy.
28450 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28451
351fe550
JM
284522013-05-22 Joseph Myers <joseph@codesourcery.com>
28453
28454 * math/gen-libm-test.pl (parse_args): Output only string of
28455 arguments as text for test name, not full call or descriptions of
28456 tests for extra outputs.
28457 (generate_testfile): Do not pass function name to parse_args.
28458 Generate this_func variable from START.
28459 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28460 field to arg_str.
28461 (struct test_ff_f_data): Likewise.
28462 (test_ff_f_data_nexttoward): Likewise.
28463 (struct test_fi_f_data): Likewise.
28464 (struct test_fl_f_data): Likewise.
28465 (struct test_if_f_data): Likewise.
28466 (struct test_fff_f_data): Likewise.
28467 (struct test_c_f_data): Likewise.
28468 (struct test_f_f1_data): Likewise. Remove field extra_name.
28469 (struct test_fF_f1_data): Likewise.
28470 (struct test_ffI_f1_data): Likewise.
28471 (struct test_c_c_data): Rename test_name field to arg_str.
28472 (struct test_cc_c_data): Likewise.
28473 (struct test_f_i_data): Likewise.
28474 (struct test_ff_i_data): Likewise.
28475 (struct test_f_l_data): Likewise.
28476 (struct test_f_L_data): Likewise.
28477 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28478 and extra2_name.
28479 (COMMON_TEST_SETUP): New macro.
28480 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28481 (COMMON_TEST_CLEANUP): Likewise.
28482 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28483 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28484 macros.
28485 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28486 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28487 macros.
28488 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28489 (RUN_TEST_fff_f): Take argument string. Call new setup and
28490 cleanup macros.
28491 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28492 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28493 macros.
28494 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28495 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28496 macros.
28497 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28498 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28499 cleanup macros.
28500 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28501 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28502 cleanup macros.
28503 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28504 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28505 cleanup macros.
28506 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28507 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28508 macros.
28509 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28510 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28511 macros.
28512 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28513 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28514 macros.
28515 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28516 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28517 cleanup macros.
28518 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28519 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28520 cleanup macros.
28521 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28522 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28523 macros.
28524 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28525 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28526 cleanup macros.
28527 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28528 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28529 macros.
28530 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28531 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28532 macros.
28533 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28534 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28535 cleanup macros.
28536 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28537
85118d4d
EBM
285382013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28539
28540 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28541 to _sifields.sigfault.
28542 (si_addr_lsb): Define new macro.
28543 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28544 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28545 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28546
7a44c18f
CD
285472013-05-03 Carlos O'Donell <carlos at redhat.com>
28548
28549 [BZ #15441]
28550 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28551 returns -1.
28552 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28553 null return -1.
28554 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28555 loading the domain.
28556
b50a7181
JM
285572013-05-22 Joseph Myers <joseph@codesourcery.com>
28558
28559 * math/gen-libm-test.pl (parse_args): Do not include expected
28560 result in test name.
28561 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28562 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28563 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28564 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28565 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28567
051063c8
SP
285682013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28569
3ce9e010
SP
28570 * benchtests/Makefile: Sort function entries.
28571
051063c8
SP
28572 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28573 tanh, asinh, acosh, atanh.
28574 * benchtests/acos-inputs: New file.
28575 * benchtests/acosh-inputs: New file.
28576 * benchtests/asin-inputs: New file.
28577 * benchtests/asinh-inputs: New file.
28578 * benchtests/atanh-inputs: New file.
28579 * benchtests/cosh-inputs: New file.
28580 * benchtests/log-inputs: New file.
28581 * benchtests/sinh-inputs: New file.
28582 * benchtests/tanh-inputs: New file.
28583
47c22455
DL
285842013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28585
28586 [BZ #15339]
28587 * posix/tst-getaddrinfo4.c: New test.
28588 * posix/Makefile (tests): Add it.
28589
3d04f5db
SP
285902013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28591
28592 [BZ #15339]
28593 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28594 when no services were used.
28595 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28596 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28597
d5dd6189
AS
285982013-05-21 Andreas Schwab <schwab@suse.de>
28599
28600 [BZ #15014]
28601 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28602 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28603 successful.
28604 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28605 redundant variable declarations and reallocation of buffer when
28606 parsing as IPv6 address. Always set NSS status when called from
28607 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28608 buffer too small. Correct computation of needed size.
28609 * nss/Makefile (tests): Add test-digits-dots.
28610 * nss/test-digits-dots.c: New test.
28611
fef94eab
SP
286122013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28613
28614 * benchtests/Makefile: Remove instructions for adding
28615 benchmark tests.
28616 * benchtests/README: New file to explain how to execute and
28617 enhance the benchmark tests.
28618
e39adf43
AS
286192013-05-21 Andreas Schwab <schwab@suse.de>
28620
28621 [BZ #15493]
28622 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28623 * setjmp/tst-sigsetjmp.c: New test.
28624
b2b671b6
OB
286252013-05-20 Ondřej Bílka <neleai@seznam.cz>
28626
28627 * sysdeps/x86_64/memset.S (memset): New implementation.
28628 (__bzero): Likewise.
28629 (__memset_tail): New function.
28630
2d48b41c
OB
286312013-05-20 Ondřej Bílka <neleai@seznam.cz>
28632
28633 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28634 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28635 __memcpy_sse2_unaligned ifunc selection.
28636 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28637 Add memcpy-sse2-unaligned.S.
28638 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28639 Add: __memcpy_sse2_unaligned.
28640
f16cc3eb
JM
286412013-05-19 Joseph Myers <joseph@codesourcery.com>
28642
3e694268
JM
28643 [BZ #15490]
28644 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28645 math_force_eval before restoring floating-point envrionment.
28646 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28647 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28648 Likewise.
28649 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28650 <math_private.h>.
28651 (__nearbyintl): Use math_force_eval before restoring
28652 floating-point environment.
28653 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28654
db62a907
JM
28655 * math/gen-libm-test.pl (special_functions): Remove.
28656 (parse_args): Don't handle TEST_extra. Handle functions with no
28657 return value.
28658 * math/libm-test.inc (struct test_sincos_data): Replace with
28659 struct test_fFF_11_data.
28660 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28661 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28662 (sincos_test_data): Change element type to struct
28663 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28664 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28665 RUN_TEST_LOOP_sincos.
28666 * math/README.libm-test: Don't mention special handling of
28667 individual functions.
28668 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28669 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28670 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28671 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28672 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28674
f16cc3eb
JM
28675 * math/gen-libm-test.pl (get_variable): Remove function.
28676 (parse_args): Don't show pointer parameters to call in test
28677 names. Use "extra output N" in test names for extra outputs
28678 rather than naming variables.
28679
3779b5b6
JM
286802013-05-18 Joseph Myers <joseph@codesourcery.com>
28681
2ee094ff
JM
28682 [BZ #15488]
28683 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28684 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28685 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28686 double tests.
28687 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28688 disable.
28689 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28690 check_long_double.
28691
3779b5b6
JM
28692 * math/gen-libm-test.pl (@tests): Remove variable.
28693 ($count): Likewise.
28694 (new_test): Remove function.
28695 (show_exceptions): New function.
28696 (special_functions): Use show_exceptions instead of new_test.
28697 (parse_args): Likewise.
28698 (generate_testfile): Pass only function name in generated call to
28699 print_max_error or print_complex_max_error.
28700 (get_ulps): Do not handle complex tests specially.
28701 (output_test): Rename to ...
28702 (get_all_ulps_for_test): ... this. Return a string rather than
28703 printing to a file. Require ulps to be present.
28704 (output_ulps): Generate arrays rather than #defines.
28705 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28706 (struct ulp_data): New type.
28707 (BUILD_COMPLEX_ULP): Remove macro.
28708 (compare_ulp_data): New function.
28709 (find_ulps): Likewise.
28710 (find_test_ulps): Likewise.
28711 (find_function_ulps): Likewise.
28712 (find_complex_function_ulps): Likewise.
28713 (print_max_error): Determine allowed ulps using
28714 find_function_ulps.
28715 (print_complex_max_error): Determine allowed ulps using
28716 find_complex_function_ulps.
28717 (check_float_internal): Determine max ulps using find_test_ulps.
28718 (check_float): Do not take max_ulp parameter. Update call to
28719 check_float_internal.
28720 (check_complex): Likewise.
28721 (check_int): Do not take max_ulp parameter.
28722 (check_long): Likewise.
28723 (check_bool): Likewise.
28724 (check_longlong): Likewise.
28725 (struct test_f_f_data): Remove max_ulp field.
28726 (struct test_ff_f_data): Likewise.
28727 (struct test_ff_f_data_nexttoward): Likewise.
28728 (struct test_fi_f_data): Likewise.
28729 (struct test_fl_f_data): Likewise.
28730 (struct test_if_f_data): Likewise.
28731 (struct test_fff_f_data): Likewise.
28732 (struct test_c_f_data): Likewise.
28733 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28734 (struct test_fF_f1_data): Likewise.
28735 (struct test_ffI_f1_data): Likewise.
28736 (struct test_c_c_data): Remove max_ulp field.
28737 (struct test_cc_c_data): Likewise.
28738 (struct test_f_i_data): Likewise.
28739 (struct test_ff_i_data): Likewise.
28740 (struct test_f_l_data): Likewise.
28741 (struct test_f_L_data): Likewise.
28742 (struct test_sincos_data): Likewise.
28743 (RUN_TEST_f_f): Do not handle ulps.
28744 (RUN_TEST_LOOP_f_f): Likewise.
28745 (RUN_TEST_2_f): Likewise.
28746 (RUN_TEST_LOOP_2_f): Likewise.
28747 (RUN_TEST_fff_f): Likewise.
28748 (RUN_TEST_LOOP_fff_f): Likewise.
28749 (RUN_TEST_c_f): Likewise.
28750 (RUN_TEST_LOOP_c_f): Likewise.
28751 (RUN_TEST_f_f1): Likewise.
28752 (RUN_TEST_LOOP_f_f1): Likewise.
28753 (RUN_TEST_fF_f1): Likewise.
28754 (RUN_TEST_LOOP_fF_f1): Likewise.
28755 (RUN_TEST_fI_f1): Likewise.
28756 (RUN_TEST_LOOP_fI_f1): Likewise.
28757 (RUN_TEST_ffI_f1): Likewise.
28758 (RUN_TEST_LOOP_ffI_f1): Likewise.
28759 (RUN_TEST_c_c): Likewise.
28760 (RUN_TEST_LOOP_c_c): Likewise.
28761 (RUN_TEST_cc_c): Likewise.
28762 (RUN_TEST_LOOP_cc_c): Likewise.
28763 (RUN_TEST_f_i): Likewise.
28764 (RUN_TEST_LOOP_f_i): Likewise.
28765 (RUN_TEST_f_i_tg): Likewise.
28766 (RUN_TEST_LOOP_f_i_tg): Likewise.
28767 (RUN_TEST_ff_i_tg): Likewise.
28768 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28769 (RUN_TEST_f_b): Likewise.
28770 (RUN_TEST_LOOP_f_b): Likewise.
28771 (RUN_TEST_f_b_tg): Likewise.
28772 (RUN_TEST_LOOP_f_b_tg): Likewise.
28773 (RUN_TEST_f_l): Likewise.
28774 (RUN_TEST_LOOP_f_l): Likewise.
28775 (RUN_TEST_f_L): Likewise.
28776 (RUN_TEST_LOOP_f_L): Likewise.
28777 (RUN_TEST_sincos): Likewise.
28778 (RUN_TEST_LOOP_sincos): Likewise.
28779
8269107f
JM
287802013-05-17 Joseph Myers <joseph@codesourcery.com>
28781
bb38759d
JM
28782 [BZ #15480]
28783 [BZ #15485]
28784 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28785 main case of finite arguments, set rounding mode to FE_TONEAREST
28786 and discard exceptions.
28787 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28788 exceptions.
28789 (remainder_tonearest_test_data): New variable.
28790 (remainder_test_tonearest): New function.
28791 (remainder_towardzero_test_data): New variable.
28792 (remainder_test_towardzero): New function.
28793 (remainder_downward_test_data): New variable.
28794 (remainder_test_downward): New function.
28795 (remainder_upward_test_data): New variable.
28796 (remainder_test_upward): New function.
28797 (main): Call the new test functions.
28798
a00bdcf0
JM
28799 * math/libm-test.inc (struct test_f_f1_data): Remove field
28800 extra_init.
28801 (struct test_fF_f1_data): Likewise.
28802 (struct test_ffI_f1_data): Likewise.
28803 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28804 based on value of EXTRA_EXPECTED.
28805 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28806 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28807 EXTRA_VAR based on value of EXTRA_EXPECTED.
28808 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28809 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28810 EXTRA_VAR based on value of EXTRA_EXPECTED.
28811 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28812 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28813 EXTRA_VAR based on value of EXTRA_EXPECTED.
28814 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28815 * math/gen-libm-test.pl (parse_args): Don't output initializers
28816 for extra output values.
28817
de407f79
JM
28818 * math/libm-test.inc (check_int): Expect result to be exactly
28819 equal to expected value and do not handle ulps.
28820 (check_long): Likewise.
28821 (check_longlong): Likewise.
28822
8269107f
JM
28823 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28824 exceptions.
28825 (cimag_test_data): Likewise.
28826 (conj_test_data): Likewise.
28827 (copysign_test_data): Likewise.
28828 (cproj_test_data): Likewise.
28829 (creal_test_data): Likewise.
28830 (fabs_test_data): Likewise.
28831 (fdim_test_data): Likewise.
28832 (finite_test_data): Likewise.
28833 (floor_test_data): Likewise.
28834 (fmax_test_data): Likewise.
28835 (fmin_test_data): Likewise.
28836 (fmod_test_data): Likewise.
28837 (fpclassify_test_data): Likewise.
28838 (frexp_test_data): Likewise.
28839 (ilogb_test_data): Likewise.
28840 (isfinite_test_data): Likewise.
28841 (isgreater_test_data): Likewise.
28842 (isgreaterequal_test_data): Likewise.
28843 (isinf_test_data): Likewise.
28844 (isless_test_data): Likewise.
28845 (islessequal_test_data): Likewise.
28846 (islessgreater_test_data): Likewise.
28847 (isnan_test_data): Likewise.
28848 (isnormal_test_data): Likewise.
28849 (issignaling_test_data): Likewise.
28850 (isunordered_test_data): Likewise.
28851 (ldexp_test_data): Likewise.
28852 (lrint_test_data): Likewise.
28853 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28854 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28855 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28856 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28857 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28858 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28859 test input.
28860 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28861 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28862 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28863 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28864 that test input.
28865 (lrint_downward_test_data): Test for "inexact" exceptions.
28866 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28867 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28868 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28869 test input.
28870 (lrint_upward_test_data): Test for "inexact" exceptions.
28871 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28872 test input.
28873 (llrint_test_data): Test for "inexact" exceptions.
28874 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28875 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28876 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28877 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28878 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28879 (llrint_downward_test_data): Test for "inexact" exceptions.
28880 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28881 (llrint_upward_test_data): Test for "inexact" exceptions.
28882 (logb_test_data): Likewise.
28883 (logb_downward_test_data): Likewise.
28884 (nextafter_test_data): Likewise.
28885 (nexttoward_test_data): Likewise.
28886 (remainder_test_data): Likewise.
28887 (remquo_test_data): Likewise.
28888 (scalbn_test_data): Likewise.
28889 (scalbln_test_data): Likewise.
28890 (signbit_test_data): Likewise.
28891 (sqrt_test_data): Likewise.
28892 (significand_test_data): Likewise.
28893
48a18de1
SP
288942013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28895
28896 [BZ #15424]
28897 * benchtests/bench-modf.c (struct args): Mark arg0 as
28898 volatile.
28899 * scripts/bench.pl: Mark members of struct args as volatile.
28900
13d3b41a
AZ
289012013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28902
68191c1d 28903 [BZ # 15497]
13d3b41a
AZ
28904 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28905 negative infinity on POWER6 or lower.
28906 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28907
2848b105
MR
289082013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28909
28910 [BZ #15442]
28911 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28912 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28913 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28914 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28915 (_FP_SETQNAN): New macro.
28916 (_FP_SETQNAN_SEMIRAW): Likewise.
28917 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28918 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28919 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28920 (FP_EXTEND): Use _FP_FRAC_SNANP.
28921 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28922 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28923 into account.
28924 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28925 New macro.
28926 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28927 Likewise.
28928
323e5cb7
JM
289292013-05-16 Joseph Myers <joseph@codesourcery.com>
28930
c58b274f
JM
28931 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28932 with DIVIDE_BY_ZERO_EXCEPTION.
28933 (gamma_test_data): Likewise.
28934 (lgamma_test_data): Likewise.
28935 (log_test_data): Likewise.
28936 (log10_test_data): Likewise.
28937 (log2_test_data): Likewise.
28938 (tgamma_test_data): Likewise.
28939
0ab34904
JM
28940 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28941 (acos_test_tonearest): Likewise.
28942 (acos_test_towardzero): Likewise.
28943 (acos_test_downward): Likewise.
28944 (acos_test_upward): Likewise.
28945 (acosh_test): Likewise.
28946 (asin_test): Likewise.
28947 (asin_test_tonearest): Likewise.
28948 (asin_test_towardzero): Likewise.
28949 (asin_test_downward): Likewise.
28950 (asin_test_upward): Likewise.
28951 (asinh_test): Likewise.
28952 (atan_test): Likewise.
28953 (atanh_test): Likewise.
28954 (atan2_test): Likewise.
28955 (cabs_test): Likewise.
28956 (cacos_test): Likewise.
28957 (cacosh_test): Likewise.
28958 (casin_test): Likewise.
28959 (casinh_test): Likewise.
28960 (catan_test): Likewise.
28961 (catanh_test): Likewise.
28962 (cbrt_test): Likewise.
28963 (ccos_test): Likewise.
28964 (ccosh_test): Likewise.
28965 (cexp_test): Likewise.
28966 (clog_test): Likewise.
28967 (clog10_test): Likewise.
28968 (cos_test): Likewise.
28969 (cos_test_tonearest): Likewise.
28970 (cos_test_towardzero): Likewise.
28971 (cos_test_downward): Likewise.
28972 (cos_test_upward): Likewise.
28973 (cosh_test): Likewise.
28974 (cosh_test_tonearest): Likewise.
28975 (cosh_test_towardzero): Likewise.
28976 (cosh_test_downward): Likewise.
28977 (cosh_test_upward): Likewise.
28978 (cpow_test): Likewise.
28979 (csin_test): Likewise.
28980 (csinh_test): Likewise.
28981 (csqrt_test): Likewise.
28982 (ctan_test): Likewise.
28983 (ctan_test_tonearest): Likewise.
28984 (ctan_test_towardzero): Likewise.
28985 (ctan_test_downward): Likewise.
28986 (ctan_test_upward): Likewise.
28987 (ctanh_test): Likewise.
28988 (ctanh_test_tonearest): Likewise.
28989 (ctanh_test_towardzero): Likewise.
28990 (ctanh_test_downward): Likewise.
28991 (ctanh_test_upward): Likewise.
28992 (erf_test): Likewise.
28993 (erfc_test): Likewise.
28994 (exp_test): Likewise.
28995 (exp_test_tonearest): Likewise.
28996 (exp_test_towardzero): Likewise.
28997 (exp_test_downward): Likewise.
28998 (exp_test_upward): Likewise.
28999 (exp10_test): Likewise.
29000 (exp2_test): Likewise.
29001 (expm1_test): Likewise.
29002 (fmod_test): Likewise.
29003 (gamma_test): Likewise.
29004 (hypot_test): Likewise.
29005 (j0_test): Likewise.
29006 (j1_test): Likewise.
29007 (jn_test): Likewise.
29008 (lgamma_test): Likewise.
29009 (log_test): Likewise.
29010 (log10_test): Likewise.
29011 (log1p_test): Likewise.
29012 (log2_test): Likewise.
29013 (logb_test_downward): Likewise.
29014 (pow_test): Likewise.
29015 (pow_test_tonearest): Likewise.
29016 (pow_test_towardzero): Likewise.
29017 (pow_test_downward): Likewise.
29018 (pow_test_upward): Likewise.
29019 (remainder_test): Likewise.
29020 (remquo_test): Likewise.
29021 (sin_test): Likewise.
29022 (sin_test_tonearest): Likewise.
29023 (sin_test_towardzero): Likewise.
29024 (sin_test_downward): Likewise.
29025 (sin_test_upward): Likewise.
29026 (sincos_test): Likewise.
29027 (sinh_test): Likewise.
29028 (sinh_test_tonearest): Likewise.
29029 (sinh_test_towardzero): Likewise.
29030 (sinh_test_downward): Likewise.
29031 (sinh_test_upward): Likewise.
29032 (sqrt_test): Likewise.
29033 (tan_test): Likewise.
29034 (tan_test_tonearest): Likewise.
29035 (tan_test_towardzero): Likewise.
29036 (tan_test_downward): Likewise.
29037 (tan_test_upward): Likewise.
29038 (tanh_test): Likewise.
29039 (tgamma_test): Likewise.
29040 (y0_test): Likewise.
29041 (y1_test): Likewise.
29042 (yn_test): Likewise.
29043
323e5cb7
JM
29044 * math/gen-libm-test.pl (adjust_arg): Remove function.
29045 (special_function): Remove argument $in_func. Only handle
29046 generating output for tables of tests, not inside functions.
29047 (parse_args): Likewise.
29048 (generate_testfile): Remove variable $in_func. Update call to
29049 parse_args.
29050 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29051 (MINUS_ZERO_INIT): Rename macro to minus_zero.
29052 (PLUS_INFTY_INIT): Rename macro to plus_infty.
29053 (MINUS_INFTY_INIT): Rename macro to minus_infty.
29054 (QNAN_VALUE_INIT): Rename macro to qnan_value.
29055 (MAX_VALUE_INIT): Rename macro to max_value.
29056 (MIN_VALUE_INIT): Rename macro to min_value.
29057 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29058 (plus_zero): Remove variable.
29059 (minus_zero): Likewise.
29060 (plus_infty): Likewise.
29061 (minus_infty): Likewise.
29062 (qnan_value): Likewise.
29063 (max_value): Likewise.
29064 (min_value): Likewise.
29065 (min_subnorm_value): Likewise.
29066
e054f494
RA
290672013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29068
29069 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29070 uint64_t or uint32_t usage.
29071 * crypt/sha256-block.c: Likewise.
29072 * crypt/sha256-crypt.c: Likewise.
29073 * crypt/sha256.c: Likewise.
29074 * crypt/sha512-block.c: Likewise.
29075 * crypt/sha512-crypt.c: Likewise.
29076 * crypt/sha512.c: Likewise.
29077 * debug/backtrace-tst.c: Likewise.
29078 * debug/pcprofiledump.c: Likewise.
29079 * elf/cache.c: Likewise.
29080 * elf/dl-cache.c: Likewise.
29081 * elf/dl-misc.c: Likewise.
29082 * elf/dl-profile.c: Likewise.
29083 * elf/dl-support.c: Likewise.
29084 * elf/ldconfig.c: Likewise.
29085 * elf/sprof.c: Likewise.
29086 * iconv/dummy-repertoire.c: Likewise.
29087 * iconv/iconv_charmap.c: Likewise.
29088 * iconv/skeleton.c: Likewise.
29089 * iconvdata/8bit-generic.c: Likewise.
29090 * iconvdata/cp737.h: Likewise.
29091 * iconvdata/cp775.h: Likewise.
29092 * iconvdata/ibm1008.h: Likewise.
29093 * iconvdata/ibm1025.h: Likewise.
29094 * iconvdata/ibm1046.h: Likewise.
29095 * iconvdata/ibm1097.h: Likewise.
29096 * iconvdata/ibm1112.h: Likewise.
29097 * iconvdata/ibm1122.h: Likewise.
29098 * iconvdata/ibm1123.h: Likewise.
29099 * iconvdata/ibm1124.h: Likewise.
29100 * iconvdata/ibm1129.h: Likewise.
29101 * iconvdata/ibm1130.h: Likewise.
29102 * iconvdata/ibm1132.h: Likewise.
29103 * iconvdata/ibm1133.h: Likewise.
29104 * iconvdata/ibm1137.h: Likewise.
29105 * iconvdata/ibm1140.h: Likewise.
29106 * iconvdata/ibm1141.h: Likewise.
29107 * iconvdata/ibm1142.h: Likewise.
29108 * iconvdata/ibm1143.h: Likewise.
29109 * iconvdata/ibm1144.h: Likewise.
29110 * iconvdata/ibm1145.h: Likewise.
29111 * iconvdata/ibm1146.h: Likewise.
29112 * iconvdata/ibm1147.h: Likewise.
29113 * iconvdata/ibm1148.h: Likewise.
29114 * iconvdata/ibm1149.h: Likewise.
29115 * iconvdata/ibm1153.h: Likewise.
29116 * iconvdata/ibm1154.h: Likewise.
29117 * iconvdata/ibm1155.h: Likewise.
29118 * iconvdata/ibm1156.h: Likewise.
29119 * iconvdata/ibm1157.h: Likewise.
29120 * iconvdata/ibm1158.h: Likewise.
29121 * iconvdata/ibm1160.h: Likewise.
29122 * iconvdata/ibm1161.h: Likewise.
29123 * iconvdata/ibm1162.h: Likewise.
29124 * iconvdata/ibm1163.h: Likewise.
29125 * iconvdata/ibm1164.h: Likewise.
29126 * iconvdata/ibm1166.h: Likewise.
29127 * iconvdata/ibm1167.h: Likewise.
29128 * iconvdata/ibm12712.h: Likewise.
29129 * iconvdata/ibm1390.h: Likewise.
29130 * iconvdata/ibm1399.h: Likewise.
29131 * iconvdata/ibm16804.h: Likewise.
29132 * iconvdata/ibm4517.h: Likewise.
29133 * iconvdata/ibm4899.h: Likewise.
29134 * iconvdata/ibm4909.h: Likewise.
29135 * iconvdata/ibm4971.h: Likewise.
29136 * iconvdata/ibm5347.h: Likewise.
29137 * iconvdata/ibm803.h: Likewise.
29138 * iconvdata/ibm856.h: Likewise.
29139 * iconvdata/ibm901.h: Likewise.
29140 * iconvdata/ibm902.h: Likewise.
29141 * iconvdata/ibm9030.h: Likewise.
29142 * iconvdata/ibm9066.h: Likewise.
29143 * iconvdata/ibm921.h: Likewise.
29144 * iconvdata/ibm922.h: Likewise.
29145 * iconvdata/ibm9448.h: Likewise.
29146 * iconvdata/isiri-3342.h: Likewise.
29147 * iconvdata/jis0201.h: Likewise.
29148 * include/link.h: Likewise.
29149 * include/netdb.h: Likewise.
29150 * inet/check_native.c: Likewise.
29151 * inet/check_pf.c: Likewise.
29152 * inet/getipv4sourcefilter.c: Likewise.
29153 * inet/getnameinfo.c: Likewise.
29154 * inet/getsourcefilter.c: Likewise.
29155 * inet/htonl.c: Likewise.
29156 * inet/setipv4sourcefilter.c: Likewise.
29157 * inet/setsourcefilter.c: Likewise.
29158 * inet/test-inet6_opt.c: Likewise.
29159 * inet/tst-network.c: Likewise.
29160 * locale/C-collate.c: Likewise.
29161 * locale/C-ctype.c: Likewise.
29162 * locale/C-time.c: Likewise.
29163 * locale/C-translit.h: Likewise.
29164 * locale/loadarchive.c: Likewise.
29165 * locale/programs/3level.h: Likewise.
29166 * locale/programs/charmap.c: Likewise.
29167 * locale/programs/charmap.h: Likewise.
29168 * locale/programs/ld-address.c: Likewise.
29169 * locale/programs/ld-collate.c: Likewise.
29170 * locale/programs/ld-ctype.c: Likewise.
29171 * locale/programs/ld-identification.c: Likewise.
29172 * locale/programs/ld-measurement.c: Likewise.
29173 * locale/programs/ld-messages.c: Likewise.
29174 * locale/programs/ld-monetary.c: Likewise.
29175 * locale/programs/ld-name.c: Likewise.
29176 * locale/programs/ld-numeric.c: Likewise.
29177 * locale/programs/ld-paper.c: Likewise.
29178 * locale/programs/ld-telephone.c: Likewise.
29179 * locale/programs/ld-time.c: Likewise.
29180 * locale/programs/linereader.c: Likewise.
29181 * locale/programs/locale.c: Likewise.
29182 * locale/programs/locarchive.c: Likewise.
29183 * locale/programs/locfile.h: Likewise.
29184 * locale/programs/repertoire.c: Likewise.
29185 * locale/programs/simple-hash.c: Likewise.
29186 * locale/programs/simple-hash.h: Likewise.
29187 * malloc/memusage.c: Likewise.
29188 * malloc/memusagestat.c: Likewise.
29189 * nis/nis_defaults.c: Likewise.
29190 * nis/nis_hash.c: Likewise.
29191 * nis/nis_print.c: Likewise.
29192 * nis/nis_xdr.c: Likewise.
29193 * nscd/connections.c: Likewise.
29194 * nscd/hstcache.c: Likewise.
29195 * nscd/nscd_gethst_r.c: Likewise.
29196 * nscd/nscd_getserv_r.c: Likewise.
29197 * nscd/nscd_helper.c: Likewise.
29198 * nscd/servicescache.c: Likewise.
29199 * nss/makedb.c: Likewise.
29200 * nss/nss_db/db-XXX.c: Likewise.
29201 * nss/nss_db/db-initgroups.c: Likewise.
29202 * nss/nss_db/db-netgrp.c: Likewise.
29203 * nss/nss_files/files-network.c: Likewise.
29204 * nss/nss_files/files-parse.c: Likewise.
29205 * posix/bug-regex5.c: Likewise.
29206 * posix/fnmatch_loop.c: Likewise.
29207 * posix/regcomp.c: Likewise.
29208 * posix/regexec.c: Likewise.
29209 * posix/tst-rfc3484-2.c: Likewise.
29210 * posix/tst-rfc3484-3.c: Likewise.
29211 * posix/tst-rfc3484.c: Likewise.
29212 * resolv/nss_dns/dns-canon.c: Likewise.
29213 * resolv/nss_dns/dns-network.c: Likewise.
29214 * resolv/res_init.c: Likewise.
29215 * resolv/res_mkquery.c: Likewise.
29216 * resolv/tst-aton.c: Likewise.
29217 * stdlib/cxa_atexit.c: Likewise.
29218 * stdlib/cxa_finalize.c: Likewise.
29219 * stdlib/gen-fpioconst.c: Likewise.
29220 * stdlib/strtol_l.c: Likewise.
29221 * string/tst-endian.c: Likewise.
29222 * sunrpc/auth_des.c: Likewise.
29223 * sunrpc/clnt_udp.c: Likewise.
29224 * sunrpc/rtime.c: Likewise.
29225 * sunrpc/svcauth_des.c: Likewise.
29226 * sunrpc/xdr.c: Likewise.
29227 * sunrpc/xdr_intXX_t.c: Likewise.
29228 * sunrpc/xdr_rec.c: Likewise.
29229 * sysdeps/generic/ldconfig.h: Likewise.
29230 * sysdeps/generic/ldsodefs.h: Likewise.
29231 * sysdeps/generic/memusage.h: Likewise.
29232 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29233 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29234 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29235 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29236 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29237 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29238 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29239 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29240 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29241 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29242 * sysdeps/posix/getaddrinfo.c: Likewise.
29243 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29244 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29245 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29246 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29247 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29248 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29249 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29250 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29251 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29252 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29253 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29254 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29255 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29256 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29257 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29258 * sysdeps/x86_64/dl-tls.h: Likewise.
29259 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29260 * time/alt_digit.c: Likewise.
29261 * time/era.c: Likewise.
29262 * wcsmbs/tst-c16c32-1.c: Likewise.
29263
8c75f674
JM
292642013-05-16 Joseph Myers <joseph@codesourcery.com>
29265
29266 * math/libm-test.inc (struct test_sincos_data): New type.
29267 (RUN_TEST_LOOP_sincos): New macro.
29268 (sincos_test_data): New variable.
29269 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29270
e6e49e59
RH
292712013-05-16 Richard Henderson <rth@redhat.com>
29272
29273 * math/atest-exp2.c (LIMB64): New macro.
29274 (CONSTSZ): New macro.
29275 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29276 (hexdig): Move ...
29277 (print_mpn_fp): ... to function scope.
29278 (read_mpn_hex): Remove.
29279 (get_log2): Remove.
29280 (exp2_mpn): Use mp_log2.
29281 (main): Use mp_exp1.
29282
15c7c18d
JM
292832013-05-16 Joseph Myers <joseph@codesourcery.com>
29284
105a07df
JM
29285 * math/libm-test.inc: Remove comment about not testing "inexact"
29286 exceptions.
29287 (INEXACT_EXCEPTION): New macro.
29288 (NO_INEXACT_EXCEPTION): Likewise.
29289 (INVALID_EXCEPTION_OK): Update value.
29290 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29291 (OVERFLOW_EXCEPTION_OK): Likewise.
29292 (UNDERFLOW_EXCEPTION_OK): Likewise.
29293 (IGNORE_ZERO_INF_SIGN): Likewise.
29294 (ERRNO_UNCHANGED): Likewise.
29295 (ERRNO_EDOM): Likewise.
29296 (ERRNO_ERANGE): Likewise.
29297 (test_exceptions): Handle testing "inexact" exceptions.
29298 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29299 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29300 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29301 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29302 INEXACT_EXCEPTION.
29303 (rint_towardzero_test_data): Likewise.
29304 (rint_downward_test_data): Likewise.
29305 (rint_upward_test_data): Likewise.
29306
e9eee333
JM
29307 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29308 with OVERFLOW_EXCEPTION.
29309 (exp10_test_data): Likewise.
29310 (exp2_test_data): Likewise.
29311 (expm1_test_data): Likewise.
29312 (lgamma_test_data): Likewise.
29313 (pow_test_data): Likewise.
29314 (tgamma_test_data): Likewise.
29315 (yn_test_data): Remove duplicate test of overflow.
29316
1c38ff73
JM
29317 * math/libm-test.inc (struct test_cc_c_data): New type.
29318 (RUN_TEST_LOOP_cc_c): New macro.
29319 (cpow_test_data): New variable.
29320 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29321
15c7c18d
JM
29322 * math/libm-test.inc (struct test_f_L_data): New type.
29323 (RUN_TEST_LOOP_f_L): New macro.
29324 (llrint_test_data): New variable.
29325 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29326 (llrint_tonearest_test_data): New variable.
29327 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29328 (llrint_towardzero_test_data): New variable.
29329 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29330 (llrint_downward_test_data): New variable.
29331 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29332 (llrint_upward_test_data): New variable.
29333 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29334 (llround_test_data): New variable.
29335 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29336
f137ff13
PC
293372013-05-13 Peter Collingbourne <pcc@google.com>
29338
29339 * math/atest-exp2.c (get_log2): Remove const attribute.
29340
3608cb24
JM
293412013-05-15 Joseph Myers <joseph@codesourcery.com>
29342
29343 * math/libm-test.inc (struct test_f_l_data): New type.
29344 (RUN_TEST_LOOP_f_l): New macro.
29345 (lrint_test_data): New variable.
29346 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29347 (lrint_tonearest_test_data): New variable.
29348 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29349 (lrint_towardzero_test_data): New variable.
29350 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29351 (lrint_downward_test_data): New variable.
29352 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29353 (lrint_upward_test_data): New variable.
29354 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29355 (lround_test_data): New variable.
29356 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29357
39b1f617
PC
293582013-05-15 Peter Collingbourne <pcc@google.com>
29359
1deff3dc
PC
29360 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29361 (EXTRACT_WORDS64) Use where appropriate.
29362 (INSERT_WORDS64) Likewise.
29363
791f3ba0
PC
29364 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29365 constraints with x constraints.
29366 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29367
39b1f617
PC
29368 * malloc/obstack.c (_obstack_compat): Add initializer.
29369
12fba011
EM
293702013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29371
29372 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29373 si_trapno and add si_addr_lsb to _sifields.sigfault.
29374 (si_trapno): Remove macro.
29375 (si_addr_lsb): Define new macro.
29376 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29377
d369f531
JM
293782013-05-15 Joseph Myers <joseph@codesourcery.com>
29379
b861c6c4
JM
29380 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29381 instead of TEST_f_l.
29382 (llrint_test_tonearest): Likewise.
29383 (llrint_test_towardzero): Likewise.
29384 (llrint_test_downward): Likewise.
29385 (llrint_test_upward): Likewise.
29386 (llround_test): Likewise.
29387
7abeee12
JM
29388 * math/libm-test.inc (struct test_f_i_data): Add comment.
29389 (RUN_TEST_LOOP_f_b): New macro.
29390 (RUN_TEST_LOOP_f_b_tg): Likewise.
29391 (finite_test_data): New variable.
29392 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29393 (isfinite_test_data): New variable.
29394 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29395 (isinf_test_data): New variable.
29396 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29397 (isnan_test_data): New variable.
29398 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29399 (isnormal_test_data): New variable.
29400 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29401 (issignaling_test_data): New variable.
29402 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29403 (signbit_test_data): New variable.
29404 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29405
cbe8c4d3
JM
29406 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29407 with INVALID_EXCEPTION.
29408 (acosh_test_data): Likewise.
29409 (asin_test_data): Likewise.
29410 (atanh_test_data): Likewise.
29411 (fmod_test_data): Likewise.
29412 (log_test_data): Likewise.
29413 (log10_test_data): Likewise.
29414 (log2_test_data): Likewise.
29415 (pow_test_data): Likewise.
29416 (sqrt_test_data): Likewise.
29417 (y0_test_data): Likewise.
29418 (y1_test_data): Likewise.
29419 (yn_test_data): Likewise.
29420
5575c0e5
JM
29421 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29422 function contents.
29423
d369f531
JM
29424 * math/libm-test.inc (struct test_ff_i_data): New type.
29425 (RUN_TEST_LOOP_ff_i_tg): New macro.
29426 (isgreater_test_data): New variable.
29427 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29428 (isgreaterequal_test_data): New variable.
29429 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29430 (isless_test_data): New variable.
29431 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29432 (islessequal_test_data): New variable.
29433 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29434 (islessgreater_test_data): New variable.
29435 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29436 (isunordered_test_data): New variable.
29437 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29438
781fd748
DM
294392013-05-14 David S. Miller <davem@davemloft.net>
29440
29441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29442
87aa21df
JM
294432013-05-14 Joseph Myers <joseph@codesourcery.com>
29444
5e908270
JM
29445 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29446
f71172e5
JM
29447 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29448 extra_test to int.
29449 (struct test_f_i_data): Change type of max_ulp to int.
29450
8cfa635a
JM
29451 * math/libm-test.inc (test_ffI_f1_data): New type.
29452 (RUN_TEST_LOOP_ffI_f1): New macro.
29453 (remquo_test_data): New variable.
29454 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29455
2bcb36b2
JM
29456 * setjmp/tst-setjmp-fp.c: New file.
29457 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29458 (link-libm): New variable.
29459 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29460
acbd839a
JM
29461 * math/libm-test.inc (struct test_f_i_data): New type.
29462 (RUN_TEST_LOOP_f_i): New macro.
29463 (RUN_TEST_LOOP_f_i_tg): Likewise.
29464 (fpclassify_test_data): New variable.
29465 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29466 (ilogb_test_data): New variable.
29467 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29468
e414d745
JM
29469 * math/libm-test.inc (scalbln_test): Correct function name in END
29470 call.
29471
d9c2a0fd
JM
29472 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29473 (RUN_TEST_LOOP_fI_f1): New macro.
29474 (frexp_test_data): New variable.
29475 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29476
9dc9095d
JM
29477 * math/libm-test.inc (struct test_fF_f1_data): New type.
29478 (RUN_TEST_LOOP_fF_f1): New macro.
29479 (modf_test_data): New variable.
29480 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29481
87aa21df
JM
29482 * math/libm-test.inc (struct test_f_f1_data): New type.
29483 (RUN_TEST_LOOP_f_f1): New macro.
29484 (gamma_test_data): New variable.
29485 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29486 (lgamma_test_data): New variable.
29487 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29488
141af660
CD
294892013-05-13 Carlos O'Donell <carlos@redhat.com>
29490
29491 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29492 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29493 (main): Comment "tls" pseudo-hwcap.
29494
6d33265c
JM
294952013-05-13 Joseph Myers <joseph@codesourcery.com>
29496
68fc074c
JM
29497 * math/libm-test.inc (struct test_fl_f_data): New type.
29498 (RUN_TEST_LOOP_fl_f): New variable.
29499 (scalbln_test_data): New variable.
29500 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29501
243216e1
JM
29502 * math/libm-test.inc (struct test_fi_f_data): New type.
29503 (RUN_TEST_LOOP_fi_f): New macro.
29504 (ldexp_test_data): New variable.
29505 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29506 (scalbn_test_data): New variable.
29507 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29508
6a1992e2
JM
29509 * math/libm-test.inc (struct test_c_f_data): New type.
29510 (RUN_TEST_LOOP_c_f): New macro.
29511 (cabs_test_data): New variable.
29512 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29513 (carg_test_data): New variable.
29514 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29515 (cimag_test_data): New variable.
29516 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29517 (creal_test_data): New variable.
29518 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29519
0e400df5
JM
29520 * math/libm-test.inc (struct test_if_f_data): New type.
29521 (RUN_TEST_LOOP_if_f): New macro.
29522 (jn_test_data): New variable.
29523 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29524 (yn_test_data): New variable.
29525 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29526
6d33265c
JM
29527 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29528
f98ece5f
AZ
295292013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29530
29531 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29532 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29533
0f7d347b
SP
295342013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29535
43fe811b
SP
29536 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29537 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29538 (bench-deps): Add bench-timing.h.
29539 * benchtests-bench-skeleton.c: Include bench-timing.h.
29540 (main): Use TIMING_* macros instead of clock_gettime.
29541 * benchtests/bench-timing.h: New file.
29542
0f7d347b
SP
29543 [BZ #14582]
29544 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29545 Renamed from _LIB_VERSION.
29546 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29547
601a3a5f
JM
295482013-05-12 Joseph Myers <joseph@codesourcery.com>
29549
4f184d30
JM
29550 * math/libm-test.inc (struct test_fff_f_data): New type.
29551 (RUN_TEST_LOOP_fff_f): New macro.
29552 (fma_test_data): New variable.
29553 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29554 (fma_towardzero_test_data): New variable.
29555 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29556 (fma_downward_test_data): New variable.
29557 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29558 (fma_upward_test_data): New variable.
29559 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29560
08198877
JM
29561 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29562 (struct test_c_c_data): New type.
29563 (RUN_TEST_LOOP_c_c): New macro.
29564 (cacos_test_data): New variable.
29565 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29566 (cacosh_test_data): New variable.
29567 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29568 (casin_test_data): New variable.
29569 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29570 (casinh_test_data): New variable.
29571 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29572 (catan_test_data): New variable.
29573 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29574 (catanh_test_data): New variable.
29575 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29576 (ccos_test_data): New variable.
29577 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29578 (ccosh_test_data): New variable.
29579 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29580 (cexp_test_data): New variable.
29581 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29582 (clog_test_data): New variable.
29583 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29584 (clog10_test_data): New variable.
29585 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29586 (conj_test_data): New variable.
29587 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29588 (cproj_test_data): New variable.
29589 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29590 (csin_test_data): New variable.
29591 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29592 (csinh_test_data): New variable.
29593 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29594 (csqrt_test_data): New variable.
29595 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29596 (ctan_test_data): New variable.
29597 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29598 (ctan_tonearest_test_data): New variable.
29599 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29600 (ctan_towardzero_test_data): New variable.
29601 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29602 (ctan_downward_test_data): New variable.
29603 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29604 (ctan_upward_test_data): New variable.
29605 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29606 (ctanh_test_data): New variable.
29607 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29608 (ctanh_tonearest_test_data): New variable.
29609 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29610 (ctanh_towardzero_test_data): New variable.
29611 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29612 (ctanh_downward_test_data): New variable.
29613 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29614 (ctanh_upward_test_data): New variable.
29615 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29616 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29617 of BUILD_COMPLEX.
29618
601a3a5f
JM
29619 * math/libm-test.inc (struct test_ff_f_data): New type.
29620 (struct test_ff_f_data_nexttoward): Likewise.
29621 (RUN_TEST_LOOP_2_f): New macro.
29622 (RUN_TEST_LOOP_ff_f): Likewise.
29623 (atan2_test_data): New variable.
29624 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29625 (copysign_test_data): New variable.
29626 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29627 (fdim_test_data): New variable.
29628 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29629 (fmax_test_data): New variable.
29630 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29631 (fmin_test_data): New variable.
29632 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29633 (fmod_test_data): New variable.
29634 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29635 (hypot_test_data): New variable.
29636 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29637 (nextafter_test_data): New variable.
29638 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29639 (nexttoward_test_data): New variable.
29640 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29641 (pow_test_data): New variable.
29642 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29643 (pow_tonearest_test_data): New variable.
29644 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29645 (pow_towardzero_test_data): New variable.
29646 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29647 (pow_downward_test_data): New variable.
29648 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29649 (pow_upward_test_data): New variable.
29650 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29651 (remainder_test_data): New variable.
29652 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29653 (scalb_test_data): New variable.
29654 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29655 * sysdeps/i386/fpu/libm-test-ulps: Update.
29656
74c57478
JM
296572013-05-11 Joseph Myers <joseph@codesourcery.com>
29658
8329e4da
JM
29659 * math/libm-test.inc (fma_test): Use max_value instead of local
29660 variable fltmax.
29661 (nextafter_test): Likewise.
29662
74c57478
JM
29663 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29664 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29665 (acos_downward_test_data): New variable.
29666 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29667 (acos_upward_test_data): New variable.
29668 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29669 (acosh_test_data): New variable.
29670 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29671 (asin_test_data): New variable.
29672 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29673 (asin_tonearest_test_data): New variable.
29674 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29675 (asin_towardzero_test_data): New variable.
29676 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29677 (asin_downward_test_data): New variable.
29678 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29679 (asin_upward_test_data): New variable.
29680 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29681 (asinh_test_data): New variable.
29682 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29683 (atan_test_data): New variable.
29684 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29685 (atanh_test_data): New variable.
29686 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29687 (cbrt_test_data): New variable.
29688 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29689 (ceil_test_data): New variable.
29690 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29691 (cos_test_data): New variable.
29692 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29693 (cos_tonearest_test_data): New variable.
29694 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29695 (cos_towardzero_test_data): New variable.
29696 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29697 (cos_downward_test_data): New variable.
29698 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29699 (cos_upward_test_data): New variable.
29700 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29701 (cosh_test_data): New variable.
29702 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29703 (cosh_tonearest_test_data): New variable.
29704 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29705 (cosh_towardzero_test_data): New variable.
29706 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29707 (cosh_downward_test_data): New variable.
29708 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29709 (cosh_upward_test_data): New variable.
29710 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29711 (erf_test_data): New variable.
29712 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29713 (erfc_test_data): New variable.
29714 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29715 (exp_test_data): New variable.
29716 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29717 (exp_tonearest_test_data): New variable.
29718 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29719 (exp_towardzero_test_data): New variable.
29720 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29721 (exp_downward_test_data): New variable.
29722 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29723 (exp_upward_test_data): New variable.
29724 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29725 (exp10_test_data): New variable.
29726 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29727 (exp2_test_data): New variable.
29728 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29729 (expm1_test_data): New variable.
29730 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29731 (fabs_test_data): New variable.
29732 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29733 (floor_test_data): New variable.
29734 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29735 (j0_test_data): New variable.
29736 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29737 (j1_test_data): New variable.
29738 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29739 (log_test_data): New variable.
29740 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29741 (log10_test_data): New variable.
29742 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29743 (log1p_test_data): New variable.
29744 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29745 (log2_test_data): New variable.
29746 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29747 (logb_test_data): New variable.
29748 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29749 (logb_downward_test_data): New variable.
29750 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29751 (nearbyint_test_data): New variable.
29752 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29753 (rint_test_data): New variable.
29754 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29755 (rint_tonearest_test_data): New variable.
29756 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29757 (rint_towardzero_test_data): New variable.
29758 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29759 (rint_downward_test_data): New variable.
29760 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29761 (rint_upward_test_data): New variable.
29762 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29763 (round_test_data): New variable.
29764 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29765 (sin_test_data): New variable.
29766 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29767 (sin_tonearest_test_data): New variable.
29768 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29769 (sin_towardzero_test_data): New variable.
29770 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29771 (sin_downward_test_data): New variable.
29772 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29773 (sin_upward_test_data): New variable.
29774 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29775 (sinh_test_data): New variable.
29776 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29777 (sinh_tonearest_test_data): New variable.
29778 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29779 (sinh_towardzero_test_data): New variable.
29780 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29781 (sinh_downward_test_data): New variable.
29782 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29783 (sinh_upward_test_data): New variable.
29784 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29785 (sqrt_test_data): New variable.
29786 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29787 (tan_test_data): New variable.
29788 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29789 (tan_tonearest_test_data): New variable.
29790 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29791 (tan_towardzero_test_data): New variable.
29792 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29793 (tan_downward_test_data): New variable.
29794 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29795 (tan_upward_test_data): New variable.
29796 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29797 (tanh_test_data): New variable.
29798 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29799 (tgamma_test_data): New variable.
29800 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29801 (trunc_test_data): New variable.
29802 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29803 (y0_test_data): New variable.
29804 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29805 (y1_test_data): New variable.
29806 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29807 (significand_test_data): New variable.
29808 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29809
7187d844
CG
298102013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29811
29812 [BZ #12387]
29813 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29814
f63fae73
PT
298152013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29816
29817 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29818
8a67a4b3
AJ
298192013-05-10 Andreas Jaeger <aj@suse.de>
29820
29821 [BZ #15448]
29822 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29823 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29824
51df539d
JM
298252013-05-10 Joseph Myers <joseph@codesourcery.com>
29826
29827 * math/gen-libm-test.pl (adjust_arg): New function.
29828 (special_functions): Handle generating output in both functions
29829 and arrays.
29830 (parse_args): Likewise.
29831 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29832 $in_func argument to parse_args.
29833 * math/libm-test.inc (struct test_f_f_data): New type.
29834 (IF_ROUND_INIT_): New macro.
29835 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29836 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29837 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29838 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29839 (ROUND_RESTORE_): Likewise.
29840 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29841 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29842 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29843 (ROUND_RESTORE_FE_UPWARD): Likewise.
29844 (RUN_TEST_LOOP_f_f): New macro.
29845 (acos_test_data): New variable.
29846 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29847 (acos_tonearest_test_data): New variable.
29848 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29849
5c637fe5
SP
298502013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29851
29852 * benchtests/bench-skeleton.c (startup): Fix coding style.
29853
ab2b9461
JM
298542013-05-10 Joseph Myers <joseph@codesourcery.com>
29855
29856 [BZ #6809]
29857 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29858 negative infinity argument.
29859 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29860 negative infinity argument.
29861 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29862 negative infinity argument.
29863 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29864 domain errors.
29865
4c0fe6fe
FW
298662013-05-10 Florian Weimer <fweimer@redhat.com>
29867
29868 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29869 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29870 * iconv/iconv_prog.c (main): Likewise.
29871 * locale/programs/charmap-dir.c (charmap_readdir)
29872 (fopen_uncompressed): Likewise.
29873 * locale/programs/locfile.c (siblings_uncached)
29874 (write_locale_data): Use lstat64 instead of lstat.
29875 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29876 stat.
29877
a3375d29
AJ
298782013-05-10 Andreas Jaeger <aj@suse.de>
29879
29880 [BZ #15395]
29881 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29882 localization.
29883 Include <locale.h>.
29884
36129722
CD
298852013-05-09 Carlos O'Donell <carlos@redhat.com>
29886
29887 * elf/dl-close.c (_dl_close_worker): Add comments.
29888
faa7f811
JM
298892013-05-09 Joseph Myers <joseph@codesourcery.com>
29890
ed41ffef
JM
29891 [BZ #15359]
29892 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29893 high part of pi/2.
29894 (__ieee754_rem_pio2l): Update comments.
29895
d0213cd0
JM
29896 [BZ #15429]
29897 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29898 high part of pi/2.
29899 (__ieee754_rem_pio2l): Update comments.
29900
0d3e777a
JM
29901 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29902 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29903
24f56066
JM
29904 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29905 M_PI_4l.
29906
faa7f811
JM
29907 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29908 (M_PI_34_LOG10El): Likewise.
29909 (M_PI2_LOG10El): Likewise.
29910 (M_PI4_LOG10El): Likewise.
29911 (M_PI_LOG10El): Likewise.
29912
e9a5e0fd
AZ
299132013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29914
29915 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29916
d8cd06db
JM
299172013-05-08 Joseph Myers <joseph@codesourcery.com>
29918
a0d9f9d7
JM
29919 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29920 (MINUS_ZERO_INIT): Likewise.
29921 (PLUS_INFTY_INIT): Likewise.
29922 (MINUS_INFTY_INIT): Likewise.
29923 (QNAN_VALUE_INIT): Likewise.
29924 (MAX_VALUE_INIT): Likewise.
29925 (MIN_VALUE_INIT): Likewise.
29926 (MIN_SUBNORM_VALUE_INIT): Likewise.
29927 (plus_zero): Initialize with PLUS_ZERO_INIT.
29928 (minus_zero): Initialize with MINUS_ZERO_INIT.
29929 (plus_infty): Initialize with PLUS_INFTY_INIT.
29930 (minus_infty): Initialize with MINUS_INFTY_INIT.
29931 (qnan_value): Initialize with QNAN_VALUE_INIT.
29932 (max_value): Initialize with MAX_VALUE_INIT.
29933 (min_value): Initialize with MIN_VALUE_INIT.
29934 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29935
ae08db3b
JM
29936 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29937 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29938 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29939 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29940
f44bf14a
JM
29941 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29942 (RUN_TEST_2_f): Likewise.
29943 (RUN_TEST_ff_f): Likewise.
29944 (RUN_TEST_fi_f): Likewise.
29945 (RUN_TEST_fl_f): Likewise.
29946 (RUN_TEST_fff_f): Likewise.
29947 (RUN_TEST_c_f): Likewise.
29948 (RUN_TEST_f_f1): Likewise.
29949 (RUN_TEST_fF_f1): Likewise.
29950 (RUN_TEST_fI_f1): Likewise.
29951 (RUN_TEST_ffI_f1): Likewise.
29952 (RUN_TEST_c_c): Likewise.
29953 (RUN_TEST_cc_c): Likewise.
29954 (RUN_TEST_f_i): Likewise.
29955 (RUN_TEST_f_i_tg): Likewise.
29956 (RUN_TEST_ff_i_tg): Likewise.
29957 (RUN_TEST_f_b): Likewise.
29958 (RUN_TEST_f_b_tg): Likewise.
29959 (RUN_TEST_f_l): Likewise.
29960 (RUN_TEST_f_L): Likewise.
29961 (RUN_TEST_sincos): Likewise.
29962 * math/gen-libm-test.pl (new_test): Take new argument to indicate
29963 whether to show exceptions. Do not include ");\n" in return
29964 value.
29965 (special_functions): Output call to RUN_TEST_sincos instead of
29966 check_float calls. Update calls to new_test.
29967 (parse_args): Output call to single RUN_TEST_* macro instead of
29968 check_* calls and other assignments. Update calls to new_test.
29969
d8cd06db
JM
29970 [BZ #2546]
29971 [BZ #2560]
29972 [BZ #5159]
29973 [BZ #15426]
29974 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
29975 input to result for tgamma overflow.
29976 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
29977 (gamma_coeff): New variable.
29978 (NCOEFF): New macro.
29979 (gamma_positive): New function.
29980 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
29981 underflow here. Use gamma_positive instead of exp (lgamma) for
29982 other arguments.
29983 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
29984 (gamma_coeff): New variable.
29985 (NCOEFF): New macro.
29986 (gammaf_positive): New function.
29987 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
29988 underflow here. Use gamma_positive instead of exp (lgamma) for
29989 other arguments.
29990 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
29991 (gamma_coeff): New variable.
29992 (NCOEFF): New macro.
29993 (gammal_positive): New function.
29994 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
29995 underflow here. Use gamma_positive instead of exp (lgamma) for
29996 other arguments.
29997 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
29998 (gamma_coeff): New variable.
29999 (NCOEFF): New macro.
30000 (gammal_positive): New function.
30001 (__ieee754_gammal_r): Handle positive infinity, overflow and
30002 underflow here. Handle NaN the same as positive infinity. Remove
30003 check x < 0xffffffff for negative integers. Use gamma_positive
30004 instead of exp (lgamma) for other arguments.
30005 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30006 (gamma_coeff): New variable.
30007 (NCOEFF): New macro.
30008 (gammal_positive): New function.
30009 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30010 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30011 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30012 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30013 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30014 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30015 * sysdeps/generic/math_private.h (__gamma_productf): New
30016 prototype.
30017 (__gamma_product): Likewise.
30018 (__gamma_productl): Likewise.
30019 * math/Makefile (libm-calls): Add gamma_product.
30020 * math/libm-test.inc (tgamma_test): Add more tests.
30021 * sysdeps/i386/fpu/libm-test-ulps: Update.
30022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30023
bb7cf681
OB
300242013-05-08 Ondřej Bílka <neleai@seznam.cz>
30025
30026 * benchtests/bench-skeleton.c (main): Preheat CPU.
30027
ba853947
AJ
300282013-05-07 Aurelien Jarno <aurelien@aurel32.net>
30029
30030 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30031
8347c74c
RM
300322013-05-07 Roland McGrath <roland@hack.frob.com>
30033
30034 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30035 and _dl_skip_args_internal.
30036
e8dd4791
CD
300372013-05-07 Carlos O'Donell <carlos@redhat.com>
30038
30039 * manual/message.texi (Message Translation): Talk about users.
30040 Message to key mapping impacts design.
30041
c7405830
RM
300422013-05-06 Roland McGrath <roland@hack.frob.com>
30043
a9173057
RM
30044 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30045
976e2f03
RM
30046 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30047
9723ffc5
RM
30048 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30049 * sysdeps/wordsize-64/glob64.c: ... here.
30050
962e6658
RM
30051 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30052 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30053 New macros.
30054
ee586a6d
RM
30055 * debug/getlogin_r_chk.c: Moved to ...
30056 * login/getlogin_r_chk.c: ... here.
30057 * debug/Makefile (routines): Move getlogin_r_chk to ...
30058 * login/Makefile (routines): ... here.
30059 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30060 * login/Versions (libc: GLIBC_2.4): ... here.
30061
355f9165
RM
30062 * io/poll.c (__poll): Renamed from poll.
30063 Add libc_hidden_def.
30064 (poll): Define as weak alias.
30065
bd9ffde6
RM
30066 * debug/ptsname_r_chk.c: Moved to ...
30067 * login/ptsname_r_chk.c: ... here.
30068 * debug/Makefile (routines): Move ptsname_r_chk to ...
30069 * login/Makefile (routines): ... here.
30070 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30071 * login/Versions (libc: GLIBC_2.4): ... here.
30072
8fb16a04
RM
30073 * posix/getlogin.c: Moved to ...
30074 * login/getlogin.c: ... here.
30075 * posix/getlogin_r.c: Moved to ...
30076 * login/getlogin_r.c: ... here.
30077 * posix/getlogin_r.c: Moved to ...
30078 * login/getlogin_r.c: ... here.
30079 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30080 * login/Makefile (routines): ... here.
30081 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30082 * login/Versions (libc: GLIBC_2.0): ... here.
30083
b99b892f
RM
30084 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30085 (setrlimit): Define as weak alias.
30086
c7405830
RM
30087 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30088 Call __ names for open, ftruncate, and close.
30089 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30090 (truncate): Define as weak alias.
30091
5bf96de5
JM
300922013-05-06 Joseph Myers <joseph@codesourcery.com>
30093
9ea3513c
JM
30094 * math/gen-libm-test.pl (parse_args): Initialize x before each
30095 test of frexp, modf and remquo.
30096
5bf96de5
JM
30097 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30098 test signgam value.
30099
16e616a7
AZ
301002013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30101
30102 [BZ #15418]
30103 [BZ #15419]
30104 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30105 internal tests.
30106 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30107
d5e82754
RM
301082013-05-06 Roland McGrath <roland@hack.frob.com>
30109
30110 * elf/dl-writev.h: New file.
30111 * elf/dl-misc.c: Include it.
30112 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30113 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30114
a7548d41
JM
301152013-05-04 Joseph Myers <joseph@codesourcery.com>
30116
b7dab1e4
JM
30117 * math/libm-test.inc (noXFails): Remove variable.
30118 (noXPasses): Likewise.
30119 (BUILD_COMPLEX_INT): Remove macro.
30120 (print_screen): Remove xfail argument.
30121 (print_screen_max_error): Likewise.
30122 (update_stats): Likewise.
30123 (print_max_error): Likewise. Update calls to other affected
30124 functions.
30125 (print_complex_max_error): Likewise.
30126 (test_single_exception): Update calls to print_screen.
30127 (test_single_errno): Likewise.
30128 (check_float_internal): Remove xfail argument. Update calls to
30129 other affected functions.
30130 (check_float): Likewise.
30131 (check_complex): Likewise.
30132 (check_int): Likewise.
30133 (check_long): Likewise.
30134 (check_bool): Likewise.
30135 (check_longlong): Likewise.
30136 (main): Don't print noXFails and noXPasses.
30137 * math/gen-libm-test.pl (top level): Don't mention expected
30138 failure handling in comment.
30139 (new_test): Don't handle expected failures.
30140 (parse_args): Don't mention expected failure handling in comment.
30141 (generate_testfile): Don't handle expected failures.
30142 (parse_ulps): Likewise.
30143 (print_ulps_file): Likewise.
30144 (get_failure): Remove function.
30145 (output_test): Don't handle expected failures.
30146 * make/README.libm-test: Don't mention expected failure handling.
30147
a7548d41
JM
30148 * math/libm-test.inc (plus_zero): Make const. Add initializer.
30149 (minus_zero): Likewise.
30150 (plus_infty): Likewise.
30151 (minus_infty): Likewise.
30152 (qnan_value): Likewise.
30153 (max_value): Likewise.
30154 (min_value): Likewise.
30155 (min_subnorm_value): Likewise.
30156 (initialize): Do not initialize those variables dynamically.
30157
60bfd54c
RM
301582013-05-03 Roland McGrath <roland@hack.frob.com>
30159
cc0e6ed8
RM
30160 * io/open.c (__open_2): Moved to ...
30161 * io/open_2.c: ... this new file.
30162 * io/open64.c (__open64_2): Moved to ...
30163 * io/open64_2.c: ... this new file.
30164 * io/openat.c (__openat_2): Moved to ...
30165 * io/openat_2.c: ... this new file.
30166 * io/openat64.c (__openat64_2): Moved to ...
30167 * io/openat64_2.c: ... this new file.
30168 * io/Makefile (routines): Add them.
30169 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30170 * sysdeps/unix/sysv/linux/open_2.c: File removed.
30171 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30172 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30173 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30174 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30175 (__openat64): Add hidden_ver.
30176 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30177 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30178
60bfd54c
RM
30179 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30180 Separately conditionalize setting of GLRO(dl_sysinfo) so
30181 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30182 as well, but the actual setting is only under [NEED_DL_SYSINFO].
30183
83e7640f
AZ
301842013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30185
30186 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30187 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30188 definition.
30189 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30190 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30191 (_libc_vdso_platform_setup): Add __vdso_time initialization.
30192 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30193 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30194
d5dc2af3
JM
301952013-05-03 Joseph Myers <joseph@codesourcery.com>
30196
c31a5b1e
JM
30197 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30198 test signgam value.
30199
d5dc2af3
JM
30200 * math/libm-test.inc (hypot_test): Do not use
30201 IGNORE_ZERO_INF_SIGN.
30202
164fd39d
AJ
302032013-05-03 Andreas Jaeger <aj@suse.de>
30204
30205 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30206 Linux 3.9.
30207 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30208 (PF_MAX): Adjust for VSOCK change.
30209
8237f48c
AZ
302102013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30211
30212 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30213
9df02941
CD
302142013-05-02 Carlos O'Donell <carlos@redhat.com>
30215
30216 [BZ #15264]
30217 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30218 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30219 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30220
d422395e
DM
302212013-05-02 David S. Miller <davem@davemloft.net>
30222
30223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30224
a07c5731
OB
302252013-05-01 Ondřej Bílka <neleai@seznam.cz>
30226
30227 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30228
1324e37f
RM
302292013-05-01 Roland McGrath <roland@hack.frob.com>
30230
30231 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30232
0695940b
RS
302332013-05-01 Richard Smith <richard@metafoo.co.uk>
30234
bb5f27ad 30235 [BZ #14952]
0695940b
RS
30236 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30237 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30238 Use __attribute__ ((__gnu_inline__)).
30239 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30240 Don't use __attribute__ ((__gnu_inline__)).
30241
10de07f5
JM
302422013-05-01 Joseph Myers <joseph@codesourcery.com>
30243
30244 [BZ #15423]
30245 * math/s_catan.c (__catan): Handle small real or imaginary part of
30246 input specially to avoid spurious underflow.
30247 * math/s_catanf.c (__catanf): Likewise.
30248 * math/s_catanh.c (__catanh): Likewise.
30249 * math/s_catanhf.c (__catanhf): Likewise.
30250 * math/s_catanhl.c (__catanhl): Likewise.
30251 * math/s_catanl.c (__catanl): Likewise.
30252 * math/libm-test.inc (catan_test): Add more tests.
30253 (catanh_test): Likewise.
30254 * sysdeps/i386/fpu/libm-test-ulps: Update.
30255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30256
cb4d5414
AZ
302572013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30258
30259 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30260
caf84319
JM
302612013-04-30 Joseph Myers <joseph@codesourcery.com>
30262
30263 [BZ #15416]
30264 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30265 accurately for denominator in atan2.
30266 * math/s_catanf.c (__catanf): Likewise.
30267 * math/s_catanh.c (__catanh): Likewise.
30268 * math/s_catanhf.c (__catanhf): Likewise.
30269 * math/s_catanhl.c (__catanhl): Likewise.
30270 * math/s_catanl.c (__catanl): Likewise.
30271 * math/libm-test.inc (catan_test): Add more tests.
30272 (catanh_test): Likewise.
30273 * sysdeps/i386/fpu/libm-test-ulps: Update.
30274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30275
d569c6ee
SP
302762013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30277
6dbe713d
SP
30278 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30279
f0ee064b
SP
30280 * benchtests/Makefile (bench): Remove slow benchmarks.
30281 * benchtests/atan-inputs: Add slow benchmark inputs.
30282 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30283 (BENCH_FUNC): Accept variant offset.
30284 (VARIANT): Define.
30285 * benchtests/bench-skeleton.c (main): Run benchmark for each
30286 variant.
30287 * benchtests/cos-inputs: Add slow benchmark inputs.
30288 * benchtests/exp-inputs: Likewise.
30289 * benchtests/pow-inputs: Likewise.
30290 * benchtests/sin-inputs: Likewise.
30291 * benchtests/slowatan-inputs: Remove.
30292 * benchtests/slowatan.c: Remove.
30293 * benchtests/slowcos-inputs: Remove.
30294 * benchtests/slowcos.c: Remove.
30295 * benchtests/slowexp-inputs: Remove.
30296 * benchtests/slowexp.c: Remove.
30297 * benchtests/slowpow-inputs: Remove.
30298 * benchtests/slowpow.c: Remove.
30299 * benchtests/slowsin-inputs: Remove.
30300 * benchtests/slowsin.c: Remove.
30301 * benchtests/slowtan-inputs: Remove.
30302 * benchtests/slowtan.c: Remove.
30303 * benchtests/tan-inputs: Add slow benchmark inputs.
30304 * scripts/bench.pl: Parse comments and directives.
30305
d569c6ee
SP
30306 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30307 in CPPFLAGS.
30308 ($(objpfx)bench-%.c): Remove *-ITER.
30309 * benchtests/bench-modf.c: Remove definition of ITER.
30310 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30311 (main): Loop for DURATION seconds instead of fixed number of
30312 iterations.
30313 * scripts/bench.pl: Don't expect iterations in parameters.
30314
a6a242fe
RM
303152013-04-29 Roland McGrath <roland@hack.frob.com>
30316
30317 * io/fchdir.c (__fchdir): Renamed from fchdir.
30318 (fchdir): Define as weak alias.
30319
f2da7793
JM
303202013-04-29 Joseph Myers <joseph@codesourcery.com>
30321
30322 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30323 (ERRNO_EDOM): Likewise.
30324 (ERRNO_ERANGE): Likewise.
30325 (noErrnoTests): New variable.
30326 (init_max_error): Set errno to 0.
30327 (test_single_errno): New function.
30328 (test_errno): Likewise.
30329 (check_float_internal): Call test_errno. Set errno to 0.
30330 (check_complex): Refer to errno tests in comment.
30331 (check_int): Call test_errno. Set errno to 0.
30332 (check_long): Likewise.
30333 (check_bool): Likewise.
30334 (check_longlong): Likewise.
30335 (cos_test): Use ERRNO_* flags for errno tests instead of
30336 check_int.
30337 (expm1_test): Likewise.
30338 (fmod_test): Likewise.
30339 (ilogb_test): Likewise.
30340 (lgamma_test): Likewise.
30341 (pow_test): Likewise.
30342 (remainder_test): Likewise.
30343 (sin_test): Likewise.
30344 (tan_test): Likewise.
30345 (yn_test): Likewise.
30346 (initialize): Set errno to 0.
30347 (main): Print number of errno tests.
30348 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30349
b1a36ceb
AJ
303502013-04-29 Andreas Jaeger <aj@suse.de>
30351
c3ed8088
AJ
30352 [BZ #15084]
30353 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30354 and RES_USEVC.
30355
f1a24198
AJ
30356 [BZ #15085]
30357 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30358 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30359 unimplemented.
30360
9ce3b2cb
AJ
30361 [BZ #15380]
30362 * stdlib/random.c (__initstate): Return NULL if
30363 __initstate fails.
30364
f1a24198 30365 [BZ #15086]
b1a36ceb
AJ
30366 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30367 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30368 RES_SNGLKUPREOP.
30369
7e7b6f36
AZ
303702013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30371
30372 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30373
4d14f449
JM
303742013-04-29 Joseph Myers <joseph@codesourcery.com>
30375
30376 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30377 of individual tests.
30378 (casin_test): Likewise.
30379 (casinh_test): Likewise.
30380
5b4217d7
JM
303812013-04-27 Joseph Myers <joseph@codesourcery.com>
30382
30383 [BZ #15409]
30384 * math/s_catan.c (__catan): Handle arguments with large real or
30385 imaginary part separately without squaring.
30386 * math/s_catanf.c (__catanf): Likewise.
30387 * math/s_catanh.c (__catanh): Likewise.
30388 * math/s_catanhf.c (__catanhf): Likewise.
30389 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30390 and redefine.
30391 (__catanhl): Handle arguments with large real or imaginary part
30392 separately without squaring.
30393 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30394 and redefine.
30395 (__catanl): Handle arguments with large real or imaginary part
30396 separately without squaring.
30397 * math/libm-test.inc (catan_test): Add more tests.
30398 (catanh_test): Likewise.
30399 * sysdeps/i386/fpu/libm-test-ulps: Update.
30400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30401
4220c3ef
AJ
304022013-04-27 Andreas Jaeger <aj@suse.de>
30403
30404 [BZ #15007]
30405 * stdlib/stdlib.h: Update guards for qecvt.
30406 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30407 <stdlib.h>.
30408
4721b2d1
AM
304092013-04-27 Allan McRae <allan@archlinux.org>
30410
30411 * sysdeps/i386/fpu/libm-test-ulps: Update.
30412
f0302940
JM
304132013-04-26 Joseph Myers <joseph@codesourcery.com>
30414
9457fd95
JM
30415 [BZ #15406]
30416 * math/s_catan.c: Include <float.h>.
30417 (__catan): Ensure underflow exception occurs for underflowed
30418 result.
30419 * math/s_catanf.c: Include <float.h>.
30420 (__catanf): Ensure underflow exception occurs for underflowed
30421 result.
30422 * math/s_catanh.c: Include <float.h>.
30423 (__catanh): Ensure underflow exception occurs for underflowed
30424 result.
30425 * math/s_catanhf.c: Include <float.h>.
30426 (__catanhf): Ensure underflow exception occurs for underflowed
30427 result.
30428 * math/s_catanhl.c: Include <float.h>.
30429 (__catanhl): Ensure underflow exception occurs for underflowed
30430 result.
30431 * math/s_catanl.c: Include <float.h>.
30432 (__catanl): Ensure underflow exception occurs for underflowed
30433 result.
30434 * math/libm-test.inc (catan_test): Add more tests.
30435 (catanh_test): Likewise.
30436
f0302940
JM
30437 [BZ #15405]
30438 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30439 underflowed result.
30440 * math/s_ccoshf.c (__ccoshf): Likewise.
30441 * math/s_ccoshl.c (__ccoshl): Likewise.
30442 * math/s_csin.c (__csin): Likewise.
30443 * math/s_csinf.c (__csinf): Likewise.
30444 * math/s_csinh.c (__csinh): Likewise.
30445 * math/s_csinhf.c (__csinhf): Likewise.
30446 * math/s_csinhl.c (__csinhl): Likewise.
30447 * math/s_csinl.c (__csinl): Likewise.
30448 * math/libm-test.inc (ccos_test): Add more tests.
30449 (ccosh_test): Likewise.
30450 (csin_test): Likewise.
30451 (csinh_test): Likewise.
30452
aa630f59
AZ
304532013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30454
30455 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30456 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30457 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30458 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30459 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30460 powerpc/power5+/fpu folders.
30461 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30462
30463
1b835983
MT
304642013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30465
30466 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30467
73709b26
JM
304682013-04-25 Joseph Myers <joseph@codesourcery.com>
30469
30470 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30471 additions to variable.
30472 [$(config-machine) = x86_64] (modules-names): Likewise.
30473 ($(objpfx)tst-audit3): Remove dependency.
30474 ($(objpfx)tst-audit3.out): Likewise.
30475 ($(objpfx)tst-audit4): Likewise.
30476 ($(objpfx)tst-audit4.out): Likewise.
30477 ($(objpfx)tst-audit5): Likewise.
30478 ($(objpfx)tst-audit5.out): Likewise.
30479 ($(objpfx)tst-audit6): Likewise.
30480 ($(objpfx)tst-audit6.out): Likewise.
30481 ($(objpfx)tst-audit7): Likewise.
30482 ($(objpfx)tst-audit7.out): Likewise.
30483 (tst-audit3-ENV): Remove variable.
30484 (tst-audit4-ENV): Likewise.
30485 (tst-audit5-ENV): Likewise.
30486 (tst-audit6-ENV): Likewise.
30487 (tst-audit7-ENV): Likewise.
30488 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30489 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30490 addition to variable.
30491 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30492 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30493 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30494 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30495 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30496 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30497 tst-audit3, tst-audit4 and tst-audit5.
30498 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30499 tst-audit6 and tst-audit7.
30500 [$(subdir) = elf] (modules-names): Add audit modules for those
30501 tests.
30502 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30503 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30504 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30505 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30506 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30507 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30508 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30509 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30510 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30511 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30512 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30513 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30514 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30515 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30516 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30517 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30518 Likewise.
30519 [$(subdir) = elf && $(config-cflags-avx) = yes]
30520 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30521 [$(subdir) = elf && $(config-cflags-avx) = yes]
30522 (CFLAGS-tst-auditmod4a.c): Likewise.
30523 [$(subdir) = elf && $(config-cflags-avx) = yes]
30524 (CFLAGS-tst-auditmod4b.c): Likewise.
30525 [$(subdir) = elf && $(config-cflags-avx) = yes]
30526 (CFLAGS-tst-auditmod6b.c): Likewise.
30527 [$(subdir) = elf && $(config-cflags-avx) = yes]
30528 (CFLAGS-tst-auditmod6c.c): Likewise.
30529 [$(subdir) = elf && $(config-cflags-avx) = yes]
30530 (CFLAGS-tst-auditmod7b.c): Likewise.
30531 * elf/tst-audit3.c: Move to ...
30532 * sysdeps/x86_64/tst-audit3.c: ... here.
30533 * elf/tst-audit4.c: Move to ...
30534 * sysdeps/x86_64/tst-audit4.c: ... here.
30535 * elf/tst-audit5.c: Move to ...
30536 * sysdeps/x86_64/tst-audit5.c: ... here.
30537 * elf/tst-audit6.c: Move to ...
30538 * sysdeps/x86_64/tst-audit6.c: ... here.
30539 * elf/tst-audit7.c: Move to ...
30540 * sysdeps/x86_64/tst-audit7.c: ... here.
30541 * elf/tst-auditmod3a.c: Move to ...
30542 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30543 * elf/tst-auditmod3b.c: Move to ...
30544 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30545 * elf/tst-auditmod4a.c: Move to ...
30546 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30547 * elf/tst-auditmod4b.c: Move to ...
30548 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30549 * elf/tst-auditmod5a.c: Move to ...
30550 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30551 * elf/tst-auditmod5b.c: Move to ...
30552 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30553 * elf/tst-auditmod6a.c: Move to ...
30554 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30555 * elf/tst-auditmod6b.c: Move to ...
30556 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30557 * elf/tst-auditmod6c.c: Move to ...
30558 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30559 * elf/tst-auditmod7a.c: Move to ...
30560 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30561 * elf/tst-auditmod7b.c: Move to ...
30562 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30563
1ef74943
PP
305642013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30565
30566 [BZ #15366]
30567 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30568 define unconditionally.
30569 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30570 define unconditionally.
30571 (INT8_C, INT16_C, etc.): Likewise.
30572
93fd48c5
MR
305732013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30574
ae9552cf
MR
30575 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30576 __ehdr_start with hidden visibility.
30577
93fd48c5
MR
30578 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30579
418601aa
CD
305802013-04-24 Carlos O'Donell <carlos@redhat.com>
30581
30582 * math/libm-test.inc (cos_test): Use accurate hex constants.
30583 (sincost_test): Likewise.
30584
2f38fbfe
JM
305852013-04-24 Joseph Myers <joseph@codesourcery.com>
30586
5e221800
JM
30587 * math/libm-test.inc (catan_test): Add more tests.
30588 (catanh_test): Likewise.
30589
77f143fd
JM
30590 * math/s_catanf.c (__catanf): Use suffixed floating-point
30591 constants.
30592 * math/s_catanhf.c (__catanhf): Likewise.
30593 * math/s_catanhl.c (__catanhl): Likewise.
30594 * math/s_catanl.c (__catanl): Likewise.
30595
2f38fbfe
JM
30596 [BZ #15394]
30597 * math/s_catan.c (__catan): Calculate imaginary part of result
30598 with log1p not log unless computing log of number close to 0.
30599 * math/s_catanf.c (__catanf): Likewise.
30600 * math/s_catanl.c (__catanl): Likewise.
30601 * math/s_catanh.c (__catanh): Calculate real part of result with
30602 log1p not log unless computing log of number close to 0.
30603 * math/s_catanhf.c (__catanhf): Likewise.
30604 * math/s_catanhl.c (__catanhl): Likewise.
30605 * math/libm-test.inc (catan_test): Add more tests.
30606 (catanh_test): Likewise.
30607 * sysdeps/i386/fpu/libm-test-ulps: Update.
30608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30609
45d69176
SP
306102013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30611
30612 * benchtests/Makefile: Mention files in which fast and slow
30613 paths of math functions are implemented.
30614
87f51853
RM
306152013-04-23 Roland McGrath <roland@hack.frob.com>
30616
30617 * sysdeps/posix/timespec_get.c: New file.
30618
3c026539
AZ
306192013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30620
30621 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30622 POWER.
30623 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30624 for POWER.
30625 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30626 powerpc/power5/fpu folders.
30627 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30628 * benchtests/Makefile: Add modf testcase.
30629 * benchtests/bench-modf.c: New file: Benchmark test for mo
30630
ff491d14
SP
306312013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30632
30633 [BZ #14888]
30634 * time/Makefile (tests): Add tst-strptime-whitespace.
30635 * time/strptime_l.c (get_number): Use ISSPACE.
30636 (__strptime_internal): Likewise.
30637 * time/tst-strptime-whitespace.c: New test case.
30638
7ed3f4e8
AS
306392013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30640
30641 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30642 member.
30643 (_nss_files_init): Set it here.
30644
5c95f7b6
HC
306452013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30646
30647 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30648 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30649 unsigned.
30650
d34c9158
JBG
306512013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30652
30653 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30654
2169712d
SP
306552013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30656
30657 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30658 size just once.
30659
29c5de99
DM
306602013-04-21 David S. Miller <davem@davemloft.net>
30661
30662 * po/ru.po: Update Russion translation from translation project.
30663
ccdad15d
AC
306642013-04-17 Adam Conrad <adconrad@0c3.net>
30665
30666 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30667 and setfsgid.
30668
0f122b8d
CD
306692013-04-17 Carlos O'Donell <carlos@redhat.com>
30670
5c5b07da 30671 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30672 * configure: Regenerate.
5c5b07da 30673 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30674 Add example to error message.
30675 * sysdeps/i386/configure: Regenerate.
30676
037714dd
SP
306772013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30678
30679 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30680 slowtan.
30681 * benchtests/cos-inputs: New file.
30682 * benchtests/slowcos-inputs: New file.
30683 * benchtests/slowcos.c: New file.
30684 * benchtests/slowtan-inputs: New file.
30685 * benchtests/slowtan.c: New file.
30686 * benchtests/tan-inputs: New file.
30687
e913141d
RM
306882013-04-16 Roland McGrath <roland@hack.frob.com>
30689
30690 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30691 considered kosher.
30692
a2964074
SP
306932013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30694
4856bcd2
SP
30695 * benchtests/Makefile: Include cppflags-iterator.mk to add
30696 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30697
a2964074
SP
30698 * Makefile.in (bench-clean): New target.
30699 * benchtests/Makefile (bench-clean): Likewise.
30700
9fbf9aca
DH
307012013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30702
30703 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30704
207d1e2a
TS
307052013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30706
30707 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30708
306dfba9
AS
307092013-04-15 Andreas Schwab <schwab@suse.de>
30710
30711 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30712 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30713 * nscd/pwdcache.c (cache_addpw): Likewise.
30714 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30715 more than recsize.
30716
206a6699
SP
307172013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30718
30719 * benchtests/Makefile (bench): Write all output to
30720 bench-out.tmp together.
30721
0582f6b3
AS
307222013-04-15 Andreas Schwab <schwab@suse.de>
30723
30724 * nscd/nscd.c (main): Don't fork again after closing files.
30725
acb4325f
SP
307262013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30727
5cb26d0a
SP
30728 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30729
acb4325f
SP
30730 * benchtests/Rules (bench-deps): Collect dependencies into a
30731 single variable. Add Makefile to dependencies.
30732 ($(objpfx)bench-%.c): Depend on bench-deps.
30733
47792506
RM
307342013-04-12 Roland McGrath <roland@hack.frob.com>
30735 Xavier Roche <roche+kml2@exalead.com>
30736
30737 [BZ #15361]
30738 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30739 just that it's a file descriptor.
30740 * manual/llio.texi (Synchronizing AIO Operations): Update description
30741 for EBADF error from aio_fsync.
30742
8fc1bee5
SP
307432013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30744
30745 * Rules (bench): Move target definition...
30746 * benchtests/Makefile: ... here.
30747
aba5e333
CD
307482013-04-11 Carlos O'Donell <carlos@redhat.com>
30749
30750 * math/libm-test.inc (cos_test): Fix PI/2 test.
30751 (sincos_test): Likewise.
30752 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30753 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30754
273cdee8
AS
307552013-04-11 Andreas Schwab <schwab@suse.de>
30756
6ecec3b6
AS
30757 [BZ #13988]
30758 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30759 accept exponent character only when digits were seen.
30760 * stdio-common/Makefile (tests): Add bug26.
30761 * stdio-common/bug26.c: New file.
30762
273cdee8
AS
30763 [BZ #14293]
30764 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30765 non-freeable.
30766
8da491f5
SP
307672013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30768
01dc6df9
SP
30769 * Makeconfig (rtld-prefix): Define built linker prefix.
30770 * Rules (run-bench): Use it.
30771 * math/Makefile (run-regen-ulps): Likewise.
30772
8da491f5
SP
30773 * Rules (bench): Remove eval.
30774
abe7f530
SP
307752013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30776 Roland McGrath <roland@hack.frob.com>
30777 Ondrej Bilka <neleai@seznam.cz>
30778
30779 [BZ #15346]
30780 * time/getdate.c: Include ctype.h and alloca.h.
30781 (__getdate_r): Trim leading and trailing spaces of input.
30782 * time/tst-getdate.c (tests): Add tests with leading and
30783 trailing spaces.
30784
61c23e62
RM
307852013-04-08 Roland McGrath <roland@hack.frob.com>
30786
30787 [BZ #14280]
30788 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30789 when computing value.
30790
7208a313
CD
307912013-04-06 Carlos O'Donell <carlos@redhat.com>
30792
085b2d41
CD
30793 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30794 Use testrun.sh to run libm tests.
30795
7208a313
CD
30796 [BZ #15309]
30797 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30798
872c0acd
MM
307992013-04-06 Marko Myllynen <myllynen@redhat.com>
30800
30801 [BZ #15264]
30802 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30803
26510bdd
CD
308042013-04-06 Carlos O'Donell <carlos@redhat.com>
30805
30806 * Makefile.in (regen-ulps): New target.
30807 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30808 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30809 [ifneq (no,$(PERL)] (regen-ulps): New target.
30810 [ifeq (no,$(PERL)] (regen-ulps): New target.
30811 * math/libm-test.inc (ulps_file_name): Define.
30812 (output_dir): New variable.
30813 (options): Add "output-dir" option.
30814 (parse_opt): Handle 'o' case.
30815 (main): If output_dir is non-NULL use it as a prefix
30816 otherwise use "".
30817 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30818
a01f19c8
CD
308192013-04-06 Carlos O'Donell <carlos@redhat.com>
30820
30821 [BZ #10060, #10062]
30822 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30823 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30824 fail configure if __sync_val_compare_and_swap is not inlined.
30825 * sysdeps/i386/configure: Regenerate.
30826 * configure.in: Build for i686 when configured for i386.
30827 * configure: Regenerate.
30828 * README: Remove i386 reference.
30829
b7a329a5
CD
308302013-04-06 Carlos O'Donell <carlos@redhat.com>
30831
30832 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30833 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30834
bf0f50df
TS
308352013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30836
ee091edf
TS
30837 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30838 (lmsnanval): New variables.
30839 (F): Add conversion tests.
30840 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30841 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30842
a8b792d6
TS
30843 * stdio-common/tstdiomisc.c (F): Properly collect individual
30844 tests' results.
30845
a1cbf437
TS
30846 [BZ #14686, #15336]
30847 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30848 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30849 Instead, use input NaN values or generate a qNaN by arithmetic
30850 operation. Also fix bugs to comply with the standard.
30851 * math/libm-test.inc (remainder_test): Add more tests.
30852
8b43a0c9
TS
30853 [BZ #15335, #15342]
30854 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30855 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30856 input NaN values or generate a qNaN by arithmetic operation.
30857
d91da4ce
TS
30858 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30859 unreachable code.
30860
bf0f50df
TS
30861 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30862 definitions.
30863
05e166c8
JM
308642013-04-03 Joseph Myers <joseph@codesourcery.com>
30865
30866 [BZ #14478]
30867 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30868 underflowed result.
30869 * math/s_cexpf.c (__cexpf): Likewise.
30870 * math/s_cexpl.c (__cexpl): Likewise.
30871 * math/libm-test.inc (cexp_test): Add more tests.
30872
1cef1b19
AS
308732013-04-03 Andreas Schwab <schwab@suse.de>
30874
30875 [BZ #15330]
30876 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30877 order arrays from heap if bigger than alloca cutoff.
30878
74d87055
TS
308792013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30880
30881 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30882 (SNAN_TESTS_double): Refer to GCC PR56831.
30883 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30884 GCC PR56828.
30885
d755bba4
SP
308862013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30887
90d5d5bb
SP
30888 * Rules (bench): Move bench.out after the run is complete.
30889
73e0cd5d
SP
30890 * Rules (bench): Echo currently running benchmark.
30891
64aabd4b
SP
30892 * benchtests/Makefile (bench): Add atan and slowatan.
30893 * benchtests/atan-inputs: New file.
30894 * benchtests/slowatan-inputs: New file.
30895 * benchtests/slowatan.c: New file.
30896
c871eccd
SP
30897 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30898 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30899 its value.
30900
d755bba4
SP
30901 [BZ #15305]
30902 * sysdeps/unix/sysv/linux/kernel-features.h
30903 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30904 __ASSUME_XFS_RESTRICTED_CHOWN.
30905 * sysdeps/unix/sysv/linux/pathconf.c
30906 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30907 Save and restore errno.
30908
52ce4860
JM
309092013-04-02 Joseph Myers <joseph@codesourcery.com>
30910
30911 [BZ #15327]
30912 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30913 arguments using __kernel_casinh.
30914 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30915 arguments using __kernel_casinhf.
30916 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30917 arguments using __kernel_casinhl.
30918 * math/libm-test.inc (cacosh_test): Add more tests.
30919 * sysdeps/i386/fpu/libm-test-ulps: Update.
30920 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30921
81f311c2
SP
309222013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30923
e7906a47
SP
30924 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30925 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30926
92e3664b
SP
30927 * bench/Makefile (bench): Add sin and slowsin.
30928 * benchtests/sin-inputs: New file.
30929 * benchtests/slowsin-inputs: New file.
30930 * benchtests/slowsin.c: New file.
30931
81f311c2
SP
30932 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30933 (bench): Add slowexp and slowpow.
30934 (exp-ITER): Increase iterations.
30935 (pow-ITER): Likewise.
30936 * benchtests/exp-inputs: Change input.
30937 * benchtests/pow-inputs: Likewise.
30938 * benchtests/slowexp-inputs: New file.
30939 * benchtests/slowexp.c: New file.
30940 * benchtests/slowpow-inputs: New file.
30941 * benchtests/slowpow.c: New file.
30942
ab0f1aa9
AZ
309432013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30944
30945 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
30946 instructions.
30947 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30948 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
30949 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
30950 * benchtests/Makefile: Add rint benchtest.
30951 * benchtests/rint-inputs: Input for rint benchtest.
30952
57267616
TS
309532013-04-02 Thomas Schwinge <thomas@codesourcery.com>
30954
30955 * Versions.def (libm): Add GLIBC_2.18.
30956 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
30957 hidden libm prototypes.
30958 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
30959 * math/Makefile (libm-calls): Add s_issignaling.
30960 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
30961 __issignalingf, __issignalingl. Adjust all libm.abilist files.
30962 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
30963 declaration.
30964 * math/math.h [__USE_GNU] (issignaling): New macro.
30965 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
30966 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
30967 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
30968 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
30969 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
30970 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
30971 * manual/arith.texi (issignaling): New section.
30972 * manual/libm-err-tab.pl (@all_functions): Update comment.
30973 * math/gen-libm-test.pl (parse_args): Apply special handling for
30974 issignaling.
30975 * math/libm-test.inc (print_float, issignaling_test): New
30976 functions.
30977 (check_float_internal): Add issignaling checks.
30978 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
30979 default definition.
30980 * sysdeps/powerpc/math-tests.h: New file.
30981 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
30982 tests.
30983 * math/test-snan.c (TEST_FUNC): Likewise.
30984
6142896d
DM
309852013-03-30 David S. Miller <davem@davemloft.net>
30986
30987 * po/de.po: Update from translation team.
30988
ccc8cadf
JM
309892013-03-30 Joseph Myers <joseph@codesourcery.com>
30990
30991 [BZ #10357]
30992 * math/k_casinh.c (__kernel_casinh): Handle arguments with
30993 imaginary part less than 1.0 and real part less than 0.5
30994 specially.
30995 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30996 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30997 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
30998 (cacos_test): Add more tests.
30999 (casin_test): Likewise.
31000 (casinh_test): Likewise.
31001 * sysdeps/i386/fpu/libm-test-ulps: Update.
31002 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31003
0f6a8d4b
SP
310042013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31005
0d1029de
SP
31006 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31007 ONE with its value.
31008
c2d94018
SP
31009 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31010 (__pow_mp): Replace ONE and MONE with their values.
31011 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31012 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31013 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31014 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31015 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31016 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31017
27ec37f1
SP
31018 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31019
a64d7e0e
SP
31020 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31021 (__pow_mp): Replace ZERO and MZERO with their values.
31022 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31023 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31024 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31025 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31026 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31027 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31028 (__sqr): Likewise.
31029
d26dd3eb
SP
31030 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31031
0f6a8d4b
SP
31032 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31033
e57b0c61
RM
310342013-03-28 Roland McGrath <roland@hack.frob.com>
31035
31036 * include/stdlib.h [!SHARED] (__call_tls_dtors):
31037 Declare with __attribute__ ((weak)).
31038 * stdlib/exit.c (__libc_atexit) [!SHARED]:
31039 Call __call_tls_dtors only if it's not NULL.
31040
356b3480
RM
310412013-03-28 Roland McGrath <roland@hack.frob.com>
31042
288f7d79
RM
31043 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31044 didn't do it already, then set _dl_phdr and _dl_phnum based on the
31045 magic __ehdr_start linker symbol if it's defined.
31046 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31047 them up here if it was already done.
31048
dc0a0263
RM
31049 * elf/dl-support.c (_dl_phdr): Make pointer to const.
31050 (_dl_aux_init): Use const in cast when setting it.
31051 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31052 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31053 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31054
3d3436ae
RM
31055 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31056 Declare them here.
31057 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31058 * csu/libc-tls.c: Nor here.
31059 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31060
356b3480
RM
31061 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31062 (__libc_message): Never call vsyslog.
31063
b0f1246a
AM
310642013-03-28 Alan Modra <amodra@gmail.com>
31065
31066 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31067 Define as empty.
31068 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31069 Likewise.
31070
fbbe2b9a
AZ
310712013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31072
31073 [BZ #15214]
31074 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31075 underflow.
31076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31077
1728ab37
SP
310782013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31079
7a86be6e
SP
31080 [BZ #15304]
31081 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31082 Don't add gid passed as argument.
31083
1728ab37
SP
31084 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31085
3a7182a1
JM
310862013-03-27 Joseph Myers <joseph@codesourcery.com>
31087
31088 [BZ #15307]
31089 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31090 imaginary part between 1.0 and 1.5 and real part less than 0.5
31091 specially.
31092 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31093 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31094 * math/libm-test.inc (cacos_test): Add more tests.
31095 (casin_test): Likewise.
31096 (casinh_test): Likewise.
31097 * sysdeps/i386/fpu/libm-test-ulps: Update.
31098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31099
6f2e90e7
SP
311002013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31101
5739f705
SP
31102 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31103 constants.
31104 (norm): Likewise.
31105 (denorm): Likewise.
31106 (__dbl_mp): Likewise.
31107 (add_magnitudes): Likewise.
31108 (sub_magnitudes): Likewise.
31109 (__add): Likewise.
31110 (__sub): Likewise.
31111 (__mul): Likewise.
31112 (__sqr): Likewise.
31113 (__inv): Likewise.
31114 (__dvd): Likewise.
31115
e375e83d
SP
31116 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31117 commented code.
31118 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31119 (__dubcos): Likewise.
31120 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31121 (__ieee754_acos): Likewise.
31122 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31123 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31124 (__exp1): Likewise.
31125 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31126 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31127 (log1): Likewise.
31128 (my_log2): Likewise.
31129 (checkint): Likewise.
31130 * sysdeps/ieee754/dbl-64/e_remainder.c
31131 (__ieee754_remainder): Likewise.
31132 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31133 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31134 (bsloww): Likewise.
31135 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31136
6f2e90e7
SP
31137 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31138 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31139 MANTISSA_STORE_T to store computations on mantissa. Use
31140 macros for rounding and division.
31141 (denorm): Likewise.
31142 (__dbl_mp): Likewise.
31143 (add_magnitudes): Likewise.
31144 (sub_magnitudes): Likewise.
31145 (__mul): Likewise.
31146 (__sqr): Likewise.
31147 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31148 powers of two in terms of TWOPOW macro.
31149 (mp_no): Make type of mantissa as MANTISSA_T.
31150 [!RADIXI]: Define RADIXI.
31151 [!TWO52]: Define TWO52.
31152 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31153
fce14d4e
AZ
311542013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31155
31156 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31157 llroundl symbol when building for PPC32.
31158
9ad027fb
MW
311592013-03-24 Mark H Weaver <mhw@netris.org>
31160
31161 * manual/arith.texi (Normalization Functions): Fix prototypes for
31162 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31163
e42a38dd
AZ
311642013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31165
31166 [BZ #13889]
31167 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31168 high value to check if expl overflow.
31169 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31170 to check for underflow and overflow.
31171 * math/libm-test.inc: Add exp test.
31172
2e0fb521
DL
311732013-03-21 Dmitry V. Levin <ldv@altlinux.org>
31174
31175 [BZ #11120]
31176 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31177 with NOT_IN_libc.
31178
b5784d95
AZ
311792013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31180
31181 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31182 symbol.
31183
5aa4a1a1
TS
311842013-03-21 Thomas Schwinge <thomas@codesourcery.com>
31185
bdef0be7
TS
31186 * math/gen-libm-test.pl (parse_args, special_functions): Properly
31187 wrap blocks consisting of several statements.
31188
5aa4a1a1
TS
31189 * sysdeps/generic/math-tests.h: New file.
31190 * sysdeps/i386/fpu/math-tests.h: Likewise.
31191 * math/test-snan.c: Include it.
31192 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31193
98c48fe5
JM
311942013-03-21 Joseph Myers <joseph@codesourcery.com>
31195
31196 [BZ #15285]
31197 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31198 (__ieee754_j0l): Do not improve calculations using cos of twice
31199 input for inputs above LDBL_MAX / 2.0L.
31200 (__ieee754_y0l): Likewise.
31201 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31202 (__ieee754_j1l): Do not improve calculations using cos of twice
31203 input for inputs above LDBL_MAX / 2.0L.
31204 (__ieee754_y1l): Likewise.
31205 * math/libm-test.inc (j0_test): Add another test.
31206 (j1_test): Likewise.
31207 (y0_test): Likewise.
31208 (y1_test): Likewise.
31209 * sysdeps/i386/fpu/libm-test-ulps: Update.
31210
3775a8bc
SP
312112013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31212
31213 * Rules ($(objpfx)bench-%.c): Include code from a C source
31214 file.
31215
0a1b2ae6
JM
312162013-03-21 Joseph Myers <joseph@codesourcery.com>
31217
31218 [BZ #15287]
31219 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31220 imaginary part 1.0 and real part less than 0.5 specially.
31221 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31222 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31223 * math/libm-test.inc (cacos_test): Add more tests.
31224 (casin_test): Likewise.
31225 (casinh_test): Likewise.
31226 * sysdeps/i386/fpu/libm-test-ulps: Update.
31227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31228
b33d4ce4
SP
312292013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31230
31231 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31232 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31233
bef0b507
JM
312342013-03-20 Joseph Myers <joseph@codesourcery.com>
31235
31236 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31237 * config.make.in (config-cflags-sse4): Remove variable.
31238 (config-cflags-avx): Likewise.
31239 (config-cflags-sse2avx): Likewise.
31240 (config-cflags-novzeroupper): Likewise.
31241 (config-asflags-i686): Likewise.
31242 (have-mfma4): Likewise.
31243 (have-as-vis3): Likewise.
31244 (MIG): Likewise.
31245 * configure.in (MIG): Do not AC_SUBST.
31246 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31247 (libc_cv_cc_sse4): Do not AC_SUBST.
31248 (libc_cv_cc_avx): Likewise.
31249 (libc_cv_cc_sse2avx): Likewise.
31250 (libc_cv_cc_novzeroupper): Likewise.
31251 (libc_cv_cc_fma4): Likewise.
31252 (libc_cv_as_i686): Likewise.
31253 (libc_cv_sparc_as_vis3): Likewise.
31254 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31255 LIBC_CONFIG_VAR.
31256 (config-asflags-i686): Likewise.
31257 (config-cflags-avx): Likewise.
31258 (config-cflags-sse2avx): Likewise.
31259 (have-mfma4): Likewise.
31260 (config-cflags-novzeroupper): Likewise.
31261 * sysdeps/mach/configure.in (MIG): Likewise.
31262 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31263 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31264 LIBC_CONFIG_VAR.
31265 (config-cflags-avx): Likewise.
31266 (config-cflags-sse2avx): Likewise.
31267 (have-mfma4): Likewise.
31268 (config-cflags-novzeroupper): Likewise.
31269 * configure: Regenerated.
31270 * sysdeps/i386/configure: Likewise.
31271 * sysdeps/mach/configure: Likewise.
31272 * sysdeps/sparc/configure: Likewise.
31273 * sysdeps/x86_64/configure: Likewise.
31274
912cc4b3
RM
312752013-03-20 Roland McGrath <roland@hack.frob.com>
31276
31277 [BZ #14812]
31278 * locale/programs/localedef.c (options): Put N_ translation marker
31279 on argument names, not just descriptions.
31280
04eed2b0
MS
312812013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31282
31283 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31284
a065ceff
OB
312852013-03-20 Ondřej Bílka <neleai@seznam.cz>
31286
9bb2a810 31287 [BZ #14176]
a065ceff
OB
31288 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31289
a600e5ce
RM
312902013-03-19 Roland McGrath <roland@hack.frob.com>
31291
31292 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31293 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31294 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31295 [!BEFORE_ABORT] (before_abort): New function.
31296 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31297 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31298 (writev_for_fatal): New function.
31299 (WRITEV_FOR_FATAL): New macro; call that.
31300 (backtrace_and_maps): New function.
31301 (BEFORE_ABORT): New macro; call that.
31302 (struct str_list): Type removed.
31303 (__libc_message, __libc_fatal): Functions removed.
31304 Include <sysdeps/posix/libc_fatal.c> instead.
31305
6b18bea6
JM
313062013-03-19 Joseph Myers <joseph@codesourcery.com>
31307
31308 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31309 constants.
31310 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31311 double constants.
31312
aaa8cb4b
AS
313132013-03-19 Andreas Schwab <schwab@suse.de>
31314
44673770
AS
31315 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31316 * sysdeps/gnu/configure: Regenerate.
31317
aaa8cb4b
AS
31318 * configure.in: Substitute libc_cv_rtlddir.
31319 * configure: Regenerate.
31320 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31321 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31322 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31323 * elf/Makefile (install-others, CFLAGS-interp.c)
31324 (ldso_install, common-ldd-rewrite): Likewise.
31325 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31326 $(inst_slibdir)/$(rtld-installed-name).
31327 * scripts/rellns-sh: Add -p option.
31328 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31329 for source.
31330
d3cfc668
SP
313312013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31332
31333 * manual/nptl.texi: Renamed to ...
31334 * manual/threads.texi: ... this.
31335 * manual/Makefile (chapters): Update.
31336
0e2b9cdd
RM
313372013-03-18 Roland McGrath <roland@hack.frob.com>
31338
31339 [BZ #14812]
31340 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31341 on argument names, not just descriptions.
0e2b9cdd
RM
31342 * malloc/memusagestat.c (options): Likewise.
31343 * nss/getent.c (options): Likewise.
63270c24
RM
31344
313452013-03-18 Benno Schulenberg <bensberg@justemail.net>
31346
31347 [BZ #14812]
31348 * iconv/iconv_prog.c (options): Put N_ translation marker
31349 on argument names, not just descriptions.
31350 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 31351
b2e1393c
OB
313522013-03-18 Ondrej Bilka <neleai@seznam.cz>
31353
31354 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31355 implementation which is faster on all x86_64 architectures.
31356 Tested on AMD, Intel Nehalem, SNB, IVB.
31357 * sysdeps/x86_64/strnlen.S: Likewise.
31358
31359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31360 Remove all multiarch strlen and strnlen versions.
31361 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31362 Remove strlen and strnlen related parts.
31363
31364 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31365 Inline strlen part.
31366 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31367
31368 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31369 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31370 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31371 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31372 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31373 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31374
ec4ff04d
CD
313752013-03-17 Carlos O'Donell <carlos@redhat.com>
31376
31377 * manual/memory.texi (Malloc Tunable Parameters):
31378 Sort parameters alphabetically. Add comments for missing entries.
31379
cd18e90a
DM
313802013-03-17 David S. Miller <davem@davemloft.net>
31381
31382 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31383
2a185d32
JM
313842013-03-16 Joseph Myers <joseph@codesourcery.com>
31385
d2f9799e
JM
31386 [BZ #15283]
31387 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31388 for arguments at most half maximum finite value.
31389 * math/libm-test.inc (j0_test): Add more tests.
31390 (j1_test): Likewise.
31391 (y0_test): Likewise.
31392 (y1_test): Likewise.
31393 * sysdeps/i386/fpu/libm-test-ulps: Update.
31394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31395
2a185d32
JM
31396 [BZ #14155]
31397 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31398 1 / x and functions P and Q for arguments above 0x1p256L.
31399 (__ieee754_y0l): Likewise.
31400 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31401 (__ieee754_y1l): Likewise.
31402 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31403 (j1_test): Likewise.
31404 (y0_test): Likewise.
31405 (y1_test): Likewise.
31406
6cbec759
TS
314072013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31408
31409 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31410 variable.
31411
bc16e260
RM
314122013-03-15 Roland McGrath <roland@hack.frob.com>
31413
aefc9b8c
RM
31414 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31415 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31416 zero since it's initialized to EXEC_PAGESIZE.
31417
bc16e260
RM
31418 * sysdeps/unix/sysv/linux/ldsodefs.h
31419 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31420 * sysdeps/generic/ldsodefs.h: ... here.
31421
a57da955
TS
314222013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31423
af00a34d
TS
31424 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31425
495ded2c
TS
31426 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31427 math/test-snan.c.
31428 * math/test-snan.c: Renamed from
31429 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31430 * math/Makefile (tests): Add test-snan.
31431 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31432 test-powerpc-snan.
31433
777b0332
TS
31434 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31435 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31436 functions.
31437 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31438 __builtin_nan family of functions.
31439 * math/libm-test.inc (initialize): Initialize qnan_value with
31440 __builtin_nan family of functions.
31441 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31442 Remove variables.
31443 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31444 Remove functions.
31445 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31446 storage class. Initialize qNaN_var and sNaN_var with
31447 __builtin_nan and __builtin_nans families of functions,
31448 respectively.
31449
64d063b8
TS
31450 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31451 (sqrt_test): Remove duplicate test with qNaN input.
31452 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31453 (round_test, signbit_test, significand_test): Note missing +/-Inf
31454 as well as qNaN tests.
31455
67e971f1
TS
31456 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31457 qNaN_var. Fix a few strings, too.
31458 * math/libm-test.inc (nan_value): Rename to qnan_value.
31459 * math/gen-libm-test.pl (%beautify): Adjust to that.
31460 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31461 * math/test-misc.c (main): Likewise.
31462 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31463 to __qnan_bytes, and __qnan_union, respectively.
31464 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31465 Likewise.
31466 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31467 and lqnanval, respectively.
31468 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31469 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31470 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31471 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31472
64487e12
TS
31473 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31474 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31475 doubles.
31476
e015e27b
TS
31477 * math/test-misc.c (main): Fix copy'n'pastos.
31478 * misc/tst-efgcvt.c (special): Likewise.
31479
a57da955
TS
31480 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31481 Remove declarations.
31482
1e380345
SP
314832013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31484
31485 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31486 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31487 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31488 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31489
ef26eece
AZ
314902013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31491
31492 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31493 macro to return vdso values correctly in IFUNC implementations.
31494 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31495 Optimization by using IFUNC.
31496
8cfdb7e0
SP
314972013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31498 Richard Henderson <rth@redhat.com>
31499 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31500
31501 * Makefile.in (bench): New target.
31502 * NEWS: Mention the benchmark framework.
31503 * Rules (bench): Likewise.
31504 (binaries-bench): Generate binaries for functions to
31505 benchmark.
31506 * benchtests/Makefile: New makefile for benchmark tests.
31507 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31508 programs.
31509 * benchtests/exp-inputs: New input file for EXP function.
31510 * benchtests/pow-inputs: New input file for POW function.
31511 * scripts/bench.pl: New script to generate source files for
31512 benchmark programs.
31513
bcda9880
SP
315142013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31515
d22ca8cd
SP
31516 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31517 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31518 computations on mantissa. Use macros for rounding and
31519 division.
31520 (denorm): Likewise.
31521 (__dbl_mp): Likewise.
31522 (add_magnitudes): Likewise.
31523 (sub_magnitudes): Likewise.
31524 (__mul): Likewise.
31525 (__sqr): Likewise.
31526 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31527 powers of two in terms of TWOPOW macro.
31528 (mp_no): Make type of mantissa as MANTISSA_T.
31529 [!RADIXI]: Define RADIXI.
31530 [!TWO52]: Define TWO52.
31531 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31532
bcda9880
SP
31533 * manual/nptl.texi (cindex): Modify threads to pthreads.
31534
06d5adfb
JM
315352013-03-15 Joseph Myers <joseph@codesourcery.com>
31536
31537 * sysdeps/x86_64/preconfigure: Regenerated.
31538
41c7328e
JM
315392013-03-14 Joseph Myers <joseph@codesourcery.com>
31540
31541 [BZ #14155]
31542 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31543 0x1p28 and above.
31544 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31545 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31546 0x1p28 and above.
31547 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31548 * math/libm-test.inc (j0_test): Do not allow one spurious
31549 underflow exception.
31550 (y1_test): Likewise.
31551
e25cfa60
SP
315522013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31553
0409959c
SP
31554 * manual/Makefile (chapters): Add nptl.
31555 * manual/debug.texi (Debugging Support): Add link to Threads
31556 chapter.
31557 * manual/nptl.texi: New file.
31558
e25cfa60
SP
31559 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31560
58a1335e
PB
315612013-03-14 Petr Baudis <pasky@ucw.cz>
31562
31563 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31564 for non-NULL pointer before the memory validity test. Pointed
31565 out by Holger Brunck <holger.brunck@keymile.com>.
31566
9dc7c64f
AS
315672013-03-13 Andreas Schwab <schwab@suse.de>
31568
31569 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31570 instead of .os.
31571
54206aa6
JM
315722013-03-13 Joseph Myers <joseph@codesourcery.com>
31573
31574 * timezone/zic.c: Update from tzcode 2013b.
31575
e98cdb38
CD
315762013-03-12 Carlos O'Donell <carlos@redhat.com>
31577
31578 * manual/install.texi (Configuring and compiling):
31579 Mention i686 and i586.
31580 * INSTALL: Regenerate.
31581
9967e003
RM
315822013-03-12 Roland McGrath <roland@hack.frob.com>
31583
31584 * sysdeps/init_array/elf-init.c: New file.
31585 * csu/elf-init.c
31586 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31587 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31588
31589 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31590 __gmon_start__ as global, but as static with a .preinit_array pointer.
31591 * sysdeps/init_array/gmon-start.c: New file. Use that.
31592 * sysdeps/init_array/crti.S: New file, empty except for comments.
31593 * sysdeps/init_array/crtn.S: Likewise.
31594
e6b5a293 315952013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31596
31597 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31598 definining bcopy.
80f844c9
OB
31599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31600 Remove Prefer_SSE_for_memop.
31601 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31602 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31603 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31605 memset-x86-64.
80f844c9 31606 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31607 Remove bzero, memset ifunc support.
80f844c9
OB
31608 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31609 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31610 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31611 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31612
fb6b0fcb
AS
316132013-03-11 Andreas Schwab <schwab@suse.de>
31614
31615 [BZ #15234]
31616 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31617 by SHLIB_COMPAT.
31618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31619 (GLIBC_2.16): Remove pthread_atfork.
31620
3e6bd4b1
PP
316212013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31622
31623 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31624 (ptestcases.h): Likewise.
31625
222d7f00
RM
316262013-03-08 Roland McGrath <roland@hack.frob.com>
31627
31628 * Makeconfig ($(common-objpfx)config.status): Depend on
31629 sysdeps/*/preconfigure{,.in} too.
31630
1ba4f030
JM
316312013-03-08 Joseph Myers <joseph@codesourcery.com>
31632
a222d91a
JM
31633 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31634 (__free_hook): Use void * instead of __malloc_ptr_t.
31635 (__malloc_hook): Likewise.
31636 (__realloc_hook): Likewise.
31637 (__memalign_hook): Likewise.
31638 (__after_morecore_hook): Likewise.
31639 * malloc/arena.c (save_malloc_hook): Likewise.
31640 (save_free_hook): Likewise.
31641 * malloc/hooks.c (malloc_hook_ini): Likewise.
31642 (realloc_hook_ini): Likewise.
31643 (memalign_hook_ini): Likewise.
31644 * malloc/malloc.c (malloc_hook_ini): Likewise.
31645 (realloc_hook_ini): Likewise.
31646 (memalign_hook_ini): Likewise.
31647 (__free_hook): Likewise.
31648 (__malloc_hook): Likewise.
31649 (__realloc_hook): Likewise.
31650 (__memalign_hook): Likewise.
31651 (__libc_malloc): Likewise.
31652 (__libc_free): Likewise.
31653 (__libc_realloc): Likewise.
31654 (__libc_memalign): Likewise.
31655 (__libc_valloc): Likewise.
31656 (__libc_pvalloc): Likewise.
31657 (__libc_calloc): Likewise.
31658 (__posix_memalign): Likewise.
31659 * malloc/morecore.c (__sbrk): Likewise.
31660 (__default_morecore): Likewise.
31661
5cc45e10
JM
31662 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31663
dd54b864
JM
31664 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31665 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31666 __malloc_ptrdiff_t.
31667
1ba4f030
JM
31668 * malloc/malloc.h (__malloc_size_t): Remove macro.
31669 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31670 __malloc_size_t.
31671 (old_memalign_hook): Likewise.
31672 (old_realloc_hook): Likewise.
31673 (struct hdr): Likewise.
31674 (flood): Likewise.
31675 (mallochook): Likewise.
31676 (memalignhook): Likewise.
31677 (reallochook): Likewise.
31678 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31679 (tr_old_realloc_hook): Likewise.
31680 (tr_old_memalign_hook): Likewise.
31681 (tr_mallochook): Likewise.
31682 (tr_reallochook): Likewise.
31683 (tr_memalignhook): Likewise.
31684
edf66e57
AZ
316852013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31686
31687 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31688 default_ldbl_pack and using as default implementation.
31689 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31690 implementation.
31691 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31692 redundant definition.
31693 (ldbl_insert_mantissa): Likewise.
31694 (ldbl_canonicalize): Likewise.
31695 (ldbl_nearbyint): Likewise.
31696 (ldbl_pack): Rename to ldbl_pack_ppc.
31697 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31698 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31699 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31700
6d9145d8
SP
317012013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31702
31703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31704 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31705 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31706 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31707 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31708 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31709 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31710 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31711
4dd4e157
AJ
317122013-03-07 Andreas Jaeger <aj@suse.de>
31713
31714 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31715 bits/mman-linux.h.
31716
adbb8027
SP
317172013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31718
ce544b5b
SP
31719 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31720 Include mpa.h and declare __MPEXP.
31721 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31722 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31723 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31724 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31725 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31726 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31727 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31728
4cc149fd
SP
31729 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31730 (__slowpow): Use long double EXPL and LOGL functions to
31731 compute POW.
31732 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31733 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31734 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31735 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31736 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31737 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31738
e6ebd4a7
SP
31739 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31740 intermediate variable to calculate exponent.
31741 (__sqr): Likewise.
31742 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31743 Likewise.
31744 (__sqr): Likewise.
31745
82a9811d
SP
31746 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31747 [!NO__SQR]: Define __sqr.
31748 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31749 and NO__SQR. Remove all code except __mul and __sqr. Include
31750 sysdeps/ieee754/dbl-64/mpa.c.
31751 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31752
adbb8027
SP
31753 [BZ #12723]
31754 * posix/Makefile (tests): Add tst-pathconf.
31755 * posix/tst-pathconf.c: New test case.
31756 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31757 _PC_PIPE_BUF.
31758 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31759
39120df9
PF
317602013-03-06 Patsy Franklin <pfrankli@redhat.com>
31761
31762 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31763
67525cb8
AJ
317642013-03-06 Andreas Jaeger <aj@suse.de>
31765
664a9ce4
AJ
31766 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31767 definition via __MAP_ANONYMOUS.
31768
8e39047d
AJ
31769 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31770 it's not part of Linux headers.
31771
67525cb8
AJ
31772 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31773 (MAP_HUGE_MASK): Define.
31774
31775 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31776 Define.
31777 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31778 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31779 Define.
31780 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31781 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31782 Define.
31783 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31784 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31785 Define.
31786 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31787
31788 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31789 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31790 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31791 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31792 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31793 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31794
31795 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31796 Handle f2fs.
31797
31798 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31799 Handle f2fs and efivarfs.
31800
31801 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31802 f2fs.
31803
31804 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31805 (EFIVARFS_MAGIC): Add.
31806 (F2FS_LINK_MAX): Add.
31807
e1b42695
PP
318082013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31809
31810 * stdio-common/vfprintf.c: Replace __builtin_expect with
31811 __glibc_unlikely.
31812
2d67d91a
JM
318132013-03-06 Joseph Myers <joseph@codesourcery.com>
31814
31815 [BZ #13550]
31816 * sysdeps/generic/bp-sym.h: Remove file.
31817 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31818 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31819 <bp-sym.h> and <bp-asm.h>.
31820 (__longjmp): Don't use BP_SYM.
31821 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31822 and <bp-asm.h>.
31823 (memcpy): Don't use BP_SYM.
31824 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31825 <bp-sym.h> and <bp-asm.h>.
31826 (memcpy): Don't use BP_SYM.
31827 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31828 <bp-asm.h>.
31829 (memcpy): Don't use BP_SYM.
31830 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31831 <bp-asm.h>.
31832 (memset): Don't use BP_SYM.
31833 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31834 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31835 (__bzero): Don't use BP_SYM.
31836 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31837 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31838 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31839 <bp-sym.h> and <bp-asm.h>.
31840 (memcmp): Don't use BP_SYM. Remove comment about bounded
31841 pointers.
31842 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31843 <bp-sym.h> and <bp-asm.h>.
31844 (memcpy): Don't use BP_SYM.
31845 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31846 <bp-sym.h> and <bp-asm.h>.
31847 (memset): Don't use BP_SYM.
31848 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31849 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31850 (__bzero): Don't use BP_SYM.
31851 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31852 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31853 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31854 <bp-sym.h> and <bp-asm.h>.
31855 (strncmp): Don't use BP_SYM. Remove comment about bounded
31856 pointers.
31857 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31858 <bp-sym.h> and <bp-asm.h>.
31859 (memcpy): Don't use BP_SYM.
31860 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31861 <bp-sym.h> and <bp-asm.h>.
31862 (memset): Don't use BP_SYM.
31863 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31864 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31865 (__bzero): Don't use BP_SYM.
31866 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31867 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31868 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31869 <bp-sym.h> and <bp-asm.h>.
31870 (__memchr): Don't use BP_SYM.
31871 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31872 <bp-sym.h> and <bp-asm.h>.
31873 (memcmp): Don't use BP_SYM. Remove comment about bounded
31874 pointers.
31875 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31876 <bp-sym.h> and <bp-asm.h>.
31877 (memcpy): Don't use BP_SYM.
31878 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31879 <bp-sym.h> and <bp-asm.h>.
31880 (__mempcpy): Don't use BP_SYM.
31881 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31882 <bp-sym.h> and <bp-asm.h>.
31883 (__memrchr): Don't use BP_SYM.
31884 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31885 <bp-sym.h> and <bp-asm.h>.
31886 (memset): Don't use BP_SYM.
31887 (__bzero): Likewise.
31888 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31889 <bp-sym.h> and <bp-asm.h>.
31890 (__rawmemchr): Don't use BP_SYM.
31891 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31892 <bp-sym.h> and <bp-asm.h>.
31893 (__STRCMP): Don't use BP_SYM.
31894 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31895 <bp-sym.h> and <bp-asm.h>.
31896 (strchr): Don't use BP_SYM.
31897 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31898 <bp-sym.h> and <bp-asm.h>.
31899 (__strchrnul): Don't use BP_SYM.
31900 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31901 <bp-sym.h> and <bp-asm.h>.
31902 (strlen): Don't use BP_SYM.
31903 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31904 <bp-sym.h> and <bp-asm.h>.
31905 (strncmp): Don't use BP_SYM. Remove comment about bounded
31906 pointers.
31907 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31908 <bp-sym.h> and <bp-asm.h>.
31909 (__strnlen): Don't use BP_SYM.
31910 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31911 <bp-sym.h> and <bp-asm.h>.
31912 (__GI__setjmp): Don't use BP_SYM.
31913 (_setjmp): Likewise.
31914 (__sigsetjmp): Likewise.
31915 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31916 (L(start_addresses)): Don't use BP_SYM.
31917 (_start): Likewise.
31918 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31919 <bp-asm.h>.
31920 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31921 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31922 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31923 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31924 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31925 <bp-asm.h>.
31926 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31927 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31928 about bounded pointers.
31929 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31930 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31931 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31932 <bp-asm.h>.
31933 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31934 about bounded pointers. Remove GKM FIXME comments.
31935 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31936 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31937 <bp-asm.h>.
31938 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31939 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31940 Remove GKM FIXME comments.
31941 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31942 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31943 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
31944 <bp-asm.h>.
31945 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31946 about bounded pointers. Remove GKM FIXME comment.
31947 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
31948 and <bp-asm.h>.
31949 (strncmp): Don't use BP_SYM. Remove comment about bounded
31950 pointers.
31951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
31952 <bp-sym.h> and <bp-asm.h>.
31953 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
31954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
31955 <bp-sym.h> and <bp-asm.h>.
31956 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
31957 comment.
31958
cdcf361f
PP
319592013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
31960
31961 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
31962 call free(NULL).
31963
3c4a2b15
DM
319642013-03-05 David S. Miller <davem@davemloft.net>
31965
31966 * po/es.po: Update from translation team.
31967
cdcf361f 319682013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
31969
31970 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
31971 <bits/mman-linux.h>.
31972 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31973 is fine.
31974 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
31975 <bits/mman-linux.h> to end of file.
31976 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31977 is fine.
31978 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
31979 <bits/mman-linux.h> to end of file.
31980 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
31981 is fine.
31982 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
31983 <bits/mman-linux.h> to end of file.
31984
31985 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
31986 (MCL_CURRENT, MCL_FUTURE): Define here.
31987
5f67c04f
AK
319882013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31989
8a4473cc 31990 [BZ #15232]
5f67c04f
AK
31991 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
31992 attribute_hidden.
31993 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
31994
c3e94a95
AK
319952013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31996
31997 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
31998 fourth parameter needed for rt_sigprocmask syscall.
31999 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32000 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32001 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32002 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32003 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32004 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32005
cfb6382a
JM
320062013-03-04 Joseph Myers <joseph@codesourcery.com>
32007
32008 [BZ #13550]
32009 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32010 comment about bounded pointers.
32011 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32012 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32013
539d8e01
AJ
320142013-03-04 Andreas Jaeger <aj@suse.de>
32015
32016 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32017 common definitions.
32018
32019 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32020 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32021 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32022 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32023 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
32024 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32025
2e167a70 320262013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
32027
32028 [BZ #15055]
32029 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32030 __ieee754_sqrl instead of __sqrl.
32031
68508633
JM
320322013-03-01 Joseph Myers <joseph@codesourcery.com>
32033
32034 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32035 * sysdeps/powerpc/fpu_control.h: ... here.
32036 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32037 * sysdeps/powerpc/bits/fenvinline.h: ... here.
32038 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32039 * sysdeps/powerpc/bits/mathinline.h: ... here.
32040
7775448e
RM
320412013-03-01 Roland McGrath <roland@hack.frob.com>
32042
32043 * elf/dl-hwcaps.c (_dl_important_hwcaps):
32044 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32045 to just [NEED_DL_SYSINFO_DSO].
32046 * elf/dl-support.c: Likewise.
32047 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32048 * elf/rtld.c (dl_main): Likewise.
32049 * elf/setup-vdso.h (setup_vdso): Likewise.
32050 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32051 * sysdeps/unix/sysv/linux/dl-sysdep.c
32052 (_dl_discover_osversion): Likewise.
32053
4e9b5995
CD
320542013-03-01 Carlos O'Donell <carlos@redhat.com>
32055
32056 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32057 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32058
e23872c8
SP
320592013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
32060
e5c74c63
SP
32061 * NEWS: Mention libm performance improvements and non-x86 PI
32062 futex support.
32063
e23872c8
SP
32064 * csu/libc-start.c (__pthread_initialize_minimal): Change
32065 function arguments.
32066 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32067
b5510883
JM
320682013-02-28 Joseph Myers <joseph@codesourcery.com>
32069
32070 [BZ #13550]
32071 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32072 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32073 <bp-sym.h> and <bp-asm.h>.
32074 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32075 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32076 and <bp-asm.h>.
32077 (memcpy): Don't use BP_SYM.
32078 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32079 <bp-asm.h>.
32080 (__mpn_add_n): Don't use BP_SYM.
32081 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32082 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32083 and <bp-asm.h>.
32084 (__mpn_addmul_1): Don't use BP_SYM.
32085 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32086 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32087 <bp-sym.h>.
32088 (_setjmp): Don't use BP_SYM.
32089 (__novmx_setjmp): Likewise.
32090 (__GI__setjmp): Likewise.
32091 (__vmx_setjmp): Likewise.
32092 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32093 <bp-sym.h>.
32094 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32095 (__bzero): Don't use BP_SYM.
32096 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32097 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32098 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32099 <bp-sym.h> and <bp-asm.h>.
32100 (memcpy): Don't use BP_SYM.
32101 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32102 <bp-sym.h> and <bp-asm.h>.
32103 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32104 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32105 <bp-sym.h> and <bp-asm.h>.
32106 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32107 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32108 <bp-asm.h>.
32109 (__mpn_lshift): Don't use BP_SYM.
32110 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32111 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32112 <bp-asm.h>.
32113 (memset): Don't use BP_SYM.
32114 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32115 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32116 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32117 <bp-asm.h>.
32118 (__mpn_mul_1): Don't use BP_SYM.
32119 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32120 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32121 <bp-sym.h> and <bp-asm.h>.
32122 (memcmp): Don't use BP_SYM.
32123 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32124 <bp-sym.h> and <bp-asm.h>.
32125 (memcpy): Don't use BP_SYM.
32126 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32127 <bp-sym.h> and <bp-asm.h>.
32128 (memset): Don't use BP_SYM.
32129 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32130 <bp-sym.h> and <bp-asm.h>.
32131 (strncmp): Don't use BP_SYM.
32132 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32133 <bp-sym.h> and <bp-asm.h>.
32134 (memcpy): Don't use BP_SYM.
32135 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32136 <bp-sym.h> and <bp-asm.h>.
32137 (memset): Don't use BP_SYM.
32138 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32139 <bp-sym.h> and <bp-asm.h>.
32140 (__memchr): Don't use BP_SYM.
32141 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32142 <bp-sym.h> and <bp-asm.h>.
32143 (memcmp): Don't use BP_SYM.
32144 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32145 <bp-sym.h> and <bp-asm.h>.
32146 (memcpy): Don't use BP_SYM.
32147 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32148 <bp-sym.h> and <bp-asm.h>.
32149 (__mempcpy): Don't use BP_SYM.
32150 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32151 <bp-sym.h> and <bp-asm.h>.
32152 (__memrchr): Don't use BP_SYM.
32153 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32154 <bp-sym.h> and <bp-asm.h>.
32155 (memset): Don't use BP_SYM.
32156 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32157 <bp-sym.h> and <bp-asm.h>.
32158 (__rawmemchr): Don't use BP_SYM.
32159 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32160 <bp-sym.h> and <bp-asm.h>.
32161 (__STRCMP): Don't use BP_SYM.
32162 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32163 <bp-sym.h> and <bp-asm.h>.
32164 (strchr): Don't use BP_SYM.
32165 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32166 <bp-sym.h> and <bp-asm.h>.
32167 (__strchrnul): Don't use BP_SYM.
32168 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32169 <bp-sym.h> and <bp-asm.h>.
32170 (strlen): Don't use BP_SYM.
32171 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32172 <bp-sym.h> and <bp-asm.h>.
32173 (strncmp): Don't use BP_SYM.
32174 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32175 <bp-sym.h> and <bp-asm.h>.
32176 (__strnlen): Don't use BP_SYM.
32177 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32178 <bp-asm.h>.
32179 (__mpn_rshift): Don't use BP_SYM.
32180 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32181 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32182 <bp-sym.h> and <bp-asm.h>.
32183 (__sigsetjmp): Don't use BP_SYM.
32184 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32185 (L(start_addresses)): Don't use BP_SYM.
32186 (_start): Likewise.
32187 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32188 <bp-asm.h>.
32189 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32190 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32191 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32192 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32193 <bp-asm.h>.
32194 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32195 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32196 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32197 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32198 <bp-asm.h>.
32199 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32200 comments.
32201 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32202 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32203 <bp-asm.h>.
32204 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
32205 FIXME comments.
32206 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32207 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32208 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32209 <bp-asm.h>.
32210 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32211 comment.
32212 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32213 and <bp-asm.h>.
32214 (strncmp): Don't use BP_SYM,
32215 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32216 <bp-asm.h>.
32217 (__mpn_sub_n): Don't use BP_SYM.
32218 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32219 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32220 and <bp-asm.h>.
32221 (__mpn_submul_1): Don't use BP_SYM.
32222 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32224 <bp-sym.h> and <bp-asm.h>.
32225 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32227 <bp-sym.h> and <bp-asm.h>.
32228 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32229 comment.
32230
8d19fe64
SP
322312013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32232
32233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32234 Use ZK to minimize writes to Z.
32235 (sub_magnitudes): Simplify code a bit.
32236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32237 Use ZK to minimize writes to Z.
32238 (sub_magnitudes): Simplify code a bit.
32239
85bd816a
RM
322402013-02-27 Roland McGrath <roland@hack.frob.com>
32241
32242 * csu/gmon-start.c: Add special exception to license text.
32243
b5977bf2
RH
322442013-02-27 Richard Henderson <rth@redhat.com>
32245
32246 * scripts/config.guess: Update from config.git.
32247 * scripts/config.sub: Likewise.
32248
11d6e2f2
SP
322492013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32250
09c14ed2
SP
32251 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32252
a688864e
SP
32253 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32254
6295157a
SP
32255 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32256
b8de2202
SP
32257 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32258
11d6e2f2
SP
32259 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32260
7e80ddb8
RM
322612013-02-26 Roland McGrath <roland@hack.frob.com>
32262
32263 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32264 [$(build-shared = yes].
7e80ddb8 32265
7da6d9ed
SP
322662013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32267
45f05884
SP
32268 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32269 (__mul): Reduce iterations for calculating mantissa.
32270
2236d359
SP
32271 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32272 MPTWO.
32273 (__mpranred): Likewise.
32274
7da6d9ed
SP
32275 [BZ #15160]
32276 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32277 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32278
b7688c42
PE
322792013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32280
32281 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32282 Define __attribute__.
32283
53a5c423
SP
322842013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32285
32286 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32287 unused.
32288 * posix/regex_internal.h (__attribute): Remove.
32289 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32290 (re_string_context_at): Likewise.
32291 (bitset_not): Use __attribute__ and mark function as possibly
32292 unused.
32293 (bitset_merge): Likewise.
32294 (bitset_mask): Likewise.
32295 (re_string_char_size_at): Likewise.
32296 (re_string_wchar_at): Likewise.
32297 (re_string_elem_size_at): Likewise.
32298
60f5a8b5
SP
322992013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32300
2a983a2e
SP
32301 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32302 code.
32303 (cc32): Likewise.
32304
e69804d1
SP
32305 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32306 (__acr): Likewise.
32307 (__cpy): Likewise.
32308 (norm): Likewise.
32309 (denorm): Likewise.
32310 (__dbl_mp): Likewise.
32311 (add_magnitudes): Likewise.
32312 (sub_magnitudes): Likewise.
32313 (__mul): Likewise.
32314 (__inv): Likewise.
32315
2f22a1e8
SP
32316 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32317 style.
32318
8930ddc7
SP
32319 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32320 style.
32321
dc60cb11
SP
32322 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32323 code.
32324
60f5a8b5
SP
32325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32326 up changes with default code.
32327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32328 Likewise.
32329
b4d1fd33
AM
323302013-02-24 Allan McRae <allan@archlinux.org>
32331
faf6f8bc
AM
32332 * manual/socket.texi (The Internet Namespace): Order menu items
32333 to match that in the file.
32334
b4d1fd33
AM
32335 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32336 node listing of the info page menu.
32337
2366713d
JM
323382013-02-21 Joseph Myers <joseph@codesourcery.com>
32339
32340 [BZ #13550]
32341 * sysdeps/i386/bp-asm.h: Remove file.
32342 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32343 (PARMS): Do not use macros from bp-asm.h.
32344 (S1): Likewise.
32345 (S2): Likewise.
32346 (SIZE): Likewise.
32347 (__mpn_add_n): Do not use BP_SYM
32348 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
32349 "bp-asm.h".
32350 (PARMS): Do not use macros from bp-asm.h.
32351 (S1): Likewise.
32352 (SIZE): Likewise.
32353 (__mpn_addmul_1): Do not use BP_SYM
32354 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32355 "bp-asm.h".
32356 (PARMS): Do not use macros from bp-asm.h.
32357 (SIGMSK): Likewise.
32358 (_setjmp): Likewise. Do not use BP_SYM.
32359 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32360 "bp-asm.h".
32361 (PARMS): Do not use macros from bp-asm.h.
32362 (SIGMSK): Likewise.
32363 (setjmp): Likewise. Do not use BP_SYM.
32364 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32365 "bp-asm.h".
32366 (PARMS): Do not use macros from bp-asm.h.
32367 (__frexp): Do not use BP_SYM.
32368 (frexp): Likewise.
32369 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32370 "bp-asm.h".
32371 (PARMS): Do not use macros from bp-asm.h.
32372 (__frexpf): Do not use BP_SYM.
32373 (frexpf): Likewise.
32374 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32375 "bp-asm.h".
32376 (PARMS): Do not use macros from bp-asm.h.
32377 (__frexpl): Do not use BP_SYM.
32378 (frexpl): Likewise.
32379 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32380 "bp-asm.h".
32381 (PARMS): Do not use macros from bp-asm.h.
32382 (__remquo): Do not use BP_SYM.
32383 (remquo): Likewise.
32384 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32385 "bp-asm.h".
32386 (PARMS): Do not use macros from bp-asm.h.
32387 (__remquof): Do not use BP_SYM.
32388 (remquof): Likewise.
32389 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32390 "bp-asm.h".
32391 (PARMS): Do not use macros from bp-asm.h.
32392 (__remquol): Do not use BP_SYM.
32393 (remquol): Likewise.
32394 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32395 "bp-asm.h".
32396 (PARMS): Do not use macros from bp-asm.h.
32397 (DEST): Likewise.
32398 (SRC): Likewise.
32399 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32400 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32401 "bp-asm.h".
32402 (PARMS): Do not use macros from bp-asm.h.
32403 (strlen): Do not use BP_SYM.
32404 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32405 "bp-asm.h".
32406 (PARMS): Do not use macros from bp-asm.h.
32407 (S1): Likewise.
32408 (S2): Likewise.
32409 (SIZE): Likewise.
32410 (__mpn_add_n): Do not use BP_SYM.
32411 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32412 "bp-asm.h".
32413 (PARMS): Do not use macros from bp-asm.h.
32414 (S1): Likewise.
32415 (SIZE): Likewise.
32416 (__mpn_addmul_1): Do not use BP_SYM.
32417 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32418 weak_alias.
32419 (bzero): Likewise.
32420 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32421 "bp-asm.h".
32422 (PARMS): Do not use macros from bp-asm.h.
32423 (S): Likewise.
32424 (SIZE): Likewise.
32425 (__mpn_lshift): Do not use BP_SYM.
32426 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32427 "bp-asm.h".
32428 (PARMS): Do not use macros from bp-asm.h.
32429 (DEST): Likewise.
32430 (SRC): Likewise.
32431 (LEN): Likewise.
32432 (memcpy): Likewise. Do not use BP_SYM.
32433 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32434 libc_hidden_def and weak_alias.
32435 (mempcpy): Do not use BP_SYM in weak_alias.
32436 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32437 "bp-asm.h".
32438 (PARMS): Do not use macros from bp-asm.h.
32439 (DEST): Likewise.
32440 (LEN): Likewise.
32441 [!BZERO_P] (CHR): Likewise.
32442 (memset): Likewise. Do not use BP_SYM.
32443 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32444 "bp-asm.h".
32445 (PARMS): Do not use macros from bp-asm.h.
32446 (S1): Likewise.
32447 (SIZE): Likewise.
32448 (__mpn_mul_1): Do not use BP_SYM.
32449 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32450 "bp-asm.h".
32451 (PARMS): Do not use macros from bp-asm.h.
32452 (S): Likewise.
32453 (SIZE): Likewise.
32454 (__mpn_rshift): Do not use BP_SYM.
32455 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32456 "bp-asm.h".
32457 (PARMS): Do not use macros from bp-asm.h.
32458 (STR): Likewise.
32459 (CHR): Likewise.
32460 (strchr): Likewise. Do not use BP_SYM.
32461 (index): Do not use BP_SYM in weak_alias.
32462 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32463 "bp-asm.h".
32464 (PARMS): Do not use macros from bp-asm.h.
32465 (DEST): Likewise.
32466 (SRC): Likewise.
32467 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32468 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32469 "bp-asm.h".
32470 (PARMS): Do not use macros from bp-asm.h.
32471 (strlen): Do not use BP_SYM.
32472 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32473 "bp-asm.h".
32474 (PARMS): Do not use macros from bp-asm.h.
32475 (S1): Likewise.
32476 (S2): Likewise.
32477 (SIZE): Likewise.
32478 (__mpn_sub_n): Do not use BP_SYM.
32479 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32480 "bp-asm.h".
32481 (PARMS): Do not use macros from bp-asm.h.
32482 (S1): Likewise.
32483 (SIZE): Likewise.
32484 (__mpn_submul_1): Do not use BP_SYM.
32485 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32486 "bp-asm.h".
32487 (PARMS): Do not use macros from bp-asm.h.
32488 (S1): Likewise.
32489 (S2): Likewise.
32490 (SIZE): Likewise.
32491 (__mpn_add_n): Do not use BP_SYM.
32492 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32493 weak_alias.
32494 (bzero): Likewise.
32495 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32496 "bp-asm.h".
32497 (PARMS): Do not use macros from bp-asm.h.
32498 (BLK2): Likewise.
32499 (LEN): Likewise.
32500 (memcmp): Do not use BP_SYM.
32501 (bcmp): Do not use BP_SYM in weak_alias.
32502 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32503 "bp-asm.h".
32504 (PARMS): Do not use macros from bp-asm.h.
32505 (DEST): Likewise.
32506 (SRC): Likewise.
32507 (LEN): Likewise.
32508 (memcpy): Likewise. Do not use BP_SYM.
32509 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32510 "bp-asm.h".
32511 (PARMS): Do not use macros from bp-asm.h.
32512 (DEST): Likewise.
32513 (SRC): Likewise.
32514 (LEN): Likewise.
32515 (memmove): Likewise. Do not use BP_SYM.
32516 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32517 "bp-asm.h".
32518 (PARMS): Do not use macros from bp-asm.h.
32519 (DEST): Likewise.
32520 (SRC): Likewise.
32521 (LEN): Likewise.
32522 (__mempcpy): Likewise. Do not use BP_SYM.
32523 (mempcpy): Do not use BP_SYM in weak_alias.
32524 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32525 "bp-asm.h".
32526 (PARMS): Do not use macros from bp-asm.h.
32527 (DEST): Likewise.
32528 (LEN): Likewise.
32529 [!BZERO_P] (CHR): Likewise.
32530 (memset): Likewise. Do not use BP_SYM.
32531 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32532 "bp-asm.h".
32533 (PARMS): Do not use macros from bp-asm.h.
32534 (STR2): Likewise.
32535 (strcmp): Do not use BP_SYM.
32536 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32537 "bp-asm.h".
32538 (PARMS): Do not use macros from bp-asm.h.
32539 (STR): Likewise.
32540 (DELIM): Likewise.
32541 [USE_AS_STRTOK_R] (SAVE): Likewise.
32542 (FUNCTION): Likewise. Do not use BP_SYM.
32543 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32544 aliases.
32545 (strtok_r): Likewise.
32546 (__GI___strtok_r): Likewise.
32547 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32548 (PARMS): Do not use macros from bp-asm.h.
32549 (S): Likewise.
32550 (SIZE): Likewise.
32551 (__mpn_lshift): Do not use BP_SYM.
32552 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32553 (PARMS): Do not use macros from bp-asm.h.
32554 (STR): Likewise.
32555 (CHR): Likewise.
32556 (__memchr): Do not use BP_SYM.
32557 (memchr): Do not use BP_SYM in weak_alias.
32558 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32559 (PARMS): Do not use macros from bp-asm.h.
32560 (BLK2): Likewise.
32561 (LEN): Likewise.
32562 (memcmp): Do not use BP_SYM.
32563 (bcmp): Do not use BP_SYM in weak_alias.
32564 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32565 (PARMS): Do not use macros from bp-asm.h.
32566 (S1): Likewise.
32567 (SIZE): Likewise.
32568 (__mpn_mul_1): Do not use BP_SYM.
32569 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32570 "bp-asm.h".
32571 (PARMS): Do not use macros from bp-asm.h.
32572 (STR): Likewise.
32573 (CHR): Likewise.
32574 (__rawmemchr): Do not use BP_SYM.
32575 (rawmemchr): Do not use BP_SYM in weak_alias.
32576 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32577 (PARMS): Do not use macros from bp-asm.h.
32578 (S): Likewise.
32579 (SIZE): Likewise.
32580 (__mpn_rshift): Do not use BP_SYM.
32581 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32582 (PARMS): Do not use macros from bp-asm.h.
32583 (SIGMSK): Likewise.
32584 (__sigsetjmp): Likewise. Do not use BP_SYM.
32585 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32586 (_start): Do not use BP_SYM.
32587 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32588 (PARMS): Do not use macros from bp-asm.h.
32589 (DEST): Likewise.
32590 (SRC): Likewise.
32591 (__stpcpy): Likewise. Do not use BP_SYM.
32592 (stpcpy): Do not use BP_SYM in weak_alias.
32593 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32594 "bp-asm.h".
32595 (PARMS): Do not use macros from bp-asm.h.
32596 (DEST): Likewise.
32597 (SRC): Likewise.
32598 (LEN): Likewise.
32599 (__stpncpy): Likewise. Do not use BP_SYM.
32600 (stpncpy): Do not use BP_SYM in weak_alias.
32601 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32602 (PARMS): Do not use macros from bp-asm.h.
32603 (STR): Likewise.
32604 (CHR): Likewise.
32605 (strchr): Likewise. Do not use BP_SYM.
32606 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32607 "bp-asm.h".
32608 (PARMS): Do not use macros from bp-asm.h.
32609 (STR): Likewise.
32610 (CHR): Likewise.
32611 (__strchrnul): Likewise. Do not use BP_SYM.
32612 (strchrnul): Do not use BP_SYM in weak_alias.
32613 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32614 "bp-asm.h".
32615 (PARMS): Do not use macros from bp-asm.h.
32616 (STOP): Likewise.
32617 (strcspn): Do not use BP_SYM.
32618 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32619 "bp-asm.h".
32620 (PARMS): Do not use macros from bp-asm.h.
32621 (STR): Likewise.
32622 (STOP): Likewise.
32623 (strpbrk): Likewise. Do not use BP_SYM.
32624 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32625 "bp-asm.h".
32626 (PARMS): Do not use macros from bp-asm.h.
32627 (STR): Likewise.
32628 (CHR): Likewise.
32629 (strrchr): Likewise. Do not use BP_SYM.
32630 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32631 (PARMS): Do not use macros from bp-asm.h.
32632 (SKIP): Likewise.
32633 (strspn): Do not use BP_SYM.
32634 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32635 (PARMS): Do not use macros from bp-asm.h.
32636 (STR): Likewise.
32637 (DELIM): Likewise.
32638 (SAVE): Likewise.
32639 (FUNCTION): Likewise. Do not use BP_SYM.
32640 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32641 aliases.
32642 (strtok_r): Likewise.
32643 (__GI___strtok_r): Likewise.
32644 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32645 (PARMS): Do not use macros from bp-asm.h.
32646 (S1): Likewise.
32647 (S2): Likewise.
32648 (SIZE): Likewise.
32649 (__mpn_sub_n): Do not use BP_SYM.
32650 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32651 "bp-asm.h".
32652 (PARMS): Do not use macros from bp-asm.h.
32653 (S1): Likewise.
32654 (SIZE): Likewise.
32655 (__mpn_submul_1): Do not use BP_SYM.
32656 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32657 <bp-sym.h>.
32658 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32659 and <bp-asm.h>.
32660 (PARMS): Do not use macros from bp-asm.h.
32661 (FLAGS): Likewise.
32662 (PTID): Likewise.
32663 (TLS): Likewise.
32664 (CTID): Likewise.
32665 (__clone): Do not use BP_SYM.
32666 (clone): Do not use BP_SYM in weak_alias.
32667 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32668 and <bp-asm.h>.
32669 (PARMS): Do not use macros from bp-asm.h.
32670 (LEN): Likewise.
32671 (__mmap64): Do not use BP_SYM.
32672 (mmap64): Do not use BP_SYM in weak_alias.
32673 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32674 <bp-sym.h> and <bp-asm.h>.
32675 (PARMS): Do not use macros from bp-asm.h.
32676 (__posix_fadvise64_l64): Do not use BP_SYM.
32677 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32678 (PARMS): Do not use macros from bp-asm.h.
32679 (NSOPS): Likewise.
32680 (semtimedop): Do not use BP_SYM.
32681 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32682 and <bp-asm.h>.
32683
582a3cff
AM
326842013-02-21 Allan McRae <allan@archlinux.org>
32685
32686 * manual/message.texi (Charset conversion in gettext):
32687 Move @end statement to beginning of line.
32688
bab8a695
SP
326892013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32690
80945231
SP
32691 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32692 static.
32693 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32694 Likewise.
32695
bab8a695
SP
32696 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32697 (denorm): Likewise.
32698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32699 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32700
e21d7aa7
AK
327012013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32702
32703 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32704 tail-call to the resolved function if pltexit isn't needed.
32705
4c7a4263
SP
327062013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32707
32708 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32709 or Y being zero as being unlikely.
32710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32711 Likewise.
32712
41f49342
CD
327132013-02-20 Carlos O'Donell <carlos@redhat.com>
32714
32715 * manual/nss.texi (System Databases and Name Service Switch):
32716 Remove frobnicate @pxref.
32717
50022a93
TS
327182013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32719
32720 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32721 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32722
08cbd996
PM
327232013-02-20 Petr Machata <pmachata@redhat.com>
32724
32725 * elf/elf.h (R_ARM_TARGET1): New macro.
32726 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32727 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32728 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32729 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32730 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32731 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32732 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32733 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32734 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32735 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32736 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32737 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32738 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32739 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32740 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32741 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32742 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32743 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32744 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32745 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32746 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32747 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32748 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32749 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32750 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32751 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32752 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32753 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32754 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32755 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32756 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32757 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32758 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32759 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32760 (R_ARM_THM_GOT_BREL12): Likewise.
32761 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32762 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32763 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32764 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32765 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32766 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32767 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32768 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32769 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32770
c7b275d6
TS
327712013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32772
32773 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32774 __attribute_used__ to __attribute__ ((unused)).
32775
20cd7fb3
SP
327762013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32777
32778 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32779 powerpc mpa.c.
32780 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32781 comment formatting.
32782 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32783
92945b52
JM
327842013-02-19 Joseph Myers <joseph@codesourcery.com>
32785
32786 [BZ #13550]
32787 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32788 Remove macro.
32789 (ENTER): Remove both macro definitions.
32790 (LEAVE): Likewise.
32791 (CHECK_BOUNDS_LOW): Likewise.
32792 (CHECK_BOUNDS_HIGH): Likewise.
32793 (CHECK_BOUNDS_BOTH): Likewise.
32794 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32795 (RETURN_BOUNDED_POINTER): Likewise.
32796 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32797 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32798 (POP_ERRNO_LOCATION_RETURN): Likewise.
32799 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32800 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32801 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32802 macros.
32803 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32804 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32805 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32806 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32807 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32808 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32809 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32810 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32811 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32812 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32813 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32814 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32815 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32816 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32817 removed macros.
32818 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32819 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32820 macros.
32821 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32822 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32823 * sysdeps/i386/i586/memset.S (memset): Likewise.
32824 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32825 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32826 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32827 macros.
32828 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32829 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32830 Change uses of L(2) to L(out).
32831 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32832 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32833 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32834 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32835 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32836 removed macros.
32837 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32838 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32839 macros.
32840 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32841 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32842 (RETURN): Do not use macro LEAVE.
32843 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32844 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32845 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32846 * sysdeps/i386/i686/memset.S (memset): Likewise.
32847 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32848 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32849 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32850 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32851 Likewise.
32852 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32853 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32854 L(1_2) and L(1_3) into L(1).
32855 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32856 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32857 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32858 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32859 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32860 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32861 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32862 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32863 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32864 macros.
32865 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32866 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32867 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32868 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32869 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32870 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32871 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32872 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32873 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32874 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32875 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32876 * sysdeps/i386/strspn.S (strspn): Likewise.
32877 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32878 conditional code.
32879 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32880 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32881 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32882 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32883 L(1_3) into L(1_1).
32884 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32885 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32886 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32887 macros.
32888 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32889
2389741a
JJ
328902013-02-19 Jakub Jelinek <jakub@redhat.com>
32891
32892 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32893 macro.
32894
2016b3cd
SP
328952013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32896
e4f22324
SP
32897 * math/atest-exp.c (exp_mpn): Remove ROUND.
32898 * math/atest-exp2.c (exp_mpn): Likewise.
32899 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32900
2016b3cd
SP
32901 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32902 * stdlib/tst-tls-atexit-lib.c: Likewise.
32903 * stdlib/tst-tls-atexit.c: Likewise.
32904
4be9b544
MF
329052013-02-18 Mike Frysinger <vapier@gentoo.org>
32906
32907 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32908 and __attribute_alloc_size__.
32909
2f62b9ee
MF
329102013-02-18 Mike Frysinger <vapier@gentoo.org>
32911
32912 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32913 __attribute_alloc_size__.
32914 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32915 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32916
6ff444c4
MF
329172013-02-18 Mike Frysinger <vapier@gentoo.org>
32918
32919 * include/programs/xmalloc.h: New file.
32920 * catgets/gencat.c: Include it.
32921 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32922 * elf/pldd.c: Likewise.
32923 * iconv/iconv_charmap.c: Likewise.
32924 * iconv/iconvconfig.c: Likewise.
32925 * iconv/strtab.c: Likewise.
32926 * locale/programs/locale.c: Likewise.
32927 * locale/programs/localedef.h: Likewise.
32928 * locale/programs/simple-hash.c: Likewise.
32929 * nscd/nscd.h: Likewise.
32930 * nss/makedb.c: Likewise.
32931 * sysdeps/generic/ldconfig.h: Likewise.
32932
be179c8a
SP
329332013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32934
ba384f6e
SP
32935 * Versions.def: Add GLIBC_2.18.
32936 * include/link.h (struct link_map): New member l_tls_dtor_count.
32937 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32938 (__call_tls_dtors): Likewise.
32939 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32940 __cxa_thread_atexit_impl.
32941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32942 Likewise.
32943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32944 Likewise.
32945 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
32946 Likewise.
32947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
32948 Likewise.
32949 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
32950 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
32951 Likewise.
32952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
32953 Likewise.
32954 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
32955 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
32956 Likewise.
32957 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
32958 (tests): Add test case tst-tls-atexit.
32959 (modules-names): Add shared library for tst-tls-atexit.
85891aca 32960 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
32961 (GLIBC_PRIVATE): Add __call_tls_dtors.
32962 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
32963 for libstdc++.
32964 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
32965 * stdlib/tst-tls-atexit.c: New test case.
32966 * stdlib/tst-tls-atexit-lib.c: New test case.
32967
ffaa74cf 32968 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 32969
be179c8a
SP
32970 * elf/Versions (ld): Add _dl_find_dso_for_object.
32971 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
32972 * elf/dl-open.c (_dl_find_dso_for_object): New function.
32973 (dl_open_worker): Use _dl_find_dso_for_object.
32974 * elf/dl-sym.c (do_sym): Likewise.
32975 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
32976
f78b5caa
AK
329772013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32978
32979 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
32980 Syntactic changes only.
32981 (_dl_runtime_profile): Do a tail-call to the resolved function.
32982
29691210
JM
329832013-02-17 Joseph Myers <joseph@codesourcery.com>
32984
32985 [BZ #13550]
32986 * sysdeps/x86_64/bp-asm.h: Remove file.
32987 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
32988 <bp-sym.h> and <bp-asm.h>.
32989 (__clone): Do not use BP_SYM.
32990 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
32991 <bp-sym.h> and <bp-asm.h>.
32992 * sysdeps/unix/x86_64/sysdep.S: Likewise.
32993 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
32994 "bp-asm.h".
32995 (_setjmp): Do not use BP_SYM.
32996 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
32997 "bp-asm.h".
32998 (setjmp): Do not use BP_SYM.
32999 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33000 libc_hidden_def.
33001 (mempcpy): Do not use BP_SYM in weak_alias.
33002 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33003 "bp-asm.h".
33004 (strchr): Do not use BP_SYM.
33005 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33006 "bp-asm.h".
33007 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33008 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33009 (_start): Do not use BP_SYM.
33010 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33011 "bp-asm.h".
33012 (strcat): Do not use BP_SYM.
33013 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33014 "bp-asm.h".
33015 (STRCMP): Do not use BP_SYM.
33016 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33017 "bp-asm.h".
33018 (STRCPY): Do not use BP_SYM.
33019 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33020 "bp-asm.h".
33021 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33022 "bp-asm.h".
33023 (FUNCTION): Do not use BP_SYM.
33024 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33025 weak_alias.
33026 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33027
f238fd19
AJ
330282013-02-17 Andreas Jaeger <aj@suse.de>
33029
33030 * time/Versions: Sort entries.
33031 * string/Versions: Likewise.
33032 * resolv/Versions: Likewise.
33033 * posix/Versions: Likewise.
33034 * iconv/Versions: Likewise.
33035 * elf/Versions: Likewise.
33036 * wcsmbs/Versions: Likewise.
33037
bd07f23c 330382013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 33039
22af19f9
SP
33040 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33041 loop termination condition.
33042
4709fe76
SP
33043 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33044 variable to calculate EZ.
33045 (__sqr): Likewise.
2d0e0f29
SP
33046
33047 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33048 the lower precision input.
33049
daaa7713
JM
330502013-02-15 Joseph Myers <joseph@codesourcery.com>
33051
33052 [BZ #13550]
33053 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33054 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33055 (run-via-rtld-prefix): Do not handle %-bp tests.
33056 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33057 (all-object-suffixes): Remove .ob.
33058 (bppfx): Remove variable.
33059 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33060 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33061 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33062 [$(build-bounded) = yes] (libtype.ob): Likewise.
33063 * Makerules (elide-routines.ob): Remove variable.
33064 (do-tests-clean): Do not handle *-bp.out.
33065 (common-mostlyclean): Do not handle *-bp and *-bp.out.
33066 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33067 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33068 (tests): Do not include $(tests-bp.out).
33069 (xtests): Do not include $(xtests-bp.out).
33070 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33071 [$(build-bounded) = yes] ($(addprefix
33072 $(objpfx),$(binaries-bounded))): Remove rule.
33073 ($(objpfx)%-bp.out): Remove rule.
33074 * config.make.in (build-bounded): Remove variable.
33075 * crypt/Makefile [$(build-bounded) = yes]
33076 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33077 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33078 append to variable.
33079 [$(build-bounded) = yes] (install-lib): Likewise.
33080 [$(build-bounded) = yes] (generated): Likewise.
33081 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33082 Remove rule.
33083 * intl/Makefile [$(build-bounded) = yes]
33084 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33085 * math/Makefile [$(build-bounded) = yes]
33086 ($(tests:%=$(objpfx)%-bp): Likewise.
33087 * misc/Makefile [$(build-bounded) = yes]
33088 ($(objpfx)tst-tsearch-bp): Likewise.
33089 * nptl/Makeconfig (bounded-thread-library): Remove variable.
33090 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33091 Remove dependency.
33092 * string/Makefile (o-objects.ob): Remove variable.
33093 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33094 (CFLAGS-.ob): Remove variable.
33095 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33096 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33097 both definitions of variable.
33098 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33099 (ASFLAGS-.ob): Remove variable.
33100
e97ed6dd
JM
331012013-02-14 Joseph Myers <joseph@codesourcery.com>
33102
2bdd4ca6
JM
33103 [BZ #13550]
33104 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33105 Remove __BOUNDED_POINTERS__ from condition.
33106 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33107 * string/bits/string2.h [!__NO_STRING_INLINES &&
33108 !__BOUNDED_POINTERS__]: Likewise.
33109 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33110 Likewise.
33111 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33112 Remove conditional code.
33113 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33114 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33115 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33116 condition.
33117
e97ed6dd
JM
33118 [BZ #13550]
33119 * csu/libc-start.c: Do not include <bp-sym.h>.
33120 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33121 * elf/dl-open.c: Do not include <bp-sym.h>.
33122 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33123 * math/fegetenv.c: Do not include <bp-sym.h>.
33124 (fegetenv): Do not use BP_SYM in versioned symbols.
33125 * nptl/sysdeps/pthread/bits/libc-lockP.h
33126 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33127 <bp-sym.h>.
33128 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33129 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33130 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33131 (__pthread_mutex_destroy): Likewise.
33132 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33133 (__pthread_mutex_lock): Likewise.
33134 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33135 (__pthread_mutex_trylock): Likewise.
33136 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33137 (__pthread_mutex_unlock): Likewise.
33138 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33139 (__pthread_mutexattr_init): Likewise.
33140 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33141 (__pthread_mutexattr_destroy): Likewise.
33142 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33143 (__pthread_mutexattr_settype): Likewise.
33144 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33145 (__pthread_rwlock_init): Likewise.
33146 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33147 (__pthread_rwlock_destroy): Likewise.
33148 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33149 (__pthread_rwlock_rdlock): Likewise.
33150 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33151 (__pthread_rwlock_tryrdlock): Likewise.
33152 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33153 (__pthread_rwlock_wrlock): Likewise.
33154 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33155 (__pthread_rwlock_trywrlock): Likewise.
33156 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33157 (__pthread_rwlock_unlock): Likewise.
33158 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33159 (__pthread_key_create): Likewise.
33160 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33161 (__pthread_setspecific): Likewise.
33162 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33163 (__pthread_getspecific): Likewise.
33164 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33165 Likewise.
33166 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33167 (_pthread_cleanup_push_defer): Likewise.
33168 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33169 (_pthread_cleanup_pop_restore): Likewise.
33170 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33171 (pthread_setcancelstate): Likewise.
33172 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33173 <bp-sym.h>.
33174 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33175 (memchr): Do not use BP_SYM in weak_alias.
33176 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33177 (fegetenv): Do not use BP_SYM in versioned symbols.
33178 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33179 (fesetenv): Do not use BP_SYM in versioned symbols.
33180 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33181 (feupdateenv): Do not use BP_SYM in versioned symbols.
33182 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33183 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33184 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33185 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33186 (open64): Do not use BP_SYM in weak_alias.
33187 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33188 (fegetenv): Do not use BP_SYM in versioned symbols.
33189 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33190 (fesetenv): Do not use BP_SYM in versioned symbols.
33191 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33192 (feupdateenv): Do not use BP_SYM in versioned symbols.
33193 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33194 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33195 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33196 (feraiseexcept): Do not use BP_SYM in versioned symbols.
33197 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33198 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33199 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33200 <bp-sym.h>.
33201 (__libc_start_main): Do not use BP_SYM.
33202
d6752ccd
SP
332032013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33204
cb57ce60
SP
33205 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33206 redundant return line.
33207 (norm): Likewise.
33208 (denorm): Likewise.
33209 (dbl_mp): Likewise.
33210 (sub_magnitudes): Likewise.
33211 (__add): Likewise.
33212 (__sub): Likewise.
33213 (__mul): Likewise.
33214 (__inv): Likewise.
33215 (__dvd): Likewise.
33216 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33217 (norm): Likewise.
33218 (denorm): Likewise.
33219 (dbl_mp): Likewise.
33220 (sub_magnitudes): Likewise.
33221 (__add): Likewise.
33222 (__sub): Likewise.
33223 (__mul): Likewise.
33224 (__inv): Likewise.
33225 (__dvd): Likewise.
33226
f414520d
SP
33227 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33228 instead of __mul.
33229 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33230 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33231 (cc32): Likewise.
33232
d6752ccd
SP
33233 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33234 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33235 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33236 of __mul for squares.
33237 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33238 function
33239 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33240 Likewise.
33241 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33242 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33243
70d9946a
JM
332442013-02-13 Joseph Myers <joseph@codesourcery.com>
33245
33246 [BZ #13550]
33247 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33248 code.
33249 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33250 prototype or function definition. Rename ubp_* variables and
33251 parameters. Remove argv definitions conditional on
33252 [__BOUNDED_POINTERS__].
33253 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33254 * elf/dl-runtime.c (_dl_fixup): Likewise.
33255 * include/set-hooks.h (RUN_HOOK): Likewise.
33256 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33257 definition.
33258 * string/strcpy.c (strcpy): Do not use __unbounded.
33259 * sysdeps/generic/frame.h (struct layout): Likewise.
33260 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33261 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33262 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33263 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33264 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33265 (__backtrace): Likewise.
33266 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33267 use __ptrvalue.
33268 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33269 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33270 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33271 Likewise.
33272 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33273 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33274 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33275 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33276 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33277 Do not use __unbounded.
33278 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33279 Rename __unboundedrlimits parameter to rlimits in prototype.
33280 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33281 Do not use __unbounded.
33282 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33283 not use __ptrvalue.
33284 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33285 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33286 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33287 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33288 __ptrvalue or __unbounded.
33289 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33290 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33291 use __unbounded.
33292 (__new_msgctl): Do not use __ptrvalue.
33293 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33294 __unbounded.
33295 (__libc_msgrcv): Do not use __ptrvalue.
33296 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33297 startup_info): Do not use __unbounded.
33298 (__libc_start_main): Likewise. Rename ubp_* variables and
33299 parameters. Remove argv definitions conditional on
33300 [__BOUNDED_POINTERS__].
33301 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33302 __ptrvalue.
33303 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33304 use __unbounded.
33305 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33306 or __ptrvalue.
33307 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33308 use __unbounded.
33309 (__new_shmctl): Do not use __ptrvalue.
33310 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33311 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33312 Likewise.
33313 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33314 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33315 (__libc_sigaction): Likewise.
33316 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33317 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33318 Likewise.
33319 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33320
cc7834d6
OB
333212013-02-13 Ondřej Bílka <neleai@seznam.cz>
33322
ffb1ec7b 33323 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
33324
33325 * string/mempcpy.c: Implement by calling memcpy.
33326
bdf02814
SP
333272013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33328
c2af38aa
SP
33329 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33330
4e92d59e
SP
33331 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33332 evaluation.
33333
909279a5
SP
33334 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33335 values in the mantissa.
33336
bdf02814
SP
33337 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33338 minimize writes to Z.
33339 (sub_magnitudes): Simplify code a bit.
33340
cd525923
RM
333412013-02-12 Roland McGrath <roland@hack.frob.com>
33342
33343 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33344 from the message. The linker prefixes all warnings with that already.
33345
7e2f0d2d
AS
333462013-02-12 Andreas Schwab <schwab@suse.de>
33347
a445af0b
AS
33348 [BZ #15078]
33349 * posix/regexec.c (extend_buffers): Add parameter min_len.
33350 (check_matching): Pass minimum needed length.
33351 (clean_state_log_if_needed): Likewise.
33352 (get_subexp): Likewise.
33353 * posix/Makefile (tests): Add bug-regex34.
33354 (bug-regex34-ENV): Define.
33355 * posix/bug-regex34.c: New file.
33356
7e2f0d2d
AS
33357 [BZ #11561]
33358 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33359 elements compare against the byte sequence of it, not its name.
33360 * posix/Makefile (tests): Add bug-regex35.
33361 (bug-regex35-ENV): Define.
33362 * posix/bug-regex35.c: New file.
33363
a175b684
TV
333642013-02-11 Tom de Vries <tom@codesourcery.com>
33365
33366 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33367 comment.
33368 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33369 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33370 (CHECK_EOL): Add undef.
33371
310998fe 333722013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
33373
33374 * bits/stdlib-bsearch.h: New file.
33375 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 33376 * stdlib/stdlib.h: Likewise.
41eda41d 33377
8ded91fb
RM
333782013-02-11 Roland McGrath <roland@hack.frob.com>
33379
33380 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33381 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33382 declaration.
33383 * manual/search.texi (Array Search Function): Add missing const in
33384 lfind prototype.
33385 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33386 declaration to use rlim_t.
33387 (Basic Scheduling Functions): Remove erroneous const from
33388 sched_getparam prototype. Remove erroneous * from
33389 sched_get_priority_max and sched_get_priority_min prototypes.
33390 (Resource Usage): Fix summary @comment on vtimes to refer to
33391 sys/vtimes.h rather than vtimes.h.
33392 Add missing *s in vtimes prototype.
33393 (Limits on Resources): Fix ulimit prototype to return long int.
33394 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33395 prototypes to use long int rather than double.
33396 (BSD Random): Fix initstate and setstate to use char *, not void *.
33397 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33398 prototype to make second argument 'struct aiocb64 *const[]'.
33399 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33400 (Status of AIO Operations): Remove erroneous const in aio_return and
33401 aio_return64 prototypes.
33402 (Synchronizing I/O): Fix sync prototype to return void.
33403 * manual/startup.texi (Suboptions): Remove an erroneous const in
33404 getsubopt prototype.
33405 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33406 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33407 use size_t rather than int.
33408 (Scanning All Users): Likewise for getpwent_r.
33409 (Setting Groups): Add missing const to setgroups prototype.
33410 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33411 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33412 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33413 'const void *' rather than 'const char *'.
33414 (Host Address Functions): Likewise for inet_ntop.
33415 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33416 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33417 ssize_t for return value.
33418 (Sending Data): Likewise for send, sendto, sendmsg.
33419 (Socket Option Functions): Add a missing const in setsockopt prototype.
33420 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33421 use wchar_t for the argument.
33422 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33423 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33424 take no arguments.
33425 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33426 double/float/long double for second argument.
33427 Fix return types of significand, significandf, significandl.
33428 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33429 argument in fchmod prototype.
33430 (File Owner): Use uid_t and gid_t in fchown prototype.
33431 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33432 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33433 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33434 use 'const struct dirent **' as argument types to CMP function pointer
33435 argument.
33436 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33437 (File Times): Fix summary magic @comment for struct utimbuf and utime
33438 to refer to utime.h, not time.h.
33439 * manual/string.texi (Argz Functions): Add missing const in
33440 argz_extract and argz_next prototypes.
33441 (Finding Tokens in a String): Likewise for basename.
33442 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33443 (Copying and Concatenation): Fix typo in wmemmove prototype.
33444 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33445 (Signal Stack): Remove erroneous const in sigstack prototype.
33446 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33447 prototype.
33448 (Simple Calendar Time): Likewise for stime.
33449 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33450 prototype.
33451 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33452 say sys/sysctl.h instead.
33453 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33454 and vsyslog prototypes.
33455
fe77fe6d
TV
334562013-02-11 Tom de Vries <tom@codesourcery.com>
33457
33458 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33459 Remove.
33460
3a09b620
RM
334612013-02-11 Roland McGrath <roland@hack.frob.com>
33462
33463 * misc/sys/mman.h: Fix typo in mremap comment.
33464
550a0b89
RM
334652013-02-08 Roland McGrath <roland@hack.frob.com>
33466
33467 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33468 the '\0' terminator.
33469
a2da1673
JM
334702013-02-08 Joseph Myers <joseph@codesourcery.com>
33471
33472 [BZ #13550]
33473 * debug/segfault.c: Don't include <bp-checks.h>.
33474 * sysdeps/generic/bp-checks.h: Remove file.
33475 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33476 (__GETDENTS): Don't use CHECK_N.
33477 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33478 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33479 (__getgroups): Don't use CHECK_N.
33480 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33481 (setgroups): Don't use CHECK_N.
33482 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33483 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33484 (__libc_msgrcv): Don't use CHECK_N.
33485 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33486 (__libc_msgsnd): Don't use CHECK_N.
33487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33488 <bp-checks.h>.
33489 (__libc_pread): Don't use CHECK_N.
33490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33491 include <bp-checks.h>.
33492 (__libc_pread64): Don't use CHECK_N.
33493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33494 include <bp-checks.h>.
33495 (__libc_pwrite): Don't use CHECK_N.
33496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33497 include <bp-checks.h>.
33498 (__libc_pwrite64): Don't use CHECK_N.
33499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33500 <bp-checks.h>.
33501 (__libc_pread): Don't use CHECK_N.
33502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33503 include <bp-checks.h>.
33504 (__libc_pread64): Don't use CHECK_N.
33505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33506 include <bp-checks.h>.
33507 (__libc_pwrite): Don't use CHECK_N.
33508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33509 include <bp-checks.h>.
33510 (__libc_pwrite64): Don't use CHECK_N.
33511 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33512 (do_pread): Don't use CHECK_N.
33513 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33514 (do_pread64): Don't use CHECK_N.
33515 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33516 (do_pwrite): Don't use CHECK_N.
33517 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33518 (do_pwrite64): Don't use CHECK_N.
33519 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33520 (__libc_readv): Don't use CHECK_N.
33521 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33522 (semop): Don't use CHECK_N.
33523 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33524 <bp-checks.h>.
33525 (semtimedop): Don't use CHECK_N.
33526 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33527 (__libc_pread): Don't use CHECK_N.
33528 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33529 <bp-checks.h>.
33530 (__libc_pread64): Don't use CHECK_N.
33531 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33532 <bp-checks.h>.
33533 (__libc_pwrite): Don't use CHECK_N.
33534 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33535 <bp-checks.h>.
33536 (__libc_pwrite64): Don't use CHECK_N.
33537 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33538 <bp-checks.h>.
33539 (__libc_msgrcv): Don't use CHECK_N.
33540 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33541 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33542 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33543 (__libc_writev): Don't use CHECK_N.
33544
b84660a8
RM
335452013-02-08 Roland McGrath <roland@hack.frob.com>
33546
7f3e75f8
RM
33547 * string/strcpy.c: Removed unused variable.
33548
b84660a8
RM
33549 * Makeconfig (+sysdep-includes): Define with := rather than =.
33550 Use an existing include/ subdir of each sysdeps dir before it.
33551
471514d3
CD
335522013-02-08 Carlos O'Donell <carlos@redhat.com>
33553
33554 * nscd/connection.c (register_traced_file): Comment function.
33555 [HAVE_INOTIFY] (union __inev): Define.
33556 [HAVE_INOTIFY] (inotify_check_files): New function.
33557 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33558 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33559 clear_db_cache.
33560 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33561
b2d3c3be
CD
335622013-02-08 Carlos O'Donell <carlos@redhat.com>
33563
33564 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33565 loaded if not already and that a failure is permanent.
33566
b39949d2
CD
335672013-02-08 Carlos O'Donell <carlos@redhat.com>
33568
ddacd1db 33569 [BZ #15006]
b39949d2
CD
33570 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33571 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33572
b2c9eff4
JM
335732013-02-08 Joseph Myers <joseph@codesourcery.com>
33574
f3aae3f3
JM
33575 [BZ #13550]
33576 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33577 (CHECK_1_NULL_OK): Likewise.
33578 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33579 (__fxstat): Do not use CHECK_1.
33580 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33581 <bp-checks.h>.
33582 (___fxstat64): Do not use CHECK_1.
33583 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33584 <bp-checks.h>.
33585 (__fxstatat): Do not use CHECK_1.
33586 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33587 <bp-checks.h>.
33588 (__fxstatat64): Do not use CHECK_1.
33589 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33590 <bp-checks.h>.
33591 (__fxstat): Do not use CHECK_1.
33592 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33593 <bp-checks.h>.
33594 (__fxstatat): Do not use CHECK_1.
33595 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33596 <bp-checks.h>.
33597 (__getresgid): Do not use CHECK_1.
33598 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33599 <bp-checks.h>.
33600 (__getresuid): Do not use CHECK_1.
33601 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33602 <bp-checks.h>.
33603 (__lxstat): Do not use CHECK_1.
33604 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33605 <bp-checks.h>.
33606 (__old_msgctl): Do not use CHECK_1.
33607 (__new_msgctl): Likewise.
33608 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33609 <bp-checks.h>.
33610 (__new_setrlimit): Do not use CHECK_1.
33611 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33612 <bp-checks.h>.
33613 (__old_shmctl): Do not use CHECK_1.
33614 (__new_shmctl): Likewise.
33615 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33616 <bp-checks.h>.
33617 (__xstat): Do not use CHECK_1.
33618 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33619 (__lxstat): Do not use CHECK_1.
33620 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33621 <bp-checks.h>.
33622 (___lxstat64): Do not use CHECK_1.
33623 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33624 (__old_msgctl): Do not use CHECK_1.
33625 (__new_msgctl): Likewise.
33626 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33627 <bp-checks.h>.
33628 (__gettimeofday): Do not use CHECK_1.
33629 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33630 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33631 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33632 <bp-checks.h>.
33633 (__gettimeofday): Do not use CHECK_1.
33634 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33635 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33636 (__new_shmctl): Do not use CHECK_1.
33637 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33638 <bp-checks.h>.
33639 (do_sigtimedwait): Do not use CHECK_1.
33640 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33641 <bp-checks.h>.
33642 (do_sigwaitinfo): Do not use CHECK_1.
33643 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33644 <bp-checks.h>.
33645 (msgctl): Do not use CHECK_1.
33646 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33647 <bp-checks.h>.
33648 (shmctl): Do not use CHECK_1.
33649 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33650 (ustat): Do not use CHECK_1.
33651 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33652 <bp-checks.h>.
33653 (__fxstat): Do not use CHECK_1.
33654 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33655 <bp-checks.h>.
33656 (__fxstatat): Do not use CHECK_1.
33657 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33658 <bp-checks.h>.
33659 (__lxstat): Do not use CHECK_1.
33660 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33661 <bp-checks.h>.
33662 (__xstat): Do not use CHECK_1.
33663 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33664 (__xstat): Do not use CHECK_1.
33665 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33666 (___xstat64): Do not use CHECK_1.
33667
b2c9eff4
JM
33668 [BZ #13550]
33669 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33670 definitions.
33671 (CHECK_BOUNDS_HIGH): Likewise.
33672 * string/strcpy.c: Do not include <bp-checks.h>.
33673 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33674
f1d70dad
RM
336752013-02-07 Roland McGrath <roland@hack.frob.com>
33676
33677 * nscd/nscd-client.h (__nscd_drop_map_ref):
33678 Add __attribute__ ((unused)).
33679 * nis/nss-nisplus.h (niserr2nss): Likewise.
33680
33681 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33682 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33683
33684 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33685 Remove inline keyword.
33686 * include/rounding-mode.h (round_away): Likewise.
33687 * libio/wfileops.c (adjust_wide_data): Likewise.
33688 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33689 (__m128i_strloadu_tolower): Likewise.
33690 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33691 (__m128i_strloadu_tolower): Likewise.
33692 * time/mktime.c (ydhms_diff): Likewise.
33693 * locale/elem-hash.h (elem_hash): Likewise.
33694 * locale/setlocale.c (setdata): Likewise.
33695 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33696 (re_string_wchar_at): Likewise.
33697 (bitset_not, bitset_merge, bitset_mask): Likewise.
33698 [!(__GNUC__ > 3)] (inline): Remove macro.
33699 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33700 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33701 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33702 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33703 * string/memcmp.c (memcmp_bytes): Likewise.
33704 * locale/programs/locarchive.c (compute_hashval): Likewise.
33705 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33706 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33707 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33708 * nss/getent.c (print_rpc, print_protocols): Likewise.
33709 (print_passwd, print_group, print_aliases): Likewise.
33710 * nis/nss-nisplus.h (niserr2nss): Likewise.
33711 * nscd/connections.c (restart_p): Likewise.
33712 Change return type to bool.
33713
eab55bfb
RM
337142013-02-05 Roland McGrath <roland@hack.frob.com>
33715
7bd642f5
RM
33716 * Makeconfig (all-Depend-files): Add existing
33717 $(sorted-subdirs:=/Depend) files.
33718 (all-subdirs): Remove nss.
33719 * sysdeps/unix/inet/Subdirs: Add it here instead.
33720 * hesiod/Depend: New file.
33721
573c29b2
RM
33722 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33723 instead of calling alloca.
33724
b2e25af0
RM
33725 * io/lseek.c (__lseek): Rename to __libc_lseek.
33726 Define __lseek as an alias.
33727
eab55bfb
RM
33728 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33729
9a0d1941
CD
337302013-02-04 Carlos O'Donell <carlos@redhat.com>
33731
33732 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33733 else clause and remove check for non-standard endianness.
33734
b83bbec4
DM
337352013-02-04 David S. Miller <davem@davemloft.net>
33736
33737 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33738
6277fdab
JM
337392013-02-04 Joseph Myers <joseph@codesourcery.com>
33740
33741 [BZ #13550]
33742 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33743 (__ubp_memchr): Remove prototype.
33744 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33745 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33746 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33747 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33748 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33749 Remove alias.
33750 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33751 (__ubp_memchr): Likewise.
33752 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33753 (__ubp_memchr): Likewise.
33754 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33755 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33756 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33757 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33758 CHECK_STRING.
33759 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33760 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33761 (__getcwd): Do not use CHECK_STRING.
33762 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33763 <bp-checks.h>.
33764 (__real_chown): Do not use CHECK_STRING.
33765 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33766 <bp-checks.h>.
33767 (fchownat): Do not use CHECK_STRING.
33768 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33769 CHECK_STRING.
33770 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33771 <bp-checks.h>.
33772 (__lchown): Do not use CHECK_STRING.
33773 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33774 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33775 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33776 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33778 include <bp-checks.h>.
33779 (truncate64): Do not use CHECK_STRING.
33780 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33781 <bp-checks.h>.
33782 (__real_chown): Do not use CHECK_STRING.
33783 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33784 <bp-checks.h>.
33785 (__lchown): Do not use CHECK_STRING.
33786 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33787 <bp-checks.h>.
33788 (__chown): Do not use CHECK_STRING.
33789 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33790 <bp-checks.h>.
33791 (truncate64): Do not use CHECK_STRING.
33792 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33793 Likewise.
33794 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33795 (__xmknod): Do not use CHECK_STRING.
33796 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33797 <bp-checks.h>.
33798 (__xmknodat): Do not use CHECK_STRING.
33799 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33800 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33801
903ae060
AS
338022013-02-04 Andreas Schwab <schwab@suse.de>
33803
33804 [BZ #14142]
33805 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33806 * include/netdb.h: Likewise for h_errno.
33807 * elf/tst-stackguard1.c: Include <tls.h>.
33808
542f9466
JK
338092013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33810
33811 * elf/link.h (struct link_map): Extend the l_addr comment.
33812 * include/link.h (struct link_map): Likewise.
33813
e782a927
JM
338142013-02-01 Joseph Myers <joseph@codesourcery.com>
33815
33816 [BZ #13550]
33817 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33818 (BOUNDED_1): Remove macro.
33819 * debug/backtrace.c: Don't include <bp-checks.h>.
33820 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33821 (__backtrace): Likewise.
33822 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33823 <bp-checks.h>.
33824 (__backtrace): Don't use BOUNDED_1.
33825 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33826 <bp-checks.h>.
33827 (__backtrace): Don't use BOUNDED_1.
33828 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33829 (__backtrace): Don't use BOUNDED_1.
33830 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33831 (shmat): Don't use BOUNDED_N.
33832
8cf28c5e
JM
338332013-01-31 Joseph Myers <joseph@codesourcery.com>
33834
3a7ac8a0
JM
33835 [BZ #13550]
33836 * sysdeps/generic/bp-start.h: Remove file.
33837 * csu/libc-start.c: Don't include <bp-start.h>.
33838 (LIBC_START_MAIN): Set up __environ directly instead of using
33839 INIT_ARGV_and_ENVIRON.
33840 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33841 <bp-start.h>.
33842
f3499f95
JM
33843 [BZ #13550]
33844 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33845 definitions.
33846 (CHECK_FCNTL): Likewise.
33847 (CHECK_N_PAGES): Likewise.
33848
32a45bea
JM
33849 [BZ #13550]
33850 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33851 definitions.
33852 (CHECK_SIGSET_NULL_OK): Likewise.
33853 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33854 <bp-checks.h>.
33855 (sigpending): Don't use CHECK_SIGSET.
33856 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33857 <bp-checks.h>.
33858 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33859 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33860 <bp-checks.h>.
33861 (do_sigsuspend): Don't use CHECK_SIGSET.
33862 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33863 use CHECK_SIGSET.
33864 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33865 (do_sigwait): Don't use CHECK_SIGSET.
33866 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33867 use CHECK_SIGSET.
33868 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33869 include <bp-checks.h>.
33870 (sigpending): Don't use CHECK_SIGSET.
33871 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33872 include <bp-checks.h>.
33873 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33874 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33875 <bp-checks.h>.
33876 (sigpending): Don't use CHECK_SIGSET.
33877 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33878 <bp-checks.h>.
33879 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33880
2e8a5c8c
JM
33881 [BZ #13550]
33882 * sysdeps/generic/bp-semctl.h: Remove file.
33883 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33884 <bp-checks.h> and <bp-semctl.h>.
33885 (__old_semctl): Don't use CHECK_SEMCTL.
33886 (__new_semctl): Likewise.
33887 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33888 and <bp-semctl.h>.
33889 (__old_semctl): Don't use CHECK_SEMCTL.
33890 (__new_semctl): Likewise.
33891 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33892 <bp-checks.h> and <bp-semctl.h>.
33893 (__old_semctl): Don't use CHECK_SEMCTL.
33894 (__new_semctl): Likewise.
33895 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33896 <bp-checks.h> and <bp-semctl.h>.
33897 (semctl): Don't use CHECK_SEMCTL.
33898
c2d54929
JM
33899 [BZ #13550]
33900 * Makerules (elide-bp-thunks): Remove variable.
33901 (elide-routines.oS): Don't use $(elide-bp-thunks).
33902 (elide-routines.os): Likewise.
33903 (elide-routines.o): Likewise.
33904 (elide-routines.op): Likewise.
33905 (elide-routines.og): Likewise.
33906 (objects): Don't use $(bp-thunks).
33907 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33908 include.
33909 (common-generated): Do not add s-proto-bp.d.
33910 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33911 (int): Likewise.
33912 (typ): Likewise.
33913 Do not generate makefile rules for bounded-pointer thunks.
33914 * sysdeps/generic/bp-thunks.h: Remove file.
33915 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33916 * sysdeps/unix/s-proto-bp.S: Likewise.
33917
8cf28c5e
JM
33918 [BZ #15062]
33919 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33920 parts of result separately when argument is not close to line from
33921 -i to i and one part of argument is small.
33922 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33923 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33924 * math/libm-test.inc (cacos_test): Add more tests.
33925 (casin_test): Likewise.
33926 (casinh_test): Likewise.
33927 * sysdeps/i386/fpu/libm-test-ulps: Update.
33928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33929
c4e33b8d
DM
339302013-01-31 David S. Miller <davem@davemloft.net>
33931
33932 * po/de.po: Update from translation team.
33933
3b60b421
MK
339342013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33935
33936 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33937
bb931195
TS
339382013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33939
b5a5da23
TS
33940 * configure.in (_AC_PROG_CC_C89): New definition.
33941 * configure: Regenerate.
33942
bb931195
TS
33943 * configure.in (AC_PROG_CPP): New definition.
33944 * configure: Regenerate.
33945
8c53a12c
JM
339462013-01-23 Joseph Myers <joseph@codesourcery.com>
33947
33948 * debug/tst-backtrace.h: New file.
33949 * debug/tst-backtrace2.c: Include tst-backtrace.h.
33950 (ret): Remove variable.
33951 (x): Likewise.
33952 (FAIL): Remove macro.
33953 (NO_INLINE): Likewise.
33954 (fn1): Use match function instead of strstr.
33955 * debug/tst-backtrace3.c: Include tst-backtrace.h.
33956 (ret): Remove variable.
33957 (x): Likewise.
33958 (FAIL): Remove macro.
33959 (NO_INLINE): Likewise.
33960 (fn): Use match function instead of strstr.
33961 * debug/tst-backtrace4.c: Include tst-backtrace.h.
33962 (ret): Remove variable.
33963 (x): Likewise.
33964 (FAIL): Remove macro.
33965 (NO_INLINE): Likewise.
33966 (handle_signal): Use match function instead of strstr.
33967 * debug/tst-backtrace5.c: Include tst-backtrace.h.
33968 (ret): Remove variable.
33969 (x): Likewise.
33970 (FAIL): Remove macro.
33971 (NO_INLINE): Likewise.
33972 (handle_signal): Use match function instead of strstr.
33973
4858fa2a
RM
339742013-01-23 Roland McGrath <roland@hack.frob.com>
33975
33976 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
33977
bae8e7f5
DM
339782013-01-23 David S. Miller <davem@davemloft.net>
33979
33980 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
33981 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
33982 argument of CAS if possible.
33983 * sysdeps/sparc/sparc64/bits/atomic.h
33984 (__arch_compare_and_exchange_val_32_acq): Likewise.
33985 (__arch_compare_and_exchange_val_64_acq): Likewise.
33986
9cbbc4ae
PT
339872013-01-23 Pino Toscano <toscano.pino@tiscali.it>
33988
33989 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
33990 * sysdeps/posix/ulimit.c: ... this.
92a601b8 33991 Include <limits.h>.
67b3f58c 33992 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 33993
5655a0b5
AC
339942013-01-23 Adam Conrad <adconrad@0c3.net>
33995
33996 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
33997 (LDFLAGS-tst-array5): Likewise.
33998
052aff95
JM
339992013-01-23 Joseph Myers <joseph@codesourcery.com>
34000
34001 [BZ #15036]
34002 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34003 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34004 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34005 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34006
7c1e01aa
DM
340072013-01-21 David S. Miller <davem@davemloft.net>
34008
34009 * sysdeps/sparc/backtrace.c: New file.
34010 * sysdeps/sparc/sparc32/backtrace.h: New file.
34011 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34012 * sysdeps/sparc/sparc64/backtrace.h: New file.
34013 * sysdeps/sparc/sparc64/backtrace.c: Delete.
34014 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34015 -funwind-tables.
34016
ab087e0a
AS
340172013-01-21 Andreas Schwab <schwab@suse.de>
34018
34019 [BZ #15020]
34020 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34021 closed its stdout.
34022
ed689c2f
AS
340232013-01-20 Andreas Schwab <schwab@linux-m68k.org>
34024
34025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34026 "mpa2.h".
34027 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34028
31d470ac
JM
340292013-01-18 Joseph Myers <joseph@codesourcery.com>
34030 Mark Mitchell <mark@codesourcery.com>
34031 Tom de Vries <tom@codesourcery.com>
34032 Paul Pluzhnikov <ppluzhnikov@google.com>
34033
34034 * debug/tst-backtrace2.c: New file.
34035 * debug/tst-backtrace3.c: Likewise.
34036 * debug/tst-backtrace4.c: Likewise.
34037 * debug/tst-backtrace5.c: Likewise.
34038 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34039 (CFLAGS-tst-backtrace3.c): Likewise.
34040 (CFLAGS-tst-backtrace4.c): Likewise.
34041 (CFLAGS-tst-backtrace5.c): Likewise.
34042 (LDFLAGS-tst-backtrace2): Likewise.
34043 (LDFLAGS-tst-backtrace3): Likewise.
34044 (LDFLAGS-tst-backtrace4): Likewise.
34045 (LDFLAGS-tst-backtrace5): Likewise.
34046 (tests): Add new tests tst-backtrace2, tst-backtrace3,
34047 tst-backtrace4 and tst-backtrace5.
34048
90567f30 340492013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
34050 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34051
34052 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34053 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34054 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34055 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34057 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34058 "+r" and remove output regs list as redundant. Add explicit inline
34059 asm to specify register of return val to work around compiler codegen
34060 bug. Remove (int) cast on return value. Add return type parameter to
34061 use in macro so that this macro does not truncate return value for
34062 64-bit values.
34063 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34064 pass to INTERNAL_VSYSCALL_NCS.
34065 (INLINE_VSYSCALL): Add 'long int' as return type to
34066 INTERNAL_VSYSCALL_NCS macro invocation.
34067 (INTERNAL_VSYSCALL): Add 'long int' as return type to
34068 INTERNAL_VSYSCALL_NCS macro invocation.
34069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34070
d3b9ea61
SP
340712013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34072
0b57daeb
SP
34073 [BZ #14496]
34074 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34075 Fix application of SIMD FP exception mask.
34076
caa99d06
SP
34077 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34078 mp_no from a power of two.
34079 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34080 __mpexp_twomm1. Use __pow_mp.
34081
d3b9ea61
SP
34082 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34083 multiplication.
34084
1dbaee3c
DM
340852013-01-17 David S. Miller <davem@davemloft.net>
34086
34087 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34088
728d7b43
JM
340892013-01-17 Joseph Myers <joseph@codesourcery.com>
34090
34091 [BZ #15023]
34092 * include/complex.h: Condition contents on [!_COMPLEX_H].
34093 (__kernel_casinhf): New prototype.
34094 (__kernel_casinh): Likewise.
34095 (__kernel_casinhl): Likewise.
34096 * math/Makefile (libm_calls): Add k_casinh.
34097 * math/k_casinh.c: New file.
34098 * math/k_casinhf.c: Likewise.
34099 * math/k_casinhl.c: Likewise.
34100 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34101 finite nonzero arguments.
34102 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34103 finite nonzero arguments.
34104 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34105 finite nonzero arguments.
34106 * math/s_casinh.c: Do not include <float.h>.
34107 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34108 * math/s_casinhf.c: Do not include <float.h>.
34109 (__casinhf): Move code for finite nonzero arguments to
34110 k_casinhf.c.
34111 * math/s_casinhl.c: Do not include <float.h>.
34112 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34113 redefine.
34114 (__casinhl): Move code for finite nonzero arguments to
34115 k_casinhl.c.
34116 * math/libm-test.inc (cacos_test): Add more tests.
34117 * sysdeps/i386/fpu/libm-test-ulps: Update.
34118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34119
2a26ef3a
PT
341202013-01-17 Pino Toscano <toscano.pino@tiscali.it>
34121
34122 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34123 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34124 [!HAVE_MREMAP]: Remove [defined linux] case.
34125 * malloc/arena.c: Do not include <malloc-sysdep.h>.
34126
a897655d
SP
341272013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34128
34129 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34130
881ebe89 341312013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
34132
34133 * elf/elf.h (R_386_SIZE32): New relocation.
34134 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34135 R_386_SIZE32.
34136 (elf_machine_rela): Likewise.
34137 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34138 R_X86_64_SIZE64 and R_X86_64_SIZE32.
34139
59981e9b
JM
341402013-01-17 Joseph Myers <joseph@codesourcery.com>
34141
34142 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34143 (FP_FAST_FMA): Do not define.
34144 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34145 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34146 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34147 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34148 !_SOFT_FLOAT]: Likewise.
34149 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34150 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34151 value.
34152 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34153 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34154 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34155 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34156 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34157 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34158 file.
34159
cfa8054f
AS
341602013-01-16 Andreas Schwab <schwab@suse.de>
34161
34162 [BZ #14327]
34163 * include/stdlib.h (__mktemp): Add declaration.
34164 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34165 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34166
dd930cc5
SP
341672013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34168
881ebe89
SP
34169 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34170 definitions.
34171 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34172 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34173 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34174 definitions here.
34175 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34176 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34177 definitions.
34178 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34179 and ONE.
34180 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34181 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34182 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34183 definitions.
34184 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34185 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34186 definitions.
34187 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 34188
dd930cc5
SP
34189 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34190
c19a9f89
DM
341912013-01-15 David S. Miller <davem@davemloft.net>
34192
1aa61767
DM
34193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34194 trunc{,f} to libm-sysdep_routes.
34195 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34197 file.
34198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34200 file.
34201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34202 file.
34203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34205 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34206 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34207 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34208 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34209 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34210 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34211
c42d5e98
DM
34212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34213 nearbyint{,f} to libm-sysdep_routes.
34214 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34216 New file.
34217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34218 file.
34219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34220 New file.
34221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34222 file.
34223 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34224 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34225 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34226 file.
34227 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34228 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34229 file.
34230 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34231 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34232 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34233
c19a9f89
DM
34234 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34235 libc_feholdexcept and libc_fesetenv.
34236
357679d2
MF
342372013-01-15 Mike Frysinger <vapier@gentoo.org>
34238
34239 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34240
65a82e3d
DM
342412013-01-14 David S. Miller <davem@davemloft.net>
34242
8b954ab9
DM
34243 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34244 (SPARC_ASM_VIS2_IFUNC): Likewise.
34245 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34247 use of 'siam' instruction.
34248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34249 Likewise.
34250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34251 Likewise.
34252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34253 Likewise.
34254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34255 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34256 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34259 file.
34260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34261 file.
34262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34263 file.
34264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34265 file.
34266 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34267 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34268 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34271 new VIS2 routines.
34272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34275 Likewise.
34276 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34277 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34278 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34281 routines to libm-sysdep_routines.
34282 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34283
65a82e3d
DM
34284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34285 fdim/fdimf to libm-sysdep_routines.
34286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34287 file.
34288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34290 file.
34291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34294 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34295 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34296 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34297 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34298
e34ab705
SP
342992013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34300
2a91b573
SP
34301 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34302 to optimize copies.
34303
1066a534
SP
34304 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34305 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34306 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34307
e34ab705
SP
34308 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34309 local variable MPTWO.
34310 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34311 Likewise.
34312
aba5e596
MF
343132013-01-13 Mike Frysinger <vapier@gentoo.org>
34314
34315 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34316 GLOB_NOESCAPE.
34317
e557e9e5
MF
343182013-01-13 Mike Frysinger <vapier@gentoo.org>
34319
34320 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34321
0428cec9
MF
343222013-01-13 Mike Frysinger <vapier@gentoo.org>
34323
34324 * manual/pattern.texi (glob_t): Document gl_flags.
34325 (glob64_t): Likewise.
34326
8794a964
DM
343272013-01-11 David S. Miller <davem@davemloft.net>
34328
66438c3f
RM
34329 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34330 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34331 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
34332 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34333 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34334 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34335 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34336 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34337 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34338 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34339 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34340 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34341 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34342
4ae4244d
DM
34343 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34344 sparc V9 rather than using V8 code.
34345 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34346 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34347
8794a964
DM
34348 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34349 Move to...
34350 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34351 Here.
34352
6270516e
RM
343532013-01-11 Roland McGrath <roland@hack.frob.com>
34354
34355 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34356 not in the main loop.
34357 * configure: Regenerated.
34358
6a57d931
JM
343592013-01-11 Joseph Myers <joseph@codesourcery.com>
34360
34361 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34362 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34363 to just #else.
34364 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34365 [!__GLIBC_HAVE_LONG_LONG] case.
34366 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34367 condition to just #else.
34368 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34369 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34370 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34371 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34372 unconditional.
34373 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34374 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34375 #elif condition to just #else.
34376 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34377 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34378 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34379 #elif condition to just #else.
34380
0e8529e9
SE
343812013-01-11 Steve Ellcey <sellcey@mips.com>
34382
34383 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34384 (EF_MIPS_ARCH_64): Fix value.
34385 (EF_MIPS_ARCH_32R2): New.
34386 (EF_MIPS_ARCH_64R2): New.
34387
740b3dbe
L
343882013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34389
34390 * Makeconfig (+link-pie-before-libc): New.
34391 (+link-pie-after-libc): Likewise.
34392 (+link-pie-tests): Likewise.
34393 (+link-pie): Rewritten.
34394 (link-before-libc): Remove $(config-LDFLAGS).
34395 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34396 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34397 (config-LDFLAGS): Renamed to ...
34398 (rtld-LDFLAGS): This.
34399 (rtld-tests-LDFLAGS): New macro.
34400 (link-libc-rpath-link): Likewise.
34401 (link-libc-tests-rpath-link): Likewise.
34402 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34403 (link-libc): Prepand $(link-libc-rpath-link).
34404 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34405 (test-program-prefix): New macro.
34406 (test-via-rtld-prefix): Likewise.
34407 (test-program-cmd): Likewise.
34408 (host-test-program-cmd): Likewise.
34409 * Makefile ($(common-objpfx)testrun.sh): Replace
34410 $(run-program-prefix) with $(test-program-prefix).
34411 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34412 $(rtld-LDFLAGS).
34413 ($(common-objpfx)shlib.lds): Likewise.
34414 (build-module-helper): Likewise.
34415 ($(common-objpfx)format.lds): Likewise.
34416 * Rules (binaries-pie-tests): New.
34417 (binaries-pie-notests): Likewise.
34418 (binaries-pie): Rewritten.
34419 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34420 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34421 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34422 (make-test-out): Replace $(host-built-program-cmd) with
34423 $(host-test-program-cmd).
34424 * config.make.in (build-hardcoded-path-in-tests): New variable.
34425 * configure.in (--enable-hardcoded-path-in-tests): New configure
34426 option.
34427 (hardcoded_path_in_tests): New AC_SUBST.
34428 * configure: Regenerated.
34429 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34430 $(built-program-cmd) with $(test-program-cmd).
34431 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34432 (test_program_cmd): This.
34433 * elf/Makefile ($(objpfx)order.out): Run test with
34434 $(test-program-prefix).
34435 ($(objpfx)order2.out): Likewise.
34436 ($(objpfx)tst-initorder.out): Likewise.
34437 ($(objpfx)tst-initorder2.out): Likewise.
34438 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34439 $(test-program-cmd).
34440 ($(objpfx)tst-array1-static.out): Likewise.
34441 ($(objpfx)tst-array2.out): Likewise.
34442 ($(objpfx)tst-array3.out): Likewise.
34443 ($(objpfx)tst-array4.out): Likewise.
34444 ($(objpfx)tst-array5.out): Likewise.
34445 ($(objpfx)tst-array5-static.out): Likewise.
34446 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34447 $(test-program-cmd).
34448 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34449 $(run-program-prefix) with $(test-program-prefix).
34450 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34451 (test_program_prefix): This.
34452 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34453 $(run-program-prefix) with $(test-program-prefix).
34454 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34455 (test_program_prefix): This.
34456 * iconvdata/tst-tables.sh: Likewise.
34457 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34458 $(run-program-prefix) with $(test-program-prefix).
34459 ($(objpfx)tst-translit.out): Likewise.
34460 ($(objpfx)tst-gettext2.out): Likewise.
34461 ($(objpfx)tst-gettext4.out): Likewise.
34462 ($(objpfx)tst-gettext6.out): Likewise.
34463 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34464 (test_program_prefix): This.
34465 * intl/tst-gettext2.sh: Likewise.
34466 * intl/tst-gettext4.sh Likewise.
34467 * intl/tst-gettext6.sh: Likewise.
34468 * intl/tst-translit.sh: Likewise.
34469 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34470 with $(test-program-cmd).
34471 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34472 $(run-program-prefix) with $(test-program-prefix).
34473 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34474 (test_program_prefix): This.
34475 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34476 $(run-program-prefix) with $(test-program-prefix).
34477 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34478 (test_program_prefix): This.
34479 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34480 * posix/Makefile ($(objpfx)globtest.out): Replace
34481 $(run-via-rtld-prefix) and $(test-wrapper) with
34482 $(test-program-prefix) and $(test-via-rtld-prefix).
34483 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34484 $(test-program-prefix).
34485 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34486 $(host-test-program-cmd).
34487 (tst-spawn-ARGS): Likewise.
34488 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34489 $(test-program-prefix).
34490 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34491 (test_via_rtld_prefix): This.
34492 (test_wrapper): Renamed to ...
34493 (test_program_prefix): This.
34494 (run_program_prefix): Replaced by test_program_prefix.
34495 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34496 (test_program_prefix): This.
34497 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34498 with $(host-test-program-cmd).
34499 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34500 $(run-program-prefix) with $(test-program-prefix).
34501 ($(objpfx)tst-printf.out): Likewise.
34502 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34503 $(test-program-cmd).
34504 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34505 (test_program_prefix): This.
34506 * stdio-common/tst-unbputc.sh: Likewise.
34507 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34508 $(run-program-prefix) with $(test-program-prefix).
34509 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34510 (test_program_prefix): This.
34511 * string/Makefile ($(objpfx)tst-svc.out): Replace
34512 $(built-program-cmd) with $(test-program-cmd).
34513
c6fe55cf
AJ
345142013-01-11 Andreas Jaeger <aj@suse.de>
34515
34516 [BZ #15003]
34517 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34518 value. Sync with Linux 3.7.
34519
9e6919c8
DM
345202013-01-10 David S. Miller <davem@davemloft.net>
34521
34522 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34523 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34524 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34525
1c9f1a02
RM
345262013-01-10 Roland McGrath <roland@hack.frob.com>
34527
34528 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34529 never set.
34530 * configure: Regenerated.
34531
b9de2dde
DM
345322013-01-10 David S. Miller <davem@davemloft.net>
34533
34534 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34535 sparc V9 rather than using V8 code.
34536 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34537 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34538
e7f68ef4
RM
345392013-01-10 Roland McGrath <roland@hack.frob.com>
34540
34541 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34542 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34543 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34544 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34545 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34546 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34547 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34548 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34549 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34550 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34551 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34552 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34553 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34554 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34555 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34556 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34557 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34558 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34559 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34560 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34561 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34562 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34563 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34564 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34565 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34566 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34567 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34568
5a47cc9c
DM
345692013-01-10 David S. Miller <davem@davemloft.net>
34570
34571 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34572
4cf8f209
L
345732013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34574
34575 * posix/Makefile (tests-static): New variable.
34576 (tests): Add $(tests-static).
34577 (tst-exec-static-ARGS): New variable.
34578 (tst-spawn-static-ARGS): Likewise.
34579 * posix/tst-exec-static.c: New file.
34580 * posix/tst-spawn-static.c: Likewise.
34581 * posix/tst-exec.c: Support run directly.
34582 * posix/tst-spawn.c: Likewise.
34583
fed0faa1
JM
345842013-01-10 Joseph Myers <joseph@codesourcery.com>
34585
828beb13
JM
34586 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34587 long.
34588 * math/bits/mathcalls.h (llrint): Likewise.
34589 (llround): Likewise.
34590 * stdlib/stdlib.h (struct drand48_data): Likewise.
34591 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34592 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34593 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34594 Likewise.
34595 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34596 Likewise.
34597 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34598 (elf_greg_t): Likewise.
34599 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34600 (__jmp_buf): Likewise.
34601 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34602 definitions.
34603 (llrint): Likewise, for all definitions.
34604 (llrintl): Likewise.
34605
fed0faa1
JM
34606 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34607 Remove [__GNUC__] condition.
34608 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34609 condition to just [__USE_ISOC99].
34610 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34611
1a20cb20
L
346122013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34613
34614 [BZ #14200]
34615 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34616 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34617 defined.
34618 (_POSIX_V6_ILP32_OFF32): Likewise.
34619 (_XBS5_ILP32_OFF32): Likewise.
34620 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34621 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34622
751b85f7
SP
346232013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34624
7490eb81
SP
34625 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34626
751b85f7
SP
34627 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34628 doubles __mpexp_twomm1. Adjust usage.
34629 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34630 Remove.
34631
988197f0
AS
346322013-01-10 Andreas Schwab <schwab@suse.de>
34633
34634 [BZ #14964]
34635 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34636 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34637
e83d7298
DM
346382013-01-09 David S. Miller <davem@davemloft.net>
34639
034ed64b 34640 [BZ #15003]
57f41c40
AS
34641 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34642 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34643 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34644 (TCP_FASTOPEN): Define.
e83d7298
DM
34645 (tcp_repair_opt): New structure.
34646 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34647 enum values.
57f41c40
AS
34648 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34649 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34650 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34651 (tcp_cookie_transactions): New structure.
34652
d5e0b9bd
AB
346532013-01-09 Anton Blanchard <anton@samba.org>
34654
34655 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34656 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34657 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34658 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34659
0c07e3ea
JM
346602013-01-09 Joseph Myers <joseph@codesourcery.com>
34661
34662 * include/features.h (__USE_ANSI): Remove.
34663
232f7002
RM
346642013-01-09 Roland McGrath <roland@hack.frob.com>
34665
ad98e30c
RM
34666 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34667
232f7002
RM
34668 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34669
950c99ca
SP
346702013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34671
b5792741
SP
34672 * sysdeps/s390/fpu/libm-test-ulps: Update.
34673
47cf2278
SP
34674 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34675
950c99ca
SP
34676 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34677 (__acr): Likewise.
34678 (__cpy): Likewise.
34679 (norm): Likewise.
34680 (denorm): Likewise.
34681 (__mp_dbl): Likewise.
34682 (__dbl_mp): Likewise.
34683 (add_magnitudes): Likewise.
34684 (sub_magnitudes): Likewise.
34685 (__add): Likewise.
34686 (__sub): Likewise.
34687 (__mul): Likewise.
34688 (__inv): Likewise.
34689 (__dvd): Likewise.
34690 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34691 (__acr): Likewise.
34692 (__cpy): Likewise.
34693 (norm): Likewise.
34694 (denorm): Likewise.
34695 (__mp_dbl): Likewise.
34696 (__dbl_mp): Likewise.
34697 (add_magnitudes): Likewise.
34698 (sub_magnitudes): Likewise.
34699 (__add): Likewise.
34700 (__sub): Likewise.
34701 (__mul): Likewise.
34702 (__inv): Likewise.
34703 (__dvd): Likewise.
34704 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34705 (__acr): Likewise.
34706 (__cpy): Likewise.
34707 (norm): Likewise.
34708 (denorm): Likewise.
34709 (__mp_dbl): Likewise.
34710 (__dbl_mp): Likewise.
34711 (add_magnitudes): Likewise.
34712 (sub_magnitudes): Likewise.
34713 (__add): Likewise.
34714 (__sub): Likewise.
34715 (__mul): Likewise.
34716 (__inv): Likewise.
34717 (__dvd): Likewise.
34718
eede9df9
JM
347192013-01-08 Joseph Myers <joseph@codesourcery.com>
34720
34721 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34722 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34723 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34724 2 && __USE_EXTERN_INLINES]: Likewise.
34725
c40ea3d9
AJ
347262013-01-08 Andreas Jaeger <aj@suse.de>
34727
34728 [BZ# 14985]
34729 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34730 Remove.
34731 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34732 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34733
2ccdea26
AB
347342013-01-07 Anton Blanchard <anton@samba.org>
34735
34736 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34737 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34738 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34739 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34740 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34741 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34742 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34743 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34744 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34745 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34746 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34747 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34748 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34749 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34750 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34751 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34752 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34753 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34754 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34755 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34756 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34757 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34758 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34759 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34760 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34761 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34762 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34763 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34764 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34765 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34766 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34767 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34768 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34769 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34770 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34771 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34772 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34773 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34774 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34775 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34776 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34777 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34778 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34779
a9708fed
JM
347802013-01-07 Joseph Myers <joseph@codesourcery.com>
34781
375607b9
JM
34782 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34783 (__MALLOC_PMT): Likewise.
34784 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34785 [__GNUC__], only on [_LIBC].
34786 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34787 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34788 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34789 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34790 forward declaration.
34791 (realloc_hook_ini): Likewise.
34792 (memalign_hook_ini): Likewise.
34793 (__libc_memalign): Do not use __MALLOC_PMT in variable
34794 declaration.
34795 (__libc_valloc): Likewise.
34796 (__libc_pvalloc): Likewise.
34797 (__libc_calloc): Likewise.
34798 (__posix_memalign): Likewise.
34799
a9708fed
JM
34800 [BZ #14996]
34801 * math/s_casinh.c: Include <float.h>.
34802 (__casinh): Do not do computation with squaring and square root
34803 for large arguments.
34804 * math/s_casinhf.c: Include <float.h>.
34805 (__casinhf): Do not do computation with squaring and square root
34806 for large arguments.
34807 * math/s_casinhl.c: Include <float.h>.
34808 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34809 (__casinhl): Do not do computation with squaring and square root
34810 for large arguments.
34811 * math/libm-test.inc (casin_test): Add more tests.
34812 (casinh_test): Likewise.
34813 * sysdeps/i386/fpu/libm-test-ulps: Update.
34814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34815
afec409a
L
348162013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34817
34818 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34819 (__x86_64_raw_data_cache_size): Likewise.
34820 (__x86_64_data_cache_size_half): Likewise.
34821 (__x86_64_raw_data_cache_size_half): Likewise.
34822 (__x86_64_shared_cache_size): Likewise.
34823 (__x86_64_raw_shared_cache_size): Likewise.
34824 (__x86_64_shared_cache_size_half): Likewise.
34825 (__x86_64_raw_shared_cache_size_half): Likewise.
34826 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34827 to ...
34828 (__x86_data_cache_size): This.
34829 (__x86_64_raw_data_cache_size): Renamed to ...
34830 (__x86_raw_data_cache_size): This.
34831 (__x86_64_data_cache_size_half): Renamed to ...
34832 (__x86_data_cache_size_half): This.
34833 (__x86_64_raw_data_cache_size_half): Renamed to ...
34834 (__x86_raw_data_cache_size_half): This.
34835 (__x86_64_shared_cache_size): Renamed to ...
34836 (__x86_shared_cache_size): This.
34837 (__x86_64_raw_shared_cache_size): Renamed to ...
34838 (__x86_raw_shared_cache_size): This.
34839 (__x86_64_shared_cache_size_half): Renamed to ...
34840 (__x86_shared_cache_size_half): This.
34841 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34842 (__x86_raw_shared_cache_size_half): This.
34843 * sysdeps/x86_64/memcpy.S: Updated.
34844 * sysdeps/x86_64/memset.S: Likewise.
34845 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34846 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34847 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34848
0b3986d0
DM
348492013-01-04 David S. Miller <davem@davemloft.net>
34850
34851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34852
e47686e9
AS
348532013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34854
d643bac1
AS
34855 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34856 1 to avoid redefinition warning.
34857 (__USE_GNU): Don't define.
34858 (init_signaling_nan): Protoize.
34859
e47686e9
AS
34860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34861
b18decba
SP
348622013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34863
fffb407f
SP
34864 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34865 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34866 (__cpymn): Likewise.
34867 (norm): Remove commented code.
34868 (denorm): Likewise.
34869 (__mp_dbl): Likewise.
34870 (__inv): Likewise.
34871 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34872 (__cpymn): Likewise.
34873 (norm): Remove commented code.
34874 (denorm): Likewise.
34875 (__mp_dbl): Likewise.
34876 (__inv): Likewise.
34877
b18decba
SP
34878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34879 mp_no value for 1.0 and 2.0.
34880 (norm): Use RADIXI instead of radixi.d.
34881 (denorm): Likewise.
34882 (__mul): Use 0.0 instead of zero.d.
34883 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34884 mp_no value for 1.0 and 2.0.
34885 (norm): Use RADIXI instead of radixi.d.
34886 (denorm): Likewise.
34887 (__mul): Use 0.0 instead of zero.d.
34888
cdc1c96f
JM
348892013-01-04 Joseph Myers <joseph@codesourcery.com>
34890
34891 [BZ #14994]
34892 * math/s_casinh.c (__casinh): Reduce finite argument to first
34893 quadrant then set signs of results at the end.
34894 * math/s_casinhf.c (__casinhf): Likewise.
34895 * math/s_casinhl.c (__casinhl): Likewise.
34896 * math/libm-test.inc (casin_test): Add more tests.
34897 (casinh_test): Likewise.
34898 * sysdeps/i386/fpu/libm-test-ulps: Update.
34899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34900
302913e1
SP
349012013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34902
6420d207
SP
34903 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34904
a9e48ab4
SP
34905 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34906
b7837264
SP
34907 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34908 declarations.
34909 (denorm): Likewise.
34910 (__mp_dbl): Likewise.
34911 (__inv): Likewise.
34912
f8af25d2
SP
34913 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34914 and adjust the header comment.
34915
302913e1
SP
34916 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34917 variable name from declaration.
34918
5d7dd1ca
L
349192013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34920
34921 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34922 Initialize COMMON_CPUID_INDEX_7 element.
34923 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34924 (CPUID_RTM): Likewise.
34925 (HAS_RTM): Likewise.
34926 (COMMON_CPUID_INDEX_7): New enum.
34927
2f5f40f4
AS
349282013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34929
34930 [BZ #14981]
34931 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34932 size is zero, record memory as freed.
34933
4056f4a0
AJ
349342013-01-03 Andreas Jaeger <aj@suse.de>
34935
34936 * po/ia.po: Add new Interlingua translation.
34937
ab15736f 349382012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34939
34940 * locale/programs/localedef.c: Fix description of '--posix' flag.
34941
568035b7
JM
349422013-01-02 Joseph Myers <joseph@codesourcery.com>
34943
e6898b8d
JM
34944 * NEWS: Update dates in second copyright notice.
34945 * README: Update copyright dates in example.
34946 * manual/libc.texinfo: Update copyright dates.
34947 * scripts/test-installation.pl: Update copyright date in --version
34948 output.
34949
0e2f9562
JM
34950 * hurd/ctty-input.c: Fix copyright notice formatting.
34951 * hurd/ctty-output.c: Likewise.
34952 * hurd/dtable.c: Likewise.
34953 * hurd/hurd-raise.c: Likewise.
34954 * hurd/hurdprio.c: Likewise.
34955 * hurd/msgportdemux.c: Likewise.
34956 * misc/sys/file.h: Likewise.
34957 * misc/sys/ioctl.h: Likewise.
34958 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
34959 * sysdeps/mach/hurd/chdir.c: Likewise.
34960 * sysdeps/mach/hurd/fchdir.c: Likewise.
34961 * sysdeps/mach/hurd/rename.c: Likewise.
34962 * sysdeps/mach/hurd/rmdir.c: Likewise.
34963 * sysdeps/mach/hurd/seekdir.c: Likewise.
34964 * sysdeps/mach/hurd/setsid.c: Likewise.
34965 * sysdeps/posix/wait3.c: Likewise.
34966
568035b7
JM
34967 * All files with FSF copyright notices: Update copyright dates
34968 using scripts/update-copyrights.
34969 * intl/plural.c: Regenerated.
34970 * locale/programs/charmap-kw.h: Likewise.
34971 * locale/programs/locfile-kw.h: Likewise.
34972
da08f647
SP
349732013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
34974
0f5477af
SP
34975 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
34976 four values.
34977
44e0d4c2
SP
34978 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
34979 calculation loop and add branch prediction.
34980
4d55b4e5
SP
34981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
34982 check access beyond bounds of m1np.
34983
da08f647
SP
34984 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
34985 MPTWO.
34986 (__inv): Remove local variable MPTWO to use the global
34987 constant.
34988 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
34989 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
34990 variable MPTWO.
34991 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
34992 MP3HALFS static const.
34993
8e051029
DM
349942013-01-01 David S. Miller <davem@davemloft.net>
34995
34996 * po/ca.po: Update from translation team.
34997
f4cf5f2d
JM
349982013-01-01 Joseph Myers <joseph@codesourcery.com>
34999
35000 * scripts/update-copyrights: New file.
35001 * Makeconfig: Reformat copyright notice.
35002 * ctype/ctype.h: Likewise.
35003 * debug/swprintf_chk.c: Likewise.
35004 * elf/dl-cache.c: Likewise.
35005 * elf/dl-debug.c: Likewise.
35006 * elf/dl-object.c: Likewise.
35007 * grp/initgroups.c: Likewise.
35008 * hurd/Makefile: Likewise.
35009 * hurd/hurd/signal.h: Likewise.
35010 * hurd/hurdfault.c: Likewise.
35011 * hurd/hurdioctl.c: Likewise.
35012 * hurd/hurdlookup.c: Likewise.
35013 * hurd/intr-msg.c: Likewise.
35014 * iconv/gconv_open.c: Likewise.
35015 * libio/swprintf.c: Likewise.
35016 * locale/lc-ctype.c: Likewise.
35017 * locale/nl_langinfo.c: Likewise.
35018 * mach/Machrules: Likewise.
35019 * mach/Makefile: Likewise.
35020 * malloc/obstack.h: Likewise.
35021 * manual/Makefile: Likewise.
35022 * manual/tsort.awk: Likewise.
35023 * misc/bits/stab.def: Likewise.
35024 * nis/nis_print_group_entry.c: Likewise.
35025 * nis/nis_table.c: Likewise.
35026 * nis/nss_compat/compat-pwd.c: Likewise.
35027 * nis/nss_compat/compat-spwd.c: Likewise.
35028 * po/Makefile: Likewise.
35029 * posix/fnmatch.c: Likewise.
35030 * posix/regex.h: Likewise.
35031 * resolv/Makefile: Likewise.
35032 * resolv/nss_dns/dns-network.c: Likewise.
35033 * resolv/res_hconf.c: Likewise.
35034 * scripts/gen-sorted.awk: Likewise.
35035 * soft-fp/soft-fp.h: Likewise.
35036 * stdio-common/printf.h: Likewise.
35037 * stdlib/monetary.h: Likewise.
35038 * stdlib/random.c: Likewise.
35039 * stdlib/random_r.c: Likewise.
35040 * sysdeps/generic/Makefile: Likewise.
35041 * sysdeps/gnu/Makefile: Likewise.
35042 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35043 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35044 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35045 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35046 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35047 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35048 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35049 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35050 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35051 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35052 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35053 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35054 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35055 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35056 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35057 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35058 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35059 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35060 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35061 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35062 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35063 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35064 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35065 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35066 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35067 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35068 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35069 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35070 * sysdeps/mach/hurd/errnos.awk: Likewise.
35071 * sysdeps/mach/hurd/fork.c: Likewise.
35072 * sysdeps/mach/hurd/getcwd.c: Likewise.
35073 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35074 * sysdeps/mach/hurd/mmap.c: Likewise.
35075 * sysdeps/mach/hurd/utimes.c: Likewise.
35076 * sysdeps/mach/hurd/xmknod.c: Likewise.
35077 * sysdeps/posix/profil.c: Likewise.
35078 * sysdeps/posix/readdir_r.c: Likewise.
35079 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35080 * sysdeps/powerpc/bits/setjmp.h: Likewise.
35081 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35082 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35083 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35084 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35085 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35086 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35088 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35089 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35090 * sysdeps/pthread/lio_listio.c: Likewise.
35091 * sysdeps/sparc/dl-procinfo.h: Likewise.
35092 * sysdeps/unix/i386/sysdep.S: Likewise.
35093 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35094 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35095 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35096 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35098 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35099 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35100 * sysdeps/unix/sysv/linux/speed.c: Likewise.
35101 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35102 * sysdeps/wordsize-32/divdi3.c: Likewise.
35103 * time/sys/time.h: Likewise.
35104 * wcsmbs/Makefile: Likewise.
35105
0549fbba
DM
351062013-01-01 David S. Miller <davem@davemloft.net>
35107
a141f1a7
DM
35108 * po/fr.po: Update from translation team.
35109
0549fbba
DM
35110 * catgets/gencat.c: Update copyright year.
35111 * csu/version.c: Likewise.
35112 * debug/catchsegv.sh: Likewise.
35113 * debug/pcprofiledump.c: Likewise.
35114 * debug/xtrace.sh: Likewise.
35115 * elf/ldconfig.c: Likewise.
35116 * elf/ldd.bash.in: Likewise.
35117 * elf/pldd.c: Likewise.
35118 * elf/sotruss.ksh: Likewise.
35119 * elf/sprof.c: Likewise.
35120 * iconv/iconv_prog.c: Likewise.
35121 * iconv/iconvconfig.c: Likewise.
35122 * locale/programs/locale.c: Likewise.
35123 * locale/programs/localedef.c: Likewise.
35124 * login/programs/pt_chown.c: Likewise.
35125 * malloc/memusage.sh: Likewise.
35126 * malloc/memusagestat.c: Likewise.
35127 * malloc/mtrace.pl: Likewise.
35128 * nscd/nscd.c: Likewise.
35129 * nss/getent.c: Likewise.
35130 * nss/makedb.c: Likewise.
35131 * posix/getconf.c: Likewise.
35132
18ea052c
SP
351332012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35134
35135 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35136 numbers.
35137
9c89fca6
MF
351382012-12-30 Mike Frysinger <vapier@gentoo.org>
35139
35140 * math/bits/mathcalls.h (modf): Use __nonnull.
35141
085ec079
SP
351422012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35143
35144 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35145 (split): Use macro CN instead of the bare value.
35146 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35147 could be used.
35148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35149 instead of the bare value.
35150 (power1): Likewise.
35151
6d9f97e1
SP
351522012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35153
d63f73be
SP
35154 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35155 __ATAN_TWOM.
35156 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35157
6d9f97e1
SP
35158 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35159 their values.
35160 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35161 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35162 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35163 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35164
4c4febf5
AJ
351652012-12-28 Andreas Jaeger <aj@suse.de>
35166
af5843ef
AJ
35167 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
35168 values are from Linux 3.7.
35169
4c4febf5
AJ
35170 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35171 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
35172
99136f82
SP
351732012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35174
2f216c3c 35175 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
35176 TRUE case.
35177
99136f82
SP
35178 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35179 (norm): Likewise.
35180 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35181 variables with preprocessor constants.
35182 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35183 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35184 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35185
7fffbdff
BH
351862012-12-27 Bruno Haible <bruno@clisp.org>
35187
35188 [BZ #14317]
35189 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35190 only if needed.
35191
b76eb5f0
SP
351922012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35193
31a7fe5c
SP
35194 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35195 and use variable directly.
35196 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35197
b76eb5f0
SP
35198 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35199 MPONE.
35200 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35201 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35202 variable MPONE.
35203 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35204 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35205 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35206 include directive. Remove local variable MPONE.
35207 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35208 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35209 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35210
2c8bfe7d
DM
352112012-12-25 David S. Miller <davem@davemloft.net>
35212
35213 * version.h (RELEASE): Set to "development".
35214 (VERSION): Set to "2.17.90".
35215 * NEWS: Add 2.18 section.
35216
147d03b0
DM
352172012-12-21 David S. Miller <davem@davemloft.net>
35218
35219 * po/hr.po: Update from translation team.
35220
a8ebb2b9
AK
352212012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35222
35223 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35224
95b4f1b6
SE
352252012-12-19 Steve Ellcey <sellcey@mips.com>
35226
b2d94007 35227 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 35228
cedb2a90
MS
352292012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35230
35231 * manual/contrib.texi (Contributors): Spelling correction.
35232
bbf527d6
DM
352332012-12-15 David S. Miller <davem@davemloft.net>
35234
35235 * po/ru.po: Update from translation team.
35236
bc38c906
DM
352372012-12-13 David S. Miller <davem@davemloft.net>
35238
85429b1a
DM
35239 * NEWS: Mention IFUNC testsuite enhancements.
35240
d283e353
DM
35241 * po/pl.po: Update from translation team.
35242 * po/bg.po: Likewise.
35243
bc38c906
DM
35244 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35245 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35246
a181b0d7
DM
352472012-12-11 David S. Miller <davem@davemloft.net>
35248
4641d57e
DM
35249 * po/sv.po: Update from translation team.
35250
f7bc6495
DM
35251 * po/vi.po: Update from translation team.
35252
6fc9048f
DM
35253 * po/cs.po: Update from translation team.
35254
a181b0d7
DM
35255 * po/de.po: Update from translation team.
35256 * po/eo.po: Likewise.
35257 * po/nl.po: Likewise.
35258
f70bfe80
SP
352592012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35260
3c8b4190
SP
35261 [BZ #14246]
35262 * manual/argp.texi (Argp Helper Functions): Move node to follow
35263 Argp Parsing State.
35264
f70bfe80
SP
35265 [BZ #14872]
35266 * manual/conf.texi (Limits on File System Capacity): Mention if
35267 terminating null is included in the max size.
35268
188f0adf
AJ
352692012-12-10 Andreas Jaeger <aj@suse.de>
35270
35271 * po/cs.po: Update from translation team.
35272
56e7d3ad
SP
352732012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35274
35275 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35276 void pointer and cast to uintptr_t.
35277 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35278 path.
35279 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35280 * sysdeps/s390/s390-64/memset.S: Likewise.
35281
76f2d2ea 352822012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
35283
35284 [BZ #14833]
35285 * menual/message.texi (Message Translation): Fix typos.
35286 (Helper programs for gettext): Likewise.
35287
67cbf9a2
AS
352882012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35289
35290 [BZ #14898]
35291 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35292 Change to -1.
35293
682d0e9a
DM
352942012-12-07 David S. Miller <davem@davemloft.net>
35295
35296 * po/libc.pot: Update.
35297
573cd484
RH
352982012-12-07 Richard Henderson <rth@redhat.com>
35299
7e9da188 35300 [BZ #10114]
573cd484
RH
35301 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35302 normal/normal case to before the switch.
35303 (_FP_DIV): Likewise.
35304
e933a943
MF
353052012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35306 Mike Frysinger <vapier@gentoo.org>
35307
35308 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35309 check for __NR_fadvise64_64.
35310
82123268
CM
353112012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35312
35313 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35314 0, not just to plain "0" as a statement.
35315 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35316 with cw.
35317
d9814526
JM
353182012-12-06 Joseph Myers <joseph@codesourcery.com>
35319
35320 * NEWS: Use sourceware.org in Bugzilla URL.
35321
7728c574
SP
353222012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35323
f16946dd
SP
35324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35325 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35326
5704bbcb
SP
35327 * stdio-common/tst-put-error.c (do_test): Add newline to the
35328 padded test to ensure flush.
35329
17aa0516
JL
353302012-12-05 Jeff Law <law@redhat.com>
35331
35332 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35333
363313b5
JM
353342012-12-05 Joseph Myers <joseph@codesourcery.com>
35335
effbd42a
JM
35336 * README: Don't refer to ports add-on as distributed separately.
35337 Mention AArch64 in list of systems supported in the ports add-on.
35338
87600365
JM
35339 * LICENSES: Add more non-FSF copyright and license notices.
35340
a0d7066a
JM
35341 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35342 ((unused)).
35343
66ca5a5b
JM
35344 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35345
363313b5
JM
35346 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35347 10000 as width of padded output.
35348
b37984ad
JM
353492012-12-04 Joseph Myers <joseph@codesourcery.com>
35350
9003570a
JM
35351 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35352
b37984ad
JM
35353 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35354 variable LX with __attribute__ ((unused)).
35355 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35356 Likewise.
35357 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35358 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35359 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35360 with __attribute__ ((unused)).
35361
c8df52ec
DM
353622012-12-04 David S. Miller <davem@abraco.davemloft.net>
35363
35364 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35365
b3b099af
JM
353662012-12-04 Joseph Myers <joseph@codesourcery.com>
35367
c33aa6e3
JM
35368 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35369 (CFLAGS-nldbl-acos.c): New variable.
35370 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35371 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35372 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35373 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35374 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35375 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35376 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35377 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35378 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35379 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35380 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35381 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35382 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35383 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35384 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35385 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35386 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35387 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35388 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35389 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35390 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35391 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35392 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35393 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35394 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35395 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35396 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35397 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35398 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35399 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35400 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35401 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35402 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35403 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35404 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35405 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35406 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35407 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35408 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35409 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35410 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35411 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35412 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35413 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35414 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35415 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35416 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35417 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35418 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35419 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35420 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35421 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35422 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35423 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35424 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35425 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35426 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35427 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35428 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35429 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35430 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35431 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35432 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35433 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35434 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35435 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35436 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35437 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35438 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35439 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35440 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35441 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35442 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35443 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35444 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35445 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35446 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35447 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35448 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35449 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35450 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35451 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35452 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35453 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35454 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35455 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35456 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35457 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35458 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35459 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35460 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35461 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35462 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35463 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35464 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35465 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35466 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35467
20f0018d
JM
35468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35469 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35470
b3b099af
JM
35471 [BZ #14914]
35472 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35473 whole low double instead of just low 47 bits when splitting values
35474 into two parts.
35475
029264d1
AM
354762012-12-03 Allan McRae <allan@archlinux.org>
35477
35478 * manual/stdio.texi (Predefined Printf Handlers): Remove
35479 @hsep and @vsep usage.
35480
c9d6789e
MF
354812012-12-03 Mike Frysinger <vapier@gentoo.org>
35482
35483 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35484 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35485
4b7634a5
JL
354862012-12-03 Jeff Law <law@redhat.com>
35487
35488 * time/sys/time.h (settimeofday): Do not mark TV argument
35489 as __nonnull.
35490
eb6cbd24
MF
354912012-12-01 Mike Frysinger <vapier@gentoo.org>
35492
35493 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35494 when currently writing and seek to current position when not.
35495 * libio/Makefile (tests): Remove bug-fclose1.
35496 * libio/bug-fclose1.c: Delete.
35497
f638872a
JM
354982012-12-01 Joseph Myers <joseph@codesourcery.com>
35499
35500 * manual/arith.texi (feenableexcept): Fix typo.
35501 (fedisableexcept): Likewise.
35502
48085d14
RM
355032012-11-30 Roland McGrath <roland@hack.frob.com>
35504
35505 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35506 second, differently-typed declaration, rather than a cast.
35507
1a538b9f
SP
355082012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35509
35510 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35511 * include/rpc/svc.h: ... here.
35512
d07f2ff1 355132012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35514
35515 [BZ #13013]
35516 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35517 depending n and resplen2 to catch cases where answer
35518 equals answerp2.
35519
c93ec1f0
CD
355202012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35521
35522 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35523 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35524
37db69de
MF
355252012-11-29 Mike Frysinger <vapier@gentoo.org>
35526
35527 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35528
e10c4e4f
RM
355292012-11-29 Roland McGrath <roland@hack.frob.com>
35530
35531 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35532
2af1b328
JL
355332012-11-28 Jeff Law <law@redhat.com>
35534
35535 [BZ #13761]
35536 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35537 dataset_temporary. Track alloca usage into alloca_used.
35538 If dataset is large allocate and release it via malloc/free.
35539
111db5b1
FW
355402012-06-04 Florian Weimer <fweimer@redhat.com>
35541
f06cc227 35542 [BZ #14197]
111db5b1
FW
35543 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35544
dd694abd
DM
355452012-11-28 David S. Miller <davem@davemloft.net>
35546
35547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35548
9984dd01
JM
355492012-11-28 Joseph Myers <joseph@codesourcery.com>
35550
35551 [BZ #14803]
35552 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35553 of pi/2 rounded to nearest to 64 bits.
35554 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35555 nearest to 64 bits.
35556 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35557 bits.
35558
14bc93a9
JL
355592012-11-28 Jeff Law <law@redhat.com>
35560 Martin Osvald <mosvald@redhat.com>
35561
35562 [BZ #14889]
35563 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35564 * sunrpc/svc.c: Include time.h.
35565 (__svc_accept_failed): New function.
35566 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35567 any reason other than EINTR, call __svc_accept_failed.
35568 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35569 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35570
e3c6aa3a
AS
355712012-11-28 Andreas Schwab <schwab@suse.de>
35572
35573 * scripts/abilist.awk: Also handle indirect functions in .opd
35574 section.
35575
1bead169
JM
355762012-11-28 Joseph Myers <joseph@codesourcery.com>
35577
35578 [BZ #13881]
35579 * sysdeps/x86/fpu/powl_helper.c: New file.
35580 * sysdeps/x86/fpu/Makefile: Likewise.
35581 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35582 (p3): New object.
35583 (__ieee754_powl): Use __powl_helper for finite arguments except
35584 integer exponents below 8.
35585 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35586 (p3): New object.
35587 (__ieee754_powl): Use __powl_helper for finite arguments except
35588 integer exponents below 8.
35589 * math/libm-test.inc (pow_test): Add more tests and enable some
35590 previously disabled tests.
35591 * sysdeps/i386/fpu/libm-test-ulps: Update.
35592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35593
0817d63d
SP
355942012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35595 Carlos O'Donell <carlos_odonell@mentor.com>
35596
35597 * nss/makedb.c (is_prime): Assert that input is odd and greater
35598 than 4. Note that fact in a comment too.
35599 (next_prime): Add 4 to input.
35600
de2fd463
SP
356012012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35602
35603 [BZ #11741]
35604 * libio/Makefile (tests): Add test case tst-fwrite-error.
35605 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35606 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35607 * libio/tst-fwrite-error.c: New test case.
35608
c515fb51
L
356092012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35610
35611 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35612 before casting to void *.
35613 * include/libc-internal.h (__pointer_type): New macro.
35614 (__integer_if_pointer_type_sub): Likewise.
35615 (__integer_if_pointer_type): Likewise.
35616 (cast_to_integer): Likewise.
35617 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35618 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35619 before casting to atomic64_t.
35620 (atomic_exchange_acq): Likewise.
35621 (__arch_exchange_and_add_body): Likewise.
35622 (__arch_add_body): Likewise.
35623 (atomic_add_negative): Likewise.
35624 (atomic_add_zero): Likewise.
35625
4cf77aa9
JM
356262012-11-26 Joseph Myers <joseph@codesourcery.com>
35627
35628 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35629 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35630 (add_fdes): Likewise.
35631 (linear_search_fdes): Likewise.
35632 (binary_search_unencoded_fdes): Likewise.
35633
d260b3b4
AS
356342012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35635
35636 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35637
67060746
AC
356382012-11-24 Adam Conrad <adconrad@0c3.net>
35639
35640 * configure.in: Autodetect C++ header directories.
35641 * configure: Regenerated.
35642
800938a1
MF
356432012-11-23 Mike Frysinger <vapier@gentoo.org>
35644
35645 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35646
4e6e34e6
AS
356472012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35648
35649 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35650
7c7feb47
JM
356512012-11-22 Joseph Myers <joseph@codesourcery.com>
35652
7184dcdf
JM
35653 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35654 LDBL_MANT_DIG == 106]: Disable some tests.
35655 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35656 Likewise.
35657 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35658 Likewise.
35659
0a42601f
JM
35660 [BZ #14871]
35661 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35662 input for small inputs. Return +/- pi/2 for large inputs.
35663 * math/libm-test.inc (atan_test): Add more tests.
35664
79c9b9fe
JM
35665 * sysdeps/generic/unwind-dw2-fde-glibc.c
35666 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35667 __attribute__ ((unused)).
35668
c60d3bf2
JM
35669 [BZ #14645]
35670 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35671 x * y if x and y are nonzero and z is zero.
35672
ef1e0867
JM
35673 [BZ #14811]
35674 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35675 nonzero exponents with absolute value below 0x1p-117 to +/-
35676 0x1p-117.
35677
1468ded3
JM
35678 [BZ #14869]
35679 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35680 up arguments below 2**-450, not just those below 2**-500.
35681 * math/libm-test.inc (hypot_test): Add another test.
35682
8e27e3cc
JM
35683 [BZ #14868]
35684 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35685 Return a+b for ratio over 2**120, not 2**60.
35686 * math/libm-test.inc (hypot_test): Add another test.
35687
c9c0279b
JM
35688 * math/libm-test.inc (clog_test): Use
35689 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35690 (clog10_test): Likewise.
35691
7c7feb47
JM
35692 [BZ #6778]
35693 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35694
fff1530e
AS
356952012-11-22 Andreas Schwab <schwab@suse.de>
35696
35697 * sysdeps/i386/fpu/libm-test-ulps: Update.
35698
94558d30
PT
356992012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35700
35701 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35702 printf output with newline.
35703
7e1be741
L
357042012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35705
6bfea974
L
35706 [BZ #14865]
35707 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35708 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35709 -z nodlopen, -z initfirst and -z execstack support.
35710 * configure: Regenerated.
35711
7e1be741
L
35712 * elf/elf.h (DF_1_NODIRECT): New macro.
35713 (DF_1_IGNMULDEF): Likewise.
35714 (DF_1_NOKSYMS): Likewise.
35715 (DF_1_NOHDR): Likewise.
35716 (DF_1_EDITED): Likewise.
35717 (DF_1_NORELOC): Likewise.
35718 (DF_1_SYMINTPOSE): Likewise.
35719 (DF_1_GLOBAUDIT): Likewise.
35720 (DF_1_SINGLETON): Likewise.
35721 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35722 DT_1_SUPPORTED_MASK bits.
35723 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35724
105ce2ce
CD
357252012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35726
35727 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35728
123be9de
TS
357292012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35730
d072f3f7
TS
35731 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35732 macro.
35733
123be9de
TS
35734 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35735 (sendmmsg): Move declarations...
35736 * socket/sys/socket.h: ... here.
35737 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35738 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35739 include it from...
35740 * socket/recvmmsg.c: ... this new file.
35741 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35742 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35743 definition of __sendmmsg hidden.
35744 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35745 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35746 Move ENOSYS stub into and include it from...
35747 * socket/sendmmsg.c: ... this new file.
35748 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35749 (sysdep_routines): Move recvmmsg and sendmmsg...
35750 * socket/Makefile (routines): ... here.
35751 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35752 (GLIBC_PRIVATE): Add __sendmmsg.
35753 * include/sys/socket.h (__sendmmsg): Add declarations.
35754 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35755 sendmmsg.
35756
cf9a5d18
JM
357572012-11-20 Joseph Myers <joseph@codesourcery.com>
35758
35759 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35760 variable I1 with __attribute__ ((unused)).
35761 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35762
ecd4caf9
JM
357632012-11-19 Joseph Myers <joseph@codesourcery.com>
35764
be14d48f
JM
35765 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35766 DUMMY variables with __attribute__ ((unused)).
35767
ecd4caf9
JM
35768 * bits/byteswap.h: Include <bits/types.h>.
35769 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35770
986cab95
PT
357712012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35772
35773 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35774 string_t. Do not manually set errno.
35775 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35776 length with __strnlen. Make sure to both set errno and return it on
35777 failure.
35778
6d33cc9d
DM
357792012-11-19 David S. Miller <davem@davemloft.net>
35780
35781 With help from Joseph Myers.
35782 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35783 very large arguments properly.
35784 * math/libm-test.inc (atan_test): New tests.
35785 (atan2_test): New tests.
35786 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35788
ee663277
JM
357892012-11-19 Joseph Myers <joseph@codesourcery.com>
35790
877f2d8e
JM
35791 [BZ #14856]
35792 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35793 Define to 3.
35794
116fc08a
JM
35795 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35796 [POSIX] (EADDRNOTAVAIL): Likewise.
35797 [POSIX] (EAFNOSUPPORT): Likewise.
35798 [POSIX] (EALREADY): Likewise.
35799 [POSIX] (ECONNABORTED): Likewise.
35800 [POSIX] (ECONNREFUSED): Likewise.
35801 [POSIX] (ECONNRESET): Likewise.
35802 [POSIX] (EDESTADDRREQ): Likewise.
35803 [POSIX] (EDQUOT): Likewise.
35804 [POSIX] (EHOSTUNREACH): Likewise.
35805 [POSIX] (EIDRM): Likewise.
35806 [POSIX] (EISCONN): Likewise.
35807 [POSIX] (ELOOP): Likewise.
35808 [POSIX] (EMULTIHOP): Likewise.
35809 [POSIX] (ENETDOWN): Likewise.
35810 [POSIX] (ENETUNREACH): Likewise.
35811 [POSIX] (ENOBUFS): Likewise.
35812 [POSIX] (ENODATA): Likewise.
35813 [POSIX] (ENOLINK): Likewise.
35814 [POSIX] (ENOMSG): Likewise.
35815 [POSIX] (ENOPROTOOPT): Likewise.
35816 [POSIX] (ENOSR): Likewise.
35817 [POSIX] (ENOSTR): Likewise.
35818 [POSIX] (ENOTCONN): Likewise.
35819 [POSIX] (ENOTSOCK): Likewise.
35820 [POSIX] (EOPNOTSUPP): Likewise.
35821 [POSIX] (EOVERFLOW): Likewise.
35822 [POSIX] (EPROTO): Likewise.
35823 [POSIX] (EPROTONOSUPPORT): Likewise.
35824 [POSIX] (EPROTOTYPE): Likewise.
35825 [POSIX] (ESTALE): Likewise.
35826 [POSIX] (ETIME): Likewise.
35827 [POSIX] (ETXTBSY): Likewise.
35828 [POSIX] (EWOULDBLOCK): Likewise.
35829 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35830 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35831 [POSIX] (SEEK_CUR): Likewise.
35832 [POSIX] (SEEK_END): Likewise.
35833 [POSIX || UNIX98] (mode_t): Do not require.
35834 [POSIX] (off_t): Likewise.
35835 [POSIX] (pid_t): Likewise.
35836 [POSIX] (sys/stat.h): Do not allow header.
35837 [POSIX] (unistd.h): Likewise.
35838 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35839 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35840 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35841 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35842 require.
35843 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35844 sigevent): Specify elements.
35845 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35846 entry.
35847 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35848 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35849
a483863f
JM
35850 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35851 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35852 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35853 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35854 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35855 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35856 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35857 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35858 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35859 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35860 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35861 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35862 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35863 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35864 Likewise.
35865 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35866 Likewise.
35867 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35868 Likewise.
35869 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35870 Likewise.
35871 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35872 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35873 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35874 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35875 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35876 Specify lower bound on value.
35877 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35878 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35879 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35880 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35881 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35882 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35883 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35884 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35885 value.
35886 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35887 as optional.
35888 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35889 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35890 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35891 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35892 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35893 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35894 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35895 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35896 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35897 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35898 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35899 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35900 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35901 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35902 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35903 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35904 entry.
35905 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35906 optional.
35907 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35908 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35909 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35910 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35911 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35912 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35913 Likewise.
35914 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35915 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35916 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35917 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35918 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35919 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35920 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35921 as optional.
35922 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35923 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35924 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35925 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35926 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35927 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35928 specify as optional.
35929 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35930 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35931 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35932 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35933 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35934 [XPG3] (NL_LANGMAX): Likewise.
35935 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35936 [POSIX || XPG3] (NL_NMAX): Likewise.
35937 [POSIX || XPG3] (NL_SETMAX): Likewise.
35938 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35939 [XPG3] (NZERO): Likewise.
35940 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35941 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35942 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35943 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
35944 (REG_ERANGE): Expect.
35945 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
35946 optional-constant.
35947 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
35948 Use (void) in prototype.
35949 [POSIX] (*_t): Allow.
35950 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
35951 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
35952 (WRDE_BADVAL): Expect.
35953
5ba924e3
JM
35954 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
35955 expect.
35956 [XPG3 || XPG4] (O_RSYNC): Likewise.
35957 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
35958 Likewise.
35959 [XPG3 || XPG4] (pthread_sigmask): Likewise.
35960 [XPG3 || XPG4] (sigqueue): Likewise.
35961 [XPG3 || XPG4] (sigtimedwait): Likewise.
35962 [XPG3 || XPG4] (sigwaitinfo): Likewise.
35963 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
35964 [XPG3 || XPG4] (vsnprintf): Likewise.
35965 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
35966 Likewise.
35967 [XPG3 || XPG4] (blksize_t): Likewise.
35968 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
35969 Likewise.
35970 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
35971 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
35972 [XPG3 || XPG4] (struct itimerspec): Likewise.
35973 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
35974 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
35975 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
35976 [XPG3 || XPG4] (clockid_t): Likewise.
35977 [XPG3 || XPG4] (timer_t): Likewise.
35978 [XPG3 || XPG4] (clock_getres): Likewise.
35979 [XPG3 || XPG4] (clock_gettime): Likewise.
35980 [XPG3 || XPG4] (clock_settime): Likewise.
35981 [XPG3 || XPG4] (nanosleep): Likewise.
35982 [XPG3 || XPG4] (timer_create): Likewise.
35983 [XPG3 || XPG4] (timer_delete): Likewise.
35984 [XPG3 || XPG4] (timer_gettime): Likewise.
35985 [XPG3 || XPG4] (timer_getoverrun): Likewise.
35986 [XPG3 || XPG4] (timer_settime): Likewise.
35987 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
35988 [XPG3 || XPG4] (getlogin_r): Likewise.
35989 [XPG3 || XPG4] (pread): Likewise.
35990 [XPG3 || XPG4] (pthread_atfork): Likewise.
35991 [XPG3 || XPG4] (pwrite): Likewise.
35992
ee663277
JM
35993 [BZ #14835]
35994 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
35995 <bits/siginfo.h>.
35996
942caa16
PT
359972012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35998
e19af380
PT
35999 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36000 finalizing MALLSTREAM.
36001
942caa16
PT
36002 * sysdeps/mach/hurd/syncfs.c: New file.
36003
cfde9b46
SP
360042012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36005
36006 [BZ #14719]
36007 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36008 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36009 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36010 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36011 (_nss_dns_gethostbyname4_r): Likewise.
36012 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36013 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36014
f6da27e5
PH
360152012-11-19 Peng Haitao <penght@cn.fujitsu.com>
36016
36017 [BZ #13763]
36018 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36019
6665d4a2
SM
360202012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
36021
1f51ee92
SM
36022 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36023 * elf/cache.c (print_entry): Print ",AArch64" for
36024 FLAG_AARCH64_LIB64
36025
6665d4a2
SM
36026 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36027 * elf/cache.c (print_entry): Print ",hard-float" for
36028 FLAG_ARM_LIBHF.
36029
05b227bd
DM
360302012-11-18 David S. Miller <davem@davemloft.net>
36031
36032 With help from Joseph Myers.
36033 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36034 cutoff to 2**-13.
36035 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36036 cutoff to 2**-25.
36037 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36038 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36039 small.
36040 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36041 * math/libm-test.inc (y0_test): New tests.
36042 (y1_test): New tests.
36043 * sysdeps/i386/fpu/libm-test-ulps: Update.
36044 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36045 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36046
786b0b67
AS
360472012-11-18 Andreas Schwab <schwab@linux-m68k.org>
36048
36049 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36050 64-bit targets.
36051 * configure: Regenerated.
36052
8e18b86d
DM
360532012-11-17 David S. Miller <davem@davemloft.net>
36054
36055 [BZ #14811]
36056 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36057 nonzero exponents with absolute value below 0x1p-128 to +/-
36058 0x1p-128.
36059
531f1ae0
JM
360602012-11-17 Joseph Myers <joseph@codesourcery.com>
36061
12df29e2
JM
36062 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36063
150dc1a0
JM
36064 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36065
531f1ae0
JM
36066 * posix/getconf-speclist.c: New file.
36067 * posix/posix-envs.def: Likewise.
36068 * posix/confstr.c (START_ENV_GROUP): New macro.
36069 (END_ENV_GROUP): Likewise.
36070 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36071 (KNOWN_PRESENT_ENV_STRING): Likewise.
36072 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36073 (UNKNOWN_ENVIRONMENT): Likewise.
36074 (confstr): Include posix-envs.def instead of handling
36075 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36076 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36077 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36078 (END_ENV_GROUP): Likewise.
36079 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36080 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36081 (UNKNOWN_ENVIRONMENT): Likewise.
36082 (__sysconf): Include posix-envs.def instead of handling associated
36083 cases directly here.
36084 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36085 preprocessing getconf-speclist.c rather than running getconf or
36086 generating empty file.
36087
a93f9cbc
PT
360882012-11-16 Pino Toscano <toscano.pino@tiscali.it>
36089
36090 * scripts/check-local-headers.sh: Ignore 'mach' headers.
36091
d64d9f87
AL
360922012-11-16 Andrej Lajovic <natrij@gmail.com>
36093
36094 [BZ #14672]
36095 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36096
447885eb
DM
360972012-11-16 David S. Miller <davem@davemloft.net>
36098
36099 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36100 smaller than LDBL_EPSILON/2.0L, just return xm1.
36101
bcbf9830
L
361022012-11-16 H.J. Lu <hongjiu.lu@intel.com>
36103
36104 * elf/tst-array1.c (init): Set constructor priority to 1000.
36105 (fini): Set destructor priority to 1000.
36106 * elf/tst-array2dep.c: Likewise.
36107
2b766585
SP
361082012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36109
36110 [BZ #11741]
36111 * libio/fileops.c (_IO_new_file_write): Correctly return error.
36112 (_IO_new_file_xsputn): Also return EOF if none of the input
36113 data was written when overflow failed.
36114 * libio/iopadn.c (_IO_padn): Likewise.
36115 * libio/iowpadn.c (_IO_wpadn): Likewise.
36116 * stdio-common/tst-put-error.c: Add copyright notice.
36117 (do_test): Add case for printing padded string.
36118 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36119 _IO_padn returned error.
36120 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36121 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36122 return EOF.
36123
b1848fde
SP
361242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36125
36126 * libio/libioP.h: Add comment note that the references to C++
36127 bits are now obsolete.
36128
2fd89785
MS
361292012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36130
36131 * math/libm-test.inc (check_complex): Use asprintf.
36132
e3ea5409
JM
361332012-11-14 Joseph Myers <joseph@codesourcery.com>
36134
36135 * debug/pcprofiledump.c (print_version): Update copyright year.
36136 * malloc/memusagestat.c (print_version): Likewise.
36137
2e64d265
L
361382012-11-14 H.J. Lu <hongjiu.lu@intel.com>
36139
36140 [BZ #14831]
36141 * elf/Makefile (tests): Add tst-audit8.
36142 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36143 ($(objpfx)tst-audit8.out): New target.
36144 (tst-audit8-ENV): New variable.
36145 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36146 audit if l_reloc_result is NULL.
36147 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36148 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36149 * elf/tst-audit8.c: New file.
36150
c485e4d2
MS
361512012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36152
36153 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36154 * misc/Makefile (CFLAGS-select.c): Define.
36155 * posix/Makefile (CFLAGS-pause.c): Define.
36156
3a0d900a
DM
361572012-11-13 David S. Miller <davem@davemloft.net>
36158
36159 * crypt/Makefile: Move test targets after toplevel Rules
36160 inclusion. Grab any necessary sysdep routines when linking.
36161 * crypt/md5.c (md5_process_block): Remove define, we will always
36162 name it __md5_process_block.
36163 (md5_finish_ctx): Update md5_process_block call.
36164 (md5_stream): Likewise.
36165 (md5_process_bytes): Likewise.
36166 (md5_process_block): Rename to __md5_process_block and move to ...
36167 * crypt/md5-block.c: ... here.
36168 * crypt/sha256.c (sha256_process_block): Move to ...
36169 * crypt/sha256-block.c: ... here.
36170 * crypt/sha512.c (sha512_process_block): Move to ...
36171 * crypt/sha512-block.c: ... here.
36172 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36173 path.
36174 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36175 * sysdeps/sparc/sparc64/multiarch/Makefile
36176 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36177 crypt subdir.
36178 (localedef-aux): Add md5 crypto assembler when in locale subdir.
36179 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36180 multiarch changes.
36181 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36182 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36183 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36184 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36185 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36186 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36187 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36188 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36189 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36190 file.
36191 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36192 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36193 file.
36194 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36195
8ca89318
JM
361962012-11-13 Joseph Myers <joseph@codesourcery.com>
36197
e27d476a
JM
36198 * timezone/tzselect.ksh: Update from tzcode git revision
36199 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36200 * timezone/zdump.c: Likewise.
36201 * timezone/zic.c: Likewise.
36202 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36203 in TZVERSION setting, not $(PKGVERSION).
36204 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
36205 REPORT_BUGS_TO settings.
36206
8ca89318
JM
36207 [BZ #14838]
36208 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36209 macro.
36210
47594329
MS
362112012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36212
36213 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36214 detection to immediately after _FP_ROUND().
36215 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36216 bits are 0.
36217
640ac3f1
DM
362182012-11-11 David S. Miller <davem@davemloft.net>
36219
36220 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36221 inttypes.h
36222 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36223 __close rather than their public counterparts.
36224
3d2577bb
JM
362252012-11-10 Joseph Myers <joseph@codesourcery.com>
36226
36227 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36228 file.
36229 [UNIX98] (sem_timedwait): Do not expect.
36230 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36231 [XPG4 || UNIX98] (sockatmark): Do not expect.
36232 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36233 (clock_getcpuclockid): Do not expect.
36234 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36235 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36236 Do not expect.
36237 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36238 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36239 [UNIX98] (vwscanf): Likewise.
36240 [UNIX98] (vswscanf): Likewise.
36241
fb1ae1ee
JM
362422012-11-09 Joseph Myers <joseph@codesourcery.com>
36243
9ec6f8bd
JM
36244 * timezone/version.h: Remove file.
36245 * timezone/README: Do not refer to version.h.
36246 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36247 $(objpfx)version.h.
36248 ($(objpfx)zdump.o): Likewise.
c3f81911 36249 ($(objpfx)version.h): New target.
9ec6f8bd 36250
0aa8f8a1
JM
36251 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36252 2012i.
36253 * timezone/README: Don't mention modification to tzselect.ksh.
36254 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36255 work on unmodified tzselect.ksh. Substitute version numbers in
36256 tzselect.ksh.
36257
4e87147f
JM
36258 * Makefile (format-me): Remove.
36259 (INSTALL): Adjust indentation. Use commands directly instead of
36260 using $(format-me).
36261
8b748aed
JM
36262 * aclocal.m4 (ACX_PKGVERSION): New macro.
36263 (ACX_BUGURL): Likewise.
36264 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36265 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36266 (REPORT_BUGS_TO): Likewise.
36267 * configure: Regenerated.
36268 * config.h.in (PKGVERSION): New macro.
36269 (REPORT_BUGS_TO): Likewise.
36270 * config.make.in (PKGVERSION): New variable.
36271 (PKGVERSION_TEXI): Likewise.
36272 (REPORT_BUGS_TO): Likewise.
36273 (REPORT_BUGS_TEXI): Likewise.
36274 * Makefile (format-me): Use -I$(common-objpfx)manual.
36275 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36276 ($(common-objpfx)manual/%): New target.
36277 (manual/%): Remove target.
36278 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36279 (print_version): Use PKGVERSION.
36280 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36281 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36282 and REPORT_BUGS_TO.
36283 ($(objpfx)xtrace): Likewise.
36284 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36285 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36286 (print_version): Use PKGVERSION.
36287 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36288 (do_version): Use PKGVERSION.
36289 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36290 REPORT_BUGS_TO.
36291 (common-ldd-rewrite): Likewise.
36292 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36293 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36294 (print_version): Use PKGVERSION.
36295 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36296 * elf/pldd.c (argp_program_bug_address): Remove variable.
36297 (more_help): New function.
36298 (argp): Use more_help.
36299 (print_version): Use PKGVERSION.
36300 * elf/sln.c (main): Use PKGVERSION.
36301 (usage): Use REPORT_BUGS_TO.
36302 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36303 (top level): Use PKGVERSION.
36304 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36305 (print_version): Use PKGVERSION.
36306 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36307 (print_version): Use PKGVERSION.
36308 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36309 (print_version): Use PKGVERSION.
36310 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36311 (print_version): Use PKGVERSION.
36312 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36313 (print_version): Use PKGVERSION.
36314 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36315 (print_version): Use PKGVERSION.
36316 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36317 and BUGURL.
36318 ($(objpfx)memusage): Likewise.
36319 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36320 (do_version): Use PKGVERSION.
36321 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36322 (print_version): Use PKGVERSION.
36323 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36324 ($PKGVERSION): New variable.
36325 ($REPORT_BUGS_TO): Likewise.
36326 (usage): Use $REPORT_BUGS_TO.
36327 (top level): Use $PKGVERSION.
36328 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36329 ($(objpfx)pkgvers.texi): New rule.
36330 ($(objpfx)stamp-pkgvers): Likewise.
36331 * manual/install.texi: Include pkgvers.texi.
36332 (--with-pkgversion): Document new configure option.
36333 (--with-bugurl): Likewise.
36334 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36335 than necessarily for this particular distribution. Use
36336 REPORT_BUGS_TO for where to report bugs.
36337 * INSTALL: Regenerated.
36338 * manual/libc.texinfo: Include pkgvers.texi.
36339 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36340 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36341 (print_version): Use PKGVERSION.
36342 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36343 (print_version): Use PKGVERSION.
36344 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36345 (print_version): Use PKGVERSION.
36346 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36347 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36348 macro.
36349 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36350 (print_version): Use PKGVERSION.
36351 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36352 (print_version): Use PKGVERSION.
36353 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36354 and PKGVERSION.
36355
92e4b6a9
JM
36356 * timezone/checktab.awk: Update from tzcode 2012i.
36357 * timezone/ialloc.c: Likewise.
36358 * timezone/private.h: Likewise.
36359 * timezone/scheck.c: Likewise.
36360 * timezone/tzfile.h: Likewise.
36361 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36362 (TZVERSION): Hardcode tzcode version number.
36363 * timezone/zdump.c: Update from tzcode 2012i.
36364 * timezone/zic.c: Likewise.
36365 * timezone/version.h: New file.
36366 * timezone/README: Describe version.h. Update upstream location.
36367
9bde902c
JM
36368 [BZ #14824]
36369 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36370 (mktemp): Enable declaration.
36371 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36372 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36373 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36374 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36375 Likewise.
36376 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36377 Likewise.
36378 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36379 Likewise.
36380 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36381 Likewise.
36382 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36383 Likewise.
36384 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36385 Likewise.
36386
fb1ae1ee
JM
36387 [BZ #14821]
36388 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36389 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36390 for copies of such integer values.
36391 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36392 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36393
2c1adbcb
AJ
363942012-11-09 Andreas Jaeger <aj@suse.de>
36395
36396 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36397 definitions and declarations that are provided by
36398 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36399
d0f8457e
AK
364002012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36401
3a235abb 36402 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
36403 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36404 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36405 definition.
36406
57241e26
MS
364072012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36408
36409 * elf/elf.h: Update comment before AArch64 relocations.
36410
60e8270d
DM
364112012-11-07 David S. Miller <davem@davemloft.net>
36412
36413 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36414 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36415 (__start_context): Declare.
36416 (__makecontext_ret): Delete.
36417 (__makecontext): Hook up __start_context instead of
36418 __makecontext_ret.
36419 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36420 (sysdep_routines): Add __start_context when in stdlib.
36421
0fbb0fbc
JM
364222012-11-07 Joseph Myers <joseph@codesourcery.com>
36423
36424 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36425 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36426 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36427 hardcoded "nm".
36428 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36429 (READELF): New variable. Use it instead of hardcoded "readelf".
36430
eb48db7e
L
364312012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36432
36433 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36434 * sysdeps/x86/Makefile: Here.
36435 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36436 * sysdeps/x86/tst-xmmymm.sh: This.
36437
05bcf62a
JM
364382012-11-07 Joseph Myers <joseph@codesourcery.com>
36439
c4b6cf53
JM
36440 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36441 expectations.
36442 [UNIX98] (pthread_barrier_t): Do not expect.
36443 [UNIX98] (pthread_barrierattr_t): Likewise.
36444 [UNIX98] (pthread_spinlock_t): Likewise.
36445 [UNIX98] (pthread_barrier_destroy): Likewise.
36446 [UNIX98] (pthread_barrier_init): Likewise.
36447 [UNIX98] (pthread_barrier_wait): Likewise.
36448 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36449 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36450 [UNIX98] (pthread_barrierattr_init): Likewise.
36451 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36452 [UNIX98] (pthread_getcpuclockid): Likewise.
36453 [UNIX98] (pthread_mutex_timedlock): Likewise.
36454 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36455 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36456 [UNIX98] (pthread_sigmask): Likewise.
36457 [UNIX98] (pthread_spin_destroy): Likewise.
36458 [UNIX98] (pthread_spin_init): Likewise.
36459 [UNIX98] (pthread_spin_lock): Likewise.
36460 [UNIX98] (pthread_spin_trylock): Likewise.
36461 [UNIX98] (pthread_spin_unlock): Likewise.
36462 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36463 Do not expect.
36464 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36465 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36466 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36467 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36468 [XPG3 || XPG4] (pthread_key_t): Likewise.
36469 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36470 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36471 [XPG3 || XPG4] (pthread_once_t): Likewise.
36472 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36473 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36474 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36475 [XPG3 || XPG4] (pthread_t): Likewise.
36476
cbe6e120
JM
36477 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36478 not expect.
36479 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36480
1b126443
JM
36481 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36482 Change function return type to int.
36483
b961a573
JM
36484 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36485 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36486 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36487 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36488 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36489 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36490 [!POSIX] (posix_madvise): Likewise.
36491 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36492 && !UNIX98].
36493 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36494 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36495 (mode_t): Likewise.
36496 (posix_mem_offset): Likewise.
36497 (posix_typed_mem_get_info): Likewise.
36498 (posix_typed_mem_open): Likewise.
36499
9e188909
JM
36500 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36501 Change condition to [XOPEN2K8].
36502
05bcf62a
JM
36503 * conform/conformtest.pl: Preprocess allow-header data with -x c
36504 instead of from stdin.
36505 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36506 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36507 [C99-based standards] (cerfc): Likewise.
36508 [C99-based standards] (cexp2): Likewise.
36509 [C99-based standards] (cexpm1): Likewise.
36510 [C99-based standards] (clog10): Likewise.
36511 [C99-based standards] (clog1p): Likewise.
36512 [C99-based standards] (clog2): Likewise.
36513 [C99-based standards] (clgamma): Likewise.
36514 [C99-based standards] (ctgamma): Likewise.
36515 [C99-based standards] (cerff): Likewise.
36516 [C99-based standards] (cerfcf): Likewise.
36517 [C99-based standards] (cexp2f): Likewise.
36518 [C99-based standards] (cexpm1f): Likewise.
36519 [C99-based standards] (clog10f): Likewise.
36520 [C99-based standards] (clog1pf): Likewise.
36521 [C99-based standards] (clog2f): Likewise.
36522 [C99-based standards] (clgammaf): Likewise.
36523 [C99-based standards] (ctgammaf): Likewise.
36524 [C99-based standards] (cerfl): Likewise.
36525 [C99-based standards] (cerfcl): Likewise.
36526 [C99-based standards] (cexp2l): Likewise.
36527 [C99-based standards] (cexpm1l): Likewise.
36528 [C99-based standards] (clog10l): Likewise.
36529 [C99-based standards] (clog1pl): Likewise.
36530 [C99-based standards] (clog2l): Likewise.
36531 [C99-based standards] (clgammal): Likewise.
36532 [C99-based standards] (ctgammal): Likewise.
36533 * conform/data/inttypes.h-data [C99-based standards]: Include
36534 stdint.h-data. Remove all expectations for stdint.h contents.
36535 [C99-based standards] (PRI*): Do not allow.
36536 [C99-based standards] (SCN*): Likewise.
36537 [C99-based standards] (*_t): Likewise.
36538 [C99-based-standards] (PRId8): Expect macro.
36539 [C99-based-standards] (PRIi8): Likewise.
36540 [C99-based-standards] (PRIo8): Likewise.
36541 [C99-based-standards] (PRIu8): Likewise.
36542 [C99-based-standards] (PRIx8): Likewise.
36543 [C99-based-standards] (PRIX8): Likewise.
36544 [C99-based-standards] (SCNd8): Likewise.
36545 [C99-based-standards] (SCNi8): Likewise.
36546 [C99-based-standards] (SCNo8): Likewise.
36547 [C99-based-standards] (SCNu8): Likewise.
36548 [C99-based-standards] (SCNx8): Likewise.
36549 [C99-based-standards] (PRIdLEAST8): Likewise.
36550 [C99-based-standards] (PRIiLEAST8): Likewise.
36551 [C99-based-standards] (PRIoLEAST8): Likewise.
36552 [C99-based-standards] (PRIuLEAST8): Likewise.
36553 [C99-based-standards] (PRIxLEAST8): Likewise.
36554 [C99-based-standards] (PRIXLEAST8): Likewise.
36555 [C99-based-standards] (SCNdLEAST8): Likewise.
36556 [C99-based-standards] (SCNiLEAST8): Likewise.
36557 [C99-based-standards] (SCNoLEAST8): Likewise.
36558 [C99-based-standards] (SCNuLEAST8): Likewise.
36559 [C99-based-standards] (SCNxLEAST8): Likewise.
36560 [C99-based-standards] (PRIdFAST8): Likewise.
36561 [C99-based-standards] (PRIiFAST8): Likewise.
36562 [C99-based-standards] (PRIoFAST8): Likewise.
36563 [C99-based-standards] (PRIuFAST8): Likewise.
36564 [C99-based-standards] (PRIxFAST8): Likewise.
36565 [C99-based-standards] (PRIXFAST8): Likewise.
36566 [C99-based-standards] (SCNdFAST8): Likewise.
36567 [C99-based-standards] (SCNiFAST8): Likewise.
36568 [C99-based-standards] (SCNoFAST8): Likewise.
36569 [C99-based-standards] (SCNuFAST8): Likewise.
36570 [C99-based-standards] (SCNxFAST8): Likewise.
36571 [C99-based-standards] (PRId16): Likewise.
36572 [C99-based-standards] (PRIi16): Likewise.
36573 [C99-based-standards] (PRIo16): Likewise.
36574 [C99-based-standards] (PRIu16): Likewise.
36575 [C99-based-standards] (PRIx16): Likewise.
36576 [C99-based-standards] (PRIX16): Likewise.
36577 [C99-based-standards] (SCNd16): Likewise.
36578 [C99-based-standards] (SCNi16): Likewise.
36579 [C99-based-standards] (SCNo16): Likewise.
36580 [C99-based-standards] (SCNu16): Likewise.
36581 [C99-based-standards] (SCNx16): Likewise.
36582 [C99-based-standards] (PRIdLEAST16): Likewise.
36583 [C99-based-standards] (PRIiLEAST16): Likewise.
36584 [C99-based-standards] (PRIoLEAST16): Likewise.
36585 [C99-based-standards] (PRIuLEAST16): Likewise.
36586 [C99-based-standards] (PRIxLEAST16): Likewise.
36587 [C99-based-standards] (PRIXLEAST16): Likewise.
36588 [C99-based-standards] (SCNdLEAST16): Likewise.
36589 [C99-based-standards] (SCNiLEAST16): Likewise.
36590 [C99-based-standards] (SCNoLEAST16): Likewise.
36591 [C99-based-standards] (SCNuLEAST16): Likewise.
36592 [C99-based-standards] (SCNxLEAST16): Likewise.
36593 [C99-based-standards] (PRIdFAST16): Likewise.
36594 [C99-based-standards] (PRIiFAST16): Likewise.
36595 [C99-based-standards] (PRIoFAST16): Likewise.
36596 [C99-based-standards] (PRIuFAST16): Likewise.
36597 [C99-based-standards] (PRIxFAST16): Likewise.
36598 [C99-based-standards] (PRIXFAST16): Likewise.
36599 [C99-based-standards] (SCNdFAST16): Likewise.
36600 [C99-based-standards] (SCNiFAST16): Likewise.
36601 [C99-based-standards] (SCNoFAST16): Likewise.
36602 [C99-based-standards] (SCNuFAST16): Likewise.
36603 [C99-based-standards] (SCNxFAST16): Likewise.
36604 [C99-based-standards] (PRId32): Likewise.
36605 [C99-based-standards] (PRIi32): Likewise.
36606 [C99-based-standards] (PRIo32): Likewise.
36607 [C99-based-standards] (PRIu32): Likewise.
36608 [C99-based-standards] (PRIx32): Likewise.
36609 [C99-based-standards] (PRIX32): Likewise.
36610 [C99-based-standards] (SCNd32): Likewise.
36611 [C99-based-standards] (SCNi32): Likewise.
36612 [C99-based-standards] (SCNo32): Likewise.
36613 [C99-based-standards] (SCNu32): Likewise.
36614 [C99-based-standards] (SCNx32): Likewise.
36615 [C99-based-standards] (PRIdLEAST32): Likewise.
36616 [C99-based-standards] (PRIiLEAST32): Likewise.
36617 [C99-based-standards] (PRIoLEAST32): Likewise.
36618 [C99-based-standards] (PRIuLEAST32): Likewise.
36619 [C99-based-standards] (PRIxLEAST32): Likewise.
36620 [C99-based-standards] (PRIXLEAST32): Likewise.
36621 [C99-based-standards] (SCNdLEAST32): Likewise.
36622 [C99-based-standards] (SCNiLEAST32): Likewise.
36623 [C99-based-standards] (SCNoLEAST32): Likewise.
36624 [C99-based-standards] (SCNuLEAST32): Likewise.
36625 [C99-based-standards] (SCNxLEAST32): Likewise.
36626 [C99-based-standards] (PRIdFAST32): Likewise.
36627 [C99-based-standards] (PRIiFAST32): Likewise.
36628 [C99-based-standards] (PRIoFAST32): Likewise.
36629 [C99-based-standards] (PRIuFAST32): Likewise.
36630 [C99-based-standards] (PRIxFAST32): Likewise.
36631 [C99-based-standards] (PRIXFAST32): Likewise.
36632 [C99-based-standards] (SCNdFAST32): Likewise.
36633 [C99-based-standards] (SCNiFAST32): Likewise.
36634 [C99-based-standards] (SCNoFAST32): Likewise.
36635 [C99-based-standards] (SCNuFAST32): Likewise.
36636 [C99-based-standards] (SCNxFAST32): Likewise.
36637 [C99-based-standards] (PRId64): Likewise.
36638 [C99-based-standards] (PRIi64): Likewise.
36639 [C99-based-standards] (PRIo64): Likewise.
36640 [C99-based-standards] (PRIu64): Likewise.
36641 [C99-based-standards] (PRIx64): Likewise.
36642 [C99-based-standards] (PRIX64): Likewise.
36643 [C99-based-standards] (SCNd64): Likewise.
36644 [C99-based-standards] (SCNi64): Likewise.
36645 [C99-based-standards] (SCNo64): Likewise.
36646 [C99-based-standards] (SCNu64): Likewise.
36647 [C99-based-standards] (SCNx64): Likewise.
36648 [C99-based-standards] (PRIdLEAST64): Likewise.
36649 [C99-based-standards] (PRIiLEAST64): Likewise.
36650 [C99-based-standards] (PRIoLEAST64): Likewise.
36651 [C99-based-standards] (PRIuLEAST64): Likewise.
36652 [C99-based-standards] (PRIxLEAST64): Likewise.
36653 [C99-based-standards] (PRIXLEAST64): Likewise.
36654 [C99-based-standards] (SCNdLEAST64): Likewise.
36655 [C99-based-standards] (SCNiLEAST64): Likewise.
36656 [C99-based-standards] (SCNoLEAST64): Likewise.
36657 [C99-based-standards] (SCNuLEAST64): Likewise.
36658 [C99-based-standards] (SCNxLEAST64): Likewise.
36659 [C99-based-standards] (PRIdFAST64): Likewise.
36660 [C99-based-standards] (PRIiFAST64): Likewise.
36661 [C99-based-standards] (PRIoFAST64): Likewise.
36662 [C99-based-standards] (PRIuFAST64): Likewise.
36663 [C99-based-standards] (PRIxFAST64): Likewise.
36664 [C99-based-standards] (PRIXFAST64): Likewise.
36665 [C99-based-standards] (SCNdFAST64): Likewise.
36666 [C99-based-standards] (SCNiFAST64): Likewise.
36667 [C99-based-standards] (SCNoFAST64): Likewise.
36668 [C99-based-standards] (SCNuFAST64): Likewise.
36669 [C99-based-standards] (SCNxFAST64): Likewise.
36670 [C99-based-standards] (PRIdMAX): Likewise.
36671 [C99-based-standards] (PRIiMAX): Likewise.
36672 [C99-based-standards] (PRIoMAX): Likewise.
36673 [C99-based-standards] (PRIuMAX): Likewise.
36674 [C99-based-standards] (PRIxMAX): Likewise.
36675 [C99-based-standards] (PRIXMAX): Likewise.
36676 [C99-based-standards] (SCNdMAX): Likewise.
36677 [C99-based-standards] (SCNiMAX): Likewise.
36678 [C99-based-standards] (SCNoMAX): Likewise.
36679 [C99-based-standards] (SCNuMAX): Likewise.
36680 [C99-based-standards] (SCNxMAX): Likewise.
36681 [C99-based-standards] (PRIdPTR): Likewise.
36682 [C99-based-standards] (PRIiPTR): Likewise.
36683 [C99-based-standards] (PRIoPTR): Likewise.
36684 [C99-based-standards] (PRIuPTR): Likewise.
36685 [C99-based-standards] (PRIxPTR): Likewise.
36686 [C99-based-standards] (PRIXPTR): Likewise.
36687 [C99-based-standards] (SCNdPTR): Likewise.
36688 [C99-based-standards] (SCNiPTR): Likewise.
36689 [C99-based-standards] (SCNoPTR): Likewise.
36690 [C99-based-standards] (SCNuPTR): Likewise.
36691 [C99-based-standards] (SCNxPTR): Likewise.
36692 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36693 allow.
36694 * conform/data/stdint.h-data: Update comments to clarify
36695 requirements.
36696 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36697 type.
36698 [C99-based standards] (INT8_MAX): Likewise.
36699 [C99-based standards] (INT16_MIN): Likewise.
36700 [C99-based standards] (INT16_MAX): Likewise.
36701 [C99-based standards] (INT32_MIN): Likewise.
36702 [C99-based standards] (INT32_MAX): Likewise.
36703 [C99-based standards] (INT64_MIN): Likewise.
36704 [C99-based standards] (INT64_MAX): Likewise.
36705 [C99-based standards] (UINT8_MAX): Likewise.
36706 [C99-based standards] (UINT16_MAX): Likewise.
36707 [C99-based standards] (UINT32_MAX): Likewise.
36708 [C99-based standards] (UINT64_MAX): Likewise.
36709 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36710 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36711 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36712 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36713 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36714 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36715 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36716 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36717 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36718 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36719 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36720 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36721 [C99-based standards] (INT_FAST8_MIN): Likewise.
36722 [C99-based standards] (INT_FAST8_MAX): Likewise.
36723 [C99-based standards] (INT_FAST16_MIN): Likewise.
36724 [C99-based standards] (INT_FAST16_MAX): Likewise.
36725 [C99-based standards] (INT_FAST32_MIN): Likewise.
36726 [C99-based standards] (INT_FAST32_MAX): Likewise.
36727 [C99-based standards] (INT_FAST64_MIN): Likewise.
36728 [C99-based standards] (INT_FAST64_MAX): Likewise.
36729 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36730 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36731 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36732 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36733 [C99-based standards] (INTPTR_MIN): Likewise.
36734 [C99-based standards] (INTPTR_MAX): Likewise.
36735 [C99-based standards] (UINTPTR_MAX): Likewise.
36736 [C99-based standards] (INTMAX_MIN): Likewise.
36737 [C99-based standards] (INTMAX_MAX): Likewise.
36738 [C99-based standards] (UINTMAX_MAX): Likewise.
36739 [C99-based standards] (PTRDIFF_MIN): Likewise.
36740 [C99-based standards] (PTRDIFF_MAX): Likewise.
36741 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36742 [C99-based standards] (SIZE_MAX): Likewise.
36743 [C99-based standards] (WCHAR_MAX): Likewise.
36744 [C99-based standards] (WINT_MAX): Likewise.
36745 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36746 constraint on value.
36747 [C99-based standards] (WCHAR_MIN): Likewise.
36748 [C99-based standards] (WINT_MIN): Likewise.
36749 [C99-based standards] (*_t): Allow.
36750 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36751 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36752 Include math.h-data and complex.h-data. Remove all expectations
36753 of math.h and complex.h contents.
36754 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36755 at end of line.
36756 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36757 (struct tm): Expect tag.
36758 [C99-based-standards] (wcstof): Expect function.
36759 [C99-based-standards] (wcstold): Likewise.
36760 [C99-based-standards] (wcstoll): Likewise.
36761 [C99-based-standards] (wcstoull): Likewise.
36762 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36763 macro-int-constant. Specify type.
36764 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36765 constraint on value.
36766 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36767 Specify type.
36768 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36769 Specify value.
36770 [ISO C standards]: Do not allow headers.
36771 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36772 wcs[abcdefghijklmnopqrstuvwxyz]*.
36773 [ISO C standards] (*_t): Do not allow.
36774 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36775 Expect function.
36776 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36777 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36778 Specify type.
36779 [ISO C standards]: Do not allow headers.
36780 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36781 is[abcdefghijklmnopqrstuvwxyz]*.
36782 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36783 to[abcdefghijklmnopqrstuvwxyz]*.
36784 [ISO C standards] (*_t): Do not allow.
36785 * conform/data/stdalign.h-data: New file.
36786 * conform/data/stdbool.h-data: Likewise.
36787 * conform/data/stdnoreturn.h-data: Likewise.
36788
7514feb8
RM
367892012-11-07 Roland McGrath <roland@hack.frob.com>
36790
36791 [BZ #14815]
36792 * manual/filesys.texi (Directory Entries): Typo fix.
36793 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36794
19b2ecfc
MS
367952012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36796
36797 * elf/elf.h (EM_AARCH64): New macro.
36798 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36799 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36800 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36801 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36802 (R_AARCH64_TLSDESC): Likewise.
36803 (NT_ARM_TLS): Likewise.
36804 (NT_ARM_HW_BREAK): Likewise.
36805 (NT_ARM_HW_WATCH): Likewise.
36806
60e235ee
JM
368072012-11-07 Joseph Myers <joseph@codesourcery.com>
36808
36809 [BZ #14811]
36810 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36811 (__ieee754_powl): Saturate nonzero exponents with absolute value
36812 below 0x1p-79 to +/- 0x1p-79.
36813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36814 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36815 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36816 nonzero exponents with absolute value below 0x1p-32 to +/-
36817 0x1p-32.
36818 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36819 (__ieee754_powl): Saturate nonzero exponents with absolute value
36820 below 0x1p-79 to +/- 0x1p-79.
36821 * math/libm-test.inc (pow_test): Add more tests.
36822
0ab234b7
AK
368232012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36824
36825 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36826 _dl_s390_cap_flags with kernel. Increase string length.
36827 (_dl_s390_platforms): Add z196 and zEC12.
36828
45832f74
JM
368292012-11-07 Joseph Myers <joseph@codesourcery.com>
36830
36831 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36832 Change XOPEN21K to XOPEN2K.
36833
19218757
MK
368342012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36835
36836 * string/memmove.c: Use memcpy when possible.
36837
c5f45721
AJ
368382012-11-06 Andreas Jaeger <aj@suse.de>
36839
36840 * po/eo.po: Update from translation team.
36841
82477c28
JM
368422012-11-06 Joseph Myers <joseph@codesourcery.com>
36843
36844 [BZ #14793]
36845 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36846 exponent and small x and y exponents, scale x or y up. Increase
36847 by 2 the exponent used in scaling up.
36848 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36849 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36850 * math/libm-test.inc (fma_test): Add more tests.
36851 (fma_test_towardzero): Likewise.
36852 (fma_test_downward): Likewise.
36853 (fma_test_upward): Likewise.
36854
99252c8c
JM
368552012-11-05 Joseph Myers <joseph@codesourcery.com>
36856
acfa885f
JM
36857 [BZ #14805]
36858 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36859 fenv_t *.
36860
99252c8c
JM
36861 [BZ #14801]
36862 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36863 namespace for names of struct fields.
36864 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36865 fenv_t fields.
36866 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36867 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36868
d6d98dea
ST
368692012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36870
36871 [BZ #3665]
36872 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36873
e10bb107
TS
368742012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36875
36876 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36877 PTR_DEMANGLE.
36878
36879 [BZ #5246]
36880 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36881 PTR_DEMANGLE.
36882
a0c2940d
JM
368832012-11-04 Joseph Myers <joseph@codesourcery.com>
36884
36885 [BZ #14797]
36886 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36887 definitely overflow as x * y not x * y + z.
36888 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36889 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36890 * math/libm-test.inc (fma_test): Add more tests.
36891 (fma_test_towardzero): Likewise.
36892 (fma_test_downward): Likewise.
36893 (fma_test_upward): Likewise.
36894
b830319d
TS
368952012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36896
36897 [BZ #157]
36898
36899 * include/stub-tag.h: Remove file.
36900 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36901 '#include' of it.
36902 * manual/maint.texi (Porting): Don't reference it.
36903 * Makerules ($(objpfx)stubs): Likewise.
36904 * dirent/closedir.c: Don't include <stub-tag.h>.
36905 * dirent/dirfd.c: Likewise.
36906 * dirent/fdopendir.c: Likewise.
36907 * dirent/getdents.c: Likewise.
36908 * dirent/getdents64.c: Likewise.
36909 * dirent/opendir.c: Likewise.
36910 * dirent/readdir.c: Likewise.
36911 * dirent/readdir64.c: Likewise.
36912 * dirent/readdir64_r.c: Likewise.
36913 * dirent/readdir_r.c: Likewise.
36914 * dirent/rewinddir.c: Likewise.
36915 * dirent/seekdir.c: Likewise.
36916 * dirent/telldir.c: Likewise.
36917 * gmon/profil.c: Likewise.
36918 * grp/setgroups.c: Likewise.
36919 * inet/if_index.c: Likewise.
36920 * io/access.c: Likewise.
36921 * io/chdir.c: Likewise.
36922 * io/chmod.c: Likewise.
36923 * io/chown.c: Likewise.
36924 * io/close.c: Likewise.
36925 * io/dup.c: Likewise.
36926 * io/dup2.c: Likewise.
36927 * io/dup3.c: Likewise.
36928 * io/euidaccess.c: Likewise.
36929 * io/faccessat.c: Likewise.
36930 * io/fchdir.c: Likewise.
36931 * io/fchmod.c: Likewise.
36932 * io/fchmodat.c: Likewise.
36933 * io/fchown.c: Likewise.
36934 * io/fchownat.c: Likewise.
36935 * io/fcntl.c: Likewise.
36936 * io/flock.c: Likewise.
36937 * io/fstatfs.c: Likewise.
36938 * io/fstatfs64.c: Likewise.
36939 * io/fstatvfs.c: Likewise.
36940 * io/fstatvfs64.c: Likewise.
36941 * io/futimens.c: Likewise.
36942 * io/fxstat.c: Likewise.
36943 * io/fxstat64.c: Likewise.
36944 * io/fxstatat.c: Likewise.
36945 * io/fxstatat64.c: Likewise.
36946 * io/getcwd.c: Likewise.
36947 * io/isatty.c: Likewise.
36948 * io/lchmod.c: Likewise.
36949 * io/lchown.c: Likewise.
36950 * io/link.c: Likewise.
36951 * io/linkat.c: Likewise.
36952 * io/lseek.c: Likewise.
36953 * io/lseek64.c: Likewise.
36954 * io/lxstat64.c: Likewise.
36955 * io/mkdir.c: Likewise.
36956 * io/mkdirat.c: Likewise.
36957 * io/mkfifo.c: Likewise.
36958 * io/mkfifoat.c: Likewise.
36959 * io/open.c: Likewise.
36960 * io/open64.c: Likewise.
36961 * io/openat.c: Likewise.
36962 * io/openat64.c: Likewise.
36963 * io/pipe.c: Likewise.
36964 * io/pipe2.c: Likewise.
36965 * io/poll.c: Likewise.
36966 * io/posix_fadvise.c: Likewise.
36967 * io/posix_fadvise64.c: Likewise.
36968 * io/posix_fallocate.c: Likewise.
36969 * io/posix_fallocate64.c: Likewise.
36970 * io/read.c: Likewise.
36971 * io/readlink.c: Likewise.
36972 * io/readlinkat.c: Likewise.
36973 * io/rmdir.c: Likewise.
36974 * io/sendfile.c: Likewise.
36975 * io/sendfile64.c: Likewise.
36976 * io/statfs.c: Likewise.
36977 * io/statfs64.c: Likewise.
36978 * io/statvfs.c: Likewise.
36979 * io/statvfs64.c: Likewise.
36980 * io/symlink.c: Likewise.
36981 * io/symlinkat.c: Likewise.
36982 * io/ttyname.c: Likewise.
36983 * io/ttyname_r.c: Likewise.
36984 * io/umask.c: Likewise.
36985 * io/unlink.c: Likewise.
36986 * io/unlinkat.c: Likewise.
36987 * io/utime.c: Likewise.
36988 * io/utimensat.c: Likewise.
36989 * io/write.c: Likewise.
36990 * io/xmknod.c: Likewise.
36991 * io/xmknodat.c: Likewise.
36992 * io/xstat.c: Likewise.
36993 * io/xstat64.c: Likewise.
36994 * login/getpt.c: Likewise.
36995 * login/grantpt.c: Likewise.
36996 * login/unlockpt.c: Likewise.
36997 * math/e_acoshl.c: Likewise.
36998 * math/e_acosl.c: Likewise.
36999 * math/e_asinl.c: Likewise.
37000 * math/e_atan2l.c: Likewise.
37001 * math/e_atanhl.c: Likewise.
37002 * math/e_coshl.c: Likewise.
37003 * math/e_expl.c: Likewise.
37004 * math/e_fmodl.c: Likewise.
37005 * math/e_gammal_r.c: Likewise.
37006 * math/e_hypotl.c: Likewise.
37007 * math/e_j0l.c: Likewise.
37008 * math/e_j1l.c: Likewise.
37009 * math/e_jnl.c: Likewise.
37010 * math/e_lgammal_r.c: Likewise.
37011 * math/e_log10l.c: Likewise.
37012 * math/e_log2l.c: Likewise.
37013 * math/e_logl.c: Likewise.
37014 * math/e_powl.c: Likewise.
37015 * math/e_rem_pio2l.c: Likewise.
37016 * math/e_sinhl.c: Likewise.
37017 * math/e_sqrtl.c: Likewise.
37018 * math/fclrexcpt.c: Likewise.
37019 * math/fedisblxcpt.c: Likewise.
37020 * math/feenablxcpt.c: Likewise.
37021 * math/fegetenv.c: Likewise.
37022 * math/fegetexcept.c: Likewise.
37023 * math/fegetround.c: Likewise.
37024 * math/feholdexcpt.c: Likewise.
37025 * math/fesetenv.c: Likewise.
37026 * math/fesetround.c: Likewise.
37027 * math/feupdateenv.c: Likewise.
37028 * math/fgetexcptflg.c: Likewise.
37029 * math/fraiseexcpt.c: Likewise.
37030 * math/fsetexcptflg.c: Likewise.
37031 * math/ftestexcept.c: Likewise.
37032 * math/k_cosl.c: Likewise.
37033 * math/k_rem_pio2l.c: Likewise.
37034 * math/k_sinl.c: Likewise.
37035 * math/k_tanl.c: Likewise.
37036 * math/s_asinhl.c: Likewise.
37037 * math/s_atanl.c: Likewise.
37038 * math/s_cbrtl.c: Likewise.
37039 * math/s_erfl.c: Likewise.
37040 * math/s_expm1l.c: Likewise.
37041 * math/s_log1pl.c: Likewise.
37042 * math/s_tanhl.c: Likewise.
37043 * misc/acct.c: Likewise.
37044 * misc/brk.c: Likewise.
37045 * misc/chflags.c: Likewise.
37046 * misc/chroot.c: Likewise.
37047 * misc/fchflags.c: Likewise.
37048 * misc/fgetxattr.c: Likewise.
37049 * misc/flistxattr.c: Likewise.
37050 * misc/fremovexattr.c: Likewise.
37051 * misc/fsetxattr.c: Likewise.
37052 * misc/fsync.c: Likewise.
37053 * misc/ftruncate.c: Likewise.
37054 * misc/futimes.c: Likewise.
37055 * misc/futimesat.c: Likewise.
37056 * misc/getdomain.c: Likewise.
37057 * misc/getdtsz.c: Likewise.
37058 * misc/gethostid.c: Likewise.
37059 * misc/gethostname.c: Likewise.
37060 * misc/getloadavg.c: Likewise.
37061 * misc/getpagesize.c: Likewise.
37062 * misc/getsysstats.c: Likewise.
37063 * misc/getxattr.c: Likewise.
37064 * misc/gtty.c: Likewise.
37065 * misc/ioctl.c: Likewise.
37066 * misc/lgetxattr.c: Likewise.
37067 * misc/listxattr.c: Likewise.
37068 * misc/llistxattr.c: Likewise.
37069 * misc/lremovexattr.c: Likewise.
37070 * misc/lsetxattr.c: Likewise.
37071 * misc/lutimes.c: Likewise.
37072 * misc/madvise.c: Likewise.
37073 * misc/mincore.c: Likewise.
37074 * misc/mlock.c: Likewise.
37075 * misc/mlockall.c: Likewise.
37076 * misc/mmap.c: Likewise.
37077 * misc/mprotect.c: Likewise.
37078 * misc/msync.c: Likewise.
37079 * misc/munlock.c: Likewise.
37080 * misc/munlockall.c: Likewise.
37081 * misc/munmap.c: Likewise.
37082 * misc/preadv.c: Likewise.
37083 * misc/preadv64.c: Likewise.
37084 * misc/ptrace.c: Likewise.
37085 * misc/pwritev.c: Likewise.
37086 * misc/pwritev64.c: Likewise.
37087 * misc/readv.c: Likewise.
37088 * misc/reboot.c: Likewise.
37089 * misc/remap_file_pages.c: Likewise.
37090 * misc/removexattr.c: Likewise.
37091 * misc/revoke.c: Likewise.
37092 * misc/select.c: Likewise.
37093 * misc/setdomain.c: Likewise.
37094 * misc/setegid.c: Likewise.
37095 * misc/seteuid.c: Likewise.
37096 * misc/sethostid.c: Likewise.
37097 * misc/sethostname.c: Likewise.
37098 * misc/setregid.c: Likewise.
37099 * misc/setreuid.c: Likewise.
37100 * misc/setxattr.c: Likewise.
37101 * misc/sstk.c: Likewise.
37102 * misc/stty.c: Likewise.
37103 * misc/swapoff.c: Likewise.
37104 * misc/swapon.c: Likewise.
37105 * misc/sync.c: Likewise.
37106 * misc/syncfs.c: Likewise.
37107 * misc/syscall.c: Likewise.
37108 * misc/truncate.c: Likewise.
37109 * misc/ualarm.c: Likewise.
37110 * misc/usleep.c: Likewise.
37111 * misc/ustat.c: Likewise.
37112 * misc/utimes.c: Likewise.
37113 * misc/vhangup.c: Likewise.
37114 * misc/writev.c: Likewise.
37115 * posix/_exit.c: Likewise.
37116 * posix/alarm.c: Likewise.
37117 * posix/execve.c: Likewise.
37118 * posix/fexecve.c: Likewise.
37119 * posix/fork.c: Likewise.
37120 * posix/fpathconf.c: Likewise.
37121 * posix/getaddrinfo.c: Likewise.
37122 * posix/getegid.c: Likewise.
37123 * posix/geteuid.c: Likewise.
37124 * posix/getgid.c: Likewise.
37125 * posix/getgroups.c: Likewise.
37126 * posix/getlogin.c: Likewise.
37127 * posix/getlogin_r.c: Likewise.
37128 * posix/getpgid.c: Likewise.
37129 * posix/getpid.c: Likewise.
37130 * posix/getppid.c: Likewise.
37131 * posix/getresgid.c: Likewise.
37132 * posix/getresuid.c: Likewise.
37133 * posix/getsid.c: Likewise.
37134 * posix/getuid.c: Likewise.
37135 * posix/glob64.c: Likewise.
37136 * posix/nanosleep.c: Likewise.
37137 * posix/pathconf.c: Likewise.
37138 * posix/pause.c: Likewise.
37139 * posix/posix_madvise.c: Likewise.
37140 * posix/pread.c: Likewise.
37141 * posix/pread64.c: Likewise.
37142 * posix/pwrite.c: Likewise.
37143 * posix/pwrite64.c: Likewise.
37144 * posix/sched_getaffinity.c: Likewise.
37145 * posix/sched_getp.c: Likewise.
37146 * posix/sched_gets.c: Likewise.
37147 * posix/sched_primax.c: Likewise.
37148 * posix/sched_primin.c: Likewise.
37149 * posix/sched_rr_gi.c: Likewise.
37150 * posix/sched_setaffinity.c: Likewise.
37151 * posix/sched_setp.c: Likewise.
37152 * posix/sched_sets.c: Likewise.
37153 * posix/sched_yield.c: Likewise.
37154 * posix/setgid.c: Likewise.
37155 * posix/setlogin.c: Likewise.
37156 * posix/setpgid.c: Likewise.
37157 * posix/setresgid.c: Likewise.
37158 * posix/setresuid.c: Likewise.
37159 * posix/setsid.c: Likewise.
37160 * posix/setuid.c: Likewise.
37161 * posix/sleep.c: Likewise.
37162 * posix/spawni.c: Likewise.
37163 * posix/sysconf.c: Likewise.
37164 * posix/times.c: Likewise.
37165 * posix/wait.c: Likewise.
37166 * posix/wait3.c: Likewise.
37167 * posix/wait4.c: Likewise.
37168 * posix/waitpid.c: Likewise.
37169 * resolv/gai_sigqueue.c: Likewise.
37170 * resource/getpriority.c: Likewise.
37171 * resource/getrlimit.c: Likewise.
37172 * resource/getrusage.c: Likewise.
37173 * resource/nice.c: Likewise.
37174 * resource/setpriority.c: Likewise.
37175 * resource/setrlimit.c: Likewise.
37176 * resource/ulimit.c: Likewise.
37177 * rt/aio_cancel.c: Likewise.
37178 * rt/aio_fsync.c: Likewise.
37179 * rt/aio_read.c: Likewise.
37180 * rt/aio_sigqueue.c: Likewise.
37181 * rt/aio_suspend.c: Likewise.
37182 * rt/aio_write.c: Likewise.
37183 * rt/clock_getres.c: Likewise.
37184 * rt/clock_gettime.c: Likewise.
37185 * rt/clock_nanosleep.c: Likewise.
37186 * rt/clock_settime.c: Likewise.
37187 * rt/lio_listio.c: Likewise.
37188 * rt/mq_close.c: Likewise.
37189 * rt/mq_getattr.c: Likewise.
37190 * rt/mq_notify.c: Likewise.
37191 * rt/mq_open.c: Likewise.
37192 * rt/mq_receive.c: Likewise.
37193 * rt/mq_send.c: Likewise.
37194 * rt/mq_setattr.c: Likewise.
37195 * rt/mq_timedreceive.c: Likewise.
37196 * rt/mq_timedsend.c: Likewise.
37197 * rt/mq_unlink.c: Likewise.
37198 * rt/shm_open.c: Likewise.
37199 * rt/shm_unlink.c: Likewise.
37200 * rt/timer_create.c: Likewise.
37201 * rt/timer_delete.c: Likewise.
37202 * rt/timer_getoverr.c: Likewise.
37203 * rt/timer_gettime.c: Likewise.
37204 * rt/timer_settime.c: Likewise.
37205 * setjmp/__longjmp.c: Likewise.
37206 * setjmp/setjmp.c: Likewise.
37207 * signal/kill.c: Likewise.
37208 * signal/killpg.c: Likewise.
37209 * signal/raise.c: Likewise.
37210 * signal/sigaction.c: Likewise.
37211 * signal/sigaltstack.c: Likewise.
37212 * signal/sigblock.c: Likewise.
37213 * signal/sigignore.c: Likewise.
37214 * signal/sigintr.c: Likewise.
37215 * signal/signal.c: Likewise.
37216 * signal/sigpause.c: Likewise.
37217 * signal/sigpending.c: Likewise.
37218 * signal/sigqueue.c: Likewise.
37219 * signal/sigreturn.c: Likewise.
37220 * signal/sigset.c: Likewise.
37221 * signal/sigsetmask.c: Likewise.
37222 * signal/sigstack.c: Likewise.
37223 * signal/sigsuspend.c: Likewise.
37224 * signal/sigtimedwait.c: Likewise.
37225 * signal/sigvec.c: Likewise.
37226 * signal/sigwait.c: Likewise.
37227 * signal/sigwaitinfo.c: Likewise.
37228 * signal/sysv_signal.c: Likewise.
37229 * socket/accept.c: Likewise.
37230 * socket/accept4.c: Likewise.
37231 * socket/bind.c: Likewise.
37232 * socket/connect.c: Likewise.
37233 * socket/getpeername.c: Likewise.
37234 * socket/getsockname.c: Likewise.
37235 * socket/getsockopt.c: Likewise.
37236 * socket/isfdtype.c: Likewise.
37237 * socket/listen.c: Likewise.
37238 * socket/recv.c: Likewise.
37239 * socket/recvfrom.c: Likewise.
37240 * socket/recvmsg.c: Likewise.
37241 * socket/send.c: Likewise.
37242 * socket/sendmsg.c: Likewise.
37243 * socket/sendto.c: Likewise.
37244 * socket/setsockopt.c: Likewise.
37245 * socket/shutdown.c: Likewise.
37246 * socket/sockatmark.c: Likewise.
37247 * socket/socket.c: Likewise.
37248 * socket/socketpair.c: Likewise.
37249 * stdio-common/ctermid.c: Likewise.
37250 * stdio-common/cuserid.c: Likewise.
37251 * stdio-common/remove.c: Likewise.
37252 * stdio-common/rename.c: Likewise.
37253 * stdio-common/renameat.c: Likewise.
37254 * stdio-common/tempname.c: Likewise.
37255 * stdlib/getcontext.c: Likewise.
37256 * stdlib/makecontext.c: Likewise.
37257 * stdlib/setcontext.c: Likewise.
37258 * stdlib/swapcontext.c: Likewise.
37259 * stdlib/system.c: Likewise.
37260 * streams/fattach.c: Likewise.
37261 * streams/fdetach.c: Likewise.
37262 * streams/getmsg.c: Likewise.
37263 * streams/getpmsg.c: Likewise.
37264 * streams/putmsg.c: Likewise.
37265 * streams/putpmsg.c: Likewise.
37266 * sysdeps/unix/bsd/getpt.c: Likewise.
37267 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37268 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37269 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37271 Likewise.
37272 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37273 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37274 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37275 * sysvipc/msgctl.c: Likewise.
37276 * sysvipc/msgget.c: Likewise.
37277 * sysvipc/msgrcv.c: Likewise.
37278 * sysvipc/msgsnd.c: Likewise.
37279 * sysvipc/semctl.c: Likewise.
37280 * sysvipc/semget.c: Likewise.
37281 * sysvipc/semop.c: Likewise.
37282 * sysvipc/semtimedop.c: Likewise.
37283 * sysvipc/shmat.c: Likewise.
37284 * sysvipc/shmctl.c: Likewise.
37285 * sysvipc/shmdt.c: Likewise.
37286 * sysvipc/shmget.c: Likewise.
37287 * termios/tcdrain.c: Likewise.
37288 * termios/tcflow.c: Likewise.
37289 * termios/tcflush.c: Likewise.
37290 * termios/tcgetattr.c: Likewise.
37291 * termios/tcgetpgrp.c: Likewise.
37292 * termios/tcsendbrk.c: Likewise.
37293 * termios/tcsetattr.c: Likewise.
37294 * termios/tcsetpgrp.c: Likewise.
37295 * time/adjtime.c: Likewise.
37296 * time/clock.c: Likewise.
37297 * time/getitimer.c: Likewise.
37298 * time/gettimeofday.c: Likewise.
37299 * time/setitimer.c: Likewise.
37300 * time/settimeofday.c: Likewise.
37301 * time/stime.c: Likewise.
37302 * time/time.c: Likewise.
37303
373042012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 37305
a20492cf
PT
37306 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37307 /usr/old/bin.
37308
72e182e3
PT
37309 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37310 instead of spaces.
37311 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37312
fbeafede
JM
373132012-11-03 Joseph Myers <joseph@codesourcery.com>
37314
5b5b04d6
JM
37315 [BZ #14796]
37316 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37317 FE_TONEAREST before applying Dekker multiplication and Knuth
37318 addition. Clear inexact exceptions and check for exact zero
37319 results afterwards.
37320 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37321 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37322 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37323 * math/libm-test.inc (fma_test): Add more tests.
37324 (fma_test_towardzero): Likewise.
37325 (fma_test_downward): Likewise.
37326 (fma_test_upward): Likewise.
37327 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37328 function.
37329 (libc_fesetround): New macro.
37330 (libc_fesetroundf): Likewise.
37331 (libc_fesetroundl): Likewise.
37332 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37333 function.
37334 (libc_fesetround_387): Likewise.
37335 (libc_fesetroundf): New macro.
37336 (libc_fesetround): Likewise.
37337 (libc_fesetroundl): Likewise.
37338 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37339 function.
37340 (libc_fesetroundf): New macro.
37341 (libc_fesetround): Likewise.
37342 (libc_fesetroundl): Likewise.
37343 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37344 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37345 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37346 libm_hidden_ver.
37347 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37348 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37349 libm_hidden_def.
37350 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37351 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37352 libm_hidden_ver.
37353 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37354 libm_hidden_def.
37355
fbeafede
JM
37356 [BZ #3439]
37357 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37358 integer constant usable in #if and use that to give value to enum
37359 constant.
37360 (FE_DIVBYZERO): Likewise.
37361 (FE_UNDERFLOW): Likewise.
37362 (FE_OVERFLOW): Likewise.
37363 (FE_INVALID): Likewise.
37364 (FE_INVALID_SNAN): Likewise.
37365 (FE_INVALID_ISI): Likewise.
37366 (FE_INVALID_IDI): Likewise.
37367 (FE_INVALID_ZDZ): Likewise.
37368 (FE_INVALID_IMZ): Likewise.
37369 (FE_INVALID_COMPARE): Likewise.
37370 (FE_INVALID_SOFTWARE): Likewise.
37371 (FE_INVALID_SQRT): Likewise.
37372 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37373 (FE_TONEAREST): Likewise.
37374 (FE_TOWARDZERO): Likewise.
37375 (FE_UPWARD): Likewise.
37376 (FE_DOWNWARD): Likewise.
37377 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37378 (FE_DIVBYZERO): Likewise.
37379 (FE_OVERFLOW): Likewise.
37380 (FE_UNDERFLOW): Likewise.
37381 (FE_INEXACT): Likewise.
37382 (FE_TONEAREST): Likewise.
37383 (FE_DOWNWARD): Likewise.
37384 (FE_UPWARD): Likewise.
37385 (FE_TOWARDZERO): Likewise.
37386 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37387 (FE_UNDERFLOW): Likewise.
37388 (FE_OVERFLOW): Likewise.
37389 (FE_DIVBYZERO): Likewise.
37390 (FE_INVALID): Likewise.
37391 (FE_TONEAREST): Likewise.
37392 (FE_TOWARDZERO): Likewise.
37393 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37394 (FE_OVERFLOW): Likewise.
37395 (FE_UNDERFLOW): Likewise.
37396 (FE_DIVBYZERO): Likewise.
37397 (FE_INEXACT): Likewise.
37398 (FE_TONEAREST): Likewise.
37399 (FE_TOWARDZERO): Likewise.
37400 (FE_UPWARD): Likewise.
37401 (FE_DOWNWARD): Likewise.
37402 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37403 (FE_DIVBYZERO): Likewise.
37404 (FE_OVERFLOW): Likewise.
37405 (FE_UNDERFLOW): Likewise.
37406 (FE_INEXACT): Likewise.
37407 (FE_TONEAREST): Likewise.
37408 (FE_DOWNWARD): Likewise.
37409 (FE_UPWARD): Likewise.
37410 (FE_TOWARDZERO): Likewise.
37411
105ca950
CM
374122012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37413
37414 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37415
a542b389
AS
374162012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37417
37418 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37419 commands. Quote $PWD.
37420 (blacklist_exports): Don't use remove_newlines. Replace "declare
37421 -x" by "export".
37422 (remove_newlines): Remove.
37423
f62c8abc
L
374242012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37425
37426 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37427 * stdlib/stdlib.h (atof): Moved to ...
37428 * include/bits/stdlib-float.h: Here. New file.
37429 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37430 * stdlib/bits/stdlib-float.h: New file.
37431 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37432 -mno-sse -mno-mmx.
37433 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37434 <xmmintrin.h>.
37435
0155d5b2
JM
374362012-11-02 Joseph Myers <joseph@codesourcery.com>
37437
a68d0680
JM
37438 * conform/conformtest.pl (@headers): Add fenv.h.
37439 * conform/data/fenv.h-data: New file.
37440 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37441 include of <math/fenv.h>.
37442
caf7f573
JM
37443 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37444 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37445 && !UNIX98]. Enables tests for XOPEN2K8.
37446 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37447 POSIX2008]: Likewise.
37448
6c073ad6
JM
37449 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37450 (struct rusage): Do not expect type or its members.
37451
0155d5b2
JM
37452 [BZ #3439]
37453 * math/math.h (FP_NAN): Define macro to integer constant usable in
37454 #if and use that to give value to enum constant.
37455 (FP_INFINITE): Likewise.
37456 (FP_ZERO): Likewise.
37457 (FP_SUBNORMAL): Likewise.
37458 (FP_NORMAL): Likewise.
37459
b5dcacb4
AS
374602012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37461
37462 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37463 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37464 arguments.
37465
f7934be8
RM
374662012-11-02 Roland McGrath <roland@hack.frob.com>
37467
37468 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37469 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37470 autoconf-time if not.
37471 * configure.in: Remove AC_PREREQ.
37472
d7d08bde
TMQMF
374732012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37474
37475 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37476 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37477 of the internal implementation.
37478
dcdae19a
JM
374792012-11-02 Joseph Myers <joseph@codesourcery.com>
37480
37481 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37482 except include of <misc/sys/syslog.h>.
37483
d6cffd3e
AS
374842012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37485
37486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37487 function returns with a NULL context exit with zero.
37488
b3563932
TMQMF
374892012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37490
37491 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37492
b288a93d
L
374932012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37494
37495 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37496 (run_program_cmd): This.
37497 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37498 (tst_langinfo): New variable. Use it.
37499
a2421a68
SAS
375002012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37501
37502 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37503 floating point opcodes.
37504
6f796e1b
TS
375052012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37506
7402596b
TS
37507 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37508 variable.
37509
d0d4f868
TS
37510 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37511
6f796e1b
TS
37512 * sysdeps/mach/hurd/powerpc: Remove directory.
37513 * sysdeps/mach/powerpc: Likewise.
37514
4da224a2
AS
375152012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37516
37517 * scripts/check-local-headers.sh: Ignore c++ headers.
37518
341dd673
TS
375192012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37520
37521 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37522 __libc_cleanup_region_start argument.
37523
473611b2
JM
375242012-11-01 Joseph Myers <joseph@codesourcery.com>
37525
37526 [BZ #14784]
37527 [BZ #14785]
37528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37529 x * y using scaling, not as x * y + z.
37530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37532 * math/libm-test.inc (fma_test): Add more tests.
37533 (fma_test_towardzero): Likewise.
37534 (fma_test_downward): Likewise.
37535 (fma_test_upward): Likewise.
37536
4078da3d
TS
375372012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37538
37539 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37540
903252aa
JM
375412012-10-31 Joseph Myers <joseph@codesourcery.com>
37542
37543 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37544 New variable.
37545
cbc818d0
TS
375462012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37547
37548 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37549
5a03cb1e
AS
375502012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37551
37552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37553 Fix sort order.
37554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37555 Likewise.
37556
90aff2ff
TMQMF
375572012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37558
37559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37560 Fix the order of the list for glibc 2.17.
37561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37562 Likewise.
37563
1818fcb7
AS
375642012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37565
37566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37567
ef82f4da
JM
375682012-10-31 Joseph Myers <joseph@codesourcery.com>
37569
16a0e2ec
JM
37570 [BZ #14610]
37571 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37572 for low part of x being zero before using __atanl (y).
37573 * math/libm-test.inc (atan2_test): Add another test.
37574
0eb69512
JM
37575 * manual/install.texi (Configuring and compiling): Document
37576 general use of test-wrapper and test-wrapper-env.
37577 * INSTALL: Regenerated.
37578
ef82f4da
JM
37579 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37580 (__fma): Do not extract and scale down low bits on after-rounding
37581 systems when result rounded to normal precision would have normal
37582 exponent.
37583 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37584 (__fmal): Do not extract and scale down low bits on after-rounding
37585 systems when result rounded to normal precision would have normal
37586 exponent.
37587 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37588 (__fmal): Do not extract and scale down low bits on after-rounding
37589 systems when result rounded to normal precision would have normal
37590 exponent.
37591 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37592 macro.
37593 (fma_test): Add more tests.
37594 (fma_test_towardzero): Likewise.
37595 (fma_test_downward): Likewise.
37596 (fma_test_upward): Likewise.
37597
954ef0d9
L
375982012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37599
37600 * sysdeps/i386/tininess.h: Renamed to ...
37601 * sysdeps/x86/tininess.h: This.
37602 * sysdeps/x86_64/tininess.h: Removed.
37603
df61ffb2
JM
376042012-10-30 Joseph Myers <joseph@codesourcery.com>
37605
37606 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37607 input. Use $(build-program-cmd).
37608 ($(objpfx)tst-array1-static.out): Likewise.
37609 ($(objpfx)tst-array2.out): Likewise.
37610 ($(objpfx)tst-array3.out): Likewise.
37611 ($(objpfx)tst-array4.out): Likewise.
37612 ($(objpfx)tst-array5.out): Likewise.
37613 ($(objpfx)tst-array5-static.out): Likewise.
37614
01767843
CM
376152012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37616
47cc1490
CM
37617 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37618 if defined.
37619
01767843
CM
37620 * nss/nsswitch.h (nss_interface_function): Provide new
37621 macro for use with NSS functions.
37622 * grp/initgroups.c: Use new macro.
37623 * nss/getXXbyYY.c: Likewise.
37624 * nss/getXXbyYY_r.c: Likewise.
37625 * nss/getXXent.c: Likewise.
37626 * nss/getXXent_r.c: Likewise.
37627 * sysdeps/posix/getaddrinfo.c: Likewise.
37628
8321aa97
AJ
376292012-10-30 Andreas Jaeger <aj@suse.de>
37630
37631 * po/ru.po: Update Russion translation from translation project.
37632
2a27fd6d
JM
376332012-10-30 Joseph Myers <joseph@codesourcery.com>
37634
8627a232
JM
37635 [BZ #14152]
37636 [BZ #14783]
37637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37638 result and shift together with sticky bit instead of replicating
37639 round-to-nearest rounding.
37640 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37641 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37642 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37643 missing underflow exceptions.
37644 (fma_test_towardzero): Add more tests.
37645 (fma_test_downward): Likewise.
37646 (fma_test_upward): Likewise.
37647
2a27fd6d
JM
37648 [BZ #14047]
37649 * sysdeps/generic/tininess.h: New file.
37650 * sysdeps/i386/tininess.h: Likewise.
37651 * sysdeps/sh/tininess.h: Likewise.
37652 * sysdeps/x86_64/tininess.h: Likewise.
37653 * stdlib/tst-strtod-underflow.c: Likewise.
37654 * stdlib/tst-tininess.c: Likewise.
37655 * stdlib/strtod_l.c: Include <tininess.h>.
37656 (round_and_return): Do not set errno for exact underflow cases.
37657 Force an underflow exception when setting errno for underflow.
37658 Determine underflow based on rounding to normal precision if
37659 TININESS_AFTER_ROUNDING.
37660 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37661 ERANGE for exact underflow cases.
37662 * stdlib/Makefile (tests): Add tst-tininess and
37663 tst-strtod-underflow.
37664 ($(objpfx)tst-tininess): Use $(link-libm).
37665 ($(objpfx)tst-strtod-underflow): Likewise.
37666
e7170363
AJ
376672012-10-30 Andreas Jaeger <aj@suse.de>
37668
e5088dc6
AJ
37669 [BZ#14767]
37670 * elf/Makefile (tests): Remove conditional for have-initfini-array
37671 since this is now always required and the variable does not exist
37672 anymore.
37673 (tests-static): Likewise.
37674 (modules-names): Likewise.
37675
e7170363 37676 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37677
37678 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37679 merged with constructor/destructor.
37680 (init_array): Likewise.
37681 * elf/tst-array2dep.c (fini_array): Likewise.
37682 (init_array): Likewise.
37683
60457d8a
MF
376842012-10-29 Mike Frysinger <vapier@gentoo.org>
37685
37686 * manual/message.texi: Delete @cartouche tags.
37687
8bece752
PT
376882012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37689
94ce799f
PT
37690 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37691 EOPNOTSUPP.
37692 * sysdeps/mach/hurd/fsync.c: Likewise.
37693
8bece752
PT
37694 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37695 [_POSIX_REALTIME_SIGNALS]: Change condition to
37696 [_POSIX_REALTIME_SIGNALS > 0].
37697
86ebe6b1
AJ
376982012-10-27 Andreas Jaeger <aj@suse.de>
37699
37700 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37701 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37702 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37703 [__WORDSIZE != 64]: Likewise.
37704
54399c08
L
377052012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37706
37707 * iconvdata/tst-table.sh: Remove ${SHELL}.
37708 * iconvdata/tst-tables.sh: Likewise.
37709
e2211bed
DM
377102012-10-25 David S. Miller <davem@davemloft.net>
37711
37712 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37713 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37714 of strtoull.
37715
f303f97c
DM
37716 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37717 ifunc-impl-list.c
37718 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37719 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37720 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37721 file.
37722
1e9d84cd
RM
377232012-10-25 Roland McGrath <roland@hack.frob.com>
37724
37725 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37726 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37727 __getdirentries.
37728
df381762
JM
377292012-10-25 Joseph Myers <joseph@codesourcery.com>
37730 Jim Blandy <jimb@codesourcery.com>
37731
37732 * scripts/cross-test-ssh.sh: New file.
37733 * manual/install.texi (Configuring and compiling): Document use of
37734 cross-test-ssh.sh.
37735 * INSTALL: Regenerated.
37736
bff64913
PT
377372012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37738
37739 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37740 EOPNOTSUPP.
37741
25fe8932
JM
377422012-10-25 Joseph Myers <joseph@codesourcery.com>
37743
37744 * Makeconfig (run-program-prefix): Fix comment.
37745
cc1290d0
JM
377462012-10-24 Joseph Myers <joseph@codesourcery.com>
37747 Jim Blandy <jimb@codesourcery.com>
37748
37749 * Makeconfig (test-wrapper): New variable,
37750 (test-wrapper-env): Likewise.
37751 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37752 (run-built-tests): Define to yes.
37753 (run-program-prefix): Use $(test-wrapper).
37754 (built-program-cmd): Likewise.
37755 * Rules (make-test-out): Use $(test-wrapper-env) and
37756 $(host-built-program-cmd).
37757 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37758 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37759 tst-pathopt.sh.
37760 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37761 $(test-wrapper-env) to tst-rtld-load-self.sh.
37762 ($(objpfx)order2.out): Use $(test-wrapper).
37763 ($(objpfx)tst-initorder.out): Likewise.
37764 ($(objpfx)tst-initorder2.out): Likewise.
37765 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37766 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37767 (test_wrapper_env): New variable. Use it to run ld.so.
37768 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37769 Use it to run ld.so.
37770 (test_wrapper_env): Likewise.
37771 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37772 $(test-wrapper) to run-iconv-test.sh.
37773 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37774 (ICONV): Use $test_wrapper.
37775 * posix/Makefile ($(objpfx)globtest.out): Pass
37776 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37777 globtest.sh, not $(run-program-prefix).
37778 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37779 (test_wrapper): Likewise.
37780 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37781 set together with run_via_rtld_prefix.
37782 (run_program_prefix): Define in terms of test_wrapper and
37783 run_via_rtld_prefix.
37784
6e6249d0
RM
377852012-10-24 Roland McGrath <roland@hack.frob.com>
37786
37787 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37788 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37789 Targets removed.
37790
37791 [BZ #14743]
37792 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37793 Declare __clock_getres, __clock_gettime, __clock_settime,
37794 __clock_nanosleep, and __clock_getcpuclockid.
37795 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37796 Remove librt_hidden_def (clock_gettime).
37797 * sysdeps/unix/clock_gettime.c: Likewise.
37798 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37799 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37800 * rt/clock_getres.c: Define __clock_getres as an alias.
37801 * sysdeps/posix/clock_getres.c: Likewise.
37802 * rt/clock_settime.c: Define __clock_settime as an alias.
37803 * sysdeps/unix/clock_settime.c: Likewise.
37804 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37805 * sysdeps/unix/clock_nanosleep.c: Likewise.
37806 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37807 * rt/clock-compat.c: New file.
37808 * rt/Makefile (librt-routines): Add clock-compat and move
37809 $(clock-routines) to ...
37810 (routines): ... here, new variable.
37811 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37812 Don't add get_clockfreq here.
37813 * rt/Versions (libc: GLIBC_2.17): New version set.
37814 Add clock_* symbols here.
37815 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37816 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37817 (GLIBC_2.17): Add clock_* symbols.
37818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37819 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37820 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37822 Likewise.
37823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37824 Likewise.
37825 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37826 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37827 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37828 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37829 * NEWS: Mention the move.
37830
37831 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37832 Use __open, __read, __close rather than their public counterparts.
37833 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37834 (__get_clockfreq_via_cpuinfo): Likewise.
37835 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37836 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37837
37838 * config.h.in (HAVE_IFUNC): New #undef.
37839 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37840 was successful.
37841 * configure: Regenerated.
37842
0cae3f4b
MF
378432012-10-24 Mike Frysinger <vapier@gentoo.org>
37844
37845 * configure.in: Move READELF check to start of file.
37846 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37847 libc_cv_asm_gnu_indirect_function in the process.
37848 * configure: Regenerated.
37849
8175a253
MF
378502012-10-24 Mike Frysinger <vapier@gentoo.org>
37851
37852 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37853 send the output to /dev/null.
37854 (libc_cv_cc_with_libunwind): Likewise.
37855 (libc_cv_as_noexecstack): Likewise.
37856 * configure: Regenerate.
37857
0708a7d1
JM
378582012-10-24 Joseph Myers <joseph@codesourcery.com>
37859
10b40d85
JM
37860 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37861
0708a7d1
JM
37862 * posix/globtest.sh (TMPDIR): Do not set.
37863 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37864 (testout): Likewise.
37865
9fddec1a
AJ
378662012-10-24 Andreas Jaeger <aj@suse.de>
37867
3a8db22f
AJ
37868 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37869 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37870 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37871 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37872 posix_fadvise64, posix_fallocate64.
37873
9fddec1a
AJ
37874 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37875 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37876 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37877 Likewise.
37878 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37879 Likewise.
37880 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37881
37882 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37883 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37884 <bits/fcntl-linux.h>.
37885 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37886
37887 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37888 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37889 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37890 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37891 [__WORDSIZE != 64]: Likewise.
37892
ebfd1bbd
JM
378932012-10-23 Joseph Myers <joseph@codesourcery.com>
37894
03ac099f
JM
37895 * Makeconfig (run-built-tests): New variable.
37896 * Rules [$(cross-compiling) = yes]: Change condition to
37897 [$(run-built-tests) = no].
37898 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37899 to [$(run-built-tests) = yes].
37900 * elf/Makefile [$(cross-compiling) = no]: Likewise
37901 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37902 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37903 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37904 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37905 * io/Makefile [$(cross-compiling) = no]: Likewise.
37906 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37907 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37908 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37909 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37910 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37911 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37912 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37913 * string/Makefile [$(cross-compiling) = no]: Likewise.
37914
ebfd1bbd
JM
37915 * posix/Makefile ($(objpfx)globtest.out): Pass
37916 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37917 $(rtld-installed-name).
37918 * posix/globtest.sh (elf_objpfx): Remove variable.
37919 (rtld_installed_name): Likewise.
37920 (library_path): Likewise.
37921 (run_program_prefix): New variable. Use for running globtest
37922 binary.
37923
166bca24
JB
379242012-10-23 Jim Blandy <jimb@codesourcery.com>
37925 Joseph Myers <joseph@codesourcery.com>
37926
37927 * Makeconfig (host-built-program-cmd): New variable.
37928 * elf/Makefile (tst-stackguard1-ARGS): Use
37929 $(host-built-program-cmd).
37930 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37931 (tst-spawn-ARGS): Likewise.
37932 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37933
88866099
JM
379342012-10-23 Joseph Myers <joseph@codesourcery.com>
37935 Jim Blandy <jimb@codesourcery.com>
37936
37937 * Makeconfig (run-via-rtld-prefix): New variable.
37938 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37939 (built-program-cmd): Likewise.
37940
b4b4c296
AJ
379412012-10-22 Andreas Jaeger <aj@suse.de>
37942
37943 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
37944 __O_RSYNC if it exists, otherwise to O_SYNC.
37945
6fb54a22
JB
379462012-10-22 Jim Blandy <jimb@codesourcery.com>
37947 Joseph Myers <joseph@codesourcery.com>
37948
37949 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
37950 /dev/null.
37951 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
37952 from /dev/null
37953 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
37954 /dev/null.
37955
481b90b9
AJ
379562012-10-22 Andreas Jaeger <aj@suse.de>
37957
2a0e2669
AJ
37958 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
37959 Define always.
37960 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
37961
76e38f9a
AJ
37962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
37963 bits/fcntl-linux.h.
37964
7cd37b43
AJ
37965 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
37966 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
37967
481b90b9
AJ
37968 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
37969 to __O_LARGEFILE.
37970 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
37971 to __O_LARGEFILE.
37972
aba75984
JB
379732012-10-21 Jim Blandy <jimb@codesourcery.com>
37974 Joseph Myers <joseph@codesourcery.com>
37975
37976 * config.make.in (NM): New variable.
37977
88d4247f
AJ
379782012-10-21 Andreas Jaeger <aj@suse.de>
37979
37980 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
37981 definitions and declarations that are provided by
37982 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
37983
f2eed205
L
379842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
37985
37986 [BZ #14683]
37987 * elf/Makefile (tests-static): Add tst-leaks1-static.
37988 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
37989 ($(objpfx)tst-leaks1-static): New rule.
37990 ($(objpfx)tst-leaks1-static-mem): Likewise.
37991 (tst-leaks1-static-ENV): New macro.
37992 * elf/dl-open.c (dl_open_worker): Check the main application
37993 only if SHARED is defined.
37994 * elf/tst-leaks1-static.c: New file.
37995
335e6931
AJ
379962012-10-20 Andreas Jaeger <aj@suse.de>
37997
37998 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
37999 generic values for Linux.
38000 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38001 and declarations that are provided by <bits/fcntl-linux.h> and
38002 include <bits/fcntl-linux.h>.
38003 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38004 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38005
ac5c94d3
RM
380062012-10-20 Roland McGrath <roland@hack.frob.com>
38007
38008 * io/fcntl.h: Move include of <bits/types.h> to the top and
38009 include it unconditionally.
38010
de54b33a
L
380112012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38012
228cfb01
L
38013 * wcsmbs/Makefile (tests-ifunc): New variable.
38014 (tests): Add $(tests-ifunc).
38015 * wcsmbs/test-wcschr-ifunc.c: New file.
38016 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38017 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38018 * wcsmbs/test-wcslen-ifunc.c: Likewise.
38019 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38020 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38021
69f07e5f
L
38022 * string/Makefile (tests-ifunc): New variable.
38023 (tests): Add $(tests-ifunc).
38024 * string/test-memccpy.c (TEST_NAME): New macro.
38025 * string/test-memchr.c (TEST_NAME): Likewise.
38026 * string/test-memcmp.c (TEST_NAME): Likewise.
38027 * string/test-memcpy.c (TEST_NAME): Likewise.
38028 * string/test-memmem.c (TEST_NAME): Likewise.
38029 * string/test-memmove.c (TEST_NAME): Likewise.
38030 * string/test-memset.c (TEST_NAME): Likewise.
38031 * string/test-rawmemchr.c (TEST_NAME): Likewise.
38032 * string/test-stpcpy.c (TEST_NAME): Likewise.
38033 * string/test-stpncpy.c (TEST_NAME): Likewise.
38034 * string/test-strcasecmp.c (TEST_NAME): Likewise.
38035 * string/test-strcasestr.c (TEST_NAME): Likewise.
38036 * string/test-strcat.c (TEST_NAME): Likewise.
38037 * string/test-strchr.c (TEST_NAME): Likewise.
38038 * string/test-strcmp.c(TEST_NAME): Likewise.
38039 * string/test-strcpy.c (TEST_NAME): Likewise.
38040 * string/test-strcspn.c (TEST_NAME): Likewise.
38041 * string/test-strlen.c (TEST_NAME): Likewise.
38042 * string/test-strncasecmp.c (TEST_NAME): Likewise.
38043 * string/test-strncmp.c (TEST_NAME): Likewise.
38044 * string/test-strncpy.c (TEST_NAME): Likewise.
38045 * string/test-strnlen.c (TEST_NAME): Likewise.
38046 * string/test-strpbrk.c (TEST_NAME): Likewise.
38047 * string/test-strrchr.c (TEST_NAME): Likewise.
38048 * string/test-strspn.c (TEST_NAME): Likewise.
38049 * string/test-strstr.c (TEST_NAME): Likewise.
38050 * string/test-bcopy-ifunc.c: New file.
38051 * string/test-bzero-ifunc.c: Likewise.
38052 * string/test-memccpy-ifunc.c: Likewise.
38053 * string/test-memchr-ifunc.c: Likewise.
38054 * string/test-memcmp-ifunc.c: Likewise.
38055 * string/test-memcpy-ifunc.c: Likewise.
38056 * string/test-memmem-ifunc.c: Likewise.
38057 * string/test-memmove-ifunc.c: Likewise.
38058 * string/test-mempcpy-ifunc.c: Likewise.
38059 * string/test-memset-ifunc.c: Likewise.
38060 * string/test-rawmemchr-ifunc.c: Likewise.
38061 * string/test-stpcpy-ifunc.c: Likewise.
38062 * string/test-stpncpy-ifunc.c: Likewise.
38063 * string/test-strcasecmp-ifunc.c: Likewise.
38064 * string/test-strcasestr-ifunc.c: Likewise.
38065 * string/test-strcat-ifunc.c: Likewise.
38066 * string/test-strchr-ifunc.c: Likewise.
38067 * string/test-strchrnul-ifunc.c: Likewise.
38068 * string/test-strcmp-ifunc.c: Likewise.
38069 * string/test-strcpy-ifunc.c: Likewise.
38070 * string/test-strcspn-ifunc.c: Likewise.
38071 * string/test-strlen-ifunc.c: Likewise.
38072 * string/test-strncasecmp-ifunc.c: Likewise.
38073 * string/test-strncat-ifunc.c: Likewise.
38074 * string/test-strncmp-ifunc.c: Likewise.
38075 * string/test-strncpy-ifunc.c: Likewise.
38076 * string/test-strnlen-ifunc.c: Likewise.
38077 * string/test-strpbrk-ifunc.c: Likewise.
38078 * string/test-strrchr-ifunc.c: Likewise.
38079 * string/test-strspn-ifunc.c: Likewise.
38080 * string/test-strstr-ifunc.c: Likewise.
38081
de54b33a
L
38082 * debug/Makefile (tests-ifunc): New variable.
38083 (tests): Add $(tests-ifunc).
38084 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38085 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38086 * debug/test-stpcpy_chk-ifunc.c: New file.
38087 * debug/test-strcpy_chk-ifunc.c: Likewise.
38088
88481c16
SP
380892012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38090
38091 [BZ #13601]
38092 * elf/dl-load.c (open_verify): Retry read if the entire ELF
38093 header is not read in.
38094
135948bd
JM
380952012-10-19 Joseph Myers <joseph@codesourcery.com>
38096
89f1c388
JM
38097 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
38098 script to $(SHELL) as $<. Pass $(common-objpfx) to script
38099 directly. Pass built executable to script as
38100 $(built-program-cmd).
38101 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
38102 $testprogram without using LD_LIBRARY_PATH and $ldso.
38103
e40a0d21
JM
38104 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38105 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38106 $(rtld-installed-name).
38107 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38108 (rtld_installed_name): Likewise.
38109 (library_path): Likewise.
38110 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
38111 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38112 $(run-program-prefix) to tst-tables.sh.
38113 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
38114 it to run tst-table-from and tst-table-to.
38115 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38116 Pass it to tst-table.sh.
38117 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38118 $(run-program-prefix) to tst-gettext.sh.
38119 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38120 tst-translit.sh.
38121 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38122 tst-gettext2.sh.
38123 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
38124 to run tst-gettext.
38125 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
38126 to run tst-gettext2.
38127 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
38128 to run tst-translit.
38129 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38130 $(run-program-prefix) to tst-mtrace.sh.
38131 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
38132 to run tst-mtrace.
38133 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38134 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38135 $(rtld-installed-name).
38136 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38137 (rtld_installed_name): Likewise.
38138 (run_program_prefix): New variable. Use it to run wordexp-test.
38139
728e272a
JM
38140 * Makeconfig (ARCH): Remove all definitions.
38141 (machine): Likewise.
38142 [ARCH]: Remove conditional code.
38143 [!objdir]: Give error.
38144 [!objdir] (objpfx): Remove.
38145 [!objdir] (common-objpfx): Likewise.
38146 [!objdir] (common-objdir): Likewise.
38147 * configure.in (config_makefile): Remove. Hardcode Makefile in
38148 AC_CONFIG_FILES call.
38149 * configure: Regenerated.
38150
d528cdcf
JM
38151 [BZ #13888]
38152 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38153 or TMPDIR.
38154 (testout): Likewise.
38155
135948bd
JM
38156 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38157 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38158 $(rtld-installed-name).
38159 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38160 (rtld_installed_name): Likwise.
38161 (runit): Remove function.
38162 (run_getconf): New variable, Use it for running getconf binary.
38163
38c78296
L
381642012-10-18 H.J. Lu <hongjiu.lu@intel.com>
38165
38166 [BZ #14716]
38167 * string/test-memmem.c (check_result): New function.
38168 (do_one_test): Use it.
38169 (check1): New function.
38170 (test_main): Use it.
38171
d077f65f
MT
381722012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
38173
38174 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38175
ced52c71
JM
381762012-10-18 Joseph Myers <joseph@codesourcery.com>
38177
38178 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38179 (_G_LSEEK64): Likewise.
38180 (_G_MMAP64): Likewise.
38181 (_G_FSTAT64): Likewise.
38182 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38183 (_G_LSEEK64): Likewise.
38184 (_G_MMAP64): Likewise.
38185 (_G_FSTAT64): Likewise.
38186 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38187 unconditional. Call __mmap64 directly.
38188 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38189 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
38190 __lseek64 directly.
38191 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38192 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
38193 __mmap64 directly.
38194 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38195 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
38196 __lseek64 directly.
38197 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38198 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
38199 __lseek64 directly.
38200 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38201 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
38202 __lseek64 directly.
38203 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38204 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
38205 __fxstat64 directly.
38206 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38207 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38208 unconditional.
38209 (freopen64) [!_G_OPEN64]: Remove conditional code.
38210 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38211 unconditional.
38212 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38213 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38214 unconditional.
38215 (ftello64) [!_G_LSEEK64]: Remove conditional code.
38216 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38217 unconditional.
38218 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38219 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38220 unconditional.
38221 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38222 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38223 unconditional.
38224 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38225 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38226 unconditional.
38227 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38228 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38229 unconditional.
38230 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38231
b741de23
SP
382322012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38233
38234 [BZ #12140]
38235 * manual/memory.texi (Malloc Tunable Parameters): Add note
38236 about free list pointers overwriting some perturb bytes.
38237 Wording suggested by Roland McGrath.
38238
f9b9d9c9
JM
382392012-10-17 Joseph Myers <joseph@codesourcery.com>
38240
38241 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38242 (lgamma_test): Likewise.
38243 (tgamma_test): Likewise.
38244
172a631a
FW
382452012-10-16 Florian Weimer <fweimer@redhat.com>
38246
38247 [BZ #14700]
38248 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38249 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38250
e9f37252
MK
382512012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38252
38253 * NEWS: Mention BZ #14716.
38254 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38255 when removing AVAILABLE1_USES_J macro.
38256
d394eb74
L
382572012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38258
38259 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38260 (__bswap_64): __uint64_t for unsigned 64-bit int.
38261
ca38dc17
AS
382622012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38263
38264 * include/string.h (memmem): Declare libc hidden alias.
38265 * string/memmem.c (memmem): Define libc hidden alias.
38266 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38267 __read, __close instead of open, read, close.
38268
9a387d1f
L
382692012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38270
ac49ecaf
L
38271 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38272 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38273 global and hidden.
38274 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38275 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38276 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38277 Likewise.
38278 (__rawmemchr_sse2): Likewise.
38279 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38280 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38281 (__strchr_sse2): Likewise.
38282 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38283 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38284 (__strcasecmp_sse2): Likewise.
38285 (__strncasecmp_sse2): Likewise.
38286 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38287 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38288 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38289 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38290 (__strrchr_sse2): Likewise.
38291 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38292 ifunc-impl-list.c.
38293 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38294 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38295 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38296 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38297 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38298 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38299 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38300 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38301 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38302 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38303 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38304 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38305 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38306 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38307 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38308 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38309 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38310 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38311 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38312 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38313 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38314 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38315 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38316 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38317 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38318 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38319 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38320 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38321 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38322 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38323
b090e8ea
L
38324 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38325 global and hidden.
38326 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38327 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38328 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38329 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38330 Likewise.
38331 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38332 Likewise.
38333 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38334 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38335 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38336 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38337 ifunc-impl-list.c.
38338 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38339 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38340 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38341 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38342 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38343 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38344 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38345 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38346 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38347 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38348 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38349 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38350 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38351 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38352 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38353 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38354 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38355 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38356 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38357 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38358 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38359 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38360 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38361 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38362 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38363 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38364 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38365 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38366 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38367 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38368 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38369 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38370 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38371 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38372 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38373 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38374 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38375 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38376 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38377 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38378 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38379
11dd4af6
L
38380 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38381 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38382 * include/ifunc-impl-list.h: New file.
38383 * misc/ifunc-impl-list.c: Likewise.
38384 * misc/Makefile (routines): Add ifunc-impl-list.
38385 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38386 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
38387 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38388 TEST_NAME]: New variables.
11dd4af6
L
38389 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38390 are defined.
38391 (test_init): Call __libc_ifunc_impl_list to initialize
38392 func_list if TEST_IFUNC and TEST_NAME are defined.
38393
9a387d1f
L
38394 * string/Makefile (strop-tests): Add bcopy and bzero.
38395 * string/test-bcopy.c: New file.
38396 * string/test-bzero.c: Likewise.
38397 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38398 defined.
38399 * string/test-memset.c: Support bzero test if TEST_BZERO is
38400 defined.
38401 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38402 __libc_memmove.
38403 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38404 __libc_memset.
38405 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38406 of memset.
38407
472371b9
JM
384082012-10-10 Joseph Myers <joseph@codesourcery.com>
38409
1e4a9536
JM
38410 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38411 * configure: Regenerated.
38412
d173d12e
JM
38413 * Makeconfig (+link-static-before-libc): Don't include
38414 $(link-static-libc).
38415
472371b9
JM
38416 * libio/libio.h (_IO_pos_t): Remove.
38417
89a3ad0b
AO
384182012-10-10 Alexandre Oliva <aoliva@redhat.com>
38419
38420 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38421 McGrath.
38422
e7451425
AO
384232012-10-10 Alexandre Oliva <aoliva@redhat.com>
38424
38425 * crypt/crypt-entry.c: Include fips-private.h.
38426 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38427 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38428 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38429 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38430
4ba74a35
AO
384312012-10-10 Alexandre Oliva <aoliva@redhat.com>
38432
38433 * crypt/crypt-private.h: Include stdbool.h.
38434 (_ufc_setup_salt_r): Return bool.
38435 * crypt/crypt-entry.c: Include errno.h.
38436 (__crypt_r): Return NULL with EINVAL for bad salt.
38437 * crypt/crypt_util.c (bad_for_salt): New.
38438 (_ufc_setup_salt_r): Check that salt is long enough and within
38439 the specified alphabet.
38440 * crypt/badsalttest.c: New file.
38441 * crypt/Makefile (tests): Add it.
38442 ($(objpfx)badsalttest): New.
38443
f96f1242
MK
384442012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38445
38446 * NEWS: Add entry for BZ #14602.
38447
0e8e0c1c
JM
384482012-10-09 Joseph Myers <joseph@codesourcery.com>
38449
38450 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38451 type-generic.
38452 * math/libm-test.inc: Update comment listing what functions and
38453 macros are tested.
38454 (isgreater_test): New function.
38455 (isgreaterequal_test): Likewise.
38456 (isless_test): Likewise.
38457 (islessequal_test): Likewise.
38458 (islessgreater_test): Likewise.
38459 (isunordered_test): Likewise.
38460 (main): Call the new functions.
38461
273edc5e
RM
384622012-10-09 Roland McGrath <roland@hack.frob.com>
38463
b8493de0
RM
38464 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38465 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38466 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38467 * sysdeps/i386/configure: Regenerated.
38468 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38469 * sysdeps/mach/configure: Regenerated.
38470 * sysdeps/mach/hurd/configure: Regenerated.
38471 * sysdeps/powerpc/configure: Regenerated.
38472 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38473 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38474 * sysdeps/s390/s390-32/configure: Regenerated.
38475 * sysdeps/s390/s390-64/configure: Regenerated.
38476 * sysdeps/sh/configure: Regenerated.
38477 * sysdeps/sparc/configure: Regenerated.
38478 * sysdeps/unix/sysv/linux/configure: Regenerated.
38479 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38480 * sysdeps/x86_64/configure: Regenerated.
38481
273edc5e
RM
38482 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38483 defined. Don't check if MAP is NULL.
38484
c8450f70
JM
384852012-10-09 Joseph Myers <joseph@codesourcery.com>
38486
38487 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38488 (_G_stat64): Likewise.
38489 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38490 (_G_stat64): Likewise.
38491 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38492 instead of struct _G_stat64.
38493 * libio/fileops.c (mmap_remap_check): Likewise.
38494 (decide_maybe_mmap): Likewise.
38495 (_IO_new_file_seekoff): Likewise.
38496 (_IO_file_stat): Likewise.
38497 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38498 _G_off64_t.
38499 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38500 instead of struct _G_stat64.
38501 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38502
57e605ba
MK
385032012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38504
38505 [BZ #14602]
38506 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38507 Replace with ...
38508 (CHECK_EOL): New macro.
38509 (two_way_short_needle): Check beginning of haystack for EOL. Use
38510 CHECK_EOL.
38511 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38512 Replace with CHECK_EOL.
38513 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38514 Replace with CHECK_EOL.
38515
ef1bb361
JM
385162012-10-08 Joseph Myers <joseph@codesourcery.com>
38517
38518 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38519 type-generic.
38520 * math/libm-test.inc: Update comment listing what functions and
38521 macros are tested.
38522 (finite_test): New function.
38523 (isinf_test): Likewise.
38524 (isnan_test): Likewise.
38525 (fpclassify_test): Test subnormal input.
38526 (isfinite_test): Likewise.
38527 (isnormal_test): Likewise.
38528 (main): Call the new functions.
38529
55f11534
JN
385302012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38531
38532 [BZ #14660]
38533 * Makerules (%.dynsym): Force C locale when running
38534 $(OBJDUMP) --dynamic-syms.
38535
1ab29350
AS
385362012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38537
38538 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38539 <stdint.h>.
38540
f1ecb7ef
DM
385412012-10-06 David S. Miller <davem@davemloft.net>
38542
38543 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38544 upper 32-bits of the length value in %o2 since we use branch-on-register
38545 tests which consider the entire 64-bit register.
38546
5d41d91a
L
385472012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38548
38549 * string/test-strstr.c (check2): Add a test for page boundary.
38550
3baddb72
DM
385512012-10-05 David S. Miller <davem@davemloft.net>
38552
38553 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38554 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38555 file.
38556 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38557 sysdep_routines.
38558 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38559 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38560 and bzero when HWCAP_SPARC_CRYPTO is present.
38561
9cee5585
L
385622012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38563
d7e0dab9
L
38564 [BZ #14602]
38565 * string/test-strstr.c (check2): New function.
38566 (test_main): Call check2.
38567
03759f47
L
38568 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38569 and bug-strchr1.
38570 * string/bug-strcasestr1.c (do_test): Moved to ...
38571 * string/test-strcasestr.c (check1): Here. New function.
38572 (do_one_test): Break out result checking code into ...
38573 (check_result): This. New function.
38574 (do_one_test): Call check_result.
38575 (test_main): Call check1.
38576 * string/bug-strchr1.c (do_test): Moved to ...
38577 * string/test-strchr.c (check1): Here. New function.
38578 (do_one_test): Break out result checking code into ...
38579 (check_result): This. New function.
38580 (do_one_test): Call check_result.
38581 (test_main): Call check1.
38582 * string/bug-strstr1.c (main): Moved to ...
046f153e 38583 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38584 (do_one_test): Break out result checking code into ...
38585 (check_result): This. New function.
38586 (do_one_test): Call check_result.
38587 (test_main): Call check1.
38588 * string/bug-strcasestr1.c: Removed.
38589 * string/bug-strchr1.c: Likewise.
38590 * string/bug-strstr1.c: Likewise.
38591
53cea63e
L
38592 * elf/Makefile (dl-routines): Add hwcaps.
38593 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38594 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38595 (_dl_important_hwcaps): Moved to ...
38596 * elf/dl-hwcaps.c: Here. New file.
38597 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38598
9cee5585 38599 [BZ #14557]
bb859b06
L
38600 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38601 if IS_IN_rtld isn't defined.
38602
9cee5585
L
38603 * elf/dl-support.c (_dl_sysinfo_map): New.
38604 Include "get-dynamic-info.h" and "setup-vdso.h".
38605 (_dl_non_dynamic_init): Call setup_vdso.
38606 * elf/dynamic-link.h: Don't include <assert.h>.
38607 (elf_get_dynamic_info): Moved to ...
38608 * elf/get-dynamic-info.h: Here. New file.
38609 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38610 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38611 * elf/setup-vdso.h: Here. New file.
38612 * elf/rtld.c: Include "setup-vdso.h".
38613 (dl_main): Call setup_vdso.
38614
23c31b76
JM
386152012-10-05 Joseph Myers <joseph@codesourcery.com>
38616
28234b07
JM
38617 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38618 creal in comment listing functions tested. List finite, isinf,
38619 isnan, isless, islessequal, isgreater, isgreaterequal,
38620 islessgreater, isunordered, lgamma_r and pow10 as functions and
38621 macros not tested. Mention which functions not tested are aliases
38622 for other functions. Fix typo. Note that signs of NaNs are not
38623 tested.
38624
23c31b76
JM
38625 * scripts/config.guess: Update from config.git.
38626 * scripts/config.sub: Likewise.
38627
9043e228
RM
386282012-10-04 Roland McGrath <roland@hack.frob.com>
38629
38630 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38631 * misc/madvise.c (madvise): Renamed to __madvise.
38632 Make madvise a weak alias.
38633 * include/sys/mman.h: Declare __madvise.
38634 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38635 * sysdeps/unix/syscalls.list
38636 (madvise): Make __madvise the strong name, and madvise a weak alias.
38637 * sysdeps/unix/sysv/linux/syscalls.list
38638 (madvise, mmap): Remove redundant entries.
38639 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38640 * malloc/malloc.c (mtrim): Likewise.
38641 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38642
f57f8055
RM
386432012-10-03 Roland McGrath <roland@hack.frob.com>
38644
38645 * sysdeps/mach/hurd/dl-cache.c: File removed.
38646 * config.h.in (USE_LDCONFIG): New #undef.
38647 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38648 * configure: Regenerated.
38649 * elf/Makefile (dl-routines): Add dl-cache only under
38650 [$(use-ldconfig) = yes].
38651 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38652 cache on [USE_LDCONFIG].
38653 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38654 [USE_LDCONFIG].
38655 * elf/rtld.c (dl_main): Likewise.
38656
5bb0c10a
PT
386572012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38658
38659 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38660 _SC_LEVEL4_CACHE_LINESIZE.
38661
010188c6
RM
386622012-10-03 Roland McGrath <roland@hack.frob.com>
38663
38664 * sysdeps/unix/bsd/confstr.h: File removed.
38665
b6c5ec07
AO
386662012-10-02 Alexandre Oliva <aoliva@redhat.com>
38667
38668 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38669 sys/sdt-config.h.
38670
408223d4
RM
386712012-10-02 Roland McGrath <roland@hack.frob.com>
38672
38673 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38674 Make 'mapoff' field ElfW(Off) rather than off_t.
38675
bb9510dc
DL
386762012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38677
fc997c6e
DL
38678 * nscd/Makefile: Remove nscd-cflags and all its users.
38679 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38680 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38681
bb9510dc
DL
38682 [BZ #10631]
38683 * malloc.c (malloc_printerr): Clarify error message.
38684
05699367
L
386852012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38686
38687 [BZ #14648]
38688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38689 Set bit_FMA_Usable if FMA is supported.
38690 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38691 macro.
38692 (bit_FMA4_Usable): Updated.
38693 (index_FMA_Usable): New macro.
38694 (CPUID_FMA): Likewise
38695 (HAS_FMA): Defined with bit_FMA_Usable.
38696
51367701
RM
386972012-10-01 Roland McGrath <roland@hack.frob.com>
38698
38699 * bits/types.h (__swblk_t): Type removed.
38700 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38701 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38702 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38703 (__SWBLK_T_TYPE): Likewise.
38704 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38705 (__SWBLK_T_TYPE): Likewise.
38706 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38707 (__SWBLK_T_TYPE): Likewise.
38708 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38709 (__SWBLK_T_TYPE): Likewise.
38710
4d57bf63 387112012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38712 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38713
38714 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38715 (xdr_mapname): Use YPMAXMAP as maxsize.
38716 (xdr_peername): Use YPMAXPEER as maxsize.
38717 (xdr_keydat): Use YPAXRECORD as maxsize.
38718 (xdr_valdat): Use YPMAXRECORD as maxsize.
38719
93c65d43
RM
387202012-10-01 Roland McGrath <roland@hack.frob.com>
38721
497a03d6
RM
38722 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38723
93c65d43
RM
38724 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38725 * csu/init-first.c: ... here.
38726 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38727 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38728 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38729 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38730 * sysdeps/i386/init-first.c: File removed.
38731 * sysdeps/sh/init-first.c: File removed.
38732
bec749fd
JM
387332012-10-01 Joseph Myers <joseph@codesourcery.com>
38734
38735 [BZ #14645]
38736 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38737 if x * y might underflow to zero and z is zero.
38738 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38739 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38740 * math/libm-test.inc (min_subnorm_value): New variable.
38741 (fma_test): Add more tests.
38742 (fma_test_towardzero): Likewise.
38743 (fma_test_downward): Likewise
38744 (fma_test_upward): Likewise.
38745 (initialize): Set min_subnorm_value.
38746
8ec5b013
JM
387472012-09-29 Joseph Myers <joseph@codesourcery.com>
38748
38749 [BZ #14638]
38750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38751 0 + 0.
38752 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38753 mode for addition resulting in exact zero.
38754 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38755 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38756 exact 0 + 0.
38757 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38758 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38759 * math/libm-test.inc (fma_test): Add more tests.
38760 (fma_test_towardzero): New function.
38761 (fma_test_downward): Likewise.
38762 (fma_test_upward): Likewise.
38763 (main): Call the new functions.
38764
b1fa802e
DM
387652012-09-28 David S. Miller <davem@davemloft.net>
38766
38767 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38768
d3b9fd9e
RM
387692012-09-28 Roland McGrath <roland@hack.frob.com>
38770
ea4d37b3
RM
38771 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38772 instead of SIGALRM.
38773
ac51c949
RM
38774 * sysdeps/gnu/_G_config.h: Moved to ...
38775 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38776 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38777 * sysdeps/generic/_G_config.h: ... here.
38778
28c195f7
RM
38779 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38780
848917f9
RM
38781 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38782
6bacf05b
RM
38783 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38784 Conditionalize target on [libnss_test1.so-version].
38785
91363dbb
RM
38786 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38787
cc87f7d8
RM
38788 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38789 (elfobjdir): Move out of conditionals.
38790
b1c608fe
RM
38791 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38792 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38793 (__nss_lookup_function): Conditionalize label remove_from_tree on
38794 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38795
1d9a6d96
DM
387962012-09-28 David S. Miller <davem@davemloft.net>
38797
38798 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38799 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38800 file.
38801 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38802 sysdep_routines.
38803 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38804 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38805 when HWCAP_SPARC_CRYPTO is present.
38806
72581615
PT
388072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38808
38809 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38810
715a900c
JL
388112012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38812
38813 [BZ #6530]
38814 * stdio-common/vfprintf.c (process_string_arg): Revert
38815 2000-07-22 change.
38816
388172011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38818
38819 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38820 for testcase.
38821 * stdio-common/tst-sprintf.c: Include <locale.h>
38822 (main): Test sprintf's handling of incomplete multibyte
38823 characters.
38824
9bac1d86
L
388252012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38826
38827 * elf/dl-runtime.c (VERSYMIDX): Removed.
38828 * elf/dl-version.c (VERSYMIDX): Likewise.
38829 * elf/do-rel.h (VERSYMIDX): Likewise.
38830 (VALIDX): Likewise.
38831 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38832 * elf/rtld.c (VALIDX): Likewise.
38833 (ADDRIDX): Likewise.
9bac1d86
L
38834 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38835 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38836 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38837 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38838 (VALIDX): Likewise.
38839 (ADDRIDX): Likewise.
9bac1d86 38840
b31606c0
PT
388412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38842
38843 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38844
11541177
JL
388452012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38846
38847 [BZ #11438]
38848 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38849 to global scope.
38850 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38851 addresses are in the same scope as 192.0.2/24.
38852 * posix/gai.conf: Document new scope table defaults.
38853
adb26fae
SP
388542012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38855
38856 [BZ #5298]
38857 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38858 for ftell. Compute offsets from write pointers instead.
38859 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38860
4573c6b0
SP
388612012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38862
38863 [BZ #14543]
38864 * libio/Makefile (tests): New test case tst-fseek.
38865 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38866 combination works in wide mode.
38867 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38868 state when the external buffer state changes.
38869
aa9bbfe6
DM
388702012-09-27 David S. Miller <davem@davemloft.net>
38871
38872 [BZ #14376]
38873 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38874 pass reloc->r_addend in as the 'high' argument to
38875 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38876
784421e7
DM
38877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38878
c39bc8b8
PT
388792012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38880
38881 * rt/tst-aio2.c: Include <pthread.h>.
38882 * rt/tst-aio3.c: Likewise.
38883
1ccc2399
SE
388842012-09-27 Steve Ellcey <sellcey@mips.com>
38885
38886 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38887
31ed4153
L
388882012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38889
25f5f885
L
38890 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38891 contents on [SHARED].
31ed4153 38892
b7bfe116
MP
388932012-09-26 Marek Polacek <polacek@redhat.com>
38894
38895 [BZ #14530]
38896 [BZ #13741]
38897 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38898 for C++ and GCC <4.3 as well as for non GCC compilers.
38899
43c4edba
MT
389002012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38901
38902 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38903
6a1bf82f
RM
389042012-09-25 Roland McGrath <roland@hack.frob.com>
38905
38906 * Makefile.in (all, install): Declare with .PHONY.
38907 Reported by Michael Hope <michael.hope@linaro.org>.
38908
8ad11b9a
TMQMF
389092012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38910
38911 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38912 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38913 system header.
38914 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38915 Likewise.
38916 (sydep_routines): Add the new and the internal functions.
38917 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38918 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38920 (GLIBC_2.17): Add the new function.
38921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38922 (GLIBC_2.17): Likewise.
38923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38924 (GLIBC_2.17): Likewise.
38925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38926 (GLIBC_2.17): Likewise.
38927 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38928
7e2fca8d
AM
389292012-09-25 Alan Modra <amodra@gmail.com>
38930
38931 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38932 Add release barrier before setting once_control to say
38933 initialisation is done. Add hints on lwarx. Use macro in
38934 place of isync.
38935 (clear_once_control): Add release barrier.
38936
b87c4b24
JM
389372012-09-25 Joseph Myers <joseph@codesourcery.com>
38938
d032e0d2
JM
38939 [BZ #13629]
38940 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38941 specially.
38942 * math/s_clog10.c (__clog10): Likewise.
38943 * math/s_clog10f.c (__clog10f): Likewise.
38944 * math/s_clog10l.c (__clog10l): Likewise.
38945 * math/s_clogf.c (__clogf): Likewise.
38946 * math/s_clogl.c (__clogl): Likewise.
38947 * math/Makefile (libm-calls): Add x2y2m1.
38948 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
38949 (__x2y2m1): Likewise.
38950 (__x2y2m1l): Likewise.
38951 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
38952 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
38953 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
38954 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
38955 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
38956 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
38957 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
38958 * sysdeps/i386/fpu/libm-test-ulps: Update.
38959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38960
b87c4b24
JM
38961 [BZ #14621]
38962 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
38963 int as type of variable DEPTH.
38964 (glob): Use size_t instead of int as type of variables NEWCOUNT
38965 and OLD_PATHC.
38966
6d3bf199
LD
389672012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38968
22bf5c17
LD
38969 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38970 Add s_sincosf-sse2.
38971 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
38972 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
38973 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
38974 macros for using routine as __sincosf_ia32.
38975 Use macro for function declaration and weak_alias.
38976 * sysdeps/i386/fpu/libm-test-ulps: Update.
38977
38978 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
38979 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38980
38981 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
38982 subnormal argument.
38983 * math/s_cexpf.c (__cexpf): Likewise.
38984 * math/s_csinf.c (__csinf): Likewise.
38985 * math/s_csinhf.c (__csinhf): Likewise.
38986 * math/s_ctanf.c (__ctanf): Likewise.
38987 * math/s_ctanhf.c (__ctanhf): Likewise.
38988 * math/s_ccosh.c (__ccoshf): Likewise.
38989 * math/s_cexp.c (__cexpl): Likewise.
38990 * math/s_csin.c (__csin): Likewise.
38991 * math/s_csinh.c (__csinh): Likewise.
38992 * math/s_ctan.c (__ctan): Likewise.
38993 * math/s_ctanh.c (ctanh): Likewise.
38994 * math/s_ccoshl.c (__ccoshl): Likewise.
38995 * math/s_cexpl.c (__cexpl): Likewise.
38996 * math/s_csinl.c (__csinl): Likewise.
38997 * math/s_csinhl.c (__csinhl): Likewise.
38998 * math/s_ctanl.c (__ctanl): Likewise.
38999 * math/s_ctanhl.c (__ctanhl): Likewise.
39000
203e5603
JM
390012012-09-25 Joseph Myers <joseph@codesourcery.com>
39002
39003 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39004 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39005 (_IO_off_t): Define to __off_t, not _G_off_t.
39006 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39007 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39008 (_IO_wint_t): Define to wint_t, not _G_wint_t.
39009 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39010 type of __dummy and __dummy2 fields.
39011 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39012 (_G_ssize_t): Likewise.
39013 (_G_off_t): Likewise.
39014 (_G_pid_t): Likewise.
39015 (_G_uid_t): Likewise.
39016 (_G_wchar_t): Likewise.
39017 (_G_wint_t): Likewise.
39018 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39019 (_G_ssize_t): Likewise.
39020 (_G_off_t): Likewise.
39021 (_G_pid_t): Likewise.
39022 (_G_uid_t): Likewise.
39023 (_G_wchar_t): Likewise.
39024 (_G_wint_t): Likewise.
39025 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39026 (_G_ssize_t): Likewise.
39027 (_G_off_t): Likewise.
39028 (_G_pid_t): Likewise.
39029 (_G_uid_t): Likewise.
39030 (_G_wchar_t): Likewise.
39031 (_G_wint_t): Likewise.
39032
9fab36eb
SP
390332012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39034
39035 * malloc/arena.c: Include malloc-sysdep.h.
39036 (shrink_heap): Use check_may_shrink_heap to decide if madvise
39037 is sufficient to shrink the heap or an unmap is needed.
39038 * sysdeps/generic/malloc-sysdep.h: New file. Define
39039 new function check_may_shrink_heap.
39040 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
39041 new function check_may_shrink_heap.
39042
2b4f00d1
SP
390432012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39044
39045 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39046 comments.
39047
9a9028b1
DL
390482012-09-24 Dmitry V. Levin <ldv@altlinux.org>
39049
57c69bef
DL
39050 * catgets/test-gencat.sh: Add "set -e".
39051 * elf/tst-pathopt.sh: Likewise.
39052 * grp/tst_fgetgrent.sh: Likewise.
39053 * iconvdata/run-iconv-test.sh: Likewise.
39054 * intl/tst-gettext.sh: Likewise.
39055 * intl/tst-gettext2.sh: Likewise.
39056 * intl/tst-gettext4.sh: Likewise.
39057 * intl/tst-gettext6.sh: Likewise.
39058 * intl/tst-translit.sh: Likewise.
39059 * io/ftwtest-sh: Likewise.
39060 * libio/test-freopen.sh: Likewise.
39061 * malloc/tst-mtrace.sh: Likewise.
39062 * posix/globtest.sh: Likewise.
39063 * posix/tst-getconf.sh: Likewise.
39064 * posix/wordexp-tst.sh: Likewise.
39065 * stdio-common/tst-printf.sh: Likewise.
39066 * stdio-common/tst-unbputc.sh: Likewise.
39067 * stdlib/tst-fmtmsg.sh: Likewise.
39068 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39069 * catgets/Makefile: Do not specify -e option when running
39070 testsuite shell scripts.
39071 * elf/Makefile: Likewise.
39072 * grp/Makefile: Likewise.
39073 * iconvdata/Makefile: Likewise.
39074 * intl/Makefile: Likewise.
39075 * io/Makefile: Likewise.
39076 * libio/Makefile: Likewise.
39077 * malloc/Makefile: Likewise.
39078 * posix/Makefile: Likewise.
39079 * stdio-common/Makefile: Likewise.
39080 * stdlib/Makefile: Likewise.
39081 * sysdeps/x86_64/Makefile: Likewise.
39082
9a9028b1
DL
39083 * io/ftwtest-sh: Add copyright header.
39084 * posix/globtest.sh: Likewise.
39085 * posix/tst-getconf.sh: Likewise.
39086 * posix/wordexp-tst.sh: Likewise.
39087 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39088
ced6f16e
L
390892012-09-24 H.J. Lu <hongjiu.lu@intel.com>
39090
94b32c39
L
39091 [BZ #13679]
39092 * Makeconfig (+link): Defined as $(+link-static) if
39093 $(build-shared) isn't yes.
39094 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39095 isn't yes.
39096 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39097
189e935b
L
39098 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39099
ced6f16e
L
39100 [BZ #14562]
39101 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39102 new chunk size with MALLOC_ALIGN_MASK.
39103
a9f8e53a
JM
391042012-09-24 Joseph Myers <joseph@codesourcery.com>
39105
39106 [BZ #5044]
39107 * stdio-common/printf_fphex.c: Include <stdbool.h> and
39108 <rounding-mode.h>.
39109 (__printf_fphex): Determine rounding using get_rounding_mode and
39110 round_away.
39111 * stdio-common/tst-printf-round.c (struct hex_test): New
39112 structure.
39113 (hex_tests): New variable.
39114 (test_hex_in_one_mode): New function.
39115 (do_test): Also run tests for hex float output.
39116
43153109
JM
391172012-09-21 Joseph Myers <joseph@codesourcery.com>
39118
39119 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39120 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39121 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39122 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39123 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39124 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39125 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39126 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39127
8a26625d
JM
391282012-09-20 Joseph Myers <joseph@codesourcery.com>
39129
39130 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39131 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39132 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39133 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39134
f3fd569c
DL
391352012-09-19 Dmitry V. Levin <ldv@altlinux.org>
39136
39137 [BZ #14579]
39138 * elf/rtld.c (dl_main): Limit the check for self loading to normal
39139 mode only.
39140 * elf/tst-rtld-load-self.sh: New test.
39141 * elf/Makefile: Run it.
39142
63bbedd4
JM
391432012-09-18 Joseph Myers <joseph@codesourcery.com>
39144
39145 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39146 (tst-writev-ENV): Remove.
39147 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39148
626f8b6a
CM
391492012-09-17 Chris Metcalf <cmetcalf@tilera.com>
39150
39151 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39152
b7aaa4d6
JM
391532012-09-17 Joseph Myers <joseph@codesourcery.com>
39154
39155 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39156 unconditional.
39157 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39158 Likewise.
39159 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39160 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39161 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39162 Likewise.
39163
65513990
L
391642012-09-14 H.J. Lu <hongjiu.lu@intel.com>
39165
39166 [BZ #14587]
39167 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39168 * config.make.in (have-cpp-asm-debuginfo): Removed.
39169 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39170 * configure: Regenerated.
39171
784761be
JM
391722012-09-14 Joseph Myers <joseph@codesourcery.com>
39173
39174 [BZ #5044]
39175 * stdio-common/printf_fp.c: Include <stdbool.h> and
39176 <rounding-mode.h>.
39177 (___printf_fp): Determine rounding using get_rounding_mode and
39178 round_away.
39179 * stdio-common/tst-printf-round.c: New file.
39180 * stdio-common/Makefile (tests): Add tst-printf-round.
39181 (link-libm): New variable.
39182 ($(objpfx)tst-printf-round): Depend in $(link-libm).
39183
9503345f
L
391842012-09-13 H.J. Lu <hongjiu.lu@intel.com>
39185
39186 [BZ #14576]
39187 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39188 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39189 Likewise.
39190 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39191 Likewise.
39192
ad35fc00
JM
391932012-09-13 Joseph Myers <joseph@codesourcery.com>
39194
39195 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39196 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39197 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39198 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39199
6c9b0f68
JM
392002012-09-12 Joseph Myers <joseph@codesourcery.com>
39201
39202 [BZ #14518]
39203 * include/rounding-mode.h: New file.
39204 * sysdeps/generic/get-rounding-mode.h: Likewise.
39205 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39206 * stdlib/strtod_l.c: Include <rounding-mode.h>.
39207 (MAX_VALUE): New macro.
39208 (MIN_VALUE): Likewise.
39209 (overflow_value): New function.
39210 (underflow_value): Likewise.
39211 (round_and_return): Use overflow_value and underflow_value to
39212 determine return values in overflow and underflow cases. Use
39213 round_away to determine rounding depending on rounding mode.
39214 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39215 determine return values in overflow and underflow cases.
39216 * stdlib/tst-strtod-round.c: Include <fenv.h>.
39217 (struct test_results): New structure.
39218 (struct test): Use struct test_results to store expected results
39219 for all rounding modes.
39220 (TEST): Include expected results for all rounding modes.
39221 (test_in_one_mode): New function.
39222 (do_test): Use test_in_one_mode to compute and check results.
39223 Check results for all rounding modes.
39224 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39225 $(link-libm).
39226
19fcedd5
AM
392272012-12-09 Allan McRae <allan@archlinux.org>
39228
1e9d84cd 39229 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 39230
8bbfd2f1
JM
392312012-09-11 Joseph Myers <joseph@codesourcery.com>
39232
39233 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39234 (_G_int32_t): Likewise.
39235 (_G_uint16_t): Likewise.
39236 (_G_uint32_t): Likewise.
39237 (_G_HAVE_BOOL): Likewise.
39238 (_G_HAVE_ATEXIT): Likewise.
39239 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39240 (_G_HAVE_IO_FILE_OPEN): Likewise.
39241 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39242 (_G_int32_t): Likewise.
39243 (_G_uint16_t): Likewise.
39244 (_G_uint32_t): Likewise.
39245 (_G_HAVE_BOOL): Likewise.
39246 (_G_HAVE_ATEXIT): Likewise.
39247 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39248 (_G_HAVE_IO_FILE_OPEN): Likewise.
39249 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39250 (_G_int32_t): Likewise.
39251 (_G_uint16_t): Likewise.
39252 (_G_uint32_t): Likewise.
39253 (_G_HAVE_BOOL): Likewise.
39254 (_G_HAVE_ATEXIT): Likewise.
39255 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39256 (_G_HAVE_IO_FILE_OPEN): Likewise.
39257
b1dc5912
L
392582012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39259
39260 * csu/libc-tls.c: Update copyright years.
39261
0e886ef9
JM
392622012-09-10 Joseph Myers <joseph@codesourcery.com>
39263
28361c5e
JM
39264 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39265 [!_G_USING_THUNKS]: Remove conditional code.
39266 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39267 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39268
0e886ef9
JM
39269 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39270 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39271 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39272 (_G_VTABLE_LABEL_PREFIX): Likewise.
39273 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39274 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39275 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39276 (_G_VTABLE_LABEL_PREFIX): Likewise.
39277 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39278 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39279 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39280 (_G_VTABLE_LABEL_PREFIX): Likewise.
39281 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39282
bcba7aa2
L
392832012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39284
39285 * libio/Makefile: Include ../Makeconfig before tests.
39286 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39287 only if $(build-shared) is yes.
39288
06585ee8
L
39289 * iconv/gconv_db.c: Update copyright years.
39290
80ccd52c
LD
392912012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39292
39293 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39294 unwind info if defined PIC. Fix special cases description.
39295 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39296
39297 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39298 DP_HI_MASK entry.
39299 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39300
691bc9c1
L
393012012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39302
3d9b46b3
L
39303 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39304
de2139a9
L
39305 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39306 is NULL.
39307
5ca78dd0
L
39308 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39309 (LDLIBS-tst-chk4): This.
39310 (LDFLAGS-tst-chk5): Renamed to ...
39311 (LDLIBS-tst-chk5): This.
39312 (LDFLAGS-tst-chk6): Renamed to ...
39313 (LDLIBS-tst-chk6): This.
39314 (LDFLAGS-tst-lfschk4): Renamed to ...
39315 (LDLIBS-tst-lfschk4): This.
39316 (LDFLAGS-tst-lfschk5): Renamed to ...
39317 (LDLIBS-tst-lfschk5): This.
39318 (LDFLAGS-tst-lfschk6): Renamed to ...
39319 (LDLIBS-tst-lfschk6): This.
39320
691bc9c1
L
39321 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39322 on $(common-objpfx)soversions.mk.
39323
65cafb1c
JM
393242012-09-07 Joseph Myers <joseph@codesourcery.com>
39325
39326 [BZ #10014]
39327 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39328 example host name.
39329
c78ab094
SP
393302012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39331
39332 * malloc/arena.c (arena_get_retry): New function that gets
39333 another arena for the caller to try its request on.
39334 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39335 current arena cannot fulfill the request.
39336 (__libc_memalign): Likewise.
39337 (__libc_memalign): Likewise.
39338 (__libc_pvalloc): Likewise.
39339 (__libc_calloc): Likewise.
39340
01f49f59
JT
393412012-09-05 John Tobey <john.tobey@gmail.com>
39342
39343 [BZ #13542]
39344 * manual/arith.texi (Operations on Complex): Fix description
39345 of carg branch cut.
39346
4c23fed5
JM
393472012-09-06 Joseph Myers <joseph@codesourcery.com>
39348
1d3c8572
JM
39349 [BZ #10014]
39350 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39351 host name.
39352
4c23fed5
JM
39353 [BZ #10038]
39354 * manual/memory.texi (Memory): Make order of menu items match
39355 order of sections.
39356
04570aaa
L
393572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39358
39359 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39360 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39361 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39362
b80af2f4
L
393632012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39364
39365 * csu/libc-tls.c (static_dtv): Renamed to ...
39366 (_dl_static_dtv): This. Make it global.
39367 (_dl_initial_dtv): Removed.
39368 (__libc_setup_tls): Updated.
39369 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39370 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39371 DL_INITIAL_DTV.
39372
2abe9f15
PM
393732012-09-06 Petr Machata <pmachata@redhat.com>
39374
39375 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39376 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39377 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39378 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39379
0948c3af
L
393802012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39381
39382 [BZ #14545]
39383 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39384 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39385 freeing dtv[-1].
39386
a5055ad1
L
393872012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39388
39389 [BZ #14544]
39390 * Makeconfig (link-static-before-libc): Replace $(+prector)
39391 with $(+prectorT).
39392 (link-static-after-libc): Replace $(+postctor) with
39393 $(+postctorT).
39394 (link-bounded): Replace $(+prector)/$(+postctor) with
39395 $(+prectorT)/$(+postctorT).
39396 (+prectorT): New macro.
39397 (+postctorT): Likewise.
39398
ed8c2ecd
JM
393992012-09-06 Joseph Myers <joseph@codesourcery.com>
39400
39401 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39402 (round_str): Handle values above the maximum for IBM long double
39403 as inexact.
39404 * stdlib/tst-strtod-round.c (tests): Regenerated.
39405
14c996c8
AK
394062012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39407
39408 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39409 assembler flag.
39410 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39411 zarch_nohighgprs around the zarch optimized routines.
39412 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39413 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39414 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39415 for zarch.
39416
430d6ce6
DM
394172012-09-05 David S. Miller <davem@davemloft.net>
39418
39419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39420
57f41c40
AS
39421 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39422 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
39423 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39424 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39425 entries.
39426
24d4e01b
AO
394272012-09-05 Alexandre Oliva <aoliva@redhat.com>
39428
39429 * malloc/arena.c: Fold copyright years.
39430 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39431
61d58174
AO
394322012-09-05 Alexandre Oliva <aoliva@redhat.com>
39433
39434 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39435
20196a5e
AO
394362012-09-05 Alexandre Oliva <aoliva@redhat.com>
39437
39438 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39439
5c447383
AO
394402012-09-05 Alexandre Oliva <aoliva@redhat.com>
39441
39442 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39443 change internal state upon failure.
39444
fad64255
AO
394452012-09-05 Alexandre Oliva <aoliva@redhat.com>
39446
39447 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39448 * malloc/memusage.c (mmap): Likewise.
39449 (mmap64, mremap): Likewise. Adjust name in comment.
39450
1ffb8c90
SP
394512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39452
39453 * libio/fileops.c: Fix typos in comments.
39454 * libio/oldfileops.c: Likewise.
39455 * libio/wfileops.c: Likewise.
39456
6ef9cc37
SP
394572012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39458
39459 [BZ #1349]
39460 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39461 (tst-malloc-usable-ENV): Set environment for test case.
39462 * malloc/hooks.c (malloc_check_get_size): New function to get
39463 requested size.
39464 * malloc/malloc.c (musable): Use malloc_check_get_size.
39465 * malloc/tst-malloc-usable.c: New test case.
39466
4d038ae3
AS
394672012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39468
39469 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39470
c4e85184
AM
394712012-09-05 Allan McRae <allan@archlinux.org>
39472
b9dafc56 39473 [BZ #13966]
c4e85184
AM
39474 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39475 determine header location.
39476 * configure: Regenerated.
39477
e1343020
AS
394782012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39479
39480 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39481 float format.
39482 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39483 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39484 format.
e1343020
AS
39485 (test): Regenerate.
39486
0a9f1987
DM
394872012-09-04 David S. Miller <davem@davemloft.net>
39488
39489 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39490 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39491 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39492
29237804
FW
394932012-09-04 Florian Weimer <fweimer@redhat.com>
39494
39495 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39496 failures.
39497
edb3cb88
FW
39498 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39499
60160d83
JM
395002012-09-04 Joseph Myers <joseph@codesourcery.com>
39501
39502 [BZ #9914]
39503 * libio/iogetdelim.c: Include <limits.h>.
39504 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39505 + len + 1 would overflow.
39506
bcd6c8dc
AJ
395072012-09-03 Andreas Jaeger <aj@suse.de>
39508
39509 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39510 * sysdeps/i386/fpu/libm-test-ulps: Update.
39511
4ffffbd2
LD
395122012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39513
39514 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39515 Add s_sinf-sse2, s_conf-sse2.
39516
39517 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39518 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39519 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39520 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39521
39522 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39523 for using routine as __sinf_ia32.
39524 Use macro for function declaration and weak_alias.
39525 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39526 for using routine as __cosf_ia32.
39527 Use macro for function declaration and weak_alias.
39528
39529 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39530 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39531
39532 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39533 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39534 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39535
39536 * math/libm-test.inc (cos_test): Add more test cases.
39537 (sin_test): Likewise.
39538 (sincos_test): Likewise.
39539
511fa286
AK
395402012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39541
39542 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39543 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39544 hidden.
39545 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39546
5f30cfec
L
395472012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39548
39549 [BZ #14538]
39550 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39551 first element of the GOT.
39552 (elf_machine_load_address): Return the difference between
39553 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39554
0786794f
AM
395552012-09-01 Allan McRae <allan@archlinux.org>
39556
5f30cfec
L
39557 [BZ #13412]
39558 * configure.in (AWK): Require gawk version 3.0 or later.
39559 * configure: Regenerated.
0786794f 39560
26889eac
JM
395612012-09-01 Joseph Myers <joseph@codesourcery.com>
39562
39563 * sysdeps/unix/sysv/linux/kernel-features.h
39564 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39565 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39566 [__NR_clock_getres]: Make code unconditional.
39567 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39568 (clock_getcpuclockid): Remove code left unreachable by removal of
39569 conditionals.
39570 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39571 code unconditional.
39572 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39573 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39574 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39575 Make code unconditional.
39576 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39577 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39578 * sysdeps/unix/sysv/linux/clock_settime.c
39579 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39580 conditional code.
39581 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39582 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39583
d22e28b0
L
395842012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39585
39586 [BZ #14476]
39587 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39588 scripts/test-installation.pl.
39589
39590 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39591 and $ld_so_version if it is set.
39592
050af9c4
SP
395932012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39594
39595 [BZ #14516]
39596 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39597 failure if reading from procfs failed.
39598 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39599
ad845c0b
JM
396002012-08-27 Joseph Myers <joseph@codesourcery.com>
39601
39602 * sysdeps/unix/sysv/linux/kernel-features.h
39603 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39604 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39605 Remove conditional code.
39606 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39607 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39608 Remove conditional code.
39609 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39610 * sysdeps/unix/sysv/linux/i386/fxstat.c
39611 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39612 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39613 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39614 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39615 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39616 * sysdeps/unix/sysv/linux/i386/lxstat.c
39617 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39618 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39619 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39620 Remove conditional code.
39621 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39622 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39623 Remove conditional code.
39624 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39625 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39626 <kernel-features.h>.
39627 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39628 Remove.
39629 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39630 Remove conditional code.
39631 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39632 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39633 Remove conditional.
39634
5dbf56af
MF
396352012-08-27 Mike Frysinger <vapier@gentoo.org>
39636
39637 [BZ #5400]
39638 * NEWS: Add fixed bug number.
39639
d6e70f43
JM
396402012-08-27 Joseph Myers <joseph@codesourcery.com>
39641
7efb4737
JM
39642 [BZ #14519]
39643 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39644 underflowing exponent in case of negative sign.
39645 * stdlib/tst-strtod-round-data: Add more tests.
39646 * stdlib/tst-strtod-round.c (tests): Regenerated.
39647
af92131a
JM
39648 [BZ #3479]
39649 * stdlib/strtod_l.c (NDIG): Remove.
39650 (HEXNDIG): Likewise.
39651 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39652 smallest representable value.
39653 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39654 lie within an exact representation of 1/2 ulp of the result.
39655 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39656 unconditionally.
39657 (TENS_P9_IDX): Define unconditionally.
39658 (TENS_P9_SIZE): Likewise.
39659 (TENS_P10_IDX): Likewise.
39660 (TENS_P10_SIZE): Likewise.
39661 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39662 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39663 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39664 entries for 10^2^13 and 10^2^14.
39665 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39666 (TENS_P13_IDX): Define.
39667 (TENS_P13_SIZE): Likewise.
39668 (TENS_P14_IDX): Likewise.
39669 (TENS_P14_SIZE): Likewise.
39670 (_fpioconst_pow10): Change array size to
39671 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39672 unconditional.
39673 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39674 1024]: Add entries for 10^2^13 and 10^2^14.
39675 [LAST_POW10 > _LAST_POW10]: Remove #error.
39676 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39677 (_fpioconst_pow10): Change array size to
39678 FPIOCONST_POW10_ARRAY_SIZE.
39679 * stdlib/gen-fpioconst.c: New file.
39680 * stdlib/gen-tst-strtod-round.c: Likewise.
39681 * stdlib/tst-strtod-round-data: Likewise.
39682 * stdlib/tst-strtod-round.c: Likewise.
39683 * stdlib/Makefile (tests): Add tst-strtod-round.
39684
d6e70f43
JM
39685 [BZ #14459]
39686 * stdlib/strtod_l.c: Include <stdint.h>.
39687 (NDEBUG): Do not define.
39688 (round_and_return): Change EXPONENT parameter to type intmax_t.
39689 Rearrange calculations to avoid internal overflow possibilities.
39690 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39691 Rearrange calculations to avoid internal overflow possibilities.
39692 Assert that number fits inside MPNSIZE limbs.
39693 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39694 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39695 calculations and add assertions to avoid internal overflow
39696 possibilities. Add casts to avoid signed/unsigned operations.
39697 * stdlib/tst-strtod-overflow.c: New file.
39698 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39699
1f529f7d
MP
397002012-08-25 Marek Polacek <polacek@redhat.com>
39701
39702 * time/time.h: Fix some typos in comments.
39703
59a629f1
RM
397042012-08-23 Roland McGrath <roland@hack.frob.com>
39705
39706 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39707 * posix/tst-rfc3484-2.c: Likewise.
39708 * posix/tst-rfc3484-3.c: Likewise.
39709
d3bafbc9
SM
397102012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39711
39712 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39713 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39714
4efcc022
JM
397152012-08-23 Joseph Myers <joseph@codesourcery.com>
39716
39717 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39718 #include of fxstatat64.c.
39719
3cc3ef96
RM
397202012-08-22 Roland McGrath <roland@hack.frob.com>
39721
f04e2132
RM
39722 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39723 * shadow/getspent_r.c: Likewise.
39724 * shadow/getspnam.c: Likewise.
39725 * shadow/getspnam_r.c: Likewise.
39726 * gshadow/getsgent.c: Likewise.
39727 * gshadow/getsgent_r.c: Likewise.
39728 * gshadow/getsgnam.c: Likewise.
39729 * gshadow/getsgnam_r.c: Likewise.
39730 * inet/getnetbyad.c: Likewise.
39731 * inet/getnetbyad_r.c: Likewise.
39732 * inet/getnetbynm.c: Likewise.
39733 * inet/getnetbynm_r.c: Likewise.
39734 * inet/getnetent.c: Likewise.
39735 * inet/getnetent_r.c: Likewise.
39736 * inet/getproto.c: Likewise.
39737 * inet/getproto_r.c: Likewise.
39738 * inet/getprtent.c: Likewise.
39739 * inet/getprtent_r.c: Likewise.
39740 * inet/getprtname.c: Likewise.
39741 * inet/getprtname_r.c: Likewise.
39742 * inet/getrpcbyname.c: Likewise.
39743 * inet/getrpcbyname_r.c: Likewise.
39744 * inet/getrpcbynumber.c: Likewise.
39745 * inet/getrpcbynumber_r.c: Likewise.
39746 * inet/getrpcent.c: Likewise.
39747 * inet/getrpcent_r.c: Likewise.
39748 * inet/getaliasent.c: Likewise.
39749 * inet/getaliasent_r.c: Likewise.
39750 * inet/getaliasname.c: Likewise.
39751 * inet/getaliasname_r.c: Likewise.
39752 * nscd/getgrgid_r.c: Likewise.
39753 * nscd/getgrnam_r.c: Likewise.
39754 * nscd/gethstbyad_r.c: Likewise.
39755 * nscd/gethstbynm3_r.c: Likewise.
39756 * nscd/getpwnam_r.c: Likewise.
39757 * nscd/getpwuid_r.c: Likewise.
39758 * nscd/getsrvbynm_r.c: Likewise.
39759 * nscd/getsrvbypt_r.c: Likewise.
39760 * nscd/gai.c: Likewise.
39761
c53d909c
RM
39762 * configure.in (build_nscd): New substituted variable, set
39763 by --disable-build-nscd and defaults to $use_nscd.
39764 * configure: Regenerated.
39765 * config.make.in (build-nscd): New substituted variable.
39766 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39767 Change conditional to require [$(build-nscd) = yes] as well.
39768 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39769
3cc3ef96
RM
39770 [BZ# 13696]
39771 * configure.in (use_nscd): New substituted variable, set by
39772 --disable-nscd. If enabled, define USE_NSCD.
39773 * configure: Regenerated.
39774 * config.h.in: Add USE_NSCD.
39775 * config.make.in (use-nscd): New substituted variable.
39776 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39777 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39778 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39779 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39780 (CFLAGS-getgrnam_r.c): Likewise.
39781 (CFLAGS-initgroups.c): Likewise.
39782 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39783 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39784 Variables removed.
39785 * inet/getnetgrent_r.c
39786 (nscd_setnetgrent): New function, broken out of ...
39787 (setnetgrent): ... here. Call it.
39788 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39789 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39790 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39791 * nscd/Makefile (routines, aux): Move definitions after include of
39792 Makeconfig. Conditionalize on [$(use-nscd) != no].
39793 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39794 Conditionalize on [USE_NSCD].
39795 (is_nscd, nscd_init_cb): Likewise.
39796 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39797 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39798 * nss/nss_db/db-init.c: Likewise.
39799 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39800 [USE_NSCD].
39801 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39802 (make_request): Use it.
39803 (cache_valid_p): New function.
39804 (__check_pf): Use it.
39805 * NEWS: Add item for --disable-nscd.
39806
07e51550
DL
398072012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39808
39809 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39810 to support sed >= 4.2.1-20-ga9bf076.
39811 * configure: Regenerated.
39812
35a5b08b
RM
398132012-08-22 Roland McGrath <roland@hack.frob.com>
39814
39815 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39816 Conditionalize whole body on [IREL].
39817
8479f23a
JL
398182012-08-22 Jeff Law <law@redhat.com>
39819
39820 [BZ #14505]
39821 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39822 if the family is PF_UNSPEC.
39823
48da0b21
MF
398242012-08-22 Mike Frysinger <vapier@gentoo.org>
39825
39826 * Makerules (lib-version): Rename from V.
39827 (install-lib-nosubdir): Change V to lib-version.
39828
15d0da8c
WS
398292012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39830
39831 [BZ #14252]
39832 * powerpc32/power6/wcschr.c: New file.
39833 * powerpc32/power6/wcscpy.c: New file.
39834 * powerpc32/power6/wcsrchr.c: New file.
39835 * powerpc64/power6/wcschr.c: New file.
39836 * powerpc64/power6/wcscpy.c: New file.
39837 * powerpc64/power6/wcsrchr.c: New file.
39838
bcca0895
MK
398392012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39840
39841 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39842 (two_way_short_needle): Use it.
5a4aaa33
RM
39843 * string/strstr.c (AVAILABLE1_USES_J): Define.
39844 * string/strcasestr.c: Likewise.
99677e57
MK
39845
39846 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39847 array references.
39848 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39849
400726de
MK
39850 [BZ #11607]
39851 * NEWS: Add an entry.
39852 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39853 define their defaults.
39854 (two_way_short_needle): Detect end-of-string on-the-fly.
39855 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39856 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39857 * string/bug-strcasestr1.c: New test.
39858 * string/Makefile: Run it.
39859
20a71f2c
MK
398602012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39861
39862 [BZ #11607]
39863 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39864 the first character.
39865
21ad0558
RM
398662012-08-21 Roland McGrath <roland@hack.frob.com>
39867
39868 * csu/elf-init.c (__libc_csu_irel): Function removed.
39869 * csu/libc-start.c (apply_irel): New function.
39870 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39871
0e1d9911
JM
398722012-08-21 Joseph Myers <joseph@codesourcery.com>
39873
39874 * sysdeps/unix/sysv/linux/kernel-features.h
39875 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39876 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39877 <kernel-features.h>.
39878 [__NR_fadvise64_64]: Make code unconditional.
39879 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39880 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39881 !__NR_fadvise64_64)]: Likewise.
39882 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39883 !__NR_fadvise64_64))]: Likewise.
39884 [__NR_fadvise64]: Make code unconditional.
39885 [!__NR_fadvise64]: Remove conditional code.
39886 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39887 <kernel-features.h>.
39888 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39889 unconditional.
39890 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39891 conditional code.
39892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39893 not include <kernel-features.h>.
39894 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39895 unconditional.
39896 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39897 conditional code.
39898 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39899 include <kernel-features.h>.
39900 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39901 unconditional.
39902 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39903 conditional code.
39904
14a50c9d
WS
399052012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39906
39907 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39908 slight instruction rearrangements per scrollpipe analysis.
39909 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39910
c0f4faf0
RM
399112012-08-20 Roland McGrath <roland@hack.frob.com>
39912
696da859
RM
39913 * manual/syslog.texi (syslog; vsyslog, closelog):
39914 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39915 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39916
c0f4faf0
RM
39917 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39918 DSOCAPS to match condition on defining it.
39919
348363b2
JM
399202012-08-20 Joseph Myers <joseph@codesourcery.com>
39921
a35cbf28
JM
39922 * sysdeps/unix/sysv/linux/kernel-features.h
39923 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39925 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39926 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39928 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39929 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39931 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39932 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39933
445f7ecd
JM
39934 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39935 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39936
348363b2
JM
39937 * sysdeps/unix/sysv/linux/kernel-features.h
39938 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39939 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39940 unconditional.
39941 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39942 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39943 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39944 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39945 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
39946 Make code unconditional.
39947 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39948 (__mmap64) [!__NR_mmap2]: Likewise.
39949 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
39950 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
39951 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39952 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
39953 [__NR_mmap2]: Make code unconditional.
39954 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39955 (__mmap64) [!__NR_mmap2]: Likewise.
39956
bc5bc0e5
AK
399572012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39958
39959 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
39960
88d506de
AJ
399612012-08-18 Andreas Jaeger <aj@suse.de>
39962
39963 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
39964
493387d2
MF
399652012-08-18 Mike Frysinger <vapier@gentoo.org>
39966
39967 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
39968 * include/unistd.h (__have_sock_cloexec): Likewise.
39969 (__have_pipe2): Likewise.
39970 (__have_dup3): Likewise.
39971
a277af22
MF
399722012-08-18 Mike Frysinger <vapier@gentoo.org>
39973
39974 [BZ #9685]
39975 * include/unistd.h (__have_pipe2): Change define into an extern int.
39976 (__have_dup3): Likewise.
39977 * socket/have_sock_cloexec.c: Include fcntl.h.
39978 (__have_pipe2): New variable.
39979 (__have_dup3): Likewise.
39980
fdab8fd3
MF
399812012-08-17 Mike Frysinger <vapier@gentoo.org>
39982
39983 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
39984
31035e80
MP
399852012-08-17 Marek Polacek <polacek@redhat.com>
39986
39987 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
39988 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
39989
3bd9e993
RM
399902012-08-17 Roland McGrath <roland@hack.frob.com>
39991
c91c505f
RM
39992 * configure.in: Add AC_SUBST for sysheaders.
39993 * configure: Regenerated.
39994 * config.make.in (sysheaders): New substituted variable.
39995
7c6f9d53
RM
39996 * sysdeps/unix/mkfifo.c: Moved ...
39997 * sysdeps/posix/mkfifo.c: ... here.
39998 * sysdeps/unix/mkfifoat.c: Moved ...
39999 * sysdeps/posix/mkfifoat.c: ... here.
40000
40001 * sysdeps/unix/utime.c: Moved ...
40002 * sysdeps/posix/utime.c: ... here.
40003
40004 * sysdeps/unix/time.c: Moved ...
40005 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
40006 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40007 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
40008
40009 * sysdeps/unix/nice.c: Moved ...
40010 * sysdeps/posix/nice.c: ... here.
40011
40012 * sysdeps/unix/alarm.c: Moved ...
40013 * sysdeps/posix/alarm.c: ... here.
40014
3bd9e993
RM
40015 * intl/Makefile ($(codeset_mo)): Depend on the input file.
40016
d1f09384
JL
400172012-08-17 Jeff Law <law@redhat.com>
40018
40019 * intl/Makefile (codeset_mo): New variable.
40020 ($(codeset_mo)): New target.
40021 (tst-codeset.out): Depend on that. Remove explicit rule.
40022 (tst-gettext3.out, tst-gettext5.out): Likewise.
40023 (LOCPATH-ENV, tst-codeset-ENV): New variables.
40024 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40025 * intl/tst-codeset.sh: Remove.
40026 * intl/tst-gettext3.sh: Likewise.
40027 * intl/tst-gettext5.sh: Likewise.
40028
2ae1ae5c
RM
400292012-08-17 Roland McGrath <roland@hack.frob.com>
40030
c31fdb83
RM
40031 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
40032 * sysdeps/unix/syscalls.list: ... here.
40033
a0844057
RM
40034 * sysdeps/posix/getaddrinfo.c
40035 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40036 (gaiconf_init, gaiconf_reload): Use them.
40037 [!_STATBUF_ST_NSEC]
40038 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40039 Define using time_t rather than struct timespec.
40040
750c1f2a
RM
40041 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40042 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40043 Macros removed.
40044 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40045 [!NO_THREADS].
40046 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40047 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40048 Likewise.
40049
2ae1ae5c
RM
40050 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40051 __libc_cleanup_push argument.
40052
e66a42f5
RM
40053 * bits/param.h: New file.
40054 * misc/sys/param.h: New file.
40055 * include/sys/param.h: New file.
40056 * misc/Makefile (headers): Add bits/param.h.
40057 * sysdeps/generic/sys/param.h: File removed.
40058 * sysdeps/unix/sysv/linux/bits/param.h: New file.
40059 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40060 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 40061 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 40062
b7c08a66
RM
40063 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40064 last change.
40065
b2e1c562
RM
40066 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40067 [_IO_MTSAFE_IO].
40068 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40069 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40070 New macros.
40071
c75ccd4c
RM
40072 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40073 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40074 rather than -D_IO_MTSAFE_IO conditionally.
40075 * stdio-common/Makefile (CPPFLAGS): Likewise.
40076 * wcsmbs/Makefile (CPPFLAGS): Likewise.
40077 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40078 Use $(libio-mtsafe).
40079 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40080 of -D_IO_MTSAFE_IO.
40081 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40082 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40083 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40084 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40085 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40086 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40087 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40088 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40089 (CFLAGS-fread_u_chk.c): Likewise.
40090 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40091 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40092 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40093 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40094 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40095 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40096 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40097 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40098 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40099
40100 * libio/Makefile: Test [$(libc-reentrant) = yes]
40101 instead of [$(filter %REENTRANT, $(defines)) nonempty].
40102
40103 * Makeconfig
40104 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40105 * sysdeps/pthread/configure: File removed.
40106 * sysdeps/pthread/Makeconfig: New file.
40107 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40108 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40109
d9195db8
GB
401102012-08-16 Gary Benson <gbenson@redhat.com>
40111
40112 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40113 unmapping the first object in a namespace.
40114
86466cd9
RM
401152012-08-16 Roland McGrath <roland@hack.frob.com>
40116
40117 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40118 (__internal_setnetgrent): ... this. Add internal_function to
40119 definition. Add libc_hidden_def.
40120 (setnetgrent): Update caller.
40121 (internal_endnetgrent): Renamed to ...
40122 (__internal_endnetgrent): ... this. Add internal_function to
40123 definition. Add libc_hidden_def.
40124 (endnetgrent): Update caller.
40125 (internal_getnetgrent_r): Renamed to ...
40126 (__internal_getnetgrent_r): ... this. Add internal_function to
40127 definition. Add libc_hidden_def.
40128 (__getnetgrent_r): Update caller.
40129 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
40130
c3c8283c
JM
401312012-08-16 Joseph Myers <joseph@codesourcery.com>
40132
40133 * stdlib/longlong.h: Update from GCC.
40134
db1ee0a8
RM
401352012-08-16 Roland McGrath <roland@hack.frob.com>
40136
40137 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40138 on _QL, which is set by umul_ppmm but never used.
40139 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40140 variables, which are set by GMP macros but never used.
40141 * stdio-common/_itowa.c (_itowa): Likewise.
40142 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40143 * stdlib/mod_1.c (mpn_mod_1): Likewise.
40144
30f69637
CD
401452012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
40146
40147 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40148 struct La_sh_regs is not constant.
40149 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40150 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40151 and struct La_sparc64_regs are not constant.
40152
93a78ac4
JM
401532012-08-16 Joseph Myers <joseph@codesourcery.com>
40154
40155 * sysdeps/unix/sysv/linux/kernel-features.h
40156 (__ASSUME_POSIX_TIMERS): Remove.
40157 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40158 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40159 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40160 Make code unconditional.
40161 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40162 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40163 Make code unconditional.
40164 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40165 * sysdeps/unix/sysv/linux/clock_nanosleep.c
40166 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40167 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40168 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40169 Make code unconditional.
40170 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40171 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40172 (__libc_missing_posix_timers): Remove.
40173
dd924cd7
RM
401742012-08-15 Roland McGrath <roland@hack.frob.com>
40175
4b4f2771
RM
40176 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40177 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40178
601c888b
RM
40179 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40180
176790a7
RM
40181 * elf/dl-sym.c: Include <stdlib.h>.
40182
329bc018
RM
40183 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40184 constants, which avoids warnings in 32-bit builds.
40185
e04e272d
RM
40186 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40187 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40188
952bf94a
RM
40189 * misc/lseek.c: File moved to ...
40190 * io/lseek.c: ... here.
40191
7c99b50a
RM
40192 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40193
dd924cd7
RM
40194 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40195 shifting LEN more than 31 bits at once.
40196
b3f479a8
LD
401972012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40198
40199 [BZ #14195]
8c4ae0d4
RM
40200 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40201 segmentation fault for a case of two empty input strings.
b3f479a8
LD
40202 * string/test-strncasecmp.c (check1): Renamed to...
40203 (bz12205): ...this.
40204 (bz14195): Add new testcase for two empty input strings and N > 0.
40205 (test_main): Call new testcase, adapt for renamed function.
40206
9c55864e
AJ
402072012-08-15 Andreas Jaeger <aj@suse.de>
40208
40209 [BZ #14090]
40210 * crypt/md5test2.c: New test, based on test supplied by Serge
40211 Belyshev <belyshev@depni.sinp.msu.ru>.
40212 * crypt/Makefile (xtests): Add md5test-giant..
40213 * crypt/Makefile ($(objpfx)md5test-giant): Add.
40214
02dcb6c5
PE
402152012-08-15 Paul Eggert <eggert@cs.ucla.edu>
40216
40217 [BZ #14090]
40218 * crypt/md5.c (md5_process_block): Don't assume the buffer
40219 length is less than 2**32.
40220 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40221 length is less than 2**64.
40222
a3f95dcc
RM
402232012-08-15 Roland McGrath <roland@hack.frob.com>
40224
be75d758
RM
40225 * string/str-two-way.h: Include <sys/param.h>.
40226 (MAX): Macro removed.
40227
7312ca90
RM
40228 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40229 Move #define and #undef of memmove to just before and after
40230 including <string.h>.
40231
9a0a5486
RM
40232 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40233 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40234 and after including <string.h>. Move declarations of
40235 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40236 to before #include "string/memmove.c".
40237
67cc348d
RM
40238 * include/dirent.h: Declare __getdirentries.
40239
a3f95dcc
RM
40240 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40241 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40242
ca98e171
MF
402432012-08-14 Mike Frysinger <vapier@gentoo.org>
40244
40245 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40246 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40247 * sysdeps/i386/configure: Regenerated.
40248 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40249 STABS_CURRENT_FILE, and STABS_FUN.
40250 (END): Remove call to STABS_FUN_END.
40251 (STABS_CURRENT_FILE1): Delete.
40252 (STABS_CURRENT_FILE): Likewise.
40253 (STABS_FUN): Likewise.
40254 (STABS_FUN_END): Likewise.
40255 (STABS_FUN2): Likewise.
40256 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40257 * sysdeps/x86_64/configure: Regenerated.
40258
5908bf46
RM
402592012-08-14 Roland McGrath <roland@hack.frob.com>
40260
40261 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 40262 * elf/dl-lookup.c: Likewise.
5908bf46 40263
f2c05b9e
JM
402642012-08-14 Joseph Myers <joseph@codesourcery.com>
40265
40266 * sysdeps/unix/sysv/linux/kernel-features.h
40267 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40268 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40269 unconditionally.
40270 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40271 unconditionally.
40272 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40273 condition on __ASSUME_CLONE_THREAD_FLAGS.
40274
e11f5155
AJ
402752012-08-14 Andreas Jaeger <aj@suse.de>
40276
40277 * sysdeps/i386/fpu/libm-test-ulps: Update.
40278
51a9ba86
MK
402792012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40280
2fdd4f78
AJ
40281 * include/atomic.h (atomic_exchange_and_add): Split into ...
40282 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40283 New atomic macros.
51a9ba86 40284
ba6cba9e
MT
402852012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40286
40287 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40288
42443a47
JL
402892012-08-13 Jeff Law <law@redhat.com>
40290
40291 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40292 null byte in the output string.
40293
121dce05
JM
402942012-08-10 Joseph Myers <joseph@codesourcery.com>
40295
40296 * sysdeps/unix/sysv/linux/kernel-features.h
40297 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40298 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40299 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40300 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40301 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40302 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40303 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40304
bf51f568
JL
403052012-08-09 Jeff Law <law@redhat.com>
40306
40307 [BZ #13939]
40308 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40309 When avoid_arena is set, don't retry in the that arena. Pick the
40310 next one, whatever it might be.
40311 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40312 (arena_lock): Pass in new parameter to arena_get2.
40313 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40314 arena_get2.
40315 (__libc_malloc): Unify retrying after main arena failure with
40316 __libc_memalign version.
40317 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40318
f85fa270
L
403192012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40320
40321 [BZ #14166]
40322 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40323 to __redirect_strstr.
40324 (__strstr_sse42): Use typeof __redirect_strstr.
40325 (__strstr_ia32): Likewise.
40326 (__libc_strstr): New prototype.
40327 (strstr): Renamed to ...
40328 (__libc_strstr): This.
40329 (strstr): New strong alias of __libc_strstr.
40330 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40331 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40332 __redirect_time.
40333 Include <time.h>.
40334 (__libc_time): New prototype.
40335 (time_ifunc): Replace time with __libc_time.
40336 (time): New strong alias and hidden definition of __libc_time.
40337 (__GI_time): Remove strong alias.
40338 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40339 Include <stddef.h>.
40340 (memmove): Redefined to __redirect_memmove.
40341 (__memmove_sse2): Use typeof __redirect_memmove.
40342 (__memmove_ssse3): Likewise.
40343 (__memmove_ssse3_back): Likewise.
40344 (__libc_memmove): New prototype.
40345 (memmove): Renamed to ...
40346 (__libc_memmove): This.
40347 (memmove): New strong alias of __libc_memmove.
40348
33b4a91e
MS
403492012-08-08 Mark Salter <msalter@redhat.com>
40350
40351 * elf/elf.h
40352 (R_MN10300_TLS_GD): Define.
40353 (R_MN10300_TLS_LD): Likewise.
40354 (R_MN10300_TLS_LDO): Likewise.
40355 (R_MN10300_TLS_GOTIE): Likewise.
40356 (R_MN10300_TLS_IE): Likewise.
40357 (R_MN10300_TLS_LE): Likewise.
40358 (R_MN10300_TLS_DTPMOD): Likewise.
40359 (R_MN10300_TLS_DTPOFF): Likewise.
40360 (R_MN10300_TLS_TPOFF): Likewise.
40361 (R_MN10300_SYM_DIFF): Likewise.
40362 (R_MN10300_ALIGN): Likewise.
40363 (R_MN10300_NUM): Update.
40364
b36137f1
JM
403652012-08-08 Joseph Myers <joseph@codesourcery.com>
40366
40367 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40368 Remove.
40369
cdd915fd
RM
403702012-08-08 Roland McGrath <roland@hack.frob.com>
40371
a2433aac
RM
40372 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40373
cdd915fd
RM
40374 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40375 sysdeps/unix -> sysdeps/posix move.
40376 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40377
bf9b740a
AM
403782012-08-07 Allan McRae <allan@archlinux.org>
40379
40380 [BZ #14303]
40381 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40382 (SUNOS_CPP): Likewise.
40383 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40384 not found.
40385 (open_input): Call CPP using execvp.
40386
93df14ee
JM
403872012-08-07 Joseph Myers <joseph@codesourcery.com>
40388
40389 * sysdeps/unix/sysv/linux/kernel-features.h
40390 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40391 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40392 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40393 (__ASSUME_WAITID_SYSCALL): Likewise.
40394 * sysdeps/unix/sysv/linux/dl-execstack.c
40395 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40396 code unconditional.
40397 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40398 conditional code.
40399 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40400 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40401 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40402 code.
40403 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40404 unconditional.
40405 [__ASSUME_WAITID_SYSCALL]: Likewise.
40406 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40407
d34689de
RM
404082012-08-07 Roland McGrath <roland@hack.frob.com>
40409
a281decc
RM
40410 * sysdeps/unix/closedir.c: Renamed to ...
40411 * sysdeps/posix/closedir.c: ... here.
40412 * sysdeps/unix/dirfd.c: Renamed to ...
40413 * sysdeps/posix/dirfd.c: ... here.
40414 * sysdeps/unix/dirstream.h: Renamed to ...
40415 * sysdeps/posix/dirstream.h: ... here.
40416 * sysdeps/unix/fdopendir.c: Renamed to ...
40417 * sysdeps/posix/fdopendir.c: ... here.
40418 * sysdeps/unix/opendir.c: Renamed to ...
40419 * sysdeps/posix/opendir.c: ... here.
40420 * sysdeps/unix/readdir.c: Renamed to ...
40421 * sysdeps/posix/readdir.c: ... here.
40422 * sysdeps/unix/readdir_r.c: Renamed to ...
40423 * sysdeps/posix/readdir_r.c: ... here.
40424 * sysdeps/unix/rewinddir.c: Renamed to ...
40425 * sysdeps/posix/rewinddir.c: ... here.
40426 * sysdeps/unix/seekdir.c: Renamed to ...
40427 * sysdeps/posix/seekdir.c: ... here.
40428 * sysdeps/unix/telldir.c: Renamed to ...
40429 * sysdeps/posix/telldir.c: ... here.
40430 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40431 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40432 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40433 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40434
22895b47
RM
40435 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40436 * bits/fcntl.h: ... here.
40437
707a53b6
RM
40438 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40439 not 0.
40440 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40441 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40442 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40443 (struct flock): Move l_start, l_len to the beginning.
40444 Use __pid_t for l_pid.
40445 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40446 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40447 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40448 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40449 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40450 [__USE_LARGEFILE64] (struct flock64): New type.
40451 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40452
f0bd3e25
RM
40453 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40454 * bits/dirent.h: ... here.
40455
d34689de
RM
40456 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40457 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40458
6dad2c06
JM
404592012-08-07 Joseph Myers <joseph@codesourcery.com>
40460
40461 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40462 Change from 2.6.0 to 2.6.16.
40463 * sysdeps/unix/sysv/linux/configure: Regenerated.
40464 * sysdeps/unix/sysv/linux/kernel-features.h
40465 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40466 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40467 version.
40468 (__ASSUME_UTIMES): Likewise.
40469 (__ASSUME_CLONE_STOPPED): Remove.
40470 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40471 architectures, not kernel version.
40472 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40473 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40474 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40475 (__ASSUME_WAITID_SYSCALL): Likewise.
40476 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40477 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40478 * README: State 2.6.16 as minimum Linux kernel version. Do not
40479 refer to older versions.
40480
03af9520
RM
404812012-08-06 Roland McGrath <roland@hack.frob.com>
40482
8e49df1d
RM
40483 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40484 Define alphasort64 as an alias.
40485 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40486 Define versionsort64 as an alias.
40487 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40488 Define scandir64 as an alias.
40489 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40490 Define scandirat64 as an alias.
40491 * dirent/alphasort64.c (alphasort64):
40492 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40493 * dirent/versionsort64.c: Likewise.
40494 * dirent/scandir64.c: Likewise.
40495 * dirent/scandirat64.c: Likewise.
40496 * sysdeps/wordsize-64/alphasort.c: File removed.
40497 * sysdeps/wordsize-64/alphasort64.c: File removed.
40498 * sysdeps/wordsize-64/scandir.c: File removed.
40499 * sysdeps/wordsize-64/scandir64.c: File removed.
40500 * sysdeps/wordsize-64/scandirat.c: File removed.
40501 * sysdeps/wordsize-64/scandirat64.c: File removed.
40502 * sysdeps/wordsize-64/versionsort.c: File removed.
40503 * sysdeps/wordsize-64/versionsort64.c: File removed.
40504 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40505 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40506 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40507 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40508 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40509 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40510 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40511 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40512
40513 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40514 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40515 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40516 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40517 [defined __arch64__ || defined __sparcv9]
40518 (__INO_T_MATCHES_INO64_T): New macro.
40519 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40520 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40521 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40522 * sysdeps/unix/sysv/linux/bits/dirent.h
40523 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40524 (_DIRENT_MATCHES_DIRENT64): New macro.
40525
03af9520
RM
40526 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40527 Define lockf64 as an alias.
40528 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40529 Define fseeko64 as an alias.
40530 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40531 Define ftello64 as an alias.
40532 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40533 Define _IO_fgetpos64 and fgetpos64 as aliases.
40534 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40535 Define _IO_fsetpos64 and fsetpos64 as aliases.
40536 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40537 Conditionalize body on this.
40538 * libio/fseeko64.c: Likewise.
40539 * libio/ftello64.c: Likewise.
40540 * libio/iofgetpos64.c: Likewise.
40541 * libio/iofsetpos64.c: Likewise.
40542 * sysdeps/wordsize-64/lockf.c: File removed.
40543 * sysdeps/wordsize-64/lockf64.c: File removed.
40544 * sysdeps/wordsize-64/fseeko.c: File removed.
40545 * sysdeps/wordsize-64/fseeko64.c: File removed.
40546 * sysdeps/wordsize-64/ftello.c: File removed.
40547 * sysdeps/wordsize-64/ftello64.c: File removed.
40548 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40549 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40550 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40551 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40552 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40553 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40554 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40555 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40556 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40557 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40558 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40559 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40560 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40561 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40562
40563 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40564 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40565 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40566 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40567 [defined __arch64__ || defined __sparcv9]
40568 (__OFF_T_MATCHES_OFF64_T): New macro.
40569 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40570 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40572 (__OFF_T_MATCHES_OFF64_T): New macro.
40573
c5757acd
L
405742012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40575
40576 * stdlib/secure-getenv.c (__secure_getenv): Replace
40577 GLIBC_2_16 with GLIBC_2_17.
40578
3a31811e
L
405792012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40580
40581 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40582 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40583
faa2bccb
DM
405842012-08-03 David S. Miller <davem@davemloft.net>
40585
40586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40587
85fe1997
JM
405882012-08-03 Joseph Myers <joseph@codesourcery.com>
40589
40590 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40591 Remove.
40592 (__ASSUME_CORRECT_SI_PID): Likewise.
40593 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40594 (__ASSUME_TMPFS_NAME): Likewise.
40595 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40596 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40597 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40598 (HAVE_AUX_SECURE): Make definition unconditional.
40599 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40600 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40601
4f75b7a0
RM
406022012-08-03 Roland McGrath <roland@hack.frob.com>
40603
40604 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40605 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40606 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40607 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40608 __eloop_threshold instead of SYMLOOP_MAX.
40609
40610 * sysdeps/generic/eloop-threshold.h: New file.
40611 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40612 of MAXSYMLINKS.
40613 * elf/chroot_canon.c (chroot_canon): Likewise.
40614
7aab07e4
JM
406152012-08-03 Joseph Myers <joseph@codesourcery.com>
40616
40617 [BZ #13717]
40618 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40619 Change to 2.6.0 everywhere.
40620 * sysdeps/unix/sysv/linux/configure: Regenerated.
40621 * sysdeps/unix/sysv/linux/kernel-features.h
40622 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40623 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40624 kernel versions.
40625 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40626 (__ASSUME_FUTEX_REQUEUE): Remove.
40627 (__ASSUME_STATFS64): Define unconditionally.
40628 (__ASSUME_AT_SECURE): Likewise.
40629 (__ASSUME_CORRECT_SI_PID): Likewise.
40630 (__ASSUME_TGKILL): Define without depending on kernel version for
40631 i386.
40632 (__ASSUME_UTIMES): Likewise.
40633 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40634 kernel version.
40635 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40636 (__ASSUME_TMPFS_NAME): Likewise.
40637 * README: Update reference to Linux kernel versions.
40638
b67e9372
MP
406392012-08-02 Marek Polacek <polacek@redhat.com>
40640
1f529f7d 40641 [BZ# 14150]
b67e9372
MP
40642 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40643 libc_cv_asm_type_prefix with %.
40644 * configure: Regenerated.
d2441631
RM
40645 * include/libc-symbols.h: Remove comment about
40646 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40647 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40648 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40649 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40650 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40651 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40652 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40653 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40654 * elf/tst-unique2mod1.c: Likewise.
40655 * elf/tst-unique1mod2.c: Likewise.
40656 * elf/tst-unique1mod1.c: Likewise.
40657 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40658 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40659 Replace ASM_TYPE_DIRECTIVE with .type.
40660 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40661 * sysdeps/i386/sysdep.h: Likewise.
40662 * sysdeps/x86_64/sysdep.h: Likewise.
40663 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40665 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40666 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40667 * sysdeps/powerpc/powerpc32/sysdep.h:
40668 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40669 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40670 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40671 * sysdeps/i386/fpu/e_powf.S: Likewise.
40672 * sysdeps/i386/fpu/e_expl.S: Likewise.
40673 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40674 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40675 * sysdeps/i386/fpu/e_pow.S: Likewise.
40676 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40677 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40678 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40679 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40680 * sysdeps/i386/fpu/e_log2.S: Likewise.
40681 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40682 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40683 * sysdeps/i386/fpu/e_powl.S: Likewise.
40684 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40685 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40686 * sysdeps/i386/fpu/e_logl.S: Likewise.
40687 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40688 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40689 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40690 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40691 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40692 * sysdeps/i386/fpu/e_log.S: Likewise.
40693 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40694 * sysdeps/i386/fpu/e_logf.S: Likewise.
40695 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40696 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40697 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40698 * sysdeps/i386/fpu/e_log10.S: Likewise.
40699 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40700 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40701 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40702 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40703 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40704 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40705 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40706 * sysdeps/i386/i686/strtok.S: Likewise.
40707 * sysdeps/i386/i386-mcount.S: Likewise.
40708 * sysdeps/i386/strtok.S: Likewise.
40709 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40710 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40711 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40712 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40713 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40714 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40715 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40716 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40717 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40718 * sysdeps/x86_64/_mcount.S: Likewise.
40719 * sysdeps/x86_64/strtok.S: Likewise.
40720 * sysdeps/sh/_mcount.S: Likewise.
40721
2747bf9a
RM
407222012-08-01 Roland McGrath <roland@hack.frob.com>
40723
40724 * libio/iofopen.c: Include <fcntl.h>.
40725 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40726 (_IO_fopen64, fopen64): Define as aliases.
40727 * libio/iofopen64.c: Include <fcntl.h>.
40728 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40729 Conditionalize body on this.
40730 * sysdeps/wordsize-64/iofopen.c: File removed.
40731 * sysdeps/wordsize-64/iofopen64.c: File removed.
40732
3fb791b8
MP
407332012-08-01 Marek Polacek <polacek@redhat.com>
40734
40735 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40736 Use dlfcn directly instead of a variable.
40737 (binfmt-subdir): Do not define.
40738 (dlfcn): Likewise.
40739
a9f1039f
JM
407402012-08-01 Joseph Myers <joseph@codesourcery.com>
40741
23bddc06
JM
40742 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40743 Remove all definitions.
40744 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40745 <kernel-features.h>.
40746 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40747 (miss_F_GETOWN_EX): Remove all definitions.
40748 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40749 macro definition.
40750 [!__ASSUME_FCNTL64]: Remove conditional code.
40751 [__ASSUME_FCNTL64]: Make code unconditional.
40752 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40753 <kernel-features.h>.
40754 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40755 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40756 (lockf64) [__NR_fcntl64]: Make code unconditional.
40757 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40758
a9f1039f
JM
40759 * sysdeps/unix/sysv/linux/kernel-features.h
40760 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40761 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40762 Make code unconditional.
40763 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40764 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40766 [__NR_vfork]: Make code unconditional.
40767 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40768 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40770 [__NR_vfork]: Make code unconditional.
40771 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40772 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40773
09c0ee5f
RM
407742012-08-01 Roland McGrath <roland@hack.frob.com>
40775
48aec5b9
RM
40776 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40777 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40778
cd97c966
RM
40779 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40780 Define mkstemp64 as an alias.
3f55550c
RM
40781 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40782 Define mkstemps64 as an alias.
cd97c966
RM
40783 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40784 Define mkostemp64 as an alias.
b8625cfc
RM
40785 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40786 Define mkostemps64 as an alias.
cd97c966
RM
40787 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40788 Conditionalize body on this.
40789 * misc/mkostemp64.c: Likewise.
b8625cfc 40790 * misc/mkostemps64.c: Likewise.
3f55550c 40791 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40792 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40793 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40794 * sysdeps/wordsize-64/mkostemp.c: File removed.
40795 * sysdeps/wordsize-64/mkstemp.c: File removed.
40796 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40797 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40798 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40799 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40800
09c0ee5f
RM
40801 [BZ #14138]
40802 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40803 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40804 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40805 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40806
40807 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40808 compat_symbol macros from <shlib-compat.h> rather than the underlying
40809 default_symbol_version and symbol_version macros, so that DEFAULT
40810 lines in shlib-versions are respected.
40811 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40812
7e66ee51
FW
408132012-08-01 Florian Weimer <fweimer@redhat.com>
40814
40815 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40816 Declare with warn_unused_result.
40817 (setgid, setregid, setegid, setresgid): Likewise.
40818 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40819 Likewise.
40820 * WUR-REPORT: Remove set*id functions.
40821
d2a54255
PT
408222012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40823
40824 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40825
7ecdb005
RM
408262012-07-31 Roland McGrath <roland@hack.frob.com>
40827
b4180a5e 40828 [BZ #10191]
789bd351
RM
40829 * include/sys/socket.h (__libc_accept, __libc_accept4):
40830 Add attribute_hidden.
40831 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40832
40ce302d
RM
40833 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40834 use of PTR_MANGLE.
40835 * inet/getnetgrent_r.c (setup): Likewise.
40836
7ecdb005
RM
40837 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40838
e2eabb2c
DM
408392012-07-31 David S. Miller <davem@davemloft.net>
40840
40841 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40842
d0419dbf
JM
408432012-07-31 Joseph Myers <joseph@codesourcery.com>
40844
40845 [BZ #13629]
40846 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40847 value between 1.0 and 2.0 and smaller part has absolute value less
40848 than 1.0.
40849 * math/s_clog10.c (__clog10): Likewise.
40850 * math/s_clog10f.c (__clog10f): Likewise.
40851 * math/s_clog10l.c (__clog10l): Likewise.
40852 * math/s_clogf.c (__clogf): Likewise.
40853 * math/s_clogl.c (__clogl): Likewise.
40854 * math/libm-test.inc (clog_test): Add more tests.
40855 (clog10_test): Likewise.
40856 * sysdeps/i386/fpu/libm-test-ulps: Update.
40857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40858
2bc13872
FW
408592012-07-31 Florian Weimer <fweimer@redhat.com>
40860
40861 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40862 Exit with zero in case no suitable GID is found, and write a
40863 message to standard error.
40864
bea9b193
RM
408652012-07-30 Roland McGrath <roland@hack.frob.com>
40866
40867 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40868 rather than to 1.
40869 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40870 (MAXPATHLEN): Removed.
40871 (NOGROUP, NODEV): New macros.
40872 (setbit, clrbit, isset, isclr): New macros.
40873 (howmany, roundup, powerof2): New macros.
40874 (DEV_BSIZE): New macro.
40875
40876 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40877 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40878
40879 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40880 definition on [!__NO_LONG_DOUBLE_MATH].
40881
40882 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40883 PTR_MANGLE and PTR_DEMANGLE.
40884
40885 * socket/accept4.c (accept4): Rename to __libc_accept4.
40886 Define accept4 as a weak alias.
40887
40888 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40889 on [_DIRENT_HAVE_D_TYPE].
40890 * io/ftw.c (ftw_dir): Likewise.
40891
40892 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40893
40894 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40895
40896 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40897 Use the BSD numbers rather than the arbitrary ones we had.
40898 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40899 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40900 (SIGXCPU, SIGXFSZ): New macros.
40901 (_NSIG): Now 32.
40902
40903 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40904 initializer on [_LIBC_REENTRANT].
40905
40906 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40907 definitions inside [_POSIX_MAPPED_FILES].
40908
40909 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40910
40911 * dirent/opendir.c: Include <fcntl.h>.
40912
40913 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40914 (__libc_getspecific): Likewise.
40915 (__libc_key_create): Likewise.
40916
40917 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40918 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40919 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40920 (tmpfile64): Define as alias.
40921 * sysdeps/wordsize-64/tmpfile.c: File removed.
40922 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40923 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40924 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40925
40926 * stdio-common/vfscanf.c: Include <stdbool.h>.
40927 * nss/makedb.c: Likewise.
40928 * stdio-common/_i18n_number.h: Likewise.
40929 * argp/argp-help.c: Likewise.
40930 * posix/wordexp.c: Likewise.
40931 * sysdeps/posix/spawni.c: Likewise.
40932 * nss/nss_files/files-initgroups.c: Likewise.
40933 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40934 * nss/nss_files/files-initgroups.c: Likewise.
40935 * nss/nss_db/db-netgrp.c: Likewise.
40936 * nss/nss_db/db-initgroups.c: Likewise.
40937 * io/fchmodat.c: Include <sys/stat.h>.
40938
40939 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40940 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40941
40942 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40943 [HAVE_MMAP].
40944
40945 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
40946 Add multiple inclusion protection.
40947
e5abc686
DM
409482012-07-27 David S. Miller <davem@davemloft.net>
40949
40950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40951
815e6fa3
GB
409522012-07-27 Gary Benson <gbenson@redhat.com>
40953
40954 [BZ #14298]
40955 * elf/rtld.c: Include <stap-probe.h>.
40956 (dl_main): Added static probes "init_start" and "init_complete".
40957 * elf/dl-load.c: Include <stap-probe.h>.
40958 (lose): Take new parameter "nsid".
40959 Added static probe "map_failed".
40960 (_dl_map_object_from_fd): Pass namespace id to lose.
40961 Added static probe "map_start".
40962 (open_verify): Pass namespace id to lose.
40963 * elf/dl-open.c: Include <stap-probe.h>.
40964 (dl_open_worker) Added static probes "map_complete", "reloc_start"
40965 and "reloc_complete".
40966 * elf/dl-close.c: Include <stap-probe.h>.
40967 (_dl_close_worker): Added static probes "unmap_start" and
40968 "unmap_complete".
40969 * elf/rtld-debugger-interface.txt: New file documenting the above.
40970
9f98c16c
RM
409712012-07-26 Roland McGrath <roland@hack.frob.com>
40972
40973 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
40974 rather than a string variable.
40975 * sunrpc/rpc_main.c (h_output): Likewise.
40976 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
40977
f3c22df3
PT
409782012-07-26 Pino Toscano <toscano.pino@tiscali.it>
40979
40980 * inet/check_native.c: New file.
40981
3129cfc6
JM
409822012-07-26 Joseph Myers <joseph@codesourcery.com>
40983
da865e95
JM
40984 [BZ #13629]
40985 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
40986 if larger part has absolute value 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
3129cfc6
JM
40997 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
40998 (pltexit): Likewise.
40999 (La_regs): Likewise.
41000 (La_retval): Likewise.
41001 (int_retval): Likewise.
41002 Update #error for removed macros to refer only to definitions in
41003 tst-audit.h.
41004 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41005 macro.
41006 (pltexit): Likewise.
41007 (La_regs): Likewise.
41008 (La_retval): Likewise.
41009 (int_retval): Likewise.
41010 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41011 macro.
41012 (pltexit): Likewise.
41013 (La_regs): Likewise.
41014 (La_retval): Likewise.
41015 (int_retval): Likewise.
41016 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41017 macro.
41018 (pltexit): Likewise.
41019 (La_regs): Likewise.
41020 (La_retval): Likewise.
41021 (int_retval): Likewise.
41022 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41023 macro.
41024 (pltexit): Likewise.
41025 (La_regs): Likewise.
41026 (La_retval): Likewise.
41027 (int_retval): Likewise.
41028 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41029 macro.
41030 (pltexit): Likewise.
41031 (La_regs): Likewise.
41032 (La_retval): Likewise.
41033 (int_retval): Likewise.
41034 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41035 macro.
41036 (pltexit): Likewise.
41037 (La_regs): Likewise.
41038 (La_retval): Likewise.
41039 (int_retval): Likewise.
41040 * sysdeps/generic/tst-audit.h: Update comment to refer only to
41041 macro definitions in tst-audit.h.
41042 * sysdeps/i386/tst-audit.h: New file.
41043 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41044 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41045 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41046 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41047 * sysdeps/sh/tst-audit.h: Likewise.
41048 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41049 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41050 * sysdeps/x86_64/tst-audit.h: Likewise.
41051
bfc07087
AJ
410522012-07-26 Andreas Jaeger <aj@suse.de>
41053
b1b2aaf8
AJ
41054 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41055 ptrace.
41056
41057 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41058 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41059 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41060 PTRACE_O_MASK.
41061 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41062 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41063 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41064
bfc07087
AJ
41065 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41066 value.
41067
41068 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41069 _sigsys.
41070 (si_call_addr, si_syscall, si_arch): Define new macro.
41071 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41072 _sigsys.
41073 (si_call_addr, si_syscall, si_arch): Define new marcro.
41074 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41075 _sigsys.
41076 (si_call_addr, si_syscall, si_arch): Define new macro.
41077 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41078 _sigsys.
41079 (si_call_addr, si_syscall, si_arch): Define new macro.
41080
89b4b02f
JM
410812012-07-25 Joseph Myers <joseph@codesourcery.com>
41082
41083 [BZ #13717]
41084 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41085 Change to 2.4.21 where previously 2.4.1.
41086 * sysdeps/unix/sysv/linux/configure: Regenerated.
41087 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41088 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41089 Linux kernel version.
41090 (__ASSUME_STD_AUXV): Remove.
41091 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41092 kernel version.
41093 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41094 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41095 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41096 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41097 (__ASSUME_NETLINK_SUPPORT): Likewise.
41098 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41099 (__no_netlink_support): Remove conditional definition.
41100 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41101 Remove.
41102 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41103 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41104 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41105 (if_nameindex_ioctl): Remove.
41106 (if_nameindex_netlink): Do not handle __no_netlink_support.
41107 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41108 code.
41109 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41110 Remove conditional code.
41111 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41112 code.
41113 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41114 unconditional.
41115 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41116 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41117 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41118 Remove.
41119 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41120 [!__ASSUME_STD_AUXV]: Remove conditional code.
41121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41122 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41123 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41125 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41126 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41127 code.
41128 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41130 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41131 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41132 conditional code.
41133 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41135 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41136 code.
41137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41138 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41139 conditional code.
41140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41141 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41142 code unconditional.
41143 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41144 conditional code.
41145 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41146 unconditional.
41147 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41148 conditional code.
41149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41150 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41151 unconditional.
41152 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41153 conditional code.
41154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41155 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41156 code unconditional.
41157 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41158 conditional code.
41159 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41160 unconditional.
41161 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41162 conditional code.
41163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41164 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41165 code unconditional.
41166 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41167 conditional code.
41168 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41169 unconditional.
41170 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41171 conditional code.
41172
842a39cd
AS
411732012-07-25 Andreas Schwab <schwab@linux-m68k.org>
41174
41175 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41176 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41177 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41178 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41179 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41180 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41181 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41182 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41183 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41184 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41185 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41186 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41187 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41188 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41189 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41190 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41191 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41192 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41193 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41194 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41195 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41196 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41197 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41198
84b3fd84
FW
411992012-07-25 Florian Weimer <fweimer@redhat.com>
41200
41201 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
41202 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41203 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41204 Introduce __libc_secure_getenv.
0c7936d5
FW
41205 * stdlib/Versions (2.17): Add secure_getenv
41206 (GLIBC_PRIVATE): Add __libc_secure_getenv.
41207 * stdlib/secure-getenv.c: Rename __secure_getenv to
41208 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
41209 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
41210 * stdlib/tst-secure-getenv.c: New.
41211 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
41212 * manual/startup.texi (Environment Access): Document
41213 secure_getenv.
84b3fd84
FW
41214 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41215 __libc_secure_getenv.
41216 * inet/ruserpass.c (ruserpass): Likewise.
41217 * malloc/mtrace.c (mtrace): Likewise.
41218 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 41219 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
41220 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41221 * sysdeps/posix/tempname.c: Likewise. Evaluate
41222 HAVE_SECURE_GETENV.
41223 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 41224 __secure_getenv to __libc_secure_getenv.
84b3fd84 41225 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
41226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41227 Likewise.
41228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41229 Likewise.
41230 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41232 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41235 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 41237
56e49b71
JM
412382012-07-25 Joseph Myers <joseph@codesourcery.com>
41239
41240 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41241 (struct La_i86_retval): Likewise.
41242 (struct La_x86_64_regs): Likewise.
41243 (struct La_x86_64_retval): Likewise.
41244 (struct La_x32_regs): Likewise.
41245 (struct La_x32_retval): Likewise.
41246 (struct La_ppc32_regs): Likewise.
41247 (struct La_ppc32_retval): Likewise.
41248 (struct La_ppc64_regs): Likewise.
41249 (struct La_ppc64_retval): Likewise.
41250 (struct La_sh_regs): Likewise.
41251 (struct La_sh_retval): Likewise.
41252 (struct La_s390_32_regs): Likewise.
41253 (struct La_s390_32_retval): Likewise.
41254 (struct La_s390_64_regs): Likewise.
41255 (struct La_s390_64_retval): Likewise.
41256 (struct La_sparc32_regs): Likewise.
41257 (struct La_sparc32_retval): Likewise.
41258 (struct La_sparc64_regs): Likewise.
41259 (struct La_sparc64_retval): Likewise.
41260 (struct audit_ifaces): Remove architecture-specific pltenter and
41261 pltexit members.
41262 * sysdeps/i386/ldsodefs.h: New file.
41263 * sysdeps/powerpc/ldsodefs.h: Likewise.
41264 * sysdeps/s390/ldsodefs.h: Likewise.
41265 * sysdeps/sh/ldsodefs.h: Likewise.
41266 * sysdeps/sparc/ldsodefs.h: Likewise.
41267 * sysdeps/x86_64/ldsodefs.h: Likewise.
41268
354691b7
MP
412692012-07-25 Marek Polacek <polacek@redhat.com>
41270
41271 [BZ #6808]
41272 * math/libm-test.inc (yn_test): Add another test.
41273 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41274 to ERANGE when the result is +-Inf.
41275 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41276 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41277 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41278 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41279
bf9e2071
JM
412802012-07-24 Joseph Myers <joseph@codesourcery.com>
41281
41282 * conform/data/time.h-data (NULL): Use macro-constant. Require
41283 equal to 0.
41284 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41285 clock_t.
41286 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41287
57633811
TS
412882012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41289
41290 * configure.in <sysdeps resolving>: Correct printing
41291 Implies_before.
41292 * configure: Regenerate.
41293
c23c33b0
TS
412942012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41295
41296 * math/w_ilogb.c: Include <limits.h>.
41297 * math/w_ilogbl.c: Likewise.
41298
b5982523
JM
412992012-07-20 Joseph Myers <joseph@codesourcery.com>
41300
41301 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41302 va_copy. Document allowing for unavailable va_copy only as
41303 pre-C99 compatibility.
41304 * manual/string.texi (Copying and Concatenation): Use va_copy
41305 instead of __va_copy in concat example.
41306
ac4ea442
PT
413072012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41308
41309 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41310 (__sendto): Use create_address_port. Initialize APORT and deallocate
41311 it if not null.
41312
f98eafbd
PT
41313 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41314 with O_NOLINK passed to __file_name_lookup.
41315
898c7aab
PT
41316 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41317 with O_NOLINK passed to __file_name_lookup.
41318
0ced335a
PT
41319 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41320 negative N or less than NGIDS.
41321
b3404dbd
PT
41322 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41323 type to string_t. Set ERANGE as errno and return it if NAME is not big
41324 enough. Use memcpy instead of strncpy.
41325
0f48659e
JM
413262012-07-20 Joseph Myers <joseph@codesourcery.com>
41327
41328 * elf/Makefile (check-data): Remove.
41329 (localplt.data): New vpath directive.
41330 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41331 instead of $(check-data).
41332 * scripts/data/localplt-generic.data: Move to ...
41333 * sysdeps/generic/localplt.data: ... here.
41334 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41335 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41336 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41338 ... here.
41339 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41341 ... here.
41342 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41343 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41344 ... here.
41345 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41346 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41347 ... here.
41348 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41349 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41350 ... here.
41351 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41353 ... here.
41354
d37cbdaa
AZ
413552012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41356
41357 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41358 PPC32 and PPC64 files.
41359 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41360 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41361
46f85fc2
AK
413622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41363
41364 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41365 __makecontext_ret to ...
41366 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41367 ... here and call exit if uc_link is NULL. New file.
41368 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41369 __makecontext_ret.S.
41370 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41371 __makecontext_ret to ...
41372 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41373 ... here and call exit if uc_link is NULL. New file.
41374 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41375 __makecontext_ret.S.
41376
08f43f9b
AK
413772012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41378
41379 * elf/elf.h (R_390_IRELATIVE): New definition.
41380 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41381 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41382 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41383 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41384 (elf_machine_lazy_rel): Likewise.
41385 * sysdeps/s390/dl-irel.h: New file.
41386 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41387 * sysdeps/s390/s390-64/memset.S: New asm code.
41388 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41389 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41390 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41391 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41392 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41393 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41394 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41395 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41396 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41397 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41398 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41399 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41400 * sysdeps/s390/s390-32/memset.S: New asm code.
41401 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41402
3b05db33
MP
414032012-07-17 Marek Polacek <polacek@redhat.com>
41404
41405 [BZ #14349]
41406 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41407 * sysdeps/s390/s390-64/configure.in: Likewise.
41408 * sysdeps/sparc/configure.in: Likewise.
41409 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41410 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41411 * sysdeps/i386/configure.in: Likewise.
41412 * sysdeps/x86_64/configure.in: Likewise.
41413 * sysdeps/sh/configure.in: Likewise.
41414 * sysdeps/s390/s390-32/configure: Regenerated.
41415 * sysdeps/s390/s390-64/configure: Likewise.
41416 * sysdeps/x86_64/configure: Likewise.
41417 * sysdeps/sh/configure: Likewise.
41418 * sysdeps/powerpc/powerpc64/configure: Likewise.
41419 * sysdeps/powerpc/powerpc32/configure: Likewise.
41420 * sysdeps/sparc/configure: Likwise.
41421 * sysdeps/i386/configure: Likewise.
41422
a66877c6
MP
41423 * elf/dl-open.c: Comment fixes.
41424
cfc82fd8
JM
414252012-07-17 Joseph Myers <joseph@codesourcery.com>
41426
bd29910a
JM
41427 * Makefile [CXX] (check-data): Remove.
41428 [CXX] (c++-types.data): New vpath directive.
41429 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41430 vpath. Do not allow for C++ type data being missing.
41431 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41432 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41433 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41434 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41435 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41436 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41437 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41439 ... here.
41440 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41442 ... here.
41443 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41444 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41445 ... here.
41446 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41447 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41448 ... here.
41449 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41451 ... here.
41452 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41454 ... here.
41455 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41456 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41457 ... here.
41458 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41460
cfc82fd8
JM
41461 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41462 definitions to architecture-specific files.
41463 (TLS_IE): Likewise.
41464 (TLS_LD): Likewise.
41465 (TLS_GD): Likewise.
41466 * sysdeps/i386/tls-macros.h: New file.
41467 * sysdeps/powerpc/tls-macros.h: Likewise.
41468 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41469 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41470 * sysdeps/sh/tls-macros.h: Likewise.
41471 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41472 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41473 * sysdeps/x86_64/tls-macros.h: Likewise.
41474
f7db3170
TS
414752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41476
07cbfc23
TS
41477 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41478 zero value for regular exit case.
41479
f7db3170
TS
41480 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41481 (__start_context): Preserve zero value for regular exit case.
41482
dc97c227
TS
414832012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41484 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41485
41486 * manual/setjmp.texi (setcontext): Clarify normal process
41487 termination when uc_link is the null pointer.
41488 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41489 exit call.
41490
d0cd7d02
AS
414912012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41492
41493 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41494 preprocessor. Test for each exception mask separately.
41495
dd318934
AJ
414962012-07-16 Andreas Jaeger <aj@suse.de>
41497
41498 * po/ru.po: Update from translation team.
41499
8048311a
JM
415002012-07-15 Joseph Myers <joseph@codesourcery.com>
41501
41502 * conform/data/string.h-data (NULL): Use macro-constant. Require
41503 equal to 0.
41504 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41505 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41506 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41507 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41508 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41509
b637d46e
AJ
415102012-07-13 Andreas Jaeger <aj@suse.de>
41511
41512 * po/fr.po: Update from translation team.
41513
541428fe
MP
415142012-07-12 Marek Polacek <polacek@redhat.com>
41515
41516 [BZ #14173]
41517 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41518 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41519 loop condition.
41520
ec332e94
JM
415212012-07-12 Joseph Myers <joseph@codesourcery.com>
41522
41523 [BZ #13717]
41524 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41525 Change to 2.4.1 where previously 2.4.0.
41526 * sysdeps/unix/sysv/linux/configure: Regenerated.
41527 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41528 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41529 version.
41530 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41531 (__ASSUME_AT_CLKTCK): Remove.
41532 (__ASSUME_AT_PAGESIZE): Likewise.
41533 (__ASSUME_AT_XID): Likewise.
41534 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41535 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41536 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41537 unconditionally.
41538 (HAVE_AUX_PAGESIZE): Likewise.
41539 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41540 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41541 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41542
7b6e99be
JB
415432012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41544
41545 [BZ #14307]
41546 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41547 the temporary buffer used to invoke __gethostbyname2_r,
41548 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41549 host_data / struct gaih_addrtuple.
41550 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41551 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41552 header file nss/nsswitch.h.
41553 * nss/nsswitch.h (global scope): Add definition of implementation
41554 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41555 resolv/nss_dns/dns-host.c).
41556
608404eb
AJ
415572012-07-11 Andreas Jaeger <aj@suse.de>
41558
41559 * po/fr.po: Update from translation team.
41560
71220aca
AJ
41561 * po/sv.po: Update from translation team
41562 * po/fr.po: Another update from translation team.
41563
28cfe843
AZ
415642012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41565
41566 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41567 for subnormals or multiply small sinh result by itself.
41568 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41570
6b90f981
DM
415712012-07-11 David S. Miller <davem@davemloft.net>
41572
41573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41574
c6825772
AS
415752012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41576
41577 [BZ #14347]
41578 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41579 (INTERNAL_MARK): Shift it here.
41580
7b8e0d49
MP
415812012-07-10 Marek Polacek <polacek@redhat.com>
41582
41583 [BZ #14151]
41584 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41585 libc_cv_asm_global_directive with .globl.
41586 * configure: Regenerated.
41587 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41588 with .globl.
41589 * sysdeps/i386/configure: Regenerated.
41590 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41591 with .globl.
41592 * sysdeps/x86_64/configure: Regenerated.
41593 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41594 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41595 * elf/tst-unique2mod2.c: Likewise.
41596 * elf/tst-unique2mod1.c: Likewise.
41597 * elf/tst-unique1mod2.c: Likewise.
41598 * elf/tst-unique1mod1.c: Likewise.
41599 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41600 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41601 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41602 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41603 * sysdeps/mach/sysdep.h: Likewise.
41604 * sysdeps/i386/sysdep.h: Likewise.
41605 * sysdeps/i386/i386-mcount.S: Likewise.
41606 * sysdeps/x86_64/_mcount.S: Likewise.
41607 * sysdeps/x86_64/sysdep.h: Likewise.
41608 * sysdeps/sh/_mcount.S: Likewise.
41609 * sysdeps/sh/sysdep.h: Likewise.
41610 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41611 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41612 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41613 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41614 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41615 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41616 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41617 * locale/localeinfo.h: Likewise.
41618 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41619 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41620
6c55cda3
RM
416212012-07-09 Roland McGrath <roland@hack.frob.com>
41622
41623 [BZ #14336]
41624 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41625 system".
41626 * manual/message.texi (The Uniforum approach): Likewise.
41627 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41628 (glibc iconv Implementation): Likewise.
41629
638a572e
JM
416302012-07-09 Joseph Myers <joseph@codesourcery.com>
41631
41632 [BZ #14337]
41633 * math/s_clog.c (__clog): Avoid scaling a value down where that
41634 could result in underflow.
41635 * math/s_clog10.c (__clog10): Likewise.
41636 * math/s_clog10f.c (__clog10f): Likewise.
41637 * math/s_clog10l.c (__clog10l): Likewise.
41638 * math/s_clogf.c (__clogf): Likewise.
41639 * math/s_clogl.c (__clogl): Likewise.
41640 * math/libm-test.inc (clog_test): Add more tests.
41641 (clog10_test): Likewise.
41642 * sysdeps/i386/fpu/libm-test-ulps: Update.
41643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41644
261f4859
AS
416452012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41646
0abaf3e4
AS
41647 [BZ #14283]
41648 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41649 by 7 not 8 to examine high bit of fractional part.
41650
261f4859
AS
41651 [BZ #14042]
41652 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41653 for call to __mcount_internal.
41654 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41655 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41656 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41657
f17ac40d
JM
416582012-07-06 Joseph Myers <joseph@codesourcery.com>
41659
9ad63c23
JM
41660 [BZ #14154]
41661 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41662 approximation for values within 0x1p-13f of an odd multiple of
41663 pi/4.
41664 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41665 exception. Add more tests.
41666 * sysdeps/i386/fpu/libm-test-ulps: Update.
41667
f17ac40d
JM
41668 [BZ #6778]
41669 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41670 inputs and return -1 for them. Do not check for +Inf in case not
41671 reachable for +Inf.
41672 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41673 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41674 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41675 and return -1 for them. Do not check for +Inf in case not
41676 reachable for +Inf.
41677 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41678 define.
41679 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41680 and return -1 for them. Do not check for +Inf in case not
41681 reachable for +Inf.
41682 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41683 spurious underflow.
41684 * sysdeps/i386/fpu/libm-test-ulps: Update.
41685 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41686
fb21f89b
MF
416872012-07-06 Mike Frysinger <vapier@gentoo.org>
41688
41689 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41690
cdfe2c5e
JM
416912012-07-05 Joseph Myers <joseph@codesourcery.com>
41692
41693 [BZ #14157]
41694 [BZ #14331]
41695 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41696 could result in spurious underflow. Scale down values above
41697 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41698 * math/s_csqrtf.c (__csqrtf): Likewise.
41699 * math/s_csqrtl.c (__csqrtl): Likewise.
41700 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41701 spurious underflow.
41702 * sysdeps/i386/fpu/libm-test-ulps: Update.
41703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41704
70d35b67
AS
417052012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41706
704bc459
AS
41707 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41708 xopen-msg.sed.
41709 * catgets/xopen-msg.awk: New file.
41710 * catgets/xopen-msg.sed: Removed.
41711
70d35b67
AS
41712 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41713 po2text.sed.
41714 * intl/po2test.awk: New file.
41715 * intl/po2test.sed: Removed.
41716
ca61cf32
JM
417172012-07-04 Joseph Myers <joseph@codesourcery.com>
41718
41719 [BZ #14328]
41720 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41721 or multiply small sinh result by itself.
41722 * math/s_ctanf.c (__ctanf): Likewise.
41723 * math/s_ctanh.c (__ctanh): Likewise.
41724 * math/s_ctanhf.c (__ctanhf): Likewise.
41725 * math/s_ctanhl.c (__ctanhl): Likewise.
41726 * math/s_ctanl.c (__ctanl): Likewise.
41727 * math/libm-test.inc (ctan_test_tonearest): New function.
41728 (ctan_test_towardzero): Likewise.
41729 (ctan_test_downward): Likewise.
41730 (ctan_test_upward): Likewise.
41731 (ctanh_test_tonearest): Likewise.
41732 (ctanh_test_towardzero): Likewise.
41733 (ctanh_test_downward): Likewise.
41734 (ctanh_test_upward): Likewise.
41735 (main): Call these new functions.
41736 * sysdeps/i386/fpu/libm-test-ulps: Update.
41737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41738
ca48a46a
MF
417392012-07-03 Mike Frysinger <vapier@gentoo.org>
41740
41741 * .gitignore: Delete /ports entry.
41742
9d63d37d
AJ
417432012-07-03 Andreas Jaeger <aj@suse.de>
41744
41745 * po/bg.po: Update from translation team.
41746 * po/cs.po: Likewise.
41747 * po/de.po: Likewise.
41748 * po/hr.po: Likewise.
41749 * po/nl.pl: Likewise.
41750 * po/pl.po: Likewise.
41751 * po/vi.po: Likewise.
41752
370ca3d2
JM
417532012-07-03 Joseph Myers <joseph@codesourcery.com>
41754
95f5a9a8
JM
41755 * Makeconfig [!+link] (+link-before-libc): New variable.
41756 [!+link] (+link-after-libc): Likewise.
41757 [!+link] (+link-tests): Likewise.
41758 [!+link] (+link): Define in terms of $(+link-before-libc) and
41759 $(+link-after-libc).
41760 [!+link-static] (+link-static-before-libc): New variable.
41761 [!+link-static] (+link-static-after-libc): Likewise.
41762 [!+link-static] (+link-static-tests): Likewise.
41763 [!+link-static] (+link-static): Define in terms of
41764 $(+link-static-before-libc) and $(+link-static-after-libc).
41765 [build-shared] (link-libc-before-gnulib): New variable.
41766 [build-shared] (link-libc-tests): Likewise.
41767 [build-shared] (link-libc): Define in terms of
41768 $(link-libc-before-gnulib).
41769 [!build-shared] (link-libc-tests): New variable.
41770 (link-libc-static-tests): New variable.
41771 [!gnulib] (gnulib-arch): New variable.
41772 [!gnulib] (gnulib-tests): Likewise.
41773 [!gnulib] (static-gnulib-arch): Likewise.
41774 [!gnulib] (static-gnulib-tests): Likewise.
41775 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41776 Define with "=" instead of ":=".
41777 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41778 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41779 * Rules (binaries-all-notests): New variable.
41780 (binaries-all-tests): Likewise.
41781 (binaries-static-notests): Likewise.
41782 (binaries-static-tests): Likewise.
41783 (binaries-all): Define using $(binaries-all-notests) and
41784 $(binaries-all-tests).
41785 (binaries-static): Define using $(binaries-static-notests) and
41786 $(binaries-static-tests).
41787 (binaries-shared-tests): New variable.
41788 (binaries-shared-notests): Likewise.
41789 (binaries-shared): Remove variable.
41790 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41791 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41792 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41793 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41794 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41795 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41796 * elf/Makefile (sln-modules): New variable.
41797 (extra-objs): Add $(sln-modules:=.o).
41798 (ldconfig-modules): Add static-stubs.
41799 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41800 * elf/static-stubs.c: New file.
41801
7a845b2c
JM
41802 [BZ #14283]
41803 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41804 by 7 not 8 to examine high bit of fractional part. Use volatile
41805 variables when splitting into final array of floats if
41806 __FLT_EVAL_METHOD__ != 0.
41807 * math/libm-test.inc (cos_test): Add another test.
41808 (sin_test): Likewise.
41809 * sysdeps/i386/fpu/libm-test-ulps: Update.
41810
e2283f38
JM
41811 [BZ #14273]
41812 * math/libm-test.inc (cosh_test): Add more tests.
41813
370ca3d2
JM
41814 * version.h (RELEASE): Set to "development".
41815 (VERSION): Set to "2.16.90".
41816
ee9247c3
CD
418172012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41818
41819 * NEWS: Update copyright. Remove last-updated date.
41820 Mention math library bug fixes and timezone data changes.
41821 * README: Mention GNU/Hurd, x32, and HPPA support status.
41822
4648c381
TS
418232012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41824
41825 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41826
aac78a43
AJ
418272012-06-27 Andreas Jaeger <aj@suse.de>
41828
41829 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41830
ed3dbfad
AJ
418312012-06-25 Andreas Jaeger <aj@suse.de>
41832
41833 * sysdeps/s390/fpu/libm-test-ulps: Update.
41834
4d0ee855
AS
418352012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41836 Thomas Schwinge <thomas@codesourcery.com>
41837
41838 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41839 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41840 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41841 fanotify_mark.
41842
af1bce34
TS
418432012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41844
a9fa33ba
TS
41845 * sysdeps/mach/start.c: Remove file.
41846 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41847 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41848 * sysdeps/sh/init-first.c: Likewise.
41849
58f902b8
TS
41850 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41851 registers for frame unwinding purposes, add CFI directives.
41852 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41853 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41854 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41855 Likewise.
41856
1518f58b
TS
41857 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41858 __fortify_fail returning.
41859 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41860
db9b5059
TS
41861 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41862 sysdeps/sh/____longjmp_chk.S.
41863 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41864 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41865 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41866 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41867
967705fe
TS
41868 * sysdeps/sh/abort-instr.h: New file.
41869 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41870 process in case exit returns.
41871
a9def8c4
TS
41872 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41873 initialize the GOT register before use.
41874
2a649725
TS
41875 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41876 calculation of ARGC > 4.
41877
af1bce34
TS
41878 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41879 meaningful names to some local labels.
41880
d230f50a
KK
418812012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41882 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41883
41884 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41885 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41886 (__arch_compare_and_exchange_val_16_acq): Likewise.
41887 (__arch_compare_and_exchange_val_32_acq): Likewise.
41888 (atomic_exchange_and_add): Fix gUSA sequence.
41889 (atomic_add): Likewise.
41890 (atomic_add_negative): Likewise.
41891 (atomic_add_zero): Likewise.
41892 (atomic_bit_test_set): Likewise.
41893
0479b305
AS
418942012-06-22 Andreas Schwab <schwab@redhat.com>
41895
41896 [BZ #13579]
41897 * include/link.h (struct link_map): Add l_free_initfini.
41898 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41899 l_initfini.
41900 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41901 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41902 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41903 set.
41904
0e3933b9
CD
419052012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41906
41907 * configure.in: Use AC_LANG_SOURCE.
41908 * configure: Regenerate.
41909
4248b1b1
RM
419102012-06-22 Roland McGrath <roland@hack.frob.com>
41911
41912 * configure.in (libc_cv_localstatedir): New substituted variable.
41913 * configure: Regenerated.
41914 * config.make.in (localstatedir): New variable, substituted from
41915 libc_cv_localstatedir.
41916 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41917 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41918 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41919 * sysdeps/gnu/configure: Regenerated.
41920
006dd861
JL
419212012-06-21 Jeff Law <law@redhat.com>
41922
41923 [BZ #14277]
41924 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41925 free. Simplify list management for _LIBC case.
41926
79662d42
JM
419272012-06-21 Joseph Myers <joseph@codesourcery.com>
41928
b7abb4bf
JM
41929 [BZ #14273]
41930 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41931 Clear sign bit of 64-bit integer value before comparing against
41932 overflow value.
41933
79662d42
JM
41934 * sysdeps/mach/configure: Regenerated.
41935
1f150908
L
419362012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41937
41938 [BZ #14278]
41939 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41940
28363bbf
JL
419412012-06-21 Jeff Law <law@redhat.com>
41942
41943 [BZ #13882]
41944 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
41945 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 41946 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
41947 * elf/dl-open.c (dl_open_worker): Likewise.
41948
09615db4
CD
419492012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
41950
41951 * scripts/list-sources.sh: Scan PORTS for translations.
41952 * po/libc.pot: Regenerated.
41953
2174c6dd
AJ
419542012-06-21 Andreas Jaeger <aj@suse.de>
41955
41956 [BZ #12194]
41957 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
41958 warning.
41959 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
41960 * bits/byteswap-16.h (__bswap_16): Likewise.
41961 * bits/byteswap.h (__bswap_constant_16): Likewise.
41962
3ee947b1
L
419632012-06-18 H.J. Lu <hongjiu.lu@intel.com>
41964
41965 [BZ #14117]
a2f34833
L
41966 * sysdeps/i386/fpu_control.h: Removed.
41967 * sysdeps/x86_64/fpu_control.h: Moved to ...
41968 * sysdeps/x86/fpu_control.h: Here.
41969
3ee947b1
L
41970 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
41971 (_FPU_SETCW): Likewise.
41972
ed1825f8
L
419732012-06-15 H.J. Lu <hongjiu.lu@intel.com>
41974
25f1282a
L
41975 [BZ #14117]
41976 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
41977 * sysdeps/x86/fpu/bits/mathinline.h: This.
41978 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
41979
ed1825f8
L
41980 [BZ #14050]
41981 [BZ #14117]
41982 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
41983 functions if __x86_64__ is defined.
41984
36d54b74
CLT
419852012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
41986
41987 * string/endian.h: Add !__ASSEMBLER__ condition for including
41988 conversion interfaces.
41989
10285c21
JM
419902012-06-15 Joseph Myers <joseph@codesourcery.com>
41991
41992 [BZ #14241]
41993 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
41994 of ABS(x) in calculating zero to negative powers other than odd
41995 integers.
41996 * math/libm-test.inc (pow_test): Add more tests.
41997
06c5abbd
AJ
419982012-06-15 Andreas Jaeger <aj@suse.de>
41999
42000 * manual/contrib.texi (Contributors): Update entry of Liubov
42001 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42002 Machado Filho.
42003
a3aeac40
CH
420042012-06-15 Cyril Hrubis <metan@ucw.cz>
42005
42006 * string/string.h: Add __wur to GNU version of strerror_r.
42007
49bdf4c1
L
420082012-06-14 H.J. Lu <hongjiu.lu@intel.com>
42009
42010 [BZ #14229]
42011 * string/Makefile (tests): Add tst-strtok_r.
42012 * string/tst-strtok_r.c: New file.
42013 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42014 RAX_LP/RDX_LP on SAVE_PTR.
42015
834f9b8d
RM
420162012-06-14 Roland McGrath <roland@hack.frob.com>
42017
42018 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42019
75fa1921
JM
420202012-06-14 Joseph Myers <joseph@codesourcery.com>
42021
42022 * libm_test.inc (csqrt_test): Allow more spurious underflow
42023 exceptions.
42024 (j0_test): Likewise.
42025 (j1_test): Likewise.
42026 (y0_test): Likewise.
42027 (y1_test): Likewise.
42028
771766df
CD
420292012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
42030
42031 * po/Makefile (libc.pot): Use UTF-8 charset.
42032
ceb9e56b
PP
420332012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
42034
42035 [BZ #14210]
42036 Suppress sign-conversion warning from FD_SET.
42037 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42038 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42039 not unsigned long int.
42040 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42041
ddb28975
L
420422012-06-12 H.J. Lu <hongjiu.lu@intel.com>
42043
42044 [BZ #14050]
42045 [BZ #14117]
42046 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42047 __extern_always_inline instead of __extern_inline.
42048 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42049 (__signbit): Likewise.
42050 (__signbitl): Support C++ namespace.
42051 (lrintf): New inline function.
42052 (lrint): Likewise.
42053 (llrintf): Likewise.
42054 (llrint): Likewise.
42055 (fmaxf): Likewise.
42056 (fmax): Likewise.
42057 (fminf): Likewise.
42058 (fmin): Likewise.
42059 (rint): Likewise.
42060 (rintf): Likewise.
42061 (ceil): Likewise.
42062 (ceilf): Likewise.
42063 (floor): Likewise.
42064 (floorf): Likewise.
42065 (nearbyint): Likewise.
42066 (nearbyintf): Likewise.
42067
d7b4fb26
TS
420682012-06-12 Thomas Schwinge <thomas@codesourcery.com>
42069
42070 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42071 non-default versions.
42072
eb55f5c2
RM
420732012-06-11 Roland McGrath <roland@hack.frob.com>
42074
42075 [BZ #14218]
42076 * manual/argp.texi (Argp): Reword argp_parse description slightly.
42077
366af02c
TS
420782012-06-09 Thomas Schwinge <thomas@codesourcery.com>
42079
99ff6e5c
TS
42080 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42081 (FE_UPWARD, FE_DOWNWARD): Don't define.
42082 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42083 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42084
366af02c
TS
42085 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42086 reading it.
42087 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42088 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42089
793ea851
KK
420902012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42091
42092 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42094 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42095 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42096
a728a38f
L
420972012-06-06 H.J. Lu <hongjiu.lu@intel.com>
42098
42099 [BZ #14117]
c08010c7
L
42100 * sysdeps/i386/fpu/bits/fenv.h: Removed.
42101 * sysdeps/i386/fpu/Implies: New file.
42102 * sysdeps/x86_64/fpu/Implies: Likewise.
42103 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42104 * sysdeps/x86/fpu/bits/fenv.h: This.
42105
a728a38f
L
42106 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42107 __SSE_MATH__.
42108
6e230d11
SP
421092012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42110
42111 [BZ #14134]
42112 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42113 character 0xffff that matches the last element of the
42114 conversion table.
42115
1b671feb
AZ
421162012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42117
42118 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42119 fmodl commit.
42120
6043738b
AZ
421212012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42122
42123 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42124 values higher than 25.6283.
42125
34ae0b32
AZ
421262012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42127
42128 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42129 subnormal exponent extraction and add some __builtin_expect.
42130 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42131 Fix for subnormal mantissa calculation.
42132
1214ec8f
MF
421332012-06-04 Mike Frysinger <vapier@gentoo.org>
42134
42135 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42136 cpu2 is -1 and errno is not ENOSYS.
42137
f3d1f93c
L
421382012-06-04 H.J. Lu <hongjiu.lu@intel.com>
42139
42140 [BZ #14117]
0e4a3cd7
L
42141 * sysdeps/i386/i486/bits/string.h: Renamed to ...
42142 * sysdeps/x86/bits/string.h: This.
42143 * sysdeps/x86_64/bits/string.h: Removed.
42144
6704c645
L
42145 * sysdeps/i386/i486/bits/string.h: Define inline functions only
42146 if not compiling for x86-64, but compiling for >= i486.
42147
48495318
L
42148 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42149 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42150
14adcbfc
L
42151 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42152 New macro from Linux kernel 3.4.0.
42153 (FP_XSTATE_MAGIC2): Likewise.
42154 (FP_XSTATE_MAGIC2_SIZE): Likewise.
42155 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42156 (struct _fpx_sw_bytes): New struct.
42157 (struct _xsave_hdr): Likewise.
42158 (struct _ymmh_state): Likewise.
42159 (struct _xstate): Likewise.
42160
68e408ab
L
42161 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42162 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42163 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42164 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42165 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42166 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42167
f3d1f93c
L
42168 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42169 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42170 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42171 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42172 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42173 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42174
d9dc34cd
TMQMF
421752012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42176
42177 [BZ #13743]
42178 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42179 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42180 (sysdep_headers): Include sys/platform/ppc.h.
42181 * sysdeps/powerpc/test-gettimebase.c: Test for
42182 __ppc_get_timebase() to catch future ISA opcode/insn changes.
42183 * manual/Makefile (appendices): Include platform.texi.
42184 * manual/contrib.texi (Contributors): Update @node pointers.
42185 * manual/maint.texi (Maintenance): Likewise.
42186 (Platform): New node.
42187 * manual/platform.texi: New file. Document the new features.
42188
4af3879c
SP
421892012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42190 Jakub Jelinek <jakub@redhat.com>
42191
42192 [BZ #14188]
42193 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42194 where __builtin_expect is unavailable.
42195
2fd6ff13
DM
421962012-06-03 David S. Miller <davem@davemloft.net>
42197
42198 * stdlib/longlong.h: Updated from GCC.
42199
173f7220
AS
422002012-06-02 Andreas Schwab <schwab@linux-m68k.org>
42201
42202 [BZ #14042]
42203 * sysdeps/powerpc/powerpc32/mcount.c: New file.
42204 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42205 __mcount_internal.
42206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42207 (GLIBC_2.16): Likewise.
42208
f34a1c6f
L
422092012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42210
42211 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42212
88a4576f
JM
422132012-06-01 Joseph Myers <joseph@codesourcery.com>
42214
ea32bcdd
JM
42215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42216 (default-abi): New variable.
42217 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42218 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42219 variable.
42220 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42221 Likewise.
42222 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42223 Likewise.
42224 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42225 Likewise.
42226
88a4576f
JM
42227 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42228 definition. Document in comment.
42229
402fe938
DM
422302012-06-01 David S. Miller <davem@davemloft.net>
42231
42232 * stdlib/longlong.h: Updated from GCC.
42233
3553723f
L
422342012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42235
42236 [BZ #14117]
3bd872c4
L
42237 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42238 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42239 sys/debugreg.h sys/io.h here.
42240 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42241 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42242 sys/io.h.
42243 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42244 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42245 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42246 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42247 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42248 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42249
3553723f
L
42250 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42251 Define only if __x86_64__ is defined.
42252
4842e4fe
JM
422532012-06-01 Joseph Myers <joseph@codesourcery.com>
42254
c5bfe3d5
JM
42255 [BZ #14048]
42256 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42257 Use int64_t for variable i.
42258 * math/libm-test.inc (fmod_test): Add more tests.
42259
4842e4fe
JM
42260 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42261 z computation is not scheduled after fetestexcept.
42262 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42263 Use math_force_eval instead of asm to ensure calculation scheduled
42264 before exception test.
42265 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42266 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42267
efb73488
AJ
422682012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42269
42270 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42271 computation is not scheduled after fetestexcept.
42272
29bcce7c
L
422732012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42274
42275 [BZ #14117]
42276 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42277 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42278
73a68f94
AZ
422792012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42280
42281 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42282 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42283
67b6df78
L
422842012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42285
edf2933a 42286 [BZ #14117]
ebc64a18
L
42287 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42288 <bits/wordsize.h>.
42289 (__WCHAR_MIN): Support __WORDSIZE == 64.
42290 (__WCHAR_MAX): Likewise.
42291
edf2933a
L
42292 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42293 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42294
57c6cf40
L
42295 [BZ #14183]
42296 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42297 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42298
67b6df78 42299 [BZ #14117]
8eb6281e
L
42300 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42301 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42302
aac639f4
L
42303 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42304 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42305
67b6df78
L
42306 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42307 Defined to 1 if __x86_64__ isn't defined.
42308 (_STAT_VER_LINUX_OLD): New.
42309 (st_atime): Remove duplicate.
42310 (st_mtime): Likewise.
42311 (st_ctime): Likewise.
42312
1c2cfe81
DM
423132012-05-31 David S. Miller <davem@davemloft.net>
42314
42315 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42316 entries.
42317
5be8418c
AS
423182012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42319
e7725326
AS
42320 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42321 gen-libm-test.pl.
42322
5be8418c
AS
42323 [BZ #14132]
42324 * elf/dl-reloc.c: Include <_itoa.h>.
42325 (_dl_reloc_bad_type): Remove use of INTUSE.
42326 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42327 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42328 * stdio-common/psiginfo.c (psiginfo): Likewise.
42329 * stdio-common/psignal.c (psignal): Likewise.
42330 * string/strsignal.c (strsignal): Likewise.
42331 * include/signal.h (_sys_siglist): Declare hidden proto.
42332 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42333 INTVARDEF with libc_hidden_data_def.
42334 * stdio-common/itoa-udigits.c: Likewise.
42335 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42336 (_itoa_lower_digits_internal): Remove declaration.
42337 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42338 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42339 (_sys_sigabbrev_internal): Remove aliases.
42340 (_sys_siglist): Define hidden alias.
42341
507352f1
MT
423422012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42343
42344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42345 bits/sysctl.h.
42346
42bbb1c3
L
423472012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42348
42349 [BZ #14117]
6bd784b6
L
42350 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42351 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42352
8bca20f0
L
42353 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42354 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42355 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42356 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42357 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42358 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42359
f9e890a9
L
42360 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42361 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42362 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42363
471101a1
L
42364 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42365 with __addr.
42366 (insw): Likewise.
42367 (insl): Likewise.
42368 (outsb): Likewise.
42369 (outsw): Likewise.
42370 (outsl): Likewise.
42371
6451c862
L
42372 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42373 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42374 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42375
a254b8c9
L
42376 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42377 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42378 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42379 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42380 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42381 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42382
b8dfdd92
L
42383 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42384 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42385
578cd270
L
42386 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42387 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42388
de662f5f
L
42389 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42390 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42391 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42392
25653439
L
42393 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42394 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42395 to ...
42396 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42397
6bad24a0
L
42398 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42399 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42400 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42401
42bbb1c3
L
42402 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42403 for x86-64.
42404 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42405
2d10d547
JM
424062012-05-31 Joseph Myers <joseph@codesourcery.com>
42407
42408 * math/math.h (M_El): Use two more decimal places.
42409 (M_LOG2El): Likewise.
42410 (M_LOG10El): Likewise.
42411 (M_LN2l): Likewise.
42412 (M_LN10l): Likewise.
42413 (M_PIl): Likewise.
42414 (M_PI_2l): Likewise.
42415 (M_PI_4l): Likewise.
42416 (M_1_PIl): Likewise.
42417 (M_2_PIl): Likewise.
42418 (M_2_SQRTPIl): Likewise.
42419 (M_SQRT2l): Likewise.
42420 (M_SQRT1_2l): Likewise.
42421
f230c29b
DM
424222012-05-31 David S. Miller <davem@davemloft.net>
42423
42424 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42425 values between float registers.
42426 * sysdeps/sparc/sparc64/memset.S: Likewise.
42427 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42428
fed806c3
MF
424292012-05-31 Mike Frysinger <vapier@gentoo.org>
42430
42431 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42432 -D_FORTIFY_SOURCE=1.
42433 (CPPFLAGS-tst-longjmp_chk.c): Define.
42434 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42435 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42436 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42437 CFLAGS-tst-wchar-h.c.
42438
30917259
MP
424392012-05-31 Marek Polacek <polacek@redhat.com>
42440
42441 [BZ #14132]
42442 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42443 __endmntent_internal): Remove declaration.
42444 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42445 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42446 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42447
1c58d5dc
DM
424482012-05-30 David S. Miller <davem@davemloft.net>
42449
42450 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42451 (___Q_simulate_exceptions): Use real FP ops rather than writing
42452 into the %fsr.
42453 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42454 Likewise.
42455
7dc00e0d
L
424562012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42457
42458 [BZ #14117]
0bd53985
L
42459 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42460 * sysdeps/x86/bits/xtitypes.h: This.
42461
3a257e66
L
42462 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42463 * sysdeps/x86/bits/wordsize.h: This.
42464
62f62904
L
42465 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42466 * sysdeps/x86/bits/huge_vall.h: This.
42467
404fe9d9
L
42468 * sysdeps/i386/bits/select.h: Removed.
42469 * sysdeps/x86_64/bits/select.h: Renamed to ...
42470 * sysdeps/x86/bits/select.h: This.
42471
d48d0446
L
42472 * sysdeps/i386/bits/setjmp.h: Removed.
42473 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42474 * sysdeps/x86/bits/setjmp.h: This.
42475
7dc00e0d
L
42476 * sysdeps/i386/bits/mathdef.h: Removed.
42477 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42478 * sysdeps/x86/bits/mathdef.h: This.
42479
03277f8f
AS
424802012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42481
42482 [BZ #14132]
42483 * include/sys/socket.h (__connect_internal)
42484 (__libc_sa_len_internal): Remove declaration.
42485 (__connect, __libc_sa_len): Declare hidden_proto.
42486 (SA_LEN): Remove use of INTUSE.
42487 * socket/connect.c: Add libc_hidden_def.
42488 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42489 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42490 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42491 alias.
42492 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42493 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42494 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42495 of adding _internal alias.
42496
13764867
L
424972012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42498
42499 [BZ #14117]
6bd97696
L
42500 * sysdeps/i386/bits/link.h: Removed.
42501 * sysdeps/i386/bits/linkmap.h: Likewise.
42502 * sysdeps/x86_64/bits/link.h: Renamed to ...
42503 * sysdeps/x86/bits/link.h: This.
42504 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42505 * sysdeps/x86/bits/linkmap.h: This.
42506
f726f0bb
L
42507 * sysdeps/i386/bits/endian.h: Removed.
42508 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42509 * sysdeps/x86/bits/endian.h: This.
42510
13764867
L
42511 * sysdeps/i386/bits/byteswap.h: Removed.
42512 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42513 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42514 * sysdeps/x86/bits/byteswap.h: This.
42515 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42516 * sysdeps/x86/bits/byteswap-16.h: This.
42517 * sysdeps/i386/Implies: Add x86.
42518 * sysdeps/x86_64/Implies: Likewise.
42519
ae251b0b
DM
425202012-05-30 David S. Miller <davem@davemloft.net>
42521
42522 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42523 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42524 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42525 (FP_TRAPPING_EXCEPTIONS): Define.
42526 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42527 (FP_TRAPPING_EXCEPTIONS): Define.
42528 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42529 subnormals only when inexact has been signalled or underflow
42530 exceptions are enabled.
42531 (_FP_PACK_CANONICAL): Likewise.
42532
d5c90867
L
425332012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42534
42535 [BZ #14183]
42536 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42537 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42538
63f1549e
RH
425392012-05-30 Richard Henderson <rth@twiddle.net>
42540
8d8f2279
RH
42541 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42542 with #ifndef NOT_IN_libc.
42543
63f1549e
RH
42544 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42545 marked to avoid plt entry.
42546
0ab0291b
L
425472012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42548
42549 [BZ #14112]
42550 * Makeconfig (default-abi): New macro.
42551 (abi-includes): Likewise.
42552 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42553 $(abi-$(default-abi)-lib-soname) for soname if defined.
42554 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42555 abi-variants.
42556 * Makefile (installed-stubs): Likewise.
42557 * include/stubs-biarch.h: Removed.
42558 * scripts/lib-names.awk: Only handle one library at a time.
42559 * scripts/soversions.awk: Remove WORDSIZE support.
42560 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42561 entries.
42562 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42563 Removed.
42564 (syscall-list-default-condition): Likewise.
42565 (syscall-list-default-condition): Likewise.
42566 (syscall-list-includes): Likewise.
42567 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42568 syscall-list-* with abi-*. Handle undefined abi-variants.
42569 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42570 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42571 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42572 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42573 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42574 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42575 Removed.
42576 (syscall-list-32-options): Likewise.
42577 (syscall-list-32-condition): Likewise.
42578 (syscall-list-64-options): Likewise.
42579 (syscall-list-64-condition): Likewise.
42580 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42581 macro.
42582 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42583 Renamed to ...
42584 (abi-*): This.
42585 (abi-64-ld-soname): New macro.
42586 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42587 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42588 Renamed to ...
42589 (abi-*): This.
42590 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42591 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42592
4da0431d
JM
425932012-05-30 Joseph Myers <joseph@codesourcery.com>
42594
3a85279c
JM
42595 * sysdeps/unix/sysv/linux/kernel-features.h
42596 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42597 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42598 include <kernel-features.h>.
42599 [!__NR_ftruncate64]: Remove conditional code.
42600 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42601 [__NR_ftruncate64]: Make code unconditional.
42602 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42603 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42604 include <kernel-features.h>.
42605 [!__NR_ftruncate64]: Remove conditional code.
42606 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42607 [__NR_ftruncate64]: Make code unconditional.
42608 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42610 include <kernel-features.h>.
42611 [!__NR_ftruncate64]: Remove conditional code.
42612 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42613 [__NR_ftruncate64]: Make code unconditional.
42614 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42616 include <kernel-features.h>.
42617 [!__NR_ftruncate64]: Remove conditional code.
42618 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42619 [__NR_ftruncate64]: Make code unconditional.
42620 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42621
4da0431d
JM
42622 * configure.in (libc_cv_fpie): Weaken to a compile test using
42623 LIBC_TRY_CC_OPTION.
42624 * configure: Regenerated.
42625
11ef492c
AK
426262012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42627
42628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42629 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42631 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42632 Refreshed.
42633 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42637 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42639 Refreshed.
42640
d66ef399
DM
426412012-05-27 David S. Miller <davem@davemloft.net>
42642
42643 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42644 (___Q_zero): New.
42645 (__Q_simulate_exceptions): Return void. Change to simulate
42646 exceptions by writing into the %fsr.
42647 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42648 (__Qp_handle_exceptions): Likewise.
42649 (numbers): Delete.
42650 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42651 __Qp_handle_exceptions.
42652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42653 __Qp_handle_exceptions.
42654 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42655 as unused and give dummy FP_RND_NEAREST initializer.
42656 (FP_INHIBIT_RESULTS): Define.
42657 (___Q_simulate_exceptions): Update declaration.
42658 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42659 formatting.
42660 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42661 as unused and give dummy FP_RND_NEAREST initializer.
42662 (__Qp_handle_exceptions): Update declaration.
42663 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42664 formatting.
42665
04fb54b5
TS
426662012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42667
42668 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42669 the temporary FPU control word.
42670 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42671 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42672 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42673 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42674 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42675 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42676 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42677 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42678 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42679 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42680 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42681
3f99608f
KK
426822012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42683
42684 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42685 fields.
42686
65a4de4e
CLT
426872012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42688
42689 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42690 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42691 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42692 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42693 Likewise.
42694 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42695 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42696 Likewise.
42697
15749d40
UD
426982012-05-27 Ulrich Drepper <drepper@gmail.com>
42699
42700 * po/h.po: Update from translation team.
42701
25dbcb27
AS
427022012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42703
3d3f8e55
AS
42704 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42705
25dbcb27
AS
42706 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42707 handling of denormals.
42708 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42709 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42710 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42711 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42712 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42713 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42714 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42715 Likewise.
42716
7ad47a80 427172012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42718
42719 [BZ #14152]
42720 * math/libm-test.inc (fma_test): Don't always expect underflow
42721 exception.
42722
9c6ea9fa
SP
427232012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42724
42725 [BZ #12416]
42726 * elf/tst-execstack.c: Include stackinfo.h.
42727 (do_test): Adjust test case to ensure that pthread_getattr_np
42728 behaviour remains the same after marking stack executable.
42729
a8239222
JM
427302012-05-25 Joseph Myers <joseph@codesourcery.com>
42731
42732 * sysdeps/unix/sysv/linux/kernel-features.h
42733 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42734 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42735 kernel-features.h.
42736 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42737 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42738 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42739 kernel-features.h.
42740 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42741 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42742
918b5606
L
427432012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42744
42745 * configure.in: Define the default includes to being none.
42746 * configure: Regenerated.
42747
3a097cc7
RM
427482012-05-25 Roland McGrath <roland@hack.frob.com>
42749
8422c9a5
RM
42750 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42751 * sysdeps/x86_64/setjmp.S: Likewise.
42752 * sysdeps/i386/bsd-setjmp.S: Likewise.
42753 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42754 * sysdeps/i386/setjmp.S: Likewise.
42755 * sysdeps/i386/__longjmp.S: Likewise.
42756 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42757 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42758
3a097cc7
RM
42759 * include/stap-probe.h: New file.
42760 * configure.in: Handle --enable-systemtap.
42761 * configure: Regenerated.
42762 * config.h.in (USE_STAP_PROBE): New #undef.
42763 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42764 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42765 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42766
21708942
JM
427672012-05-25 Joseph Myers <joseph@codesourcery.com>
42768
42769 [BZ #13717]
42770 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42771 to 2.4.0 where earlier.
42772 * sysdeps/unix/sysv/linux/configure: Regenerated.
42773 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42774 <kernel-features.h>.
42775 [__ASSUME_32BITUIDS]: Make code unconditional.
42776 [!__ASSUME_32BITUIDS]: Remove conditional code.
42777 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42778 <kernel-features.h>.
42779 [__ASSUME_32BITUIDS]: Make code unconditional.
42780 [!__ASSUME_32BITUIDS]: Remove conditional code.
42781 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42782 [__ASSUME_32BITUIDS]: Make code unconditional.
42783 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42784 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42785 <kernel-features.h>.
42786 [__ASSUME_32BITUIDS]: Make code unconditional.
42787 [!__ASSUME_32BITUIDS]: Remove conditional code.
42788 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42789 <kernel-features.h>.
42790 [__ASSUME_32BITUIDS]: Make code unconditional.
42791 [!__ASSUME_32BITUIDS]: Remove conditional code.
42792 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42793 <kernel-features.h>.
42794 [__ASSUME_32BITUIDS]: Make code unconditional.
42795 [!__ASSUME_32BITUIDS]: Remove conditional code.
42796 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42797 <kernel-features.h>.
42798 [__ASSUME_32BITUIDS]: Make code unconditional.
42799 [!__ASSUME_32BITUIDS]: Remove conditional code.
42800 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42801 <kernel-features.h>.
42802 [__ASSUME_32BITUIDS]: Make code unconditional.
42803 [!__ASSUME_32BITUIDS]: Remove conditional code.
42804 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42805 <kernel-features.h>.
42806 [__ASSUME_32BITUIDS]: Make code unconditional.
42807 [!__ASSUME_32BITUIDS]: Remove conditional code.
42808 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42809 <kernel-features.h>.
42810 [__ASSUME_32BITUIDS]: Make code unconditional.
42811 [!__ASSUME_32BITUIDS]: Remove conditional code.
42812 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42813 <kernel-features.h>.
42814 [__ASSUME_32BITUIDS]: Make code unconditional.
42815 [!__ASSUME_32BITUIDS]: Remove conditional code.
42816 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42817 <kernel-features.h>.
42818 [__ASSUME_32BITUIDS]: Make code unconditional.
42819 [!__ASSUME_32BITUIDS]: Remove conditional code.
42820 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42821 <kernel-features.h>.
42822 [__ASSUME_32BITUIDS]: Make code unconditional.
42823 [!__ASSUME_32BITUIDS]: Remove conditional code.
42824 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42825 <kernel-features.h>.
42826 [__NR_setresgid] (__setresgid): Do not declare.
42827 [__ASSUME_32BITUIDS]: Make code unconditional.
42828 [!__ASSUME_32BITUIDS]: Remove conditional code.
42829 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42830 <kernel-features.h>.
42831 [__NR_setresuid] (__setresuid): Do not declare.
42832 [__ASSUME_32BITUIDS]: Make code unconditional.
42833 [!__ASSUME_32BITUIDS]: Remove conditional code.
42834 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42835 <kernel-features.h>.
42836 [__ASSUME_32BITUIDS]: Make code unconditional.
42837 [!__ASSUME_32BITUIDS]: Remove conditional code.
42838 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42839 <kernel-features.h>.
42840 [__ASSUME_32BITUIDS]: Make code unconditional.
42841 [!__ASSUME_32BITUIDS]: Remove conditional code.
42842 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42843 <kernel-features.h>.
42844 [__ASSUME_32BITUIDS]: Make code unconditional.
42845 [!__ASSUME_32BITUIDS]: Remove conditional code.
42846 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42847 <kernel-features.h>.
42848 [__ASSUME_32BITUIDS]: Make code unconditional.
42849 [!__ASSUME_32BITUIDS]: Remove conditional code.
42850 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42851 <kernel-features.h>.
42852 [__ASSUME_32BITUIDS]: Make code unconditional.
42853 [!__ASSUME_32BITUIDS]: Remove conditional code.
42854 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42855 <kernel-features.h>.
42856 [__ASSUME_32BITUIDS]: Make code unconditional.
42857 [!__ASSUME_32BITUIDS]: Remove conditional code.
42858 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42859 <kernel-features.h>.
42860 [__ASSUME_32BITUIDS]: Make code unconditional.
42861 [!__ASSUME_32BITUIDS]: Remove conditional code.
42862 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
42863 <kernel-features.h>.
42864 [__ASSUME_32BITUIDS]: Make code unconditional.
42865 [!__ASSUME_32BITUIDS]: Remove conditional code.
42866 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
42867 <kernel-features.h>.
42868 [__ASSUME_32BITUIDS]: Make code unconditional.
42869 [!__ASSUME_32BITUIDS]: Remove conditional code.
42870 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42871 <kernel-features.h>.
42872 [__ASSUME_32BITUIDS]: Make code unconditional.
42873 [!__ASSUME_32BITUIDS]: Remove conditional code.
42874 * sysdeps/unix/sysv/linux/kernel-features.h
42875 (__ASSUME_SETRESUID_SYSCALL): Remove.
42876 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42877 (__ASSUME_32BITUIDS): Likewise.
42878 (__ASSUME_LDT_WORKS): Likewise.
42879 (__ASSUME_O_DIRECTORY): Likewise.
42880 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42881 architecture but not kernel version.
42882 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42883 (__ASSUME_MMAP2_SYSCALL): Likewise.
42884 (__ASSUME_STAT64_SYSCALL): Likewise.
42885 (__ASSUME_IPC64): Likewise.
42886 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42887 <kernel-features.h>.
42888 [__ASSUME_32BITUIDS]: Make code unconditional.
42889 [!__ASSUME_32BITUIDS]: Remove conditional code.
42890 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42891 <kernel-features.h>.
42892 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42893 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42894 132096]: Remove conditional code.
42895 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42896 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42897 <kernel-features.h>.
42898 [__ASSUME_32BITUIDS]: Make code unconditional.
42899 [!__ASSUME_32BITUIDS]: Remove conditional code.
42900 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42901 <kernel-features.h>.
42902 [__ASSUME_32BITUIDS]: Make code unconditional.
42903 [!__ASSUME_32BITUIDS]: Remove conditional code.
42904 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42905 <kernel-features.h>.
42906 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42907 unconditional.
42908 (__setresgid): Do not declare.
42909 [__ASSUME_32BITUIDS]: Make code unconditional.
42910 [!__ASSUME_32BITUIDS]: Remove conditional code.
42911 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42912 <kernel-features.h>.
42913 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42914 unconditional.
42915 (__setresuid): Do not declare.
42916 [__ASSUME_32BITUIDS]: Make code unconditional.
42917 [!__ASSUME_32BITUIDS]: Remove conditional code.
42918 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42919 <kernel-features.h>.
42920 [__ASSUME_32BITUIDS]: Make code unconditional.
42921 [!__ASSUME_32BITUIDS]: Remove conditional code.
42922 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42923 <kernel-features.h>.
42924 [__ASSUME_32BITUIDS]: Make code unconditional.
42925 [!__ASSUME_32BITUIDS]: Remove conditional code.
42926
a386f1cc
RH
429272012-05-25 Richard Henderson <rth@twiddle.net>
42928
42929 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42930 dl_hwcap to ifunc resolver.
42931 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42932 elf_ifunc_invoke.
42933 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42934 dl_hwcap to ifunc resolver.
42935 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42936
b6550497
JM
429372012-05-24 Joseph Myers <joseph@codesourcery.com>
42938
42939 [BZ #14153]
42940 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42941 for |x| <= 2**-26, not 2**-57.
42942 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42943 exception.
42944
b0bc23a1
JL
429452012-05-24 Jeff Law <law@redhat.com>
42946
42947 * stdio-common/Makefile (tests): Add bug25.
42948 * stdio-common/bug25.c: New test.
42949
347c92e9
L
429502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
42951
42952 [BZ #13576]
42953 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
42954 multiple of MALLOC_ALIGNMENT in size.
42955 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
42956
6bcc8b3f
JM
429572012-05-24 Joseph Myers <joseph@codesourcery.com>
42958
42959 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
42960 Require >= 256.
42961 (FILENAME_MAX): Use macro-int-constant.
42962 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
42963 (_IOFBF): Use macro-int-constant.
42964 (_IOLBF): Likewise.
42965 (_IONBF): Likewise.
42966 (SEEK_CUR): Likewise.
42967 (SEEK_END): Likewise.
42968 (SEEK_SET): Likewise.
42969 (TMP_MAX): Likewise.
42970 (EOF): Use macro-int-constant. Require < 0.
42971 (NULL): Use macro-constant. Require == 0.
42972 (stdin): Require type to be FILE *.
42973 (stdout): Likewise.
42974 (stderr): Likewise.
42975 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
42976 macro-int-constant.
42977 (EXIT_SUCCESS): Likewise.
42978 (NULL): Use macro-constant. Require == 0.
42979 (RAND_MAX): Use macro-int-constant.
42980 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
42981 [C99-based standards] (strtof): Require function.
42982 [C99-based standards] (strtold): Likewise.
42983 [C99-based standards] (strtoll): Likewise.
42984 [C99-based standards] (strtoull): Likewise.
42985 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
42986 [ISO || ISO99 || ISO11] (limits.h): Likewise.
42987 [ISO || ISO99 || ISO11] (math.h): Likewise.
42988 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
42989 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
42990 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42991
d18ea0c5
AS
429922012-05-24 Andreas Schwab <schwab@linux-m68k.org>
42993
42994 [BZ #14132]
56d25bb8
AS
42995 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
42996 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
42997 * intl/dgettext.c (DCGETTEXT): Likewise.
42998 * intl/gettext.c (DCGETTEXT): Likewise.
42999 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43000 * posix/regex_internal.h (gettext): Likewise.
43001 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43002 Remove declaration.
43003 * include/argz.h (__argz_count_internal)
43004 (__argz_stringify_internal): Remove declaration.
43005 (__argz_count, __argz_stringify): Declare hidden proto.
43006 * intl/dcgettext.c: Remove use of INTDEF.
43007 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43008 * string/argz-stringify.c: Likewise.
43009 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43010 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43011 Declare hidden proto.
d18ea0c5
AS
43012 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43013 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43014 Declare hidden proto.
43015 * include/stdio.h (__asprintf_internal): Don't declare.
43016 (__asprintf): Don't define as macro. Declare hidden proto.
43017 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43018 (__fsetlocking): Declare hidden proto.
43019 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43020 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43021 hidden proto.
43022 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43023 (_IO_setlinebuf): Remove use of INTUSE.
43024 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43025 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43026 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43027 Remove declaration.
43028 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43029 (_IO_do_flush): Remove use of INTUSE.
43030 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43031 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43032 (_IO_adjust_column, _IO_least_wmarker)
43033 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43034 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43035 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43036 (_IO_default_doallocate, _IO_wdefault_doallocate)
43037 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43038 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43039 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43040 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43041 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43042 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43043 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43044 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43045 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43046 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43047 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43048 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43049 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43050 proto.
43051 (_IO_flush_all_internal, _IO_adjust_column_internal)
43052 (_IO_default_uflow_internal, _IO_default_finish_internal)
43053 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43054 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43055 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43056 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43057 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43058 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43059 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43060 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43061 (_IO_file_close_internal, _IO_file_close_it_internal)
43062 (_IO_file_underflow_internal, _IO_file_overflow_internal)
43063 (_IO_file_init_internal, _IO_file_attach_internal)
43064 (_IO_file_fopen_internal, _IO_file_read_internal)
43065 (_IO_file_sync_internal, _IO_file_seek_internal)
43066 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43067 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43068 (_IO_str_underflow_internal, _IO_str_overflow_internal)
43069 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43070 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43071 (_IO_list_all_internal, _IO_link_in_internal)
43072 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43073 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43074 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43075 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43076 (_IO_do_write_internal, _IO_padn_internal)
43077 (_IO_getline_info_internal, _IO_getline_internal)
43078 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43079 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43080 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43081 (_IO_vfscanf_internal, _IO_vfprintf_internal)
43082 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43083 (_IO_init_internal, _IO_un_link_internal): Don't declare.
43084 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43085 with libc_hidden_ver, remove use of INTUSE.
43086 * libio/genops.c: Likewise.
43087 * libio/freopen.c: Likewise.
43088 * libio/freopen64.c: Likewise.
43089 * libio/iofclose.c: Likewise.
43090 * libio/iofdopen.c: Likewise.
43091 * libio/iofflush.c: Likewise.
43092 * libio/iofflush_u.c: Likewise.
43093 * libio/iofgets.c: Likewise.
43094 * libio/iofgets_u.c: Likewise.
43095 * libio/iofopen.c: Likewise.
43096 * libio/iofopncook.c: Likewise.
43097 * libio/iofread.c: Likewise.
43098 * libio/iofread_u.c: Likewise.
43099 * libio/ioftell.c: Likewise.
43100 * libio/iofwrite.c: Likewise.
43101 * libio/iogetline.c: Likewise.
43102 * libio/iogets.c: Likewise.
43103 * libio/iogetwline.c: Likewise.
43104 * libio/iopadn.c: Likewise.
43105 * libio/iopopen.c: Likewise.
43106 * libio/ioseekoff.c: Likewise.
43107 * libio/ioseekpos.c: Likewise.
43108 * libio/iosetbuffer.c: Likewise.
43109 * libio/iosetvbuf.c: Likewise.
43110 * libio/ioungetc.c: Likewise.
43111 * libio/ioungetwc.c: Likewise.
43112 * libio/iovdprintf.c: Likewise.
43113 * libio/iovsprintf.c: Likewise.
43114 * libio/iovsscanf.c: Likewise.
43115 * libio/memstream.c: Likewise.
43116 * libio/obprintf.c: Likewise.
43117 * libio/oldfileops.c: Likewise.
43118 * libio/oldiofclose.c: Likewise.
43119 * libio/oldiofdopen.c: Likewise.
43120 * libio/oldiofopen.c: Likewise.
43121 * libio/oldiopopen.c: Likewise.
43122 * libio/oldstdfiles.c: Likewise.
43123 * libio/putc.c: Likewise.
43124 * libio/setbuf.c: Likewise.
43125 * libio/setlinebuf.c: Likewise.
43126 * libio/stdfiles.c: Likewise.
43127 * libio/strops.c: Likewise.
43128 * libio/vasprintf.c: Likewise.
43129 * libio/vscanf.c: Likewise.
43130 * libio/vsnprintf.c: Likewise.
43131 * libio/vswprintf.c: Likewise.
43132 * libio/wfiledoalloc.c: Likewise.
43133 * libio/wfileops.c: Likewise.
43134 * libio/wgenops.c: Likewise.
43135 * libio/wmemstream.c: Likewise.
43136 * libio/wstrops.c: Likewise.
43137 * libio/__fpurge.c: Likewise.
43138 * libio/__fsetlocking.c: Likewise.
43139 * assert/assert.c: Likewise.
43140 * debug/fgets_chk.c: Likewise.
43141 * debug/fgets_u_chk.c: Likewise.
43142 * debug/fread_chk.c: Likewise.
43143 * debug/fread_u_chk.c: Likewise.
43144 * debug/gets_chk.c: Likewise.
43145 * debug/obprintf_chk.c: Likewise.
43146 * debug/vasprintf_chk.c: Likewise.
43147 * debug/vdprintf_chk.c: Likewise.
43148 * debug/vsnprintf_chk.c: Likewise.
43149 * debug/vsprintf_chk.c: Likewise.
43150 * malloc/mtrace.c: Likewise.
43151 * misc/error.c: Likewise.
43152 * misc/syslog.c: Likewise.
43153 * stdio-common/asprintf.c: Likewise.
43154 * stdio-common/fxprintf.c: Likewise.
43155 * stdio-common/getw.c: Likewise.
43156 * stdio-common/isoc99_fscanf.c: Likewise.
43157 * stdio-common/isoc99_scanf.c: Likewise.
43158 * stdio-common/isoc99_vfscanf.c: Likewise.
43159 * stdio-common/isoc99_vscanf.c: Likewise.
43160 * stdio-common/isoc99_vsscanf.c: Likewise.
43161 * stdio-common/printf-prs.c: Likewise.
43162 * stdio-common/printf_fp.c: Likewise.
43163 * stdio-common/printf_fphex.c: Likewise.
43164 * stdio-common/printf_size.c: Likewise.
43165 * stdio-common/putw.c: Likewise.
43166 * stdio-common/scanf.c: Likewise.
43167 * stdio-common/sprintf.c: Likewise.
43168 * stdio-common/tmpfile.c: Likewise.
43169 * stdio-common/vfprintf.c: Likewise.
43170 * stdio-common/vfscanf.c: Likewise.
43171 * stdlib/strfmon_l.c: Likewise.
43172 * sunrpc/openchild.c: Likewise.
43173 * sunrpc/xdr_stdio.c: Likewise.
43174 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43175 * sysdeps/mach/hurd/tmpfile.c: Likewise.
43176
d6c33fda
RM
431772012-05-24 Roland McGrath <roland@hack.frob.com>
43178
c1487492
RM
43179 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43180
43181 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43182 in the third column, to generate for the shared library an IFUNC
43183 that uses _dl_vdso_vsym.
43184 * Makerules (COMPILE.c, compile-stdin.c): New variables.
43185 * Makeconfig (object-suffixes-noshared): New variable.
43186
43187 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43188 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43189 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43190 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43191
d6c33fda
RM
43192 [BZ #14132]
43193 * include/sys/time.h (__gettimeofday): Remove macro.
43194 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43195 * time/gettimeofday.c (__gettimeofday): Remove #undef.
43196 Remove INTDEF.
43197 (__gettimeofday): Add libc_hidden_def.
43198 (gettimeofday): Add libc_hidden_weak.
43199 * sysdeps/mach/gettimeofday.c: Likewise.
43200 * sysdeps/posix/gettimeofday.c: Likewise.
43201 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43202 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43203 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43204 (__gettimeofday_internal): Remove strong_alias.
43205 (__gettimeofday): Add libc_hidden_def.
43206 (gettimeofday): Add libc_hidden_weak.
43207 * sysdeps/unix/syscalls.list (gettimeofday):
43208 Remove __gettimeofday_internal alias.
43209
b5a2bbe6
L
432102012-05-24 Daniel Jacobowitz <drow@false.org>
43211 H.J. Lu <hongjiu.lu@intel.com>
43212
43213 [BZ #12495]
43214 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43215 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43216 (largebin_index_32_big): New.
43217 (largebin_index): Use it for 16-byte alignment.
43218 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43219 correction with front_misalign.
43220
cfba4fda
L
432212012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43222
7f907421
L
43223 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43225 Likewise.
43226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43227 Likewise.
43228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43229 Likewise.
43230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43231 Likewise.
43232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43233 Likewise.
43234 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43235 Likewise.
43236 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43237 Likewise.
43238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43239 Likewise.
43240 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43241 Likewise.
43242 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43243 Likewise.
43244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43245 Likewise.
43246 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43247 Likewise.
43248
cfba4fda
L
43249 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43250 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43251
80bad0cc
JM
432522012-05-24 Joseph Myers <joseph@codesourcery.com>
43253
7a25eb06
JM
43254 [BZ #10846]
43255 [BZ #14036]
43256 * math/libm-test.inc (exp_test): Add test from bug 14036.
43257 (pow_test): Add test from bug 10846.
43258
795405f9
JM
43259 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43260 and other flags.
43261 (special_function): Do not include flags in test name.
43262 (parse_args): Likewise.
43263 * sysdeps/i386/fpu/libm-test-ulps: Update.
43264 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43265 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43266 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43268
80bad0cc
JM
43269 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43270 exceptions.
43271 * math/libm-test.inc ("Philosophy"): Update comment about
43272 exception testing.
43273 (UNDERFLOW_EXCEPTION): New macro.
43274 (UNDERFLOW_EXCEPTION_OK): Likewise.
43275 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43276 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43277 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43278 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43279 (INVALID_EXCEPTION_OK): Update value.
43280 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43281 (OVERFLOW_EXCEPTION_OK): Likewise.
43282 (IGNORE_ZERO_INF_SIGN): Likewise.
43283 (test_exceptions): Handle underflow exceptions.
43284 (acos_test): Update for underflow exception expectations.
43285 (cexp_test): Likewise.
43286 (clog_test): Likewise.
43287 (clog10_test): Likewise.
43288 (csqrt_test): Likewise.
43289 (ctan_test): Likewise.
43290 (ctanh_test): Likewise.
43291 (exp_test): Likewise.
43292 (exp10_test): Likewise.
43293 (exp2_test): Likewise.
43294 (expm1_test): Likewise.
43295 (fma_test): Likewise.
43296 (j0_test): Likewise.
43297 (jn_test): Likewise.
43298 (nexttoward_test): Likewise.
43299 (pow_test): Likewise.
43300 (scalbn_test): Likewise.
43301 (scalbln_test): Likewise.
43302 (tan_test): Likewise.
43303 (y1_test): Likewise.
43304 * sysdeps/i386/fpu/libm-test-ulps: Update.
43305 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43306
9e0e3d0b
DM
433072012-05-23 David S. Miller <davem@davemloft.net>
43308
43309 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43310 (__libc_sigaction): Remove unused local variables.
43311
ccd0a08f
L
433122012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43313
43314 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43315
62bdf9a6
PE
433162012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43317
f8591f80
PE
43318 mktime: avoid signed integer overflow
43319 * time/mktime.c (__mktime_internal): Do not mishandle the case
43320 where diff == INT_MIN.
43321
94c7d826
PE
43322 mktime: simplify computation of average
43323 * time/mktime.c (ranged_convert): Use new time_t_avg function
43324 instead of rolling our own (probably-slower) code.
43325
ce73d683
PE
43326 mktime: do not assume signed right shift propagates sign bit
43327 * time/mktime.c (isdst_differ): New static function.
43328 (__mktime_internal): No need to normalize tm_isdst now.
43329 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43330 tm_isdst values.
43331
72a22e59
PE
43332 mktime: merge another wrapv change from gnulib
43333 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43334 from some compilers.
43335
68605433
PE
43336 mktime: remove incorrect attempt at unusual arithmetics
43337 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43338 The code didn't really work on such machines anyway.
43339 (TYPE_MINIMUM): Assume two's complement.
43340 (twos_complement_arithmetic): Verify that long_int and time_t
43341 are two's complement (or unsigned, in the latter case).
43342
03cf7fe3
PE
43343 mktime: check signed shifts on long_int and time_t, too
43344 * time/mktime.c (SHR): Check that shifts work as desired
43345 on the types long_int and time_t too, as SHR is used on
43346 such types.
43347
f04dfbc2
PE
43348 mktime: do not assume 'long' is wide enough
43349 * time/mktime.c (verify): Move decl up.
43350 (long_int): New type.
43351 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43352 to remove assumption in the code that 'long' is wide enough to
43353 store year values. This assumption is not true on x32 and on
43354 some non-glibc platforms.
43355
62bdf9a6
PE
43356 mktime: merge wrapv change from gnulib
43357 * time/mktime.c (WRAPV): New macro.
43358 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43359 (guess_time_tm, __mktime_internal): Do not assume that signed
43360 integer overflow wraps around; modern compilers generate code
43361 where this assumption is no longer valid.
43362
5e292e4f
L
433632012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43364
43365 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43366 Replace "jmp L(pseudo_end)" with "ret".
43367 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43368 Likewise.
43369
8caf8c87
AJ
433702012-05-23 Andreas Jaeger <aj@suse.de>
43371
43372 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43373 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43374
1a09dc56
AJ
433752012-05-23 Andreas Jaeger <aj@suse.de>
43376 Maximilian Attems <max@stro.at>
43377
43378 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43379 New macros.
43380
1c87aba0
L
433812012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43382
43383 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43384 code so that pseudo_end is just ret and the stack pointer is
43385 correct also for static library in error case.
43386
40e45bd5
JM
433872012-05-23 Joseph Myers <joseph@codesourcery.com>
43388
c2670533
JM
43389 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43390 move to syscalls.list.
43391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43395
40e45bd5
JM
43396 * manual/install.texi (Running make install): Do not mention Linux
43397 kernel version for which pt_chown is not needed.
43398 (Linux): Do not mention problems with nscd with 2.0 kernels.
43399 * INSTALL: Regenerated.
43400
be08eda5
AJ
434012012-05-23 Andreas Jaeger <aj@suse.de>
43402
43403 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43404 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43405 macro.
43406 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43407 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43408 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43409 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43410 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43411 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43412 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43413 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43414 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43415 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43416 * sysdeps/unix/sysv/linux/bits/in.h
43417 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43418
a6a056bb
RM
434192012-05-22 Roland McGrath <roland@hack.frob.com>
43420
43421 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43422 (PREPARE_VERSION): Just use assert instead, it will be elided
43423 under [NDEBUG] anyway.
43424
c9009328
L
434252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43426
43427 * sysdeps/unix/sysv/linux/Makefile: Include
43428 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 43429 (sysdep_routines): Remove sysctl.
c9009328
L
43430 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43431 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43432 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43433 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43434 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43435
73338355
AJ
434362012-05-22 Andreas Jaeger <aj@suse.de>
43437
43438 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43439 that pseudo_end is just ret and the stack pointer is correct also
43440 for static library in error case.
43441
d44638b0
PP
434422012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43443
43444 [BZ #14122]
43445 * nss/nsswitch.c (defconfig_entries): New variable.
43446 (__nss_database_lookup): Don't leak defconfig entries.
43447 (nss_parse_service_list): Don't leak on error paths.
43448 (free_database_entries): New function.
43449 (free_defconfig): New function.
43450 (free_mem): Move common code to free_database_entries.
43451
31a39bd8
L
434522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43453
da0331a8
L
43454 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43455 Add arch_prctl.
43456 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43457
31a39bd8
L
43458 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43459 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43460 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43461 New macro.
43462 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43463 (INTERNAL_SYSCALL_TYPES): Likewise.
43464 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43465 (LOAD_REGS_TYPES_[1-6]): Likewise.
43466 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43467 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43468
45470df3
AZ
434692012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43470
43471 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43472 copysignl for GLIBC_2_0.
43473 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43474 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43475 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43476 logbl for GLIBC_2_0.
43477 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43478 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43479
98a61bcb
L
434802012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43481
a4f6e481
L
43482 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43483 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43484
f63d5db6
L
43485 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43486 Use "neg %eax".
43487
98a61bcb
L
43488 * time/mktime.c: Update copyright years.
43489
95770f14
PE
434902012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43491
6226efbd
PE
43492 mktime: merge comment-quoting-style change from gnulib
43493 * time/mktime.c: Quote 'like this' in comments.
43494 The GNU coding standards suggest that we no longer quote `like this',
43495 as "`" and "'" are typically rendered asymmetrically nowadays.
43496 The typical gnulib style is to quote 'like this' when quoting
43497 code, and "like this" when quoting English.
43498
b99e4f78
PE
43499 * time/mktime.c (compile-command): Add "-I.".
43500
643e01e6
PE
43501 mktime: merge mktime-internal.h change from gnulib
43502 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43503
2554247d
PE
43504 mktime: merge time_r change from gnulib
43505 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43506
826dd0ab
PE
43507 mktime: merge DEBUG change from gnulib
43508 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43509 case system <time.h> has a #define.
43510
bd83aabe
PE
43511 mktime: merge <sys/types.h> change from gnulib
43512 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43513 since <time.t> is now guaranteed to define time_t.
43514
95770f14
PE
43515 mktime: merge HAVE_CONFIG_H change from gnulib
43516 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43517
5e1a27a9
L
435182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43519
0e44a77e
L
43520 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43521 Use "neg %eax".
43522
5e1a27a9
L
43523 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43524 __rlim_t cast.
43525 (struct rusage): Use anonymous union to pad each field to
43526 __syscall_slong_t.
43527
46259bec
DM
435282012-05-21 David S. Miller <davem@davemloft.net>
43529
43530 * Makefules (o-iterator): Remove .s cases.
43531 (compile-command.s): Delete.
43532 (COMPILE.s): Delete.
43533 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43534
59f0c22e
JM
435352012-05-21 Joseph Myers <joseph@codesourcery.com>
43536
43537 * configure.in (libc_cv_predef_stack_protector): Only consider
43538 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43539 * configure: Regenerated.
43540
20c07380
L
435412012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43542
bbb3154b
L
43543 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43544 New macro. Use R*LP on int and pointer.
43545 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43546 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43547 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43548 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43549
20c07380
L
43550 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43551 [__WORDSIZE_TIME64_COMPAT32] instead of
43552 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43553 (struct utmp): Likewise.
43554 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43555 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43556 Renamed to ...
43557 (__WORDSIZE_TIME64_COMPAT32): This.
43558 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43559 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43560 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43561 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43562 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43563 (__WORDSIZE_TIME64_COMPAT32): New macro.
43564
d8d1017e
AJ
435652012-05-21 Andreas Jaeger <aj@suse.de>
43566
43567 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43568 only if [SHARED]. Add prototype for __wcschr_ia32.
43569
6c7fb145
RM
435702012-05-21 Roland McGrath <roland@hack.frob.com>
43571
43572 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43573 of %rbp unmolested in the jmp_buf while mangling the low bits.
43574 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43575 unmolested high bits of %rbp while demangling the low bits.
43576 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43577
66274218
AJ
435782012-05-21 Andreas Jaeger <aj@suse.de>
43579
07c58f8f
AJ
43580 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43581 * sunrpc/svc_simple.c: Use it for registerrpc.
43582 * sunrpc/xcrypt.c: Use it for passwd2des.
43583
66274218
AJ
43584 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43585
61f65140
L
435862012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43587
43588 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43589 Don't define if [__SYSCALL_WORDSIZE != 32].
43590 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43591 New macro.
43592
5fefb436
AJ
435932012-05-21 Bruno Haible <bruno@clisp.org>
43594 Andreas Jaeger <aj@suse.de>
43595
43596 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43597 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43598 inptr and inend for must_buffer_ch.
43599 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43600 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43601 * stdio-common/Makefile (tests): Remove bug15.
43602 (bug15-ENV): Remove macro.
43603 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43604 anymore.
43605
d8e272ab
AJ
436062012-05-19 Andreas Jaeger <aj@suse.de>
43607 Roland McGrath <roland@hack.frob.com>
43608
43609 * manual/contrib.texi: Completely rewritten. It contains now an
43610 alphabetical list of contributors and their contributions.
43611
4a56a162
RH
436122012-05-21 Richard Henderson <rth@twiddle.net>
43613
43614 * misc/getauxval.c (__getauxval): Use unsigned long int.
43615 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43616 (getauxval): Use unsigned long int.
43617
d024d23c
L
436182012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43619
43620 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43621
cbc00a03
RM
436222012-05-21 Roland McGrath <roland@hack.frob.com>
43623
43624 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43625 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43626 __alignof__ (long double).
43627
478143fa
AZ
436282012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43629
43630 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43631
c7683a6d
RH
436322012-05-20 Richard Henderson <rth@twiddle.net>
43633
43634 * misc/getauxval.c: New file.
43635 * misc/sys/auxv.h: New file.
43636 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43637 (routines): Add getauxval.
43638 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43639 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43640 * elf/dl-sysdep.c (_dl_auxv): Remove.
43641 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43642 * elf/dl-support.c (_dl_auxv): New variable.
43643 (_dl_aux_init): Initialize it.
43644 * manual/startup.texi (Auxiliary Vector): New node.
43645 * sysdeps/generic/bits/hwcap.h: New file.
43646 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43647 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43648 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43649 * sysdeps/sparc/sysdep.h: ... here. Include it.
43650 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43651 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43653 Update.
c7683a6d
RH
43654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43655 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43657 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43658 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43659 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43660 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43661 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43662
a6f1845d
AZ
436632012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43664
43665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43666
cbcbe830
DM
436672012-05-19 David S. Miller <davem@davemloft.net>
43668
43669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43670
e0b16cc2
JM
436712012-05-19 Joseph Myers <joseph@codesourcery.com>
43672
43673 [BZ #14123]
43674 * math/s_ccosh.c: Include <float.h>
43675 (__ccosh): Avoid internal overflow calculating sinh and cosh
43676 values before multiplying by sin and cos values.
43677 * math/s_ccoshf.c: Likewise.
43678 * math/s_ccoshl.c: Likewise.
43679 * math/s_csin.c: Likewise.
43680 * math/s_csinf.c: Likewise.
43681 * math/s_csinl.c: Likewise.
43682 * math/s_csinh.c: Likewise.
43683 * math/s_csinhf.c: Likewise.
43684 * math/s_csinhl.c: Likewise.
43685 * math/libm-test.inc (ccos_test): Add more tests.
43686 (ccosh_test): Likewise.
43687 (csin_test): Likewise.
43688 (csinh_test): Likewise.
43689 * sysdeps/i386/fpu/libm-test-ulps: Update.
43690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43691
6ad13e08
L
436922012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43693
f66f0ce8
L
43694 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43695 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43696
6ad13e08
L
43697 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43698
b1d072a7
JM
436992012-05-19 Joseph Myers <joseph@codesourcery.com>
43700
43701 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43702 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43703 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43704 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43705 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43706 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43707 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43708 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43709 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43710 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43711 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43712 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43713 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43714 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43715 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43716 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43717 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43718 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43719 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43720 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43721 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43722 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43723 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43724 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43725 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43726 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43727 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43728 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43729 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43730 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43731 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43732
9eae47cb
AJ
437332012-05-18 Andreas Jaeger <aj@suse.de>
43734
43735 * csu/.gitignore: Delete.
43736
bb07f69f
L
437372012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43738
43739 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43740 (timex): Use __syscall_slong_t.
43741
e6bdb741
AJ
437422012-05-18 Andreas Jaeger <aj@suse.de>
43743 Carlos O'Donell <carlos_odonell@mentor.com>
43744
43745 * manual/install.texi (Configuring and compiling): Update
43746 description about files modified in the source directory.
d6c33fda 43747 * INSTALL: Regenerated.
e6bdb741 43748
1b74487e
L
437492012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43750
43751 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43752 value. Use "or" to set return value to -1.
43753 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43754 negate return value.
43755
a88b64b9
TMQMF
437562012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43757
57f41c40
AS
43758 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43759 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43760 failure if the compiler has Graphite support disabled.
43761 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43762 Likewise.
57f41c40
AS
43763 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43764 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43765 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43766 Likewise.
43767
3707636e
L
437682012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43769
610b8622
L
43770 * sysdeps/x86_64/x32/_itoa.h: New file.
43771
7cd195df
L
43772 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43773 getdents system call only if kernel and user dirents have the
43774 same d_ino and d_off.
43775
94b07d20
L
43776 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43777 LLONG_MAX != LONG_MAX.
43778 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43779 (_fitoa_word): Likewise.
43780
18298070
L
43781 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43782 years.
43783 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43784 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43785 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43786
553c7ea4
L
43787 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43788 include <bits/wordsize.h>. Check __x86_64__ instead of
43789 __WORDSIZE.
43790 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43791 if __x86_64__ is defined. Use anonymous union on fpstate.
43792
3707636e
L
43793 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43794 anonymous union.
43795
b53ef01a
AS
437962012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43797
37fb1dc0
AS
43798 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43799 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43800 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43801 Refer to _rtld_local_ro instead of _rtld_global_ro.
43802 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43803 Likewise.
43804 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43805 Likewise.
43806 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43807 Likewise.
43808 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43809 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43810 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43811
b53ef01a
AS
43812 * sysdeps/powerpc/powerpc32/dl-machine.c
43813 (__elf_machine_runtime_setup) [PROF]: Don't reference
43814 _dl_prof_resolve.
43815
7a185db2
AJ
438162012-05-18 Andreas Jaeger <aj@suse.de>
43817
43818 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43819 function only available for GCCs before 3.4 since GCC 3.4
43820 introduced a builtin.
43821 (lrint): Likewise.
43822 (llrintf): Likewise.
43823 (llrint): Likewise.
43824 (fmaxf): Likewise.
43825 (fmax): Likewise.
43826 (fminf): Likewise.
43827 (fmin): Likewise.
43828 (rint): Likewise.
43829 (rintf): Likewise.
43830 (nearbyint): Likewise.
43831 (nearbyintf): Likewise.
43832 (ceil): Likewise.
43833 (ceilf): Likewise.
43834 (floor): Likewise.
43835 (floorf): Likewise.
43836
3e5aef87
L
438372012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43838
428bd707
L
43839 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43840 on both fields and cast pointer to __syscall_ulong_t.
43841
3e5aef87
L
43842 * bits/types.h (__fsword_t): New type.
43843 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43844 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43845 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43846 (__FSWORD_T_TYPE): Likewise.
43847 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43848 (__FSWORD_T_TYPE): Likewise.
43849 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43850 (__FSWORD_T_TYPE): Likewise.
43851 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43852 (__FSWORD_T_TYPE): Likewise.
43853 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43854 __SWORD_TYPE with __fsword_t.
43855 (statfs64): Likewise.
43856
1ba7c3dc
DM
438572012-05-17 David S. Miller <davem@davemloft.net>
43858
43859 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43860
59910343
AJ
438612012-05-17 Andreas Jaeger <aj@suse.de>
43862
43863 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43864 warning.
43865
2e4c1e9e
L
438662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43867
43868 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43869
de7f5ce7
AJ
438702012-05-17 Andreas Jaeger <aj@suse.de>
43871
43872 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43873 when it is used.
43874
286abc3d
CM
438752012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43876
43877 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43878
477cc68e
L
438792012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43880
43881 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43882 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43883
1a0994f5
CD
438842012-05-17 Andreas Jaeger <aj@suse.de>
43885 Carlos O'Donell <carlos_odonell@mentor.com>
43886
43887 [BZ #14059]
43888 * sysdeps/x86_64/multiarch/init-arch.h
43889 (bit_YMM_Usable): Rename to...
43890 (bit_AVX_Usable): ... this.
43891 (bit_FMA4_Usable): New macro.
43892 (bit_XMM_state): New macro.
43893 (bit_YMM_state): New macro.
43894 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43895 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43896 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43897 (CPUID_OSXSAVE): New macro.
43898 (CPUID_AVX): New macro.
43899 (CPUID_FMA4): New macro.
43900 (index_YMM_Usable): Rename to...
43901 (index_AVX_Usable): ... this.
43902 (HAS_AVX): Use HAS_ARCH_FEATURE.
43903 (HAS_FMA4): Likewise.
43904 (HAS_YMM_USABLE): Remove.
43905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43906 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43907 are present.
43908 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43909 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43910 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43911 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43912 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43913
0af797de
CM
439142012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43915
43916 * math/libm-test.c: Support platforms without multiple rounding modes.
43917 * math/bug-nextafter.c: Support platforms without FP exceptions.
43918 * math/bug-nexttoward.c: Likewise.
43919 * math/test-fenv.c: Likewise.
43920 * math/test-misc.c: Likewise.
43921 * stdlib/bug-getcontext.c: Likewise.
43922
e39745ff
AJ
439232012-05-17 Andreas Jaeger <aj@suse.de>
43924
43925 * manual/examples/search.c (critter_cmp): Change signature to
43926 avoid warnings.
43927 * manual/string.texi (Collation Functions): Likewise.
43928
48970aba
L
439292012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43930
43931 * bits/types.h: Fold copyright years.
43932 * bits/typesizes.h: Likewise.
43933 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43934 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43935 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43936 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43937 * time/time.h: Likewise.
43938
bedee953
PP
439392012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43940
43941 [BZ #208]
43942 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43943 in instead of returning them. Return void.
43944 (__libc_mallinfo): Accumulate over all arenas.
43945 (__malloc_stats): Adjust for change in int_mallinfo interface.
43946
61653dfb
RM
439472012-05-16 Roland McGrath <roland@hack.frob.com>
43948
30b99d79
RM
43949 [BZ #10375]
43950 * configure.in (NM): Add AC_CHECK_TOOL for it.
43951 (libc_extra_cflags): New substituted variable.
43952 Check for -fstack-protector being used implicitly.
43953 * configure: Regenerated.
43954 * config.make.in (config-extra-cflags): New variable,
43955 gets @libc_extra_cflags@.
43956 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
43957
61653dfb
RM
43958 [BZ #10375]
43959 * configure.in: Check for _FORTIFY_SOURCE being predefined.
43960 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
43961 * configure: Regenerated.
43962 * config.make.in (CPPUNDEFS): New substituted variable.
43963 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
43964 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
43965 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
43966
661768bb
L
439672012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43968
43969 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
43970 (mq_attr): Use __syscall_slong_t.
43971
d4261567
L
439722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43973
43974 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
43975 Check __x86_64__ instead of __WORDSIZE.
43976 (_STAT_VER_LINUX): Likewise.
43977 (stat): Check __x86_64__ instead of __WORDSIZE. Use
43978 __syscall_ulong_t and __syscall_slong_t.
43979 (stat64): Likewise.
43980
cf3ff365
L
439812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43982
43983 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
43984
76cf3e4d
L
439852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43986
43987 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
43988
a637753a
L
439892012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43990
43991 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
43992 __syscall_ulong_t.
43993
d5e05119
L
43994 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
43995 include <bits/wordsize.h>. Check __x86_64__ instead of
43996 __WORDSIZE.
43997 (greg_t): Use "__extension__ long long int" if __x86_64__ is
43998 defined.
43999 (mcontext_t): Replace "unsigned long" with "unsigned long long".
44000
f62ee380
L
44001 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44002 include <bits/wordsize.h>. Check __x86_64__ instead of
44003 __WORDSIZE.
44004 (user_regs_struct): Use "__extension__ unsigned long long"
44005 instead of "unsigned long" if __x86_64__ is defined.
44006 (user): Likewise. Pad after pointer field if __ILP32__ is
44007 defined.
44008
4e124ced
JM
440092012-05-16 Joseph Myers <joseph@codesourcery.com>
44010
6a3951a0
JM
44011 * configure.in (makeinfo): Require version 4.5 or later. Allow
44012 versions 5 to 9.
44013 * configure: Regenerated.
44014 * manual/install.texi (texinfo): Increase version requirement to
44015 4.5 or later.
44016 * INSTALL: Regenerated.
44017
4e124ced
JM
44018 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44019
953ca31a
L
440202012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44021
44022 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44023
617aca05
L
44024 * sysdeps/x86_64/x32/ffs.c: New file.
44025
5762f7ae
L
44026 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44027 __syscall_ulong_t.
44028 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44029 defined. Use __syscall_ulong_t.
44030 (shminfo): Use __syscall_ulong_t.
44031 (shm_info): Likewise.
44032
a26b6856
L
44033 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44034 __syscall_ulong_t.
44035
cb2b9ef7
L
44036 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44037 <bits/wordsize.h>.
44038 (msgqnum_t): Use __syscall_ulong_t.
44039 (msglen_t): Likewise.
44040 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
44041 __syscall_ulong_t.
44042
34683bb0
L
44043 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44044 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44045
84a68786
L
44046 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44047
48baa5f1
L
44048 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44049 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44050
180be88b
L
44051 * sysvipc/sys/msg.h (msgbuf): Replace long int with
44052 __syscall_slong_t.
44053
5e90c8ad
L
44054 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44055 include <bits/wordsize.h>. Check __x86_64__ instead of
44056 __WORDSIZE.
44057
23dfb58b
L
44058 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44059 "unsigned long long int" if __x86_64__ is defined.
44060 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44061
ce5d54b0
L
44062 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44063 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44064 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44065
13dc9eac
L
44066 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44067 <stdint.h>.
44068 (GET_PC): Cast to uintptr_t first.
44069 (GET_FRAME): Likewise.
44070 (GET_STACK): Likewise.
44071
a7895d15
L
44072 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44073 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44074 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44075 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44076 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44077 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44078 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44079 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44080 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44081 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44082 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44083 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44084 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44085 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44086 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44087 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44088 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44089 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44090 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44091 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44092 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44093 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44094 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44095 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44096 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44097 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44098 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44099 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44100 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44101
656416c9
AS
441022012-05-16 Andreas Schwab <schwab@linux-m68k.org>
44103
5bd66283
AS
44104 * Makerules (+depfiles): Also collect depfiles from .oS in
44105 $(extra-objs).
44106 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44107 .oS, $(libnldbl-routines)).
44108
656416c9
AS
44109 * Makerules (native-compile-mkdep-flags): Define.
44110 * sunrpc/Makefile (extra-objs): Add $(addprefix
44111 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44112 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44113 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
44114 calling $(make-target-directory).
44115
a46f2169
L
441162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44117
44118 * bits/types.h (__snseconds_t): Removed.
44119 * time/time.h (struct timespec): Replace __snseconds_t with
44120 __syscall_slong_t.
44121 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44122 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44123 Likewise.
44124 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44125 (__SNSECONDS_T_TYPE): Likewise.
44126 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44127 (__SNSECONDS_T_TYPE): Likewise.
44128 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44129 (__SNSECONDS_T_TYPE): Likewise.
44130
6af6528b
L
441312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44132
44133 * sysdeps/mach/hurd/bits/typesizes.h
44134 (__SYSCALL_SLONG_TYPE): New macro.
44135 (__SYSCALL_ULONG_TYPE): Likewise.
44136
de986b56
L
441372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44138
44139 * bits/types.h (__syscall_slong_t): New type.
44140 (__syscall_ulong_t): Likewise.
44141
44142 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44143 (__SYSCALL_ULONG_TYPE): Likewise.
44144 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44145 (__SYSCALL_SLONG_TYPE): Likewise.
44146 (__SYSCALL_ULONG_TYPE): Likewise.
44147 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44148 (__SYSCALL_SLONG_TYPE): Likewise.
44149 (__SYSCALL_ULONG_TYPE): Likewise.
44150 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44151 (__SYSCALL_SLONG_TYPE): Likewise.
44152 (__SYSCALL_ULONG_TYPE): Likewise.
44153
85736dc7
L
441542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44155
44156 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44157 Add sigaltstack-offsets.sym.
44158 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44159 <sigaltstack-offsets.h>.
44160 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
44161 longjmp_msg pointer.
44162 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
44163 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44164 signal stack.
44165 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44166
cc03b296
JM
441672012-05-15 Joseph Myers <joseph@codesourcery.com>
44168
a9538892
JM
44169 * elf/stackguard-macros.h: Remove file.
44170 * sysdeps/generic/stackguard-macros.h: New file.
44171 * sysdeps/i386/stackguard-macros.h: Likewise.
44172 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44173 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44174 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44175 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44176 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44177 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44178 * sysdeps/x86_64/stackguard-macros.h: Likewise.
44179 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44180 <elf/stackguard-macros.h>.
44181
cc03b296
JM
44182 [BZ #14109]
44183 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44184 __aligned__ in attribute.
44185 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44186 (gregset_t): Likewise.
44187
93171016
L
441882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44189
44190 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44191 * sysdeps/x86_64/64/Implies-after: Here. New file.
44192 * sysdeps/x86_64/x32/Implies-after: New file.
44193
d86813a0
L
441942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44195
44196 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44197 and access return value for _dl_profile_fixup. Use R10_LP to
44198 load frame size.
44199
2953ec75
L
442002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44201
44202 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44203
3b550e9e
L
442042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44205
44206 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44207 * sysdeps/x86_64/x32/sysdep.h: New file.
44208
eda41706
L
442092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44210
44211 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44212 * sysdeps/x86_64/setjmp.S: Likewise.
44213
9ea01d93
AZ
442142012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44215
44216 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44217 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44218 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44219 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44220 remove unused global constant.
44221
02a91938
CM
442222012-05-15 Chris Metcalf <cmetcalf@tilera.com>
44223
44224 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44225 include of <not-cancel.h>.
44226
6540185f
RM
442272012-05-15 Roland McGrath <roland@hack.frob.com>
44228
44229 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44230
509072a0
AJ
442312012-05-15 Jeff Law <law@redhat.com>
44232 Andreas Jaeger <aj@suse.de>
44233
44234 [BZ #13594]
44235 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44236 out from...
44237 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44238 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44239 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44240 code changing __hst_map_handle.map.
44241
ba75122d
RM
442422012-05-15 Roland McGrath <roland@hack.frob.com>
44243
44244 * configure.in (sysnames): Look for Implies-before and Implies-after
44245 files.
44246 * configure: Regenerated.
44247
890d8bd8
L
442482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44249
44250 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44251 8-byte data alignment with LP_SIZE alignment.
44252
f6ee6623
L
442532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44254
44255 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44256 into R10_LP.
44257
ea2626f6
L
442582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44259
44260 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44261
085f715e
L
442622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44263
44264 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44265 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44266 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44267 Likewise.
44268 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44269
be8498fc
L
442702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44271
44272 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44273 (stackinfo_sub_sp): Likewise.
44274
70bc83b9
L
442752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44276
44277 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44278 RAX_LP.
44279
9bc0b730
L
442802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44281
44282 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44283 into R*_LP.
44284
6d2850e7
L
442852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44286
44287 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44288 sizes into R*_LP.
44289
3cb84561
L
442902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44291
44292 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44293
54e2ed81
L
442942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44295
44296 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44297 into R11_LP and load __x86_64_shared_cache_size_half into
44298 R8_LP.
44299
8a17f349
L
443002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44301
44302 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44303 R8_LP.
44304
777b1eea
AZ
443052012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44306
44307 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44308 logb for POWER7.
44309 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44310 logbf for POWER7.
44311 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44312 logbl for POWER7.
44313 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44314 powerpc32/power7/fpu/s_logb.c via #include.
44315 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44316 powerpc32/power7/fpu/s_logbf.c via #include.
44317 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44318 powerpc32/power7/fpu/s_logbl.c via #include.
44319
d20d4ac2
JM
443202012-05-15 Joseph Myers <joseph@codesourcery.com>
44321
44322 * README.libm: Remove file.
44323
6cdef1ab
L
443242012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44325
44326 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44327 count for x32. Use R*_LP and omit operand-size suffix.
44328
0b254d8f
L
443292012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44330
44331 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44332 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44333 * sysdeps/x86_64/x32/shlib-versions: New file.
44334
ceb809dc
RM
443352012-05-14 Roland McGrath <roland@hack.frob.com>
44336
44337 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44338 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44339 Use _dl_fatal_printf instead.
44340
37f1abd4
JM
443412012-05-14 Joseph Myers <joseph@codesourcery.com>
44342
44343 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44344 set if not set by the user. Do not allow for being unset.
44345 * sysdeps/unix/sysv/linux/configure: Regenerated.
44346
11de3a33
L
443472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44348
44349 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44350 the `q' suffix from lea and replace .quad with ASM_ADDR.
44351
e02f153a
L
443522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44353
44354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44355 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44356 instead of $17.
44357 (PTR_DEMANGLE): Likewise.
44358
520ae0fd
L
443592012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44360
44361 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44362 (LP_OP): Likewise.
44363 (ASM_ADDR): Likewise.
44364 (RAX_LP): Likewise.
44365 (RBP_LP): Likewise.
44366 (RBX_LP): Likewise.
44367 (RCX_LP): Likewise.
44368 (RDI_LP): Likewise.
44369 (RSI_LP): Likewise.
44370 (RSP_LP): Likewise.
44371 (R8_LP): Likewise.
44372 (R9_LP): Likewise.
44373 (R10_LP): Likewise.
44374 (R10_LP): Likewise.
44375 (R11_LP): Likewise.
44376 (R12_LP): Likewise.
44377 (R13_LP): Likewise.
44378 (R14_LP): Likewise.
44379 (R15_LP): Likewise.
44380
b985be81
L
443812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44382
44383 * sysdeps/x86_64/x32/dl-machine.h: New file.
44384
6a4888ff
AJ
443852012-05-14 Andreas Jaeger <aj@suse.de>
44386
44387 * manual/Makefile (subdir): Remove export of subdir.
44388 (all): Remove target.
44389 (.PHONY): Remove all from list.
44390 (mkinstalldirs): Remove.
44391 (.PHONY): Remove installdirs from list.
44392 ($(inst_infodir)/libc.info): Use make-target-directory.
44393 (installdirs): Remove.
44394 (subdir_%): Remove.
44395 (glibc-targets): Remove.
44396 (lib): Remove.
44397 (stubs): Remove.
44398 ($(objpfx)stubs ../po/manual.pot): Remove.
44399 ($(objpfx)stamp%): Remove.
44400 (make-target-directory): Remove.
44401 (subdir_install): Remove.
44402 (routines): Remove.
44403 (aux): Remove.
44404 (sources): Remove.
44405 (objects): Remove.
44406 (headers): Remove.
44407
44408 [BZ #13750]
44409 * manual/.gitignore: Remove, it's not needed anymore.
44410 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44411 all files in it.
44412 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44413 directory.
44414 (texis): Renamed to $(objpfx)texis.
44415 (texis-path): New, contains path to generated files.
44416 (chapters.%): Use texis-path for complete path, add extra argument
44417 libc-texinfo.sh.
44418 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44419 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44420 (summary,texi, stamp-summary): Use complete path of
44421 files. Generate files in build dir.
44422 (dir-add.texi): Build in build dir.
44423 (libm-err.texi,stamp-libm-err): Likewise.
44424 (version.texi, stamp-version): Likewise.
44425 (.%c.texi): Likewise.
44426 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44427 (mostlyclean): Remove target.
44428 (realclean): Remove target.
44429 (generated): Add new variable with contents from mostlyclean and
44430 realclean, remove entries duplicated in common-mostlyclean, add
44431 stamp-libm-err and stamp-version.
44432 (generated-dirs): Add libc directory.
44433 ($(inst_infodir)/libc.info): Install files from build dir.
44434
44435 * manual/install.texi (Configuring and compiling): Adjust since
44436 the info files are not part of the tar ball anymore.
44437
7ac77294
AJ
444382012-05-14 Andreas Jaeger <aj@suse.de>
44439
44440 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44441 variable.
44442
ffb7875d
JM
444432012-05-14 Joseph Myers <joseph@codesourcery.com>
44444
44445 [BZ #13717]
44446 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44447 to 2.2.0 where earlier.
44448 * sysdeps/unix/sysv/linux/configure: Regenerated.
44449 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44450 Remove conditional code.
44451 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44452 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44453 Remove conditional code.
44454 [!__NR_lchown]: Likewise.
44455 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44456 [__NR_lchown]: Likewise.
44457 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44458 comment referencing __ASSUME_LCHOWN_SYSCALL.
44459 * sysdeps/unix/sysv/linux/i386/sigaction.c
44460 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44461 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44462 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44463 Remove conditional code.
44464 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44465 (__protocol_available): Remove #if 0 code.
44466 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44467 conditional code.
44468 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44469 * sysdeps/unix/sysv/linux/kernel-features.h
44470 (__ASSUME_GETCWD_SYSCALL): Don't define.
44471 (__ASSUME_REALTIME_SIGNALS): Likewise.
44472 (__ASSUME_PREAD_SYSCALL): Likewise.
44473 (__ASSUME_PWRITE_SYSCALL): Likewise.
44474 (__ASSUME_POLL_SYSCALL): Likewise.
44475 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44476 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44477 non-SPARC.
44478 (__ASSUME_SIOCGIFNAME): Don't define.
44479 (__ASSUME_MSG_NOSIGNAL): Likewise.
44480 (__ASSUME_SENDFILE): Define unconditionally.
44481 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44482 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44483 conditional code.
44484 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44485 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44486 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44487 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44488 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44489 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44490 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44492 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44493 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44495 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44496 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44498 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44499 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44501 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44502 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44503 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44504 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44505 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44507 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44508 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44510 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44511 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44513 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44514 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44515 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44516 Remove conditional code.
44517 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44518 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44519 Remove conditional code.
44520 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44521 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44522 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44523 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44524 Remove conditional code.
44525 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44526 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44527 Remove conditional code.
44528 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44529 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44530 Remove conditional code.
44531 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44532 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44533 Remove conditional code.
44534 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44535 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44536 Remove conditional code.
44537 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44538 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44539 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44540 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44541 * sysdeps/unix/sysv/linux/sigaction.c
44542 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44543 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44544 * sysdeps/unix/sysv/linux/sigpending.c
44545 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44546 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44547 * sysdeps/unix/sysv/linux/sigprocmask.c
44548 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44549 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44550 * sysdeps/unix/sysv/linux/sigsuspend.c
44551 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44552 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44553 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44554 (__libc_missing_rt_sigs): Remove.
44555 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44556 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44557 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44558 Remove conditional code.
44559 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44560 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44561 return 1.
44562 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44563 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44564 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44565 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44566
1bfb7291
AJ
445672012-05-14 Andreas Jaeger <aj@suse.de>
44568
caae5a81
AJ
44569 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44570 it's not used in glibc.
44571 (__coshm1): Likewise.
44572 (__acosh1p): Likewise.
44573 (__sgn): Likewise.
44574
1bfb7291
AJ
44575 * manual/string.texi (Copying and Concatenation): Add missing
44576 variable in concat example.
44577 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44578
c044d724
L
445792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44580
144c5467 44581 [BZ #14103]
c044d724
L
44582 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44583 __builtin_clzl with __builtin_clzll.
44584
2523c62b
L
445852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44586
44587 [BZ #14104]
44588 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44589 libc_freeres_ptr.
44590
d7bb4c42
LD
445912012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44592
44593 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44594 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44595 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44596 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44597
9dc4e1fb
MF
445982012-05-14 Mike Frysinger <vapier@gentoo.org>
44599
44600 * NEWS: Update ia64 info.
44601
c7df0112
AS
446022012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44603
44604 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44605 used as bcopy.
44606
dc70356c
TS
446072012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44608
44609 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44610 * sysdeps/unix/syscalls.list (dup3): Likewise.
44611 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44612 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44613
9fb1a21f
L
446142012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44615
44616 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44617 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44618
4822a2a5
L
446192012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44620
44621 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44622 thread pointer.
44623 (TLS_IE): Use mov/add instead of movq/addq to load thread
44624 pointer.
44625 (TLS_GD_PREFIX): New.
44626 (TLS_GD): Use it.
44627
842b81d6
DM
446282012-05-11 David S. Miller <davem@davemloft.net>
44629
44630 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44631 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44632 (_FPU_SETCW): Likewise.
44633
1cf463cd
L
446342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44635
44636 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44637 is 32-byte aligned.
44638
60cc4a18
AS
446392012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44640
44641 [BZ #11837]
44642 * iconvdata/gb18030.c: Update tables.
44643 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44644 characters specially.
44645 (BODY for TO_LOOP): Add encoding of missing ranges.
44646
febb44a4
TS
446472012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44648
44649 [BZ #13673]
44650 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44651 * sysdeps/mach/hurd/dup3.c: Likewise.
44652 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44653 * sysdeps/powerpc/memmove.c:: Likewise.
44654
0a10fb9e
L
446552012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44656
44657 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44658 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44659
df8a552f
L
446602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44661
44662 * elf/elf.h (R_X86_64_RELATIVE64): New.
44663 (R_X86_64_NUM): Updated.
44664 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44665 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44666 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44667 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44668 tst-quad1pie tst-quad2pie
44669 (modules-names): Add tst-quadmod1 tst-quadmod2.
44670 ($(objpfx)tst-quad1): New dependency.
44671 ($(objpfx)tst-quad2): Likewise.
44672 ($(objpfx)tst-quad1pie): Likewise.
44673 ($(objpfx)tst-quad2pie): Likewise.
44674 * sysdeps/x86_64/tst-quad1.c: New file.
44675 * sysdeps/x86_64/tst-quad1pie.c: New file.
44676 * sysdeps/x86_64/tst-quad2.c: Likewise.
44677 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44678 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44679 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44680 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44681 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44682
f34d6f84
ST
446832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44684
f42d41d1
ST
44685 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44686 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44687 * streams/stropts.h (t_scalar_t): Define type.
44688
3c3571fc
ST
44689 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44690 (_PATH_PRESERVE): Set to "/var/lib".
44691 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44692
61f06bd3
ST
44693 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44694 instead of int.
44695
918d4d71
ST
44696 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44697 if __dir_mkfile succeeded.
44698
f34d6f84
ST
44699 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44700 checking for _hurd_dtablesize. Unlock it right after having
44701 finished _hurd_dtable allocation.
44702
10589b4a
TS
447032012-05-10 Thomas Schwinge <thomas@schwinge.name>
44704
674cdbc7
TS
44705 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44706 * sysdeps/mach/hurd/configure: Regenerated.
44707 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44708 special-casing to...
44709 * sysdeps/gnu/configure.in: ... this new file.
44710 * sysdeps/unix/sysv/linux/configure: Regenerated.
44711 * sysdeps/gnu/configure: New generated file.
44712
8e41b99f
TS
44713 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44714 for Linux: use nsec instead of usec, as well as:
44715 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44716 members of type struct timespec.
44717 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44718 New macros.
44719 (struct stat64): Likewise.
44720 (_STATBUF_ST_NSEC): New macro.
44721 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44722
10589b4a
TS
44723 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44724 __strtoul_internal rather than strtoul.
44725
63643c85
PT
447262012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44727
44728 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44729 and reject them.
44730
3faebe6a
ST
447312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44732
44733 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44734 which preserves existing values.
44735 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44736
c6474b07
PT
447372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44738
44739 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44740 TIMEOUT values. Return EINVAL for NFDS values either negative or
44741 greater than FD_SETSIZE.
44742
1043890b
ST
447432012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44744
44745 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44746 allocated, call __vm_protect to finish enabling the existing space, and
44747 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44748 allocate the remainder.
44749
37ed8b9b
PT
447502012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44751
44752 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44753 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44754
db653660
ST
447552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44756
37ed8b9b
PT
44757 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44758 sysdeps/mach/hurd/readlink.c.
b29d4053 44759
db653660
ST
44760 * posix/tst-sysconf.c (posix_options): Only use
44761 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44762 _POSIX_SYNCHRONIZED_IO when they are defined
44763 * sysdeps/mach/hurd/bits/posix_opt.h:
44764 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44765 (_XOPEN_REALTIME): Undefine macro.
44766 (_XOPEN_REALTIME_THREADS): Undefine macro.
44767 (_XOPEN_SHM): Undefine macro.
44768 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44769 macro to -1.
44770 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44771 macro to -1.
44772 (_POSIX_ASYNC_IO): Undefine macro.
44773 (_POSIX_PRIORITIZED_IO): Undefine macro.
44774 (_POSIX_SPIN_LOCKS): Define macro to -1.
44775
ee16e894
ST
44776 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44777 SA_NODEFER, SA_RESETHAND.
44778 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44779 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44780 F_DUPFD_CLOEXEC.
44781
6103ae3b
TS
447822012-05-10 Thomas Schwinge <thomas@schwinge.name>
44783
44784 * elf/Makefile (pldd-modules): Define unconditionally.
44785
80b4e5f3
TS
447862012-05-10 Thomas Schwinge <thomas@schwinge.name>
44787
44788 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44789
edadcbd6
ST
447902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44791
44792 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44793 Return ENOENT when name is empty.
44794 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44795
80694780
TS
447962012-05-10 Thomas Schwinge <thomas@schwinge.name>
44797
1792c087
TS
44798 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44799
80694780
TS
44800 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44801
6b645f0d
ST
448022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44803
80694780
TS
44804 Fix mlock in all cases except non-readable pages.
44805 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44806 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44807
6b645f0d
ST
44808 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44809 (__mkdir): When path is `/', just fail with EEXIST.
44810 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44811
e468f8a3
TS
448122012-05-10 Thomas Schwinge <thomas@schwinge.name>
44813
44814 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44815 <sys/uio.h> (for writev).
44816 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44817 and <sys/param.h> (for MIN).
44818
a4186cff
PT
448192012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44820
44821 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44822 REQUESTED_TIME. Properly set the remaining time and return EINTR
44823 if interrupted.
44824
510bbf14
TS
448252012-05-10 Thomas Schwinge <thomas@schwinge.name>
44826
44827 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44828 Depend on against $(link-rpcuserlibs).
44829
5d5722e8
ST
448302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44831
a4186cff
PT
44832 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44833 (__libc_stack_end): Do not use attribute_relro.
44834 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44835 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44836 to libthread-provided value.
a4186cff
PT
44837 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44838 attribute_relro.
5d5722e8 44839
37233df9
TS
448402012-05-10 Thomas Schwinge <thomas@schwinge.name>
44841
be971a2b
TS
44842 [BZ #3748]
44843 * bits/libc-lock.h (__libc_once_get): New macro.
44844 * sysdeps/mach/bits/libc-lock.h: Likewise.
44845 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44846 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44847 instead of using implementation details.
44848
37233df9
TS
44849 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44850 * libio/freopen.c: Likewise.
44851 * libio/freopen64.c: Likewise.
44852 * misc/syslog.c: Likewise.
44853 * nscd/connections.c: Likewise.
44854 * nscd/netgroupcache.c: Likewise.
44855 * sysdeps/posix/getcwd.c: Likewise.
44856
38de94a5
RM
448572012-05-10 Roland McGrath <roland@hack.frob.com>
44858
44859 * math/w_ilogbf.c: Add #include <limits.h>.
44860
67530489
ST
448612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44862
a4186cff 44863 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44864 path instead of returning without unlocking.
44865
67530489
ST
44866 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44867 immediate-write ioctls.
44868 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44869
5aa3a74a
TS
448702012-05-10 Thomas Schwinge <thomas@schwinge.name>
44871
18bad2ae
TS
44872 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44873 __builtin_frame_address instead of making assumptions about the
44874 location of the return address relative to DATA. Force early load of
44875 the return address.
44876 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44877 __builtin_frame_address.
44878
5aa3a74a
TS
44879 dup3 for GNU Hurd.
44880 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44881 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44882 implement dup3 and do some further code clean-ups.
44883 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44884 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44885
ecd0de9a
ST
448862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44887
cd9fa985
ST
44888 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44889
a4186cff
PT
44890 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44891 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44892 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44893 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44894 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44895 d->port.lock.
802ca5a5 44896
a4186cff
PT
44897 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44898 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44899 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44900
bcf55240
TS
449012012-05-10 Thomas Schwinge <thomas@schwinge.name>
44902
6960eb42
TS
44903 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44904 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44905 definitions.
44906
eb43375f
TS
44907 accept4 for GNU Hurd.
44908 * include/sys/socket.h (__libc_accept4): New prototype.
44909 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44910 to implement __libc_accept4.
44911 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44912 __libc_accept4.
44913 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44914
bcf55240
TS
44915 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44916 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44917 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44918 signal-defines.sym.
44919
6178c55b
ST
449202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44921
a4186cff 44922 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44923
6f080c2f
TS
449242012-05-10 Thomas Schwinge <thomas@schwinge.name>
44925
44926 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44927 assertion on O_CLOEXEC flag.
44928 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44929 * hurd/intern-fd.c: Likewise.
44930 * hurd/port2fd.c: Likewise.
44931
bcfe3a54
ST
449322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44933
44934 [BZ #3906]
44935 * bits/in.h (IPV6_PKTINFO): Define new macro.
44936 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44937
89c9aa49
AZ
449382012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44939
44940 [BZ #13954]
44941 [BZ #13955]
44942 [BZ #13956]
44943 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
44944 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
44945 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
44946 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
44947 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
44948 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
44949 * math/libm-test.inc (logb_test) : Additional logb tests.
44950
021db4be
AJ
449512012-05-09 Andreas Schwab <schwab@linux-m68k.org>
44952 Andreas Jaeger <aj@suse.de>
44953
44954 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
44955 * configure: Regenerated.
44956 * config.h.in (LINK_OBSOLETE_RPC): New macro.
44957 * config.make.in (link-obsolete-rpc): New substituted variable.
44958 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
44959 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
44960 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44961 (shared-only-routines): Don't set it under [link-obsolete-rpc],
44962 so that libc.a contains the symbols.
44963 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
44964 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
44965 * sunrpc/auth_none.c: Likewise.
44966 * sunrpc/auth_unix.c: Likewise.
44967 * sunrpc/authdes_prot.c: Likewise.
44968 * sunrpc/authuxprot.c: Likewise.
44969 * sunrpc/clnt_gen.c: Likewise.
44970 * sunrpc/clnt_perr.c: Likewise.
44971 * sunrpc/clnt_raw.c: Likewise.
44972 * sunrpc/clnt_simp.c: Likewise.
44973 * sunrpc/clnt_tcp.c: Likewise.
44974 * sunrpc/clnt_udp.c: Likewise.
44975 * sunrpc/clnt_unix.c: Likewise.
44976 * sunrpc/des_crypt.c: Likewise.
44977 * sunrpc/des_soft.c: Likewise.
44978 * sunrpc/get_myaddr.c: Likewise.
44979 * sunrpc/key_call.c: Likewise.
44980 * sunrpc/key_prot.c: Likewise.
44981 * sunrpc/netname.c: Likewise.
44982 * sunrpc/pm_getmaps.c: Likewise.
44983 * sunrpc/pm_getport.c: Likewise.
44984 * sunrpc/pmap_clnt.c: Likewise.
44985 * sunrpc/pmap_prot.c: Likewise.
44986 * sunrpc/pmap_prot2.c: Likewise.
44987 * sunrpc/pmap_rmt.c: Likewise.
44988 * sunrpc/publickey.c: Likewise.
44989 * sunrpc/rpc_cmsg.c: Likewise.
44990 * sunrpc/rpc_common.c: Likewise.
44991 * sunrpc/rpc_dtable.c: Likewise.
44992 * sunrpc/rpc_prot.c: Likewise.
44993 * sunrpc/rpc_thread.c: Likewise.
44994 * sunrpc/rtime.c: Likewise.
44995 * sunrpc/svc.c: Likewise.
44996 * sunrpc/svc_auth.c: Likewise.
44997 * sunrpc/svc_raw.c: Likewise.
44998 * sunrpc/svc_run.c: Likewise.
44999 * sunrpc/svc_tcp.c: Likewise.
45000 * sunrpc/svc_udp.c: Likewise.
45001 * sunrpc/svc_unix.c: Likewise.
45002 * sunrpc/svcauth_des.c: Likewise.
45003 * sunrpc/xcrypt.c: Likewise.
45004 * sunrpc/xdr.c: Likewise.
45005 * sunrpc/xdr_array.c: Likewise.
45006 * sunrpc/xdr_float.c: Likewise.
45007 * sunrpc/xdr_intXX_t.c: Likewise.
45008 * sunrpc/xdr_mem.c: Likewise.
45009 * sunrpc/xdr_rec.c: Likewise.
45010 * sunrpc/xdr_ref.c: Likewise.
45011 * sunrpc/xdr_sizeof.c: Likewise.
45012 * sunrpc/xdr_stdio.c: Likewise.
45013
b5c086a2
RM
450142012-05-10 Roland McGrath <roland@hack.frob.com>
45015
45016 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45017 change. Update copyright years.
45018
6d74dd09
JM
450192012-05-10 Joseph Myers <joseph@codesourcery.com>
45020
45021 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45022
28e72501
MK
450232012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
45024 Joseph Myers <joseph@codesourcery.com>
45025 Paul Pluzhnikov <ppluzhnikov@google.com>
45026
45027 [BZ #14012]
45028 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45029 requiring rpcgen.
45030 [cross-compiling] (extra-libs): Likewise.
45031 [cross-compiling] (extra-libs-others): Likewise.
45032 [cross-compiling] (librpcsvc-routines): Likewise.
45033 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45034 [cross-compiling] (omit-deps): Likewise.
45035 (sunrpc-CPPFLAGS): New variable.
45036 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45037 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45038 (cross-rpcgen-objs): New variable.
45039 (extra-objs): Append $(cross-rpcgen-objs).
45040 ($(cross-rpcgen-objs)): New rule.
45041 ($(objpfx)cross-rpcgen): Likewise.
45042 (rpcgen-cmd): Define to use $(built-program-file). Expand
45043 comment.
45044 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45045 ($(objpfx)x%.stmp): Likewise.
45046 * sunrpc/proto.h [IS_IN_build] (_): Define.
45047 [IS_IN_build] (_libc_intl_domainname): Likewise.
45048
c8c59454
L
450492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45050
45051 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45052 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45053 and R_X86_64_TPOFF64.
45054
6f27cd16
JM
450552012-05-10 Joseph Myers <joseph@codesourcery.com>
45056
45057 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45058 sysdeps/unix/sysv/syscalls.list.
45059 (stime): Likewise.
45060 (utime): Likewise.
45061 * sysdeps/unix/sysv/syscalls.list: Remove file.
45062
02467e1c
PE
450632012-05-10 Paul Eggert <eggert@cs.ucla.edu>
45064
45065 [BZ #3440]
45066 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45067 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45068 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45069 (__LC_IDENTIFICATION): Make these macros useful in #if
45070 expressions, as required by C99.
45071
da392631
AS
450722012-05-10 Andreas Schwab <schwab@linux-m68k.org>
45073
45074 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45075 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
45076 after this.
45077
8115f29b
L
450782012-05-09 H.J. Lu <hongjiu.lu@intel.com>
45079
45080 * stdlib/longlong.h: Updated from GCC.
45081
bdd74070
AJ
450822012-05-09 Andreas Jaeger <aj@suse.de>
45083
edfe0dbe
AJ
45084 * nscd/nscd.c (run_modes): Make named enum, reorder so that
45085 default is first entry.
45086 (run_mode): Set type.
45087 (main): Remove informal message about syslog.
45088 (options): Fix typo.
45089
bcfe3a54
ST
45090 [BZ #14053]
45091 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 45092 to asm.
bcfe3a54
ST
45093 (lrint): Likewise.
45094 (llrintf): Likewise.
45095 (llrint): Likewise.
45096 (rint): Likewise.
45097 (rintf): Likewise.
45098 (nearbyint): Likewise.
45099 (nearbyintf): Likewise.
bdd74070 45100
91d8d69e
AJ
451012012-05-09 Andreas Jaeger <aj@suse.de>
45102 Pedro Alves <palves@redhat.com>
45103
45104 * nscd/nscd.c (run_mode): Use enum.
45105 (main): Cleanup coding style issue.
45106
bb90b80b
AJ
451072012-05-09 Alexandre Oliva <aoliva@redhat.com>
45108 Andreas Jaeger <aj@suse.de>
45109
bcfe3a54
ST
45110 * nscd/nscd.c (go_background): Replaced with...
45111 (run_mode): ... this.
bb90b80b 45112 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
45113 (options): Add -F --foreground.
45114 (main): Implement it.
45115 (parse_opt): Parse it.
bb90b80b 45116
1a4b75a1
AJ
451172012-05-09 Andreas Jaeger <aj@suse.de>
45118
45119 [BZ #14083]
45120 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45121 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45122 -Wconversion warning.
45123 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45124 Likewise.
45125
b1cc2472
JM
451262012-05-09 Joseph Myers <joseph@codesourcery.com>
45127
45128 * conform/data/locale.h-data (NULL): Use macro-constant. Require
45129 == 0.
45130 (LC_ALL): Use macro-int-constant.
45131 (LC_COLLATE): Likewise.
45132 (LC_CTYPE): Likewise.
45133 (LC_MESSAGES): Likewise.
45134 (LC_MONETARY): Likewise.
45135 (LC_NUMERIC): Likewise.
45136 (LC_TIME): Likewise.
45137 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45138 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45139 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45140 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45141 Specify type.
45142 [C99-based standards] (float_t): Expect type.
45143 [C99-based standards] (double_t): Expect type.
45144 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
45145 type.
45146 [C99-based standards] (HUGE_VALL): Likewise.
45147 [C99-based standards] (INFINITY): Likewise.
45148 [C99-based standards] (NAN): Likewise.
45149 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45150 [C99-based standards] (FP_NAN): Likewise.
45151 [C99-based standards] (FP_NORMAL): Likewise.
45152 [C99-based standards] (FP_SUBNORMAL): Likewise.
45153 [C99-based standards] (FP_ZERO): Likewise.
45154 [C99-based standards] (FP_FAST_FMA): Use
45155 optional-macro-int-constant. Specify type. Require == 1.
45156 [C99-based standards] (FP_FAST_FMAF): Likewise.
45157 [C99-based standards] (FP_FAST_FMAL): Likewise.
45158 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45159 [C99-based standards] (FP_ILOGBNAN): Likewise.
45160 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45161 Specify type.
45162 [C99-based standards] (MATH_ERREXCEPT): Likewise.
45163 [C99-based standards] (math_errhandling): Specify type.
45164 [ISO99 || ISO11] (signgam): Do not allow.
45165 [non-C99-based standards] (copysignf): Do not allow.
45166 [non-C99-based standards] (exp2f): Likewise.
45167 [non-C99-based standards] (log2f): Likewise.
45168 [non-C99-based standards] (modff): Allow.
45169 [non-C99-based standards] (erff): Do not allow.
45170 [non-C99-based standards] (erfcf): Likewise.
45171 [non-C99-based standards] (gammaf): Likewise.
45172 [non-C99-based standards] (hypotf): Likewise.
45173 [non-C99-based standards] (j0f): Likewise.
45174 [non-C99-based standards] (j1f): Likewise.
45175 [non-C99-based standards] (jnf): Likewise.
45176 [non-C99-based standards] (lgammaf): Likewise.
45177 [non-C99-based standards] (tgammaf): Likewise.
45178 [non-C99-based standards] (y0f): Likewise.
45179 [non-C99-based standards] (y1f): Likewise.
45180 [non-C99-based standards] (ynf): Likewise.
45181 [non-C99-based standards] (isnanf): Likewise.
45182 [non-C99-based standards] (acoshf): Likewise.
45183 [non-C99-based standards] (asinhf): Likewise.
45184 [non-C99-based standards] (atanhf): Likewise.
45185 [non-C99-based standards] (cbrtf): Likewise.
45186 [non-C99-based standards] (expm1f): Likewise.
45187 [non-C99-based standards] (ilogbf): Likewise.
45188 [non-C99-based standards] (log1pf): Likewise.
45189 [non-C99-based standards] (logbf): Likewise.
45190 [non-C99-based standards] (nextafterf): Likewise.
45191 [non-C99-based standards] (remainderf): Likewise.
45192 [non-C99-based standards] (rintf): Likewise.
45193 [non-C99-based standards] (scalbf): Likewise.
45194 [non-C99-based standards] (copysignl): Likewise.
45195 [non-C99-based standards] (exp2l): Likewise.
45196 [non-C99-based standards] (log2l): Likewise.
45197 [non-C99-based standards] (modfl): Allow.
45198 [non-C99-based standards] (erfl): Do not allow.
45199 [non-C99-based standards] (erfcl): Likewise.
45200 [non-C99-based standards] (gammal): Likewise.
45201 [non-C99-based standards] (hypotl): Likewise.
45202 [non-C99-based standards] (j0l): Likewise.
45203 [non-C99-based standards] (j1l): Likewise.
45204 [non-C99-based standards] (jnl): Likewise.
45205 [non-C99-based standards] (lgammal): Likewise.
45206 [non-C99-based standards] (tgammal): Likewise.
45207 [non-C99-based standards] (y0l): Likewise.
45208 [non-C99-based standards] (y1l): Likewise.
45209 [non-C99-based standards] (ynl): Likewise.
45210 [non-C99-based standards] (isnanl): Likewise.
45211 [non-C99-based standards] (acoshl): Likewise.
45212 [non-C99-based standards] (asinhl): Likewise.
45213 [non-C99-based standards] (atanhl): Likewise.
45214 [non-C99-based standards] (cbrtl): Likewise.
45215 [non-C99-based standards] (expm1l): Likewise.
45216 [non-C99-based standards] (ilogbl): Likewise.
45217 [non-C99-based standards] (log1pl): Likewise.
45218 [non-C99-based standards] (logbl): Likewise.
45219 [non-C99-based standards] (nextafterl): Likewise.
45220 [non-C99-based standards] (remainderl): Likewise.
45221 [non-C99-based standards] (rintl): Likewise.
45222 [non-C99-based standards] (scalbl): Likewise.
45223 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45224 [non-C99-based standards] (FP_*): Do not allow.
45225 [C99-based standards] (FP_*): Change to
45226 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45227 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45228 allow.
45229 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45230 (SIG_ERR): Likewise.
45231 [X/Open-based standards] (SIG_HOLD): Likewise.
45232 (SIG_IGN): Likewise.
45233 (SIGABRT): Use macro-int-constant. Specify type. Require
45234 positive value.
45235 (SIGFPE): Likewise.
45236 (SIGILL): Likewise.
45237 (SIGINT): Likewise.
45238 (SIGSEGV): Likewise.
45239 (SIGTER): Likewise.
45240 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45241 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45242 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45243 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45244 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45245 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45246 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45247 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45248 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45249 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45250 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45251 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45252 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45253 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45254 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45255 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45256 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45257 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45258 [X/Open-based standards] (SIGTRAP): Likewise.
45259 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45260 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45261 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45262 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45263 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45264 allow.
45265
b9f1922d
IW
452662012-05-08 Ian Wienand <ianw@vmware.com>
45267
45268 [BZ #14080]
45269 * time/tzset.c (__tzset_parse_tz): Update default rules for
45270 daylight time changes in the Energy Policy Act of 2005.
45271
1db86e88
AJ
452722012-05-09 Andreas Jaeger <aj@suse.de>
45273
45274 [BZ #13983]
45275 * elf/ldconfig.c (parse_conf): Change string to make clear that
45276 ldconfig only issued a warning if ld.so.conf does not exist.
45277
dee4a4e3
DM
452782012-05-08 David S. Miller <davem@davemloft.net>
45279
ee0db190
DM
45280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45281 movxtod instead of popping the value on the stack.
45282
dee4a4e3
DM
45283 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45284
6a43ec98
CD
452852012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45286
45287 * config.h.in: Add HAVE_ARM_PCS_VFP.
45288
05c2c961
RMG
452892012-05-08 Roland Mc Grath <roland@hack.frob.com>
45290
bcfe3a54
ST
45291 [BZ #13979]
45292 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45293 checking but the checks are disabled for any reason.
05c2c961 45294
4b30f61a
L
452952012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45296
45297 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45298 and ELF64_R_TYPE with ELFW(R_TYPE).
45299
eee2bc67
JM
453002012-05-08 Joseph Myers <joseph@codesourcery.com>
45301
7ea5391a
JM
45302 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45303 (ulimit): Likewise.
45304
eee2bc67
JM
45305 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45306 (settimeofday): Likewise.
45307
abb66a67
MF
453082012-05-08 Mike Frysinger <vapier@gentoo.org>
45309
45310 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45311 a struct th_u2 inside the union, and move tu_block/tu_code into
45312 a new th_u3 union of tu_block/tu_code inside of that. Move
45313 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45314 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45315 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45316 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45317 (th_stuff): Change to th_u1.tu_stuff.
45318 (th_data): Define.
45319 (th_msg): Change to th_u1.th_u2.tu_data.
45320
7f18b530
DM
453212012-05-07 David S. Miller <davem@davemloft.net>
45322
05760585
DM
45323 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45324
7f18b530
DM
45325 [BZ #14074]
45326 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45327 (SETUP_PIC_REG): Use it.
45328 (SETUP_PIC_REG_LEAF): Use it.
45329
495fd99f
JM
453302012-05-07 Joseph Myers <joseph@codesourcery.com>
45331
45332 [BZ #13885]
45333 [BZ #13923]
45334 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45335 USE_AS_EXPM1L.
45336 (EXPL_FINITE): Likewise.
45337 (FLDLOG): Likewise.
45338 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45339 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45340 e_expl.S.
45341 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45342 USE_AS_EXPM1L.
45343 (EXPL_FINITE): Likewise.
45344 (FLDLOG): Likewise.
45345 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45346 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45347 e_expl.S.
45348 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45349 test of -max_value argument for long double.
45350 * sysdeps/i386/fpu/libm-test-ulps: Update.
45351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45352
6693d694
DM
453532012-05-06 David S. Miller <davem@davemloft.net>
45354
45355 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45356 quad soft-float symbols whose references which are compiler
45357 generated.
45358 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45359
6c23e11c
JM
453602012-05-06 Joseph Myers <joseph@codesourcery.com>
45361
d8b82cad
JM
45362 [BZ #13884]
45363 [BZ #13914]
45364 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45365 USE_AS_EXP10L.
45366 (EXPL_FINITE): Likewise.
45367 (FLDLOG): Likewise.
45368 (c0): Likewise.
45369 (c1): Likewise.
45370 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45371 Adjust comments for base varying.
45372 (__expl_finite): Change alias to EXPL_FINITE.
45373 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45374 e_expl.S.
45375 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45376 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45377 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45378 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45379 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45380 USE_AS_EXP10L.
45381 (EXPL_FINITE): Likewise.
45382 (FLDLOG): Likewise.
45383 (c0): Likewise.
45384 (c1): Likewise.
45385 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45386 Adjust comments for base varying.
45387 (__expl_finite): Change alias to EXPL_FINITE.
45388 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45389 tests for bugs.
45390 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45391
6c23e11c
JM
45392 [BZ #14064]
45393 * math/libm-test.inc (check_float_internal): Correct ulp
45394 calculation for subnormal expected results.
45395
29ba805c
AJ
453962012-05-06 Andreas Jaeger <aj@suse.de>
45397
45398 * Makeconfig (+math-flags): New, set to -frounding-math.
45399 (+cflags): Add +math-flags so that all of glibc gets compiled with
45400 it.
45401
45402 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45403
7b17aeda
JM
454042012-05-05 Joseph Myers <joseph@codesourcery.com>
45405
5779f134
JM
45406 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45407 Disable one test.
45408
41498f4d
JM
45409 [BZ #13787]
45410 [BZ #13922]
45411 [BZ #14036]
45412 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45413 (__ieee754_expl): Allow for and saturate large arguments.
45414 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45415 (u_threshold): Likewise.
45416 (__exp): Call __ieee754_exp before checking for overflow and
45417 underflow.
45418 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45419 (u_threshold): Likewise.
45420 (__expf): Call __ieee754_expf before checking for overflow and
45421 underflow.
45422 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45423 (u_threshold): Likewise.
45424 (__expl): Call __ieee754_expl before checking for overflow and
45425 underflow.
45426 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45427 (__ieee754_expl): Allow for and saturate large arguments.
45428 * math/libm-test.inc (exp_test): Add another test. Do not allow
45429 missing overflow exception on overflow.
45430 (expm1_test): Do not allow missing overflow exception on overflow.
45431
6698b8bf
JM
45432 * sysdeps/i386/fpu/e_expl.c: Move to ...
45433 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45434 rather than using inline asm.
45435 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45436 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45437 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45438
7b17aeda
JM
45439 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45440 (nice): Likewise.
45441 (poll): Likewise.
45442 (signal): Likewise.
45443 (time): Likewise.
45444 (times): Likewise.
45445
f7c85819
JM
454462012-05-04 Joseph Myers <joseph@codesourcery.com>
45447
45448 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45449 sysdeps/unix/common/syscalls.list.
45450 (fchmod): Likewise.
45451 (fchown): Likewise.
45452 (ftruncate): Likewise.
45453 (getrusage): Likewise.
45454 (gettimeofday): Likewise.
45455 (setpgid): Likewise.
45456 (setregid): Likewise.
45457 (setreuid): Likewise.
45458 (sigaction): Likewise.
45459 (truncate): Likewise.
45460 (vhangup): Likewise.
45461 * sysdeps/unix/common/syscalls.list: Remove file.
45462 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45463 * sysdeps/unix/sysv/linux/Implies: Likewise.
45464
336270d0
L
454652012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45466
45467 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45468 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45469 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45470 Moved to ...
45471 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45472 Here.
45473 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45474 to ...
45475 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45476 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45477 to ...
45478 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45479 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45480 to ...
45481 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45482 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45483 to ...
45484 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45485 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45486 to ...
45487 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45488 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45489 to ...
45490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45491 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45492 to ...
45493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45494 Here.
45495 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45496 to ...
45497 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45498 Here.
45499 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45500 to ...
45501 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45502 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45503 Moved to ...
45504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45505 Here.
45506 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45507 to ...
45508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45509
d128e450
JM
455102012-05-04 Joseph Myers <joseph@codesourcery.com>
45511
fa8ee516
JM
45512 * sysdeps/unix/common/bits/dirent.h: Remove file.
45513 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45514
d128e450
JM
45515 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45516 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45517 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45518 * sysdeps/unix/bsd/isatty.c: Likewise.
45519 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45520 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45521 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45522
ff8faaf0 455232012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45524
62881be4 45525 [BZ #13563]
31dc8730
AZ
45526 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45527 long double comparison inaccuracies.
45528 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45529 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45530
6fef930c
AS
455312012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45532
45533 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45534 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45535
8f203e6c
JM
455362012-05-04 Joseph Myers <joseph@codesourcery.com>
45537
45538 [BZ #14049]
45539 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45540 nonzero digits before rounding a hex value.
45541 * stdlib/tst-strtod.c (tests): Add another test.
45542
5197d9c2
AK
455432012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45544
45545 * sysdeps/s390/fpu/libm-test-ulps: Update.
45546
f0c1dedf
AJ
455472012-05-03 Andreas Jaeger <aj@suse.de>
45548
45549 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45550 does not get optimized out.
45551 (malloc_opt_barrier): New.
45552
a65ef2ae 455532012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45554 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45555
2b942cb7 45556 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45557 intermediate file deletion.
2b942cb7 45558 (generated): Add .symlist files.
a65ef2ae 45559
54b71e02
JM
455602012-05-03 Joseph Myers <joseph@codesourcery.com>
45561
45562 [BZ #13775]
45563 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45564 Redirect under this condition.
45565 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45566 [__USE_GNU] (__dprintf_chk): Not under this condition.
45567 [__USE_GNU] (__vdprintf_chk): Likewise.
45568 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45569 under this condition.
45570 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45571 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45572 [__USE_XOPEN2K8] (vdprintf): Likewise.
45573 [__USE_GNU] (__dprintf_chk): Not under this condition.
45574 [__USE_GNU] (__vdprintf_chk): Likewise.
45575 [__USE_GNU] (dprintf): Likewise.
45576 [__USE_GNU] (vdprintf): Likewise.
45577
d3dfcc41
RM
455782012-05-03 Roland McGrath <roland@hack.frob.com>
45579
45580 * elf/Makefile (common-generated): Set this instead of generated for
45581 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45582 $(all-built-dso)-derived lists.
45583
7ac30cc5
AJ
455842012-05-03 Andreas Jaeger <aj@suse.de>
45585
0c51e550
AJ
45586 * sysdeps/i386/fpu/libm-test-ulps: Update.
45587
7ac30cc5
AJ
45588 * FAQ: Removed.
45589 * FAQ.in: Likewise.
45590 * scripts/gen-FAQ.pl: Likewise.
45591 * manual/install.texi (Installation): Point to online location of
45592 FAQ.
45593 * Makefile (files-for-dist): Remove FAQ.
45594 (FAQ): Remove.
45595
d4c2917f
AM
455962012-05-02 Allan McRae <allan@archlinux.org>
45597
45598 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45599 (LDFLAGS-reldepmod5.so): Likewise.
45600 (LDFLAGS-reldep6mod1.so): Likewise.
45601 (LDFLAGS-reldep6mod4.so): Likewise.
45602 (LDFLAGS-reldep8mod3.so): Likewise.
45603 (LDFLAGS-unload4mod1.so): Likewise.
45604 (LDFLAGS-unload4mod2.so): Likewise.
45605 (LDFLAGS-tst-initorder): Likewise.
45606 (LDFLAGS-tst-initordera2.so): Likewise.
45607 (LDFLAGS-tst-initordera3.so): Likewise.
45608 (LDFLAGS-tst-initordera4.so): Likewise.
45609 (LDFLAGS-tst-initorderb2.so): Likewise.
45610 (LDFLAGS-noload): Likewise.
45611 (LDFLAGS-next): Likewise.
45612 (LDFLAGS-order2mod1.so): Likewise.
45613 (LDFLAGS-order2mod2.so): Likewise.
45614 (LDFLAGS-tst-initorder2): Likewise.
45615 (LDFLAGS-tst-initorder2a.so): Likewise.
45616 (LDFLAGS-tst-initorder2b.so): Likewise.
45617 (LDFLAGS-tst-initorder2c.so): Likewise.
45618 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45619
d77f993f
DM
456202012-05-02 David S. Miller <davem@davemloft.net>
45621
45622 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45623
171a70b4
PP
456242012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45625
45626 [BZ #14055]
45627 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45628
0be196ad
AJ
456292012-05-02 Andreas Jaeger <aj@suse.de>
45630
45631 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45632 since we manipulate rounding mode.
45633 (CPPFLAGS-test-idouble.c): Likewise.
45634 (CPPFLAGS-test-ifloat.c): Likewise.
45635 (CFLAGS-test-ldouble.c): Likewise.
45636 (CFLAGS-test-double.c): Likewise.
45637 (CFLAGS-test-float.c): Likewise.
45638 (CFLAGS-test-misc.c): Likewise.
45639 (CFLAGS-test-test-fenv.c): Likewise.
45640
4f9d04aa
AZ
456412012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45642
2b942cb7
RM
45643 [BZ #2550]
45644 [BZ #2570]
45645 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45646 comparisons to determine direction to adjust input.
4f9d04aa 45647
82a79e7d
RM
456482012-05-01 Roland McGrath <roland@hack.frob.com>
45649
f5a01ca9
RM
45650 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45651 output to the target.
45652
90fe4186
RM
45653 * scripts/localplt.awk: New file.
45654 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45655 (check-localplt-CFLAGS): Variable removed.
45656 ($(all-built-dso:=.jmprel)): New static pattern rule.
45657 (generated): Add those targets.
45658 (localplt-built-dso): New variable.
45659 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45660
45661 * elf/check-localplt.c: File removed.
45662
82397ed6
RM
45663 * scripts/check-execstack.awk: New file.
45664 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45665 (check-execstack-CFLAGS): Variable removed.
45666 ($(objpfx)check-execstack.h): Target removed.
45667 ($(objpfx)execstack-default): New target.
45668 (generated): Add that instead of check-execstack.h.
45669 ($(all-built-dso:=.phdr)): New static pattern rule.
45670 (generated): Add those targets.
45671 * elf/check-execstack.c: File removed.
45672
82a79e7d
RM
45673 * scripts/check-textrel.awk: New file.
45674 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45675 (check-textrel-CFLAGS): Variable removed.
45676 (all-built-dso): Use := to define.o
45677 ($(all-built-dso:=.dyn)): New static pattern rule.
45678 (generated): Add those targets.
45679 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45680 * config.make.in (READELF): New substituted variable.
45681 * elf/check-textrel.c: File removed.
45682
62fde54f 456832012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45684
615605c9
JM
45685 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45686 allow.
45687 * conform/data/ctype.h-data [C99-based standards] (isblank):
45688 Expect function.
45689 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45690 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45691 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45692 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45693 Specify type. Require positive value.
45694 (EILSEQ): Likewise.
45695 (ERANGE): Likewise.
45696 [ISO || POSIX] (EILSEQ): Do not expect.
45697 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45698 Specify type. Require positive value.
45699 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45700 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45701 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45702 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45703 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45704 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45705 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45706 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45707 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45708 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45709 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45710 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45711 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45712 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45713 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45714 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45715 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45716 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45717 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45718 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45719 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45720 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45721 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45722 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45723 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45724 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45725 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45726 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45727 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45728 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45729 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45730 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45731 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45732 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45733 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45734 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45735 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45736 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45737 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45738 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45739 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45740 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45741 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45742 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45743 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45744 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45745 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45746 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45747 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45748 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45749 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45750 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45751 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45752 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45753 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45754 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45755 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45756 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45757 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45758 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45759 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45760 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45761 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45762 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45763 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45764 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45765 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45766 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45767 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45768 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45769 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45770 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45771 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45772 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45773 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45774 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45775 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45776 Require >= 2.
45777 (FLT_ROUNDS): Expect as macro, not constant.
45778 (FLT_MANT_DIG): Use macro-int-constant.
45779 (DBL_MANT_DIG): Likewise.
45780 (LDBL_MANT_DIG): Likewise.
45781 (FLT_DIG): Likewise.
45782 (DBL_DIG): Likewise.
45783 (LDBL_DIG): Likewise.
45784 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45785 (DBL_MIN_EXP): Likewise.
45786 (LDBL_MIN_EXP): Likewise.
45787 (FLT_MAX_EXP): Use macro-int-constant.
45788 (DBL_MAX_EXP): Likewise.
45789 (LDBL_MAX_EXP): Likewise.
45790 (FLT_MAX_10_EXP): Likewise.
45791 (DBL_MAX_10_EXP): Likewise.
45792 (LDBL_MAX_10_EXP): Likewise.
45793 (FLT_MAX): Use macro-constant.
45794 (DBL_MAX): Likewise.
45795 (LDBL_MAX): Likewise.
45796 (FLT_EPSILON): Use macro-constant. Give upper bound.
45797 (DBL_EPSILON): Likewise.
45798 (LDBL_EPSILON): Likewise.
45799 (FLT_MIN): Likewise.
45800 (DBL_MIN): Likewise.
45801 (LDBL_MIN): Likewise.
45802 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45803 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45804 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45805 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45806 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45807 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45808 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45809 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45810 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45811 [ISO11] (FLT_TRUE_MIN): Likewise.
45812 [ISO11] (LDBL_TRUE_MIN): Likewise.
45813 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45814 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45815 (SCHAR_MIN): Use macro-int-constant. Specify type.
45816 (SCHAR_MAX): Likewise.
45817 (UCHAR_MAX): Likewise.
45818 (CHAR_MIN): Likewise.
45819 (CHAR_MAX): Likewise.
45820 (MB_LEN_MAX): Use macro-int-constant.
45821 (SHRT_MIN): Use macro-int-constant. Specify type.
45822 (SHRT_MAX): Likewise.
45823 (USHRT_MAX): Likewise.
45824 (INT_MAX): Likewise.
45825 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45826 bound negative.
45827 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45828 bound with "U".
45829 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45830 bound with "L".
45831 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45832 bound negative. Suffix upper bound with "L".
45833 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45834 bound with "UL".
45835 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45836 Specify type.
45837 [C99-based standards] (LLONG_MAX): Likewise.
45838 [C99-based standards] (ULLONG_MAX): Likewise.
45839 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45840 == 0.
45841 [ISO11] (max_align_t): Require type.
45842 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45843
c9140a62
JM
45844 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45845 from $CFLAGS, without defining away __attribute__ calls.
45846 (checknamespace): Use $CFLAGS_namespace.
45847
9af0bf29
JM
45848 * conform/conformtest.pl (@keywords): Only include C99 keywords
45849 for standards based on C99 or C11.
45850
343222a2
JM
45851 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45852 Disable tests.
45853 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45854 UNIX98]: Likewise.
45855
661f8cf0
JM
45856 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45857 usability of symbols in #if.
45858
ee74b9cb
JM
45859 * conform/conformtest.pl: If macro or constant types start
45860 "promoted:", expect the symbol to be of the following type
45861 promoted by the integer promotions.
62fde54f 45862
aafc49b3
JM
45863 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45864 in one place. Also handle "macro-constant".
45865
fefdf574
JM
45866 * conform/conformtest.pl: Only accept expected macro values with
45867 "==". Parse all "macro" lines in one place.
45868 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45869
f2d922fe
JM
45870 * conform/conformtest.pl: Handle braced types on "constant" lines
45871 instead of handling "typed-constant".
45872 * conform/data/signal.h-data: Use "constant" instead of
45873 "typed-constant".
45874
d22956c9
JM
45875 * conform/conformtest.pl: Handle "optional-" at start of lines in
45876 one place rather than duplicating several cases. Handle each
45877 format of "macro" line with initial "optional-".
45878
028e2e38
JM
45879 * conform/conformtest.pl: Only accept expected constant or
45880 optional-constant values with "==". Parse all "constant" lines in
45881 one place. Parse all "optional-constant" lines in one place.
45882 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45883 * conform/data/fmtmsg.h-data: Likewise.
45884 * conform/data/netinet/in.h-data: Likewise.
45885 * conform/data/tar.h-data: Likewise.
45886 * conform/data/limits.h-data: Use "==" form on "constant" and
45887 "optional-constant" lines.
45888
1b8f2850
JM
45889 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45890 Use -std=c99 for XOPEN2K.
45891 (@knownproblems): Remove.
45892 (newtoken): Don't check %isknown.
45893
a05a144b
JM
45894 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45895 Do not expect macro.
45896 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45897 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45898 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45899 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45900 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45901 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45902 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45903 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45904 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45905 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45906 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45907 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45908 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45909 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45910 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45911 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45912 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45913 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45914 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45915 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45916 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45917 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45918 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45919 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45920 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45921 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45922 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45923 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45924 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45925 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45926 [XPG3] (acosh): Likewise.
45927 [XPG3] (asinh): Likewise.
45928 [XPG3] (atanh): Likewise.
45929 [XPG3] (cbrt): Likewise.
45930 [XPG3] (expm1): Likewise.
45931 [XPG3] (ilogb): Likewise.
45932 [XPG3] (log1p): Likewise.
45933 [XPG3] (logb): Likewise.
45934 [XPG3] (nextafter): Likewise.
45935 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45936 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45937 [XPG3] (remainder): Likewise.
45938 [XPG3] (rint): Likewise.
45939 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45940 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45941 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45942 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45943 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
45944 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
45945 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
45946 [UNIX98 || XOPEN2K] (scalb): Expect.
45947 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
45948 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
45949 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
45950 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
45951 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
45952 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
45953 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
45954 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
45955 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
45956 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
45957 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
45958 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
45959 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
45960 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
45961 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
45962 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
45963 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
45964 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
45965 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
45966 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
45967 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
45968 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
45969 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
45970 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
45971 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
45972 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
45973 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
45974 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
45975 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
45976 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
45977 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
45978 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
45979 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
45980 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
45981 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
45982 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
45983 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
45984 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
45985 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
45986 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
45987 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
45988 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
45989 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
45990 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
45991 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
45992 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
45993 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
45994 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
45995 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
45996 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
45997 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
45998 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
45999 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46000 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46001 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46002 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46003 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46004 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46005 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46006 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46007 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46008 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46009 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46010 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46011 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46012 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46013 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46014 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46015 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46016 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46017 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46018 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46019 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46020 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46021 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46022 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46023 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46024 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46025 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46026 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46027 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46028 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46029 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46030 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46031 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46032 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46033 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46034 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46035 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46036 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46037 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46038 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46039 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46040 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46041 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46042 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46043 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46044 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46045 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46046 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46047 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46048 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46049 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46050 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46051 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46052 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46053 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46054 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46055 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46056 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46057 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46058 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46059 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46060 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46061 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46062 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46063 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46064 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46065 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46066 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46067 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46068 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46069 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46070 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46071 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46072 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46073 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46074 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46075 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46076 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46077 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46078 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46079 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46080 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46081 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46082 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46083 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46084
73c5ebe3
JM
46085 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46086 _XOPEN_SOURCE_EXTENDED for XPG4.
46087
39c33b6c
JM
46088 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46089
62fde54f
JM
46090 * Makeconfig (localtime): Remove variable.
46091 (inst_localtime-file): Likewise.
46092
0741d64c
AS
460932012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46094
46095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46096 Update.
46097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46098 Update.
46099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46100 Update.
46101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46102 Update.
46103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46104 Update.
46105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46106 Update.
46107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46108 Update.
46109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46110 Update.
46111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46112 Update.
46113
7cb029ee
JM
461142012-05-01 Joseph Myers <joseph@codesourcery.com>
46115
46116 [BZ #2550]
46117 [BZ #2570]
46118 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46119 comparisons to determine direction to adjust input.
46120 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46121 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46122 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46123 Likewise.
46124 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46125 Likewise.
46126 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46127 Likewise.
46128 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46129 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46130 Likewise.
46131 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46132 Likewise.
46133 * math/libm-test.inc (nexttoward_test): Add more tests.
46134
412bd966
AS
461352012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46136
46137 [BZ #14040]
46138 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46139 in version GLIBC_2.1, not GLIBC_2.0.
46140 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46141 Likewise.
46142
9568c0c2
JM
461432012-04-30 Joseph Myers <joseph@codesourcery.com>
46144
adfbc8ac
JM
46145 [BZ #13942]
46146 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46147 (1 - x) * (1 + x).
46148 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46149 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46150 * math/libm-test.inc (acos_test): Add more tests.
46151 (asin_test): Likewise.
46152 * sysdeps/i386/fpu/libm-test-ulps: Update.
46153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46154
5ba3cc69
JM
46155 [BZ #14034]
46156 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46157 of square root.
46158 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46159 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46160 * math/libm-test.inc (acos_test_tonearest): New function.
46161 (acos_test_towardzero): Likewise.
46162 (acos_test_downward): Likewise.
46163 (acos_test_upward): Likewise.
46164 (asin_test_tonearest): Likewise.
46165 (asin_test_towardzero): Likewise.
46166 (asin_test_downward): Likewise.
46167 (asin_test_upward): Likewise.
46168 (main): Call the new functions.
46169 * sysdeps/i386/fpu/libm-test-ulps: Update.
46170 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46171
9568c0c2
JM
46172 [BZ #13884]
46173 [BZ #13924]
46174 * math/e_exp10.c: Include <float.h>.
46175 (__ieee754_exp10): Handle underflow here rather than multiplying
46176 large negative argument by M_LN10.
46177 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46178 of __ieee754_expf.
46179 * math/e_exp10l.c: Include <float.h>.
46180 (__ieee754_exp10l): Handle underflow here rather than multiplying
46181 large negative argument by M_LN10l.
46182 * math/libm-test.inc (exp10_test): Add another test. Do not allow
46183 spurious overflow exception on underflow.
46184
5ac3ea17
MP
461852012-04-29 Marek Polacek <polacek@redhat.com>
46186
46187 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46188 (__fortify_function): New macro.
46189 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46190 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46191 __extern_always_inline.
46192 * libio/bits/stdio2.h: Likewise.
46193 * libio/bits/stdio.h: Likewise.
46194 * string/string.h: Likewise.
46195 * string/bits/string3.h: Likewise.
46196 * include/stdio.h: Likewise.
46197 * stdlib/bits/stdlib.h: Likewise.
46198 * stdlib/stdlib.h: Likewise.
46199 * rt/bits/mqueue2.h: Likewise.
46200 * rt/mqueue.h: Likewise.
46201 * posix/bits/unistd.h: Likewise.
46202 * posix/unistd.h: Likewise.
46203 * io/bits/poll2.h: Likewise.
46204 * io/bits/fcntl2.h: Likewise.
46205 * io/fcntl.h: Likewise.
46206 * io/sys/poll.h: Likewise.
46207 * misc/bits/syslog.h: Likewise.
46208 * misc/bits/syslog-ldbl.h: Likewise.
46209 * misc/sys/syslog.h: Likewise.
46210 * socket/bits/socket2.h: Likewise.
46211 * socket/sys/socket.h: Likewise.
46212 * debug/tst-chk1.c: Likewise.
46213 * wcsmbs/bits/wchar2.h: Likewise.
46214 * wcsmbs/bits/wchar-ldbl.h: Likewise.
46215 * wcsmbs/wchar.h: Likewise.
46216
ecf0ebfb
AJ
462172012-04-29 Andreas Jaeger <aj@suse.de>
46218
46219 * Makerules (tests): Remove enable-check-abi protection.
46220 (check-abi-warn): Remove.
46221 (check-abi-%): Remove check-abi-warn usage.
46222
46223 * configure.in: Remove check-abi configure option.
46224 * configure: Regenerated.
46225 * config.make.in (enable-check-abi): Remove.
46226
6d5c57fa
AS
462272012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46228
24c5d07e 46229 [BZ #14033]
ded5180a
AS
46230 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46231 double functions to double *_finite functions.
46232
7e0d315d
AS
46233 [BZ #13941]
46234 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46235 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46236 LDBL_MIN_EXP.
46237 * stdio-common/Makefile (tests): Add tst-sprintf3.
46238 * stdio-common/tst-sprintf3.c: New file.
46239
6d5c57fa
AS
46240 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46241 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46242
0749ff8b
JM
462432012-04-28 Joseph Myers <joseph@codesourcery.com>
46244
46245 * conform/conformtest.pl: Remove duplicate typed-constant
46246 handling.
46247
8dbd5d7b
DM
462482012-04-28 David S. Miller <davem@davemloft.net>
46249
46250 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46251 (check-abi-%): Remove AWK script prerequisite and explicit
46252 abilist directory.
46253 (check-abi): Rewrite to just diff the symlist with the abilist.
46254 (config-tls, config-abi-config): Delete, no longer used.
46255 (update-abi-%): Remove AWK script and explicit abilist directory.
46256 (update-abi): Rewrite to simply compare and conditionally copy the
46257 symlist and the sysdep abilist file. Remove update-abi-config
46258 checks.
46259 * abilist/ld.abilist: Remove.
46260 * abilist/libBrokenLocale.abilist: Remove.
46261 * abilist/libanl.abilist: Remove.
46262 * abilist/libcrypt.abilist: Remove.
46263 * abilist/libdl.abilist: Remove.
46264 * abilist/librt.abilist: Remove.
46265 * abilist/libthread_db.abilist: Remove.
46266 * abilist/libutil.abilist: Remove.
46267 * scripts/extract-abilist.awk: Remove.
46268 * scripts/merge-abilist.awk: Remove.
46269 * sysdeps/generic/libcidn.abilist: New file.
46270 * sysdeps/generic/libnss_compat.abilist: New file.
46271 * sysdeps/generic/libnss_db.abilist: New file.
46272 * sysdeps/generic/libnss_dns.abilist: New file.
46273 * sysdeps/generic/libnss_files.abilist: New file.
46274 * sysdeps/generic/libnss_hesiod.abilist: New file.
46275 * sysdeps/generic/libnss_nis.abilist: New file.
46276 * sysdeps/generic/libnss_nisplus.abilist: New file.
46277 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46278 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46279 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46280 file.
46281 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46282 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46283 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46284 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46285 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46286 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46287 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46288 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46289 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46290 file.
46291 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46292 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46293 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46294 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46295 file.
46296 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46297 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46298 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46299 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46300 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46301 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46302 file.
46303 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46304 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46305 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46306 file.
46307 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46308 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46309 New file.
46310 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46311 New file.
46312 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46313 New file.
46314 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46315 New file.
46316 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46317 New file.
46318 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46319 New file.
46320 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46321 New file.
46322 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46323 New file.
46324 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46325 New file.
46326 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46327 New file.
46328 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46329 New file.
46330 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46331 New file.
46332 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46333 New file.
46334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46335 file.
46336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46337 New file.
46338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46339 New file.
46340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46341 file.
46342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46343 New file.
46344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46345 New file.
46346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46347 file.
46348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46349 New file.
46350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46351 New file.
46352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46353 New file.
46354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46355 New file.
46356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46357 New file.
46358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46359 New file.
46360 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46362 file.
46363 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46364 New file.
46365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46366 file.
46367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46368 file.
46369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46370 file.
46371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46372 file.
46373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46374 file.
46375 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46376 New file.
46377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46378 file.
46379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46380 file.
46381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46382 New file.
46383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46384 file.
46385 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46386 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46387 file.
46388 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46389 New file.
46390 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46391 file.
46392 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46393 file.
46394 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46395 file.
46396 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46397 file.
46398 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46399 file.
46400 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46401 New file.
46402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46403 file.
46404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46405 file.
46406 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46407 New file.
46408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46409 file.
46410 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46411 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46412 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46413 file.
46414 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46415 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46416 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46417 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46418 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46419 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46420 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46421 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46422 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46423 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46426 file.
46427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46428 New file.
46429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46430 file.
46431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46432 file.
46433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46434 file.
46435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46436 file.
46437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46438 file.
46439 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46440 New file.
46441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46442 New file.
46443 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46444 file.
46445 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46446 New file.
46447 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46448 file.
46449 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46450 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46451 file.
46452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46453 New file.
46454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46455 file.
46456 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46457 file.
46458 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46459 file.
46460 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46461 file.
46462 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46463 file.
46464 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46465 New file.
46466 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46467 New file.
46468 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46469 file.
46470 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46471 New file.
46472 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46473 file.
46474
41d73a1b
JM
464752012-04-28 Joseph Myers <joseph@codesourcery.com>
46476
46477 * conform/conformtest.pl: Fix typo in handling typed-constant from
46478 allow-header.
46479
28aeeda4
JM
464802012-04-27 Joseph Myers <joseph@codesourcery.com>
46481
adae8f5e
JM
46482 * README: Cut down references to pre-2.6 Linux kernels and
46483 Linuxthreads. Update lists of configurations in libc and ports
46484 and sort alphabetically. Say "or newer" with Linux kernel version
46485 requirements.
46486
28aeeda4
JM
46487 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46488
a462cb63
RA
464892012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46490
46491 [BZ #887]
46492 * math/libm-test.inc (logb_test_downward): New test to expose
46493 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46494 rounding mode.
46495
6ad3493e
JM
464962012-04-27 Joseph Myers <joseph@codesourcery.com>
46497
46498 [BZ #14027]
46499 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46500 to be done.
46501 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46502 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46503
2ce4f015
JM
465042012-04-26 Joseph Myers <joseph@codesourcery.com>
46505
5aeb141a
JM
46506 * sysdeps/unix/i386/brk.S: Remove file.
46507 * sysdeps/unix/i386/dl-brk.S: Likewise.
46508 * sysdeps/unix/i386/pipe.S: Likewise.
46509 * sysdeps/unix/i386/sigreturn.S: Likewise.
46510 * sysdeps/unix/i386/syscall.S: Likewise.
46511 * sysdeps/unix/i386/vfork.S: Likewise.
46512 * sysdeps/unix/i386/wait.S: Likewise.
46513
7143acae
JM
46514 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46515 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46516
2ce4f015
JM
46517 * configure.in (arm*-none*): Do not allow without
46518 --enable-hacker-mode.
46519 (netbsd*): Remove case setting base_os.
46520 (386bsd*): Likewise.
46521 (freebsd*): Likewise.
46522 (bsdi*): Likewise.
46523 (osf*): Likewise.
46524 (sunos*): Likewise.
46525 (ultrix*): Likewise.
46526 (newsos*): Likewise.
46527 (dynix*): Likewise.
46528 (*bsd*): Likewise.
46529 (sysv*): Likewise.
46530 (isc*): Likewise.
46531 (esix*): Likewise.
46532 (sco*): Likewise.
46533 (minix*): Likewise.
46534 (irix4*): Likewise.
46535 (irix6*): Likewise.
46536 (solaris[2-9]*): Likewise.
46537 (none): Likewise.
46538 * configure: Regenerated.
46539
0ac229c8
AZ
465402012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46541
46542 [BZ #11521]
46543 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46544 overflow or cancellation in calculating denominator.
46545 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46546 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46547 down expression to avoid unexpected rounding in newer GCCs.
46548 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46549
33f244f4
DM
465502012-04-26 David S. Miller <davem@davemloft.net>
46551
46552 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46553 long-double compat symbols.
46554 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46556 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46557 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46558 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46565 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46566 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46567
cfa1f3e8
DM
465682012-04-25 David S. Miller <davem@davemloft.net>
46569
46570 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46571 HWCAP_* values only after the memory barriers have been defined.
46572 (atomic_full_barrier): Define.
46573 (atomic_read_barrier): Define.
46574 (atomic_write_barrier): Define.
46575
6e236b92
SP
465762012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46577
46578 * shlib-versions: Add libgcc_s version information.
46579 * sysdeps/generic/libgcc_s.h: Remove.
46580 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46581 libgcc_s.h.
46582 * sysdeps/gnu/unwind-resume.c: Likewise.
46583 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46584
aab39a09
DM
465852012-04-25 David S. Miller <davem@davemloft.net>
46586
46587 * sysdeps/unix/sparc/brk.S: Delete.
46588 * sysdeps/unix/sparc/dl-brk.S: Delete.
46589 * sysdeps/unix/sparc/pipe.S: Delete.
46590 * sysdeps/unix/sparc/sysdep.S: Delete.
46591 * sysdeps/unix/sparc/sysdep.h: Delete.
46592 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46593 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46594 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46595 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46596 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46597 (JUMPTARGET): Remove.
46598 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46599 sysdeps/unix/sparc/sysdep.h
46600 (ENTRY, END): Remove.
46601 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46602
a3cc4f48
JM
466032012-04-25 Joseph Myers <joseph@codesourcery.com>
46604
2ed8cda2
JM
46605 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46606 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46607 -DIS_IN_build.
46608
35d76d59
JM
46609 * timezone/README: Update upstream location and email address for
46610 tzcode and tzdata.
46611 * timezone/zdump.c: Update from tzcode 2012b.
46612 * timezone/zic.c: Likewise.
46613
a3cc4f48
JM
46614 * configure.in (libc_cv_as_needed): Remove test.
46615 * configure: Regenerated.
46616 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46617 conditional definition.
46618 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46619 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46620 * config.make.in (have-as-needed): Remove variable.
46621
ceab42c3
SP
466222012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46623 Paul Pluzhnikov <ppluzhnikov@google.com>
46624
46625 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46626 strings correctly.
46627
3ce2865f
CLT
466282012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46629
46630 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46631 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46632 * sysdeps/sh/strlen.S: Likewise.
46633
f37e0d68
JM
466342012-04-24 Joseph Myers <joseph@codesourcery.com>
46635
ae186e9a
JM
46636 * sysdeps/unix/fork.S: Remove file.
46637 * sysdeps/unix/i386/fork.S: Likewise.
46638 * sysdeps/unix/sparc/fork.S: Likewise.
46639
b96914af
JM
46640 * sysdeps/unix/system.c: Remove file.
46641 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46642
f37e0d68
JM
46643 * sysdeps/unix/getegid.S: Remove file.
46644 * sysdeps/unix/geteuid.S: Likewise.
46645
87ef29ca
RM
466462012-04-24 Roland McGrath <roland@hack.frob.com>
46647
83bcd236
RM
46648 * scripts/check-localplt.awk: New file.
46649 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46650 of diff.
46651 * scripts/data/localplt-generic.data: Add a comment.
46652
87ef29ca
RM
46653 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46654 NODE when __dir_mkfile failed.
46655 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46656 Reported by Ludovic Courtès <ludo@gnu.org>.
46657
e5a6e567
AJ
466582012-04-24 Andreas Jaeger <aj@suse.de>
46659
46660 * Makerules (common-clean): Also remove gen-as-const-headers
46661 files.
46662
c1820385
JM
466632012-04-24 Joseph Myers <joseph@codesourcery.com>
46664
46665 * Makerules (native-compile): Do not change working directory for
46666 build. Use $(OUTPUT_OPTION) in command.
46667 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46668
94e02fc4
AZ
466692012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46670
46671 [BZ #13886]
46672 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46673 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46674 * math/libm-test.inc (floor_test): Add more tests.
46675 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46676
3a533ca3
JM
466772012-04-24 Joseph Myers <joseph@codesourcery.com>
46678
940ab4b3
JM
46679 * sysdeps/unix/getdents.c: Remove file.
46680 * sysdeps/unix/sysv/getdents.c: Likewise.
46681 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46682
90e037bd
JM
46683 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46684 sysdeps/unix/mman/syscalls.list.
46685 (mmap): Likewise.
46686 (mprotect): Likewise.
46687 (msync): Likewise.
46688 (munmap): Likewise.
46689 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46690 * sysdeps/unix/mman/syscalls.list: Remove.
46691 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46692
3a533ca3
JM
46693 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46694 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46695 * configure: Regenerated.
46696 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46697 $(libgcc_s_suffix).
46698 * config.make.in (libgcc_s_suffix): Remove variable.
46699
1ad743de
JM
467002012-04-23 Joseph Myers <joseph@codesourcery.com>
46701
4ad451e2
JM
46702 * sysdeps/unix/sysv/gethostname.c: Move to ...
46703 * sysdeps/posix/gethostname.c: ... here.
46704
5e37ce39
JM
46705 * sysdeps/unix/execve.S: Remove file.
46706
1ad743de
JM
46707 * sysdeps/unix/_exit.S: Remove file.
46708
4e681b5b
AJ
467092012-04-23 Andreas Jaeger <aj@suse.de>
46710
46711 [BZ #13739]
46712 * manual/Makefile: Remove make dist support, there's no
46713 need for a stand-alone documentation tar ball.
46714 (TEXI2DVI): Define always, it's not in Makeconfig.
46715 (dist): Removed.
46716 (tar-it): Removed.
46717 (edition): Removed.
46718 (glibc-doc-$(edition).tar): Removed
46719 (%.Z): Removed.
46720 (%.gz): Removed.
46721 (%.uu): Removed.
46722 (ETAGS): Remove, it's in Makeconfig.
46723 (move-if-change): Remove, it's in Makeconfig.
46724
38686a03 467252012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46726
46727 [BZ #13970]
46728 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46729 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46730 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46731 (strtod_l, strtof_l, strtold_l): Remove __wur.
46732 It is not necessarily an error to ignore strtol's return value.
46733 One can reliably look at the stored endptr to decide whether
46734 the number had valid syntax.
46735
7c0616fa
AJ
467362012-04-21 Andreas Jaeger <aj@suse.de>
46737
803cb6b7 46738 [BZ #13739]
7c0616fa
AJ
46739 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46740
b0fe253f
JM
467412012-04-21 Joseph Myers <joseph@codesourcery.com>
46742
46743 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46744 * sysdeps/unix/sysv/Versions: Remove file.
46745
8280f22d
MT
467462012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46747
46748 [BZ #13927]
46749 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46750
75ce411f 467512012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46752
46753 [BZ #7064]
46754 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46755 version from __vm86.
46756
097d59fa
JM
467572012-04-20 Joseph Myers <joseph@codesourcery.com>
46758
a90f3bcb
JM
46759 * sysdeps/unix/common/lxstat.c: Remove file.
46760 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46761
edc7ea78
JM
46762 * sysdeps/unix/sysv/Makefile: Remove file.
46763
cb78c221
JM
46764 * sysdeps/unix/sysv/direct.h: Remove file.
46765
efa6a45f
JM
46766 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46767 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46768 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46769 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46770 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46771 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46772 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46773
9c9f2d0c
JM
46774 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46775
4541c83b
JM
46776 * sysdeps/unix/xmknod.c: Remove file.
46777 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46778
f5d153a0
JM
46779 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46780
aa746595
JM
46781 * sysdeps/unix/sysv/i386/time.S: Remove file.
46782
cce5905e
JM
46783 * sysdeps/unix/fxstat.c: Remove file.
46784 * sysdeps/unix/xstat.c: Likewise.
46785 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46786
37fa3841
JM
46787 * sysdeps/unix/sysv/sigaction.c: Remove file.
46788
ff1962a3
JM
46789 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46790 (sysdep_headers): Remove variable.
46791 [termio.h not in sysdep_headers] (generated): Likewise.
46792 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46793 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46794 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46795 * sysdeps/unix/sysv/tcflow.c: Likewise.
46796 * sysdeps/unix/sysv/tcflush.c: Likewise.
46797 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46798 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46799 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46800 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46801 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46802
e7740d31
JM
46803 * sysdeps/unix/siglist.c: Remove file.
46804
ee06f18b
JM
46805 * sysdeps/unix/getppid.S: Remove file.
46806
097d59fa
JM
46807 * sysdeps/unix/mkdir.c: Remove file.
46808 * sysdeps/unix/rmdir.c: Likewise.
46809
ff3d51ec
AS
468102012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46811
46812 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46813 ERR_MAX value.
46814 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46815 errlist-compat value.
46816
50f81fd7
DM
468172012-04-18 David S. Miller <davem@davemloft.net>
46818
46819 * sysdeps/generic/memcopy.h (reg_char): Delete.
46820 * debug/strcat_chk.c: Use char, not reg_char.
46821 * debug/strcpy_chk.c: Likewise.
46822 * debug/strncat_chk.c: Likewise.
46823 * debug/strncpy_chk.c: Likewise.
46824 * string/memchr.c: Likewise.
46825 * string/memrchr.c: Likewise.
46826 * string/rawmemchr.c: Likewise.
46827 * string/strcat.c: Likewise.
46828 * string/strchr.c: Likewise.
46829 * string/strchrnul.c: Likewise.
46830 * string/strcmp.c: Likewise.
46831 * string/strcpy.c: Likewise.
46832 * string/strncat.c: Likewise.
46833 * string/strncmp.c: Likewise.
46834 * string/strncpy.c: Likewise.
46835
8ff41c46
WS
468362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46837
46838 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46839 __builtin_memcopy is called when src and dest ranges are known to not
46840 overlap.
46841
6b652f46
WS
468422012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46843
46844 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46845 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46846 fwd_align_merge macro call.
46847 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46848 bwd_align_merge macro call.
46849 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46850
b282631e
WS
468512012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46852
46853 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46854 bwd_align_merge macros.
46855 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46856 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46857 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46858
95aa737c
DM
468592012-04-18 David S. Miller <davem@davemloft.net>
46860
46861 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46862
7a99a614
AJ
468632012-04-18 Andreas Jaeger <aj@suse.de>
46864
46865 [BZ# 6794]
46866 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46867 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46868 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46869
46870 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46871 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46872 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46873
46874 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46875 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46876 Adjust for changed ldbl-128 files.
46877
46878 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46879 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46880 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46881
e5270c23
DM
468822012-04-17 David S. Miller <davem@davemloft.net>
46883
46884 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46885
fb5e92c9
AS
468862012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46887
46888 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46889 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46890 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46891 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46892 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46893 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46894
76da7265
AZ
468952012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46896
46897 [BZ #6794]
46898 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46899 * math/libm-test.inc: Add ilogb errno and exception tests.
46900 * math/w_ilogb.c: New file: ilogb wrapper.
46901 * math/w_ilogbf.c: New file: ilogbf wrapper.
46902 * math/w_ilogbl.c: New file: ilogbl wrapper.
46903 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46904 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46905 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46906 exception being thrown with 0.0 as argument.
46907 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46908 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46909 exception being thrown with 0.0 as argument.
46910 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46911 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46912 exception being thrown with 0.0 as argument.
46913 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46914 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46915 exception being thrown with 0.0 as argument.
46916 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46917 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46918 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46919 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46920 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46921 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46922 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46923 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46924 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46925
0396e69d
PB
469262012-04-17 Petr Baudis <pasky@ucw.cz>
46927
46928 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46929 with altivec.
46930
750b5926
MP
469312012-04-16 Marek Polacek <polacek@redhat.com>
46932
46933 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46934
751728a1
MP
469352012-04-16 Marek Polacek <polacek@redhat.com>
46936
46937 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46938 operands of fdivp instruction.
46939
34a27407
L
469402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46941
46942 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46943 * elf/tst-auditmod3b.c: Likewise.
46944 * elf/tst-auditmod4b.c: Likewise.
46945 * elf/tst-auditmod5b.c: Likewise.
46946 * elf/tst-auditmod6b.c: Likewise.
46947 * elf/tst-auditmod6c.c: Likewise.
46948 * elf/tst-auditmod7b.c: Likewise.
46949 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
46950 * sysdeps/x86_64/preconfigure.in: Likewise.
46951 * sysdeps/x86_64/preconfigure: Regenerated.
46952
7e73e17d
L
469532012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46954
46955 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
46956 __ILP32__.
46957
c7a6ab72
AB
469582012-04-13 Antoine Balestrat <merkil33@gmail.com>
46959
46960 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
46961 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
46962
a9e8e0e0
CL
469632012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
46964
46965 [BZ #13973]
46966 * locale/iso-639.def: Fix gl language name. Spotted by
46967 Yaron Shahrabani.
46968
ec98af7d
RM
469692012-04-12 Roland McGrath <roland@hack.frob.com>
46970
46971 [BZ #2074]
46972 * libio/libio.h (__io_write_fn): Update comment.
46973
247c3ede
PB
469742012-04-12 Petr Baudis <pasky@ucw.cz>
46975
46976 [BZ #2074]
46977 * stdio.texi (Hook Functions): The user provided writer function
46978 is not allowed to return -1.
46979
55939d6d
DM
469802012-04-11 David S. Miller <davem@davemloft.net>
46981
46982 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46983
90020f5a
MF
469842012-04-11 Mike Frysinger <vapier@gentoo.org>
46985
46986 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
46987 Add a leading slash to rtkaio.
46988
288f9098
JM
469892012-04-11 Jim Meyering <meyering@redhat.com>
46990
90020f5a
MF
46991 [BZ #11959]
46992 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
46993 It is not necessarily an error to ignore fwrite's return
46994 value. One can reliably use ferror to test for errors after
46995 the fact.
288f9098 46996
4be2b570
L
469972012-04-10 H.J. Lu <hongjiu.lu@intel.com>
46998
46999 * bits/types.h (__snseconds_t): New type.
47000 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47001
47002 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47003 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47004 (__SNSECONDS_T_TYPE): Likewise.
47005 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47006 (__SNSECONDS_T_TYPE): Likewise.
47007 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47008 (__SNSECONDS_T_TYPE): Likewise.
47009
288f9098 470102012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
47011
47012 [BZ #2636]
47013 * manual/time.texi (Processor Time): Return type of times is
47014 elapsed real time since an arbitrary point in the past.
47015 (CPU Time): Move CLK_TCK from here...
47016 (Processor Time): ...to here. Correct description.
47017 * manual/conf.texi (Constants for Sysconf): Correct description of
47018 _SC_CLK_TCK.
47019
d7dd4413
DM
470202012-04-10 David S. Miller <davem@davemloft.net>
47021
47022 [BZ #13967]
47023 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47024 where the is a gap between DT_REL(A) and DT_JMPREL.
47025
b46068fc
L
470262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47027
47028 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47029 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47030 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47031
73d65cc3
SP
470322012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47033
47034 * elf/dl-support.c (_dl_inhibit_cache): New variable.
47035 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47036 (dl_main): Handle --inhibit-cache.
47037 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47038 _dl_inhibit_cache.
47039 * elf/dl-load.c (_dl_map_object): Use it.
47040 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47041
bcc8d661
JM
470422012-04-09 Joseph Myers <joseph@codesourcery.com>
47043
8f9a2fae
JM
47044 [BZ #13872]
47045 * sysdeps/i386/fpu/e_powl.S (p78): New object.
47046 (__ieee754_powl): Saturate large exponents rather than testing for
47047 overflow of y*log2(x).
47048 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47049 * math/libm-test.inc (pow_test): Do not permit spurious overflow
47050 exceptions.
47051
bcc8d661
JM
47052 [BZ #11521]
47053 * math/s_ctan.c: Include <float.h>.
47054 (__ctan): Avoid internal overflow or cancellation in calculating
47055 denominator.
47056 * math/s_ctanf.c: Likewise.
47057 * math/s_ctanl.c: Likewise.
47058 * math/s_ctanh.c: Likewise.
47059 * math/s_ctanhf.c: Likewise.
47060 * math/s_ctanhl.c: Likewise.
47061 * math/libm-test.inc (ctan_test): Add more tests.
47062 (ctanh_test): Likewise.
47063 * sysdeps/i386/fpu/libm-test-ulps: Update.
47064 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47065
823fbbb4
AJ
470662012-04-09 Andreas Jaeger <aj@suse.de>
47067
03879793
AJ
47068 [BZ #6894]
47069 * manual/filesys.texi (Directory Entries): Mention that d_namlen
47070 is an optional BSD extension.
47071
823fbbb4
AJ
47072 [BZ #10254]
47073 * manual/stdio.texi (Opening Streams): Document additional fopen
47074 parameters.
47075
8de131cb
RM
470762012-04-09 Roland McGrath <roland@hack.frob.com>
47077
47078 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47079 %eax without telling the compiler.
47080
c0ed9d7d
CD
470812012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
47082
47083 [BZ # 13963]
47084 * manual/install.texi: Use sourceware.org.
47085
c483f6b4
JM
470862012-04-09 Joseph Myers <joseph@codesourcery.com>
47087
d7dd9453
JM
47088 [BZ #13873]
47089 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47090 (__ieee754_pow): Generate overflow and underflow using huge*huge
47091 and tiny*tiny rather than just returning constant infinity or zero
47092 for large exponents.
47093 * math/libm-test.inc (pow_test): Require overflow exceptions for
47094 applicable cases of large exponents.
47095
c483f6b4
JM
47096 [BZ #706]
47097 * sysdeps/i386/fpu/e_pow.S (p10): New object.
47098 (__ieee754_pow): Use iterative multiplication algorithm only for
47099 integer exponents with absolute value below 1024. Check for odd
47100 integer exponents when using algorithm for real exponents.
47101 * math/libm-test.inc (pow_test): Add more tests.
47102 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47103
d2de7579
JM
471042012-04-08 Joseph Myers <joseph@codesourcery.com>
47105
47106 [BZ #13705]
47107 * math/libm-test.inc (exp_test): Do not allow overflow exception
47108 on underflow test.
47109
f77f1232
AJ
471102012-04-08 Aurelien Jarno <aurelien@aurel32.net>
47111
47112 [BZ #13705]
47113 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47114 instead of __kernel_standard_f.
47115
3884932b
MF
471162012-04-08 Mike Frysinger <vapier@gentoo.org>
47117
47118 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47119 * sysdeps/x86_64/memset_chk.S: Likewise.
47120
54472e9c
AJ
471212012-04-08 Andreas Jaeger <aj@suse.de>
47122
6ab0fbfc
AJ
47123 [BZ #10153]
47124 * manual/startup.texi (Environment Access): Describe return value
47125 for putenv and setenv.
47126
61efba8c
AJ
47127 [BZ #6895]
47128 * manual/filesys.texi (Directory Entries): Add description for
47129 DT_LNK.
47130
95c3f29a
AJ
47131 [BZ #6890]
47132 * manual/filesys.texi (Directory Entries): Clarify that it's file
47133 system not operating system in the description of DT_UNKNOWN.
47134
54472e9c
AJ
47135 [BZ #6578]
47136 * manual/syslog.texi (closelog): Fix reference, it's openlog.
47137
624254b1
SC
471382012-04-08 Stephen Compall <s11@member.fsf.org>
47139
47140 [BZ #6649]
47141 * manual/llio.texi (Opening and Closing Files): Add cross
47142 reference to explain mode argument.
47143
1e4920e0
MF
471442012-04-07 Mike Frysinger <vapier@gentoo.org>
47145
47146 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47147 * sysdeps/x86_64/memset_chk.S: Likewise.
47148
5ed848f3
DM
471492012-04-07 David S. Miller <davem@davemloft.net>
47150
47151 * elf/elf.h (R_SPARC_WDISP10): Define.
47152 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47153 R_SPARC_SIZE32.
47154 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47155 R_SPARC_SIZE64 and R_SPARC_H34.
47156
96154cd8
CD
471572012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
47158
47159 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47160 conditions and remove no longer applicable assertion.
47161
9904dc47
L
471622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47163
47164 * bits/byteswap.h: Include <features.h>.
47165 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47166 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47167
f8887d0a
L
471682012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47169
47170 * bits/byteswap.h (__bswap_16): Removed.
47171 Include <bits/byteswap-16.h> to get __bswap_16.
47172 * sysdeps/i386/bits/byteswap.h: Likewise.
47173 * sysdeps/s390/bits/byteswap.h: Likewise.
47174 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47175 * bits/byteswap-16.h: New file.
47176 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47177 * sysdeps/s390/bits/byteswap-16.h: Likewise.
47178 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47179 * string/Makefile (headers): Add bits/byteswap-16.h.
47180
62470f60
PP
471812012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47182
47183 [BZ #13895]
47184 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47185 extra indirection.
47186 * nss/Makefile (tests-static, tests): Add tst-nss-static.
47187 * nss/tst-nss-static.c: New.
47188
4dad7bab
RM
471892012-04-06 Robert Millan <rmh@gnu.org>
47190
47191 [BZ #6486]
47192 * manual/llio.texi (File Position Primitive): lseek
47193 refers to WHENCE when it really means OFFSET.
47194
e9142a17
AJ
471952012-04-06 Andreas Jaeger <aj@suse.de>
47196
2c040eff
AJ
47197 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47198 strncmp declarations.
47199
e9142a17
AJ
47200 * abilist/libc.abilist: Add __poll and __ppoll.
47201
ff9f1c5f
DM
472022012-04-05 David S. Miller <davem@davemloft.net>
47203
dcd2ae90
DM
47204 * scripts/check-local-headers.sh: Accept a host triplet in the
47205 path matched by the exclude regexp.
47206
993eb054
DM
47207 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47208 definition.
47209 * sysdeps/powerpc/powerpc32/dl-machine.h
47210 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47211 * sysdeps/s390/s390-32/dl-machine.h
47212 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47213 * sysdeps/sparc/sparc32/dl-machine.h
47214 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47215 * sysdeps/sparc/sparc64/dl-machine.h
47216 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47217
ff9f1c5f
DM
47218 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47219 lazy binding.
48e2e132 47220 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
47221 undefined symbol errors.
47222
48e2e132 47223 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
47224 DT_NEEDED entries.
47225
e80d6f94
MM
472262012-04-05 Michael Matz <matz@suse.de>
47227
47228 [BZ #13592]
47229 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47230
349fa79f
AJ
472312012-04-05 Andreas Jaeger <aj@suse.de>
47232
47233 [BZ #13908]
47234 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47235 comment.
47236
f402708f
KK
472372012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47238
47239 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47240 which ROUND is no valid rounding mode.
47241
2ecccfc9
KK
472422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47243
47244 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47245 read again.
47246 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47247
8a53f50f
KK
472482012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47249
47250 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47251 an exception using FPU order intentionally.
47252
472532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47254
47255 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47256 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47257 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47258 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47259
d653abb7
SJ
472602012-04-05 Simon Josefsson <simon@josefsson.org>
47261
47262 [BZ #12340]
47263 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47264 EINVAL when BUFLEN is too smal.
47265
c3b1bf7d
TS
472662012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47267
47268 [BZ #13553]
47269 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47270 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47271
b1aa60f3
AJ
472722012-04-03 Andreas Jaeger <aj@suse.de>
47273
c3b1bf7d 47274 [BZ #13938]
67f60a26
AJ
47275 * manual/setjmp.texi (System V contexts): Fix sentence.
47276
b1aa60f3
AJ
47277 [BZ #13926]
47278 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47279 New macro for this case.
47280 [!__GNUC__] (__bswap_64): New inline function for this case.
47281 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47282 * bits/byteswap.h: Likewise.
47283 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47284 ull, guard with __GLIBC_HAVE_LONG_LONG.
47285
47286 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47287 __GLIBC_HAVE_LONG_LONG.
47288
47289 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47290 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47291
39c59c35
TMQMF
472922012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47293
47294 [BZ #13691]
47295 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47296 inptr and inend, rather than using last_ch.
47297
135ffda8
DM
472982012-04-02 David S. Miller <davem@davemloft.net>
47299
47300 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47301 * stdio-common/printf-parse.h (read_int): Change return type to
47302 'int', return -1 on INT_MAX overflow.
47303 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47304 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47305 overflows INT_MAX. Check for overflow of in-format-string precision
47306 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47307 SIZE_MAX not INT_MAX for integer overflow test.
47308 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47309 skip the construct in the format string but do not record anything.
47310 * stdio-common/bug22.c: Adjust to test both width/prevision
47311 INT_MAX overflow as well as total length INT_MAX overflow. Check
47312 explicitly for proper errno values.
47313
228c019e
TS
473142012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47315
302cadd3
TS
47316 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47317 CHAR_MAX.
47318 * string/test-strcmp.c [! WIDE]: Likewise.
47319 * time/tst-mktime2.c: Likewise for INT_MAX.
47320 * string/test-string.h: #include <sys/param.h> for MIN.
47321
228c019e
TS
47322 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47323 * sysdeps/i386/init-first.c (init): Likewise.
47324 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47325 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47326 * sysdeps/sh/init-first.c (init): Likewise.
47327
cfa633f5
UD
473282012-04-01 Ulrich Drepper <drepper@gmail.com>
47329
47330 * po/ru.po: Update from translation team.
d1635ef8 47331 * po/vi.po: Likewise.
cfa633f5 47332
6cd0a5ea
SP
473332012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47334
47335 * resolv/nss_dns/dns-host.c: Merge copyright years.
47336
4b43400f
LD
473372012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47338
47339 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47340 Optimize memcpy with prefetch if
47341 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47342 src, dst pointers have unequal 16 byte alignments.
47343
48c41d04
SP
473442012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47345
47346 [BZ #13928]
47347 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47348 from a CNAME entry and return the minimum ttl for the query.
47349 (gaih_getanswer_slice): Likewise.
47350
b8dc394d
JL
473512012-03-30 Jeff Law <law@redhat.com>
47352
47353 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47354 due to long keys.
47355 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47356 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47357
2f5a5ed0
JL
47358 * resolv/nss_dns/dns-host.c: Update copyright year.
47359
1d39e359
UD
473602012-03-30 Ulrich Drepper <drepper@gmail.com>
47361
c030f70c 47362 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 47363 requests to save a system call. Fix check that all bytes are sent.
c030f70c 47364
1d39e359
UD
47365 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47366 comments for sendmmsg.
47367
473682012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
47369
47370 [BZ #13691]
47371 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47372 with only 1 character between 0x0041 and 0x01b0.
47373 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47374 * wcsmbs/tst-mbsnrtowcs.c: New file.
47375
20fde227
DM
473762012-03-29 David S. Miller <davem@davemloft.net>
47377
47378 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47379 small copies by hand.
47380
984a4237
JL
473812012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47382
47383 [BZ #13761]
57f41c40
AS
47384 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47385 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47386 group memberships.
984a4237 47387
18c9d62b
DM
473882012-03-28 David S. Miller <davem@davemloft.net>
47389
88d85d4f
DM
47390 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47391 that branches into memcpy.
47392 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47393 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47394 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47395 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47396 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47397 bits.
47398 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47399 implementation too.
47400 * sysdeps/sparc/mempcpy.S: New file.
47401
e5aa83e1
DM
47402 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47403 the IFUNC routine in the libc case.
47404 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47405
88570753
DM
47406 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47407 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47408 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47409 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47410 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47411 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47412 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47413 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47414
249d7567
DM
47415 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47416 loop to 256 bytes instead of 64 bytes and fix test signedness.
47417
18c9d62b
DM
47418 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47419 * sysdeps/sparc/sparc32/Makefile: rather than here...
47420 * sysdeps/sparc/sparc64/Makefile: and here.
47421
05f3d1f6
UD
474222012-03-28 Ulrich Drepper <drepper@gmail.com>
47423
47424 * malloc/mallocbug.c: Avoid warnings about unused variables.
47425
86ae07a8
JL
474262012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47427
47428 [BZ #13760]
47429 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47430 in the right place. Discard and retry query if response is
47431 larger than input buffer size.
47432
41bf21a1
JM
474332012-03-28 Joseph Myers <joseph@codesourcery.com>
47434
d6270972
JM
47435 [BZ #369]
47436 [BZ #2678]
47437 [BZ #3866]
47438 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47439 x for large integer exponent.
47440 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47441 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47442 sign of result as needed afterwards.
47443 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47444 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47445 result for underflowing pow the same as for overflow.
47446 (__kernel_standard_l): Handle powl overflow and underflow here
47447 rather than calling __kernel_standard.
47448 * math/libm-test.inc (pow_test): Add more tests.
47449
414fca03 47450 [BZ #3868]
41bf21a1
JM
47451 [BZ #13879]
47452 [BZ #13910]
47453 [BZ #13911]
47454 [BZ #13912]
47455 [BZ #13913]
47456 [BZ #13915]
47457 [BZ #13916]
47458 [BZ #13917]
47459 [BZ #13918]
47460 [BZ #13919]
47461 [BZ #13920]
47462 [BZ #13921]
47463 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47464 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47465 (__kernel_standard_l): New function.
47466 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47467 __kernel_standard.
47468 * math/w_acosl.c (__acosl): Likewise.
47469 * math/w_asinl.c (__asinl): Likewise.
47470 * math/w_atan2l.c (__atan2l): Likewise.
47471 * math/w_atanhl.c (__atanhl): Likewise.
47472 * math/w_coshl.c (__coshl): Likewise.
47473 * math/w_exp10l.c (__exp10l): Likewise.
47474 * math/w_exp2l.c (__exp2l): Likewise.
47475 * math/w_fmodl.c (__fmodl): Likewise.
47476 * math/w_hypotl.c (__hypotl): Likewise.
47477 * math/w_j0l.c (__j0l, __y0l): Likewise.
47478 * math/w_j1l.c (__j1l, __y1l): Likewise.
47479 * math/w_jnl.c (__jnl, __ynl): Likewise.
47480 * math/w_lgammal.c (__lgammal): Likewise.
47481 * math/w_log10l.c (__log10l): Likewise.
47482 * math/w_log2l.c (__log2l): Likewise.
47483 * math/w_logl.c (__logl): Likewise.
47484 * math/w_powl.c (__powl): Likewise.
47485 * math/w_remainderl.c (__remainderl): Likewise.
47486 * math/w_scalbl.c (sysv_scalbl): Likewise.
47487 * math/w_sinhl.c (__sinhl): Likewise.
47488 * math/w_sqrtl.c (__sqrtl): Likewise.
47489 * math/w_tgammal.c (__tgammal): Likewise.
47490 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47491 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47492 * math/libm-test.inc (acos_test): Add more tests.
47493 (acosh_test): Likewise.
47494 (asin_test): Likewise.
47495 (atanh_test): Likewise.
47496 (exp_test): Likewise.
47497 (exp10_test): Likewise.
47498 (exp2_test): Likewise.
47499 (expm1_test): Likewise.
47500 (lgamma_test): Likewise.
47501 (log_test): Likewise.
47502 (log10_test): Likewise.
47503 (log1p_test): Likewise.
47504 (log2_test): Likewise.
47505 (pow_test): Do not allow some spurious overflow exceptions.
47506 (sqrt_test): Add more tests.
47507 (tgamma_test): Likewise.
47508 (y0_test): Likewise.
47509 (y1_test): Likewise.
47510 (yn_test): Likewise.
47511
dd62fda6
AB
475122012-03-27 Anton Blanchard <anton@samba.org>
47513
47514 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47515 MAP_HUGETLB.
47516 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47517 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47518 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47519
1e3cdfda
AJ
475202012-03-27 David S. Miller <davem@davemloft.net>
47521
b855ab85
DM
47522 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47523
1e3cdfda
AJ
47524 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47525 have-as-vis3 check.
47526
475272012-03-27 Andreas Jaeger <aj@suse.de>
47528
47529 * sysdeps/x86_64/elf/configure.in: Moved to ...
47530 * sysdeps/x86_64/configure.in: ... here.
47531 * sysdeps/x86_64/elf/start.S: Moved to ...
47532 * sysdeps/x86_64/start.S: ... here.
47533 * sysdeps/x86_64/elf/configure: Delete.
47534
47535 * sysdeps/x86_64/configure.in: Merge contents from
47536 sysdeps/i386/configure.in (without i686 check).
47537
47538 * sysdeps/i386/elf/Versions: Merge into ...
47539 * sysdeps/i386/Versions: ... this.
47540 * sysdeps/i386/elf/Versions: Delete file.
47541 * sysdeps/i386/elf/start.S: Moved to ...
47542 * sysdeps/i386/start.S: ...here.
47543 * sysdeps/i386/elf/configure.in: Merge into...
47544 * sysdeps/i386/configure.in: ...here.
47545 * sysdeps/i386/elf/configure.in: Delete file.
47546 * sysdeps/i386/elf/configure: Delete file.
47547
47548 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47549 * debug/backtracesyms.c: ... here.
47550 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47551 * debug/backtracesymsfd.c: ... here.
47552 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47553 * sysdeps/generic/ifunc-sel.h: ... here.
47554
47555 * sysdeps/unix/i386/start.c: Delete file.
47556 * sysdeps/unix/sparc/start.c: Delete file.
47557 * sysdeps/unix/start.c: Delete file.
47558
47559 * sysdeps/sh/elf/configure.in: Moved to ...
47560 * sysdeps/sh/configure.in: ... here.
47561 * sysdeps/sh/elf/start.S: Moved to ...
47562 * sysdeps/sh/start.S: ... here.
47563 * sysdeps/sh/elf/configure: Delete file.
47564
47565 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47566 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47567 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47568 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47569 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47570 * sysdeps/powerpc/powerpc64/start.S: here.
47571 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47572 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47573 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47574 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47575 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47576
47577 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47578 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47579 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47580 * sysdeps/powerpc/powerpc32/start.S: ... here.
47581 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47582 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47583 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47584
47585 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47586 * sysdeps/powerpc/ifunc-sel.h: ... here.
47587 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47588 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47589
47590 * sysdeps/sparc/elf/configure.in: Moved to ...
47591 * sysdeps/sparc/configure.in: ... here.
47592 * sysdeps/sparc/elf/configure: Delete file.
47593 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47594 * sysdeps/sparc/sparc32/start.S: ... here.
47595 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47596 * sysdeps/sparc/sparc64/start.S: ... here.
47597 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47598 * sysdeps/sparc/sparc32/Makefile: ... this.
47599 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47600 * sysdeps/sparc/sparc64/Makefile: ... this.
47601
47602 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47603 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47604 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47605 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47606 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47607 * sysdeps/s390/s390-32/setjmp.S: ... here.
47608 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47609 * sysdeps/s390/s390-32/configure.in: ... here.
47610 * sysdeps/s390/s390-32/elf/configure: Delete file.
47611 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47612 * sysdeps/s390/s390-32/start.S: ... here.
47613
47614 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47615 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47616 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47617 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47618 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47619 * sysdeps/s390/s390-64/setjmp.S: ... here.
47620 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47621 * sysdeps/s390/s390-64/configure.in: ... here
47622 * sysdeps/s390/s390-64/elf/configure: Delete file.
47623 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47624 * sysdeps/s390/s390-64/start.S: ... here.
47625 * sysdeps/s390/s390-64/elf/configure: Delete.
47626
47627 * configure.in: Remove support for elf directories in sysdeps.
47628
47629 * configure: Regenerated.
47630 * sysdeps/i386/configure: Regenerated.
47631 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47632 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47633 * sysdeps/s390/s390-32/configure: Regenerated.
47634 * sysdeps/s390/s390-64/configure: Regenerated.
47635 * sysdeps/sh/configure: Regenerated.
47636 * sysdeps/sparc/configure: Regenerated.
47637 * sysdeps/x86_64/configure: Regenerated.
47638
a3f61311
AS
476392012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47640
c876e002
AS
47641 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47642
a3f61311
AS
47643 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47644 denormal result into account.
47645
ac4c54f0
RM
476462012-03-25 Roland McGrath <roland@hack.frob.com>
47647
47648 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47649 Reported by Allan McRae <allan@archlinux.org>.
47650
6a9b9c02
JL
476512012-03-23 Jeff Law <law@redhat.com>
47652
47653 * nss/getnssent.c (__nss_getent): Fix typo.
47654
4c42a0c1
DM
476552012-03-23 David S. Miller <davem@davemloft.net>
47656
47657 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47658
1532c7ac
L
476592012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47660
47661 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47662 to pad to uint64_t for each field.
47663 (dl_tls_index): Replace unsigned long with uint64_t.
47664
3ff42526
PP
476652012-03-23 Daniel Jacobowitz <dmj@google.com>
47666 Paul Pluzhnikov <ppluzhnikov@google.com>
47667
47668 [BZ #6528]
47669 * grp/Makefile (otherlibs): Don't set it.
47670 * inet/Makefile (otherlibs): Likewise.
47671 * login/Makefile (otherlibs): Likewise.
47672 * nscd/Makefile (otherlibs): Likewise.
47673 * posix/Makefile (otherlibs): Likewise.
47674 * pwd/Makefile (otherlibs): Likewise.
47675 * rt/Makefile (otherlibs): Likewise.
47676 * sunrpc/Makefile (otherlibs): Likewise.
47677 * nss/Makefile (otherlibs): Likewise.
47678 Add libnss_files to routines and static-only-routines.
47679 ($(objpfx)getent): Remove rule.
47680 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47681 static-only-routines.
47682
7c69cd14
JM
476832012-03-22 Joseph Myers <joseph@codesourcery.com>
47684
47685 [BZ #13892]
47686 * math/s_cexp.c: Include <float.h>.
47687 (__cexp): Handle exp result overflowing not necessarily
47688 overflowing both real and imaginary parts of result.
47689 * math/s_cexpf.c: Likewise.
47690 * math/s_cexpl.c: Likewise.
47691 * math/libm-test.inc (cexp_test): Add more tests.
47692 * sysdeps/i386/fpu/libm-test-ulps: Update.
47693 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47694
81b035fe
L
476952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47696
47697 * include/link.h (ELFW): New macro.
47698 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47699 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47700
1da7940c
L
477012012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47702
47703 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47704 with uint64_t.
47705
b749dbb9
L
477062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47707
47708 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47709 declaration.
47710 (struct La_x32_retval): Likewise.
47711
2ff87f3f
L
477122012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47713
47714 * sysdeps/x86_64/preconfigure.in: New file.
47715 * sysdeps/x86_64/preconfigure: New generated file.
47716
c0df8e69
JM
477172012-03-22 Joseph Myers <joseph@codesourcery.com>
47718
48e44791
JM
47719 [BZ #13824]
47720 * math/e_exp2l.c: Include <float.h>.
47721 (__ieee754_exp2l): Handle overflow and underflow cases
47722 separately. Only pass fractional part of argument to
47723 __ieee754_expl.
47724 * math/libm-test.inc (exp2_test): Add more tests.
47725
c0df8e69
JM
47726 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47727 negating x to take absolute value.
47728 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47729 Likewise.
47730 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47731 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47732 Likewise.
47733 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47734 computing low part if x was negated.
47735 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47736
c8e43ba7
L
477372012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47738
47739 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47740 la_x32_gnu_pltexit.
47741 (pltexit): Cast int_retval to ptrdiff_t.
47742 * elf/tst-auditmod3b.c: Likewise.
47743 * elf/tst-auditmod4b.c: Likewise.
47744 * elf/tst-auditmod5b.c: Likewise.
47745 * elf/tst-auditmod6b.c: Likewise.
47746 * elf/tst-auditmod6c.c: Likewise.
47747 * elf/tst-auditmod7b.c: Likewise.
47748
47749 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47750 and x32_gnu_pltexit.
47751
47752 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47753 __ELF_NATIVE_CLASS.
47754 (La_x32_regs): New macro.
47755 (La_x32_retval): Likewise.
47756 (la_x32_gnu_pltenter): New function prototype.
47757 (la_x32_gnu_pltexit): Likewise.
47758
7998fa78
AS
477592012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47760
dcb33988
AS
47761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47762 exponent.
47763
233fc563
AS
47764 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47765
7998fa78
AS
47766 * configure.in (libc_cv_cc_nofma): Check for option to disable
47767 generation of FMA instructions.
47768 * configure: Regenerate.
47769 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47770 * sysdeps/ieee754/dbl-64/Makefile: New file.
47771 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47772 Remove brandred-fma4.
47773 (CFLAGS-brandred-fma4.c): Remove.
47774 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47775 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47776 define.
47777 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47778 define.
47779
8e95c99a
L
477802012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47781
47782 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47783 LLONG_MAX != LONG_MAX.
47784 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47785 (_fitoa_word): Likewise.
47786 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47787 LLONG_MAX != LONG_MAX.
47788 * stdio-common/_itowa.h: Include <_itoa.h>.
47789 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47790 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47791 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47792 only if not defined.
47793 (_ITOA_WORD_TYPE): Likewise.
47794 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47795 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47796
6f4db457
DM
477972012-03-21 David S. Miller <davem@davemloft.net>
47798
47799 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47800
7785fe5a
L
478012012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47802
47803 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47804 of x86_64 when setting libc_cv_slibdir, libdir and
47805 libc_cv_localedir.
47806 * sysdeps/unix/sysv/linux/configure: Regenerated.
47807
4535cd55
JM
478082012-03-21 Joseph Myers <joseph@codesourcery.com>
47809
47810 * manual/lang.texi (Old Varargs): Remove section.
47811 (How Variadic): Update menu.
47812 (va_start): Do not mention varargs.h.
47813
17228132
TS
478142012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47815 Joseph Myers <joseph@codesourcery.com>
47816
47817 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47818 link test.
47819 * configure: Regenerated.
47820
8149f976
TS
478212012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47822
05f3d1f6
UD
47823 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47824 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47825 conformtest.pl
8149f976 47826
1a4ac776
JM
478272012-03-21 Joseph Myers <joseph@codesourcery.com>
47828
be22ce65
JM
47829 * NOTES: Remove.
47830 * Makefile (files-for-dist): Remove NOTES.
47831 (NOTES): Remove rule.
47832 * README: Don't refer to NOTES.
47833 * manual/creature.texi: Don't include macros.texi.
47834 * manual/intro.texi (creature.texi): Remove comment referring to
47835 NOTES.
47836
40b601fb
JM
47837 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47838 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47839 * configure: Regenerated.
47840 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47841 LIBC_TRY_CC_OPTION.
47842 (libc_cv_as_i686): Likewise.
47843 (libc_cv_cc_avx): Likewise.
47844 (libc_cv_cc_sse2avx): Likewise.
47845 (libc_cv_cc_fma4): Likewise.
47846 (libc_cv_cc_novzeroupper): Likewise.
47847 * sysdeps/i386/configure: Regenerated.
47848
1a4ac776
JM
47849 [BZ #13883]
47850 * sysdeps/i386/fpu/s_cexp.S: Remove.
47851 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47852 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47853 * math/libm-test.inc (cexp_test): Add more tests.
47854 * sysdeps/i386/fpu/libm-test-ulps: Update.
47855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47856
a458e7fe
AM
478572012-03-21 Allan McRae <allan@archlinux.org>
47858
47859 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47860
0cb7efc5
JM
478612012-03-21 Joseph Myers <joseph@codesourcery.com>
47862
47863 [BZ #13871]
47864 * math/w_exp2.c: Do not include <float.h>.
47865 (o_threshold, u_threshold): Remove.
47866 (__exp2): Calculate result before checking finiteness and calling
47867 __kernel_standard.
47868 * math/w_exp2f.c: Likewise.
47869 * math/w_exp2l.c: Likewise.
47870 * math/libm-test.inc (exp2_test): Require overflow exception for
47871 1e6 input.
2460d3aa
JM
47872
47873 [BZ #3866]
47874 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47875 range of signed 64-bit integers before using fistpll. Remove
47876 checks for whether integers fit in mantissa bits.
47877 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47878 the range of signed 32-bit integers before using fistpl. Remove
47879 checks for whether integers fit in mantissa bits.
47880 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47881 (__ieee754_powl): Test for y outside the range of signed 64-bit
47882 integers before using fistpll. Reduce 64-bit values to 63-bit
47883 ones as needed.
47884 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47885 divide-by-zero is raised for zero to large negative powers.
47886 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47887 (__ieee754_powl): Test for y outside the range of signed 64-bit
47888 integers before using fistpll. Reduce 64-bit values to 63-bit
47889 ones as needed.
47890 * math/libm-test.inc (pow_test): Add more tests.
47891
eb96ffb0
L
478922012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47893
47894 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47895 <stdio-common/_itoa.h>.
47896 * debug/segfault.c: Likewise.
47897 * elf/dl-cache.c: Likewise.
47898 * elf/dl-minimal.c: Likewise.
47899 * elf/dl-misc.c: Likewise.
47900 * elf/dl-sysdep.c: Likewise.
47901 * elf/dl-version.c: Likewise.
47902 * elf/rtld.c: Likewise.
47903 * hurd/hurdsock.c: Likewise.
47904 * hurd/lookup-retry.c: Likewise.
47905 * malloc/malloc.c: Likewise.
47906 * malloc/mtrace.c: Likewise.
47907 * nscd/nscd_getgr_r.c: Likewise.
47908 * nscd/nscd_getpw_r.c: Likewise.
47909 * nscd/nscd_getserv_r.c: Likewise.
47910 * posix/getopt_init.c: Likewise.
47911 * posix/wordexp.c: Likewise.
47912 * stdio-common/_itoa.c: Likewise.
47913 * stdio-common/printf_fphex.c: Likewise.
47914 * stdio-common/vfprintf.c: Likewise.
47915 * string/_strerror.c: Likewise.
47916 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47917 * sysdeps/i386/i686/hp-timing.h: Likewise.
47918 * sysdeps/mach/_strerror.c: Likewise.
47919 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47920 * sysdeps/mach/hurd/sethostid.c: Likewise.
47921 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47922 * sysdeps/mach/xpg-strerror.c: Likewise.
47923 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47924 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47925 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47926 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47927 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47928 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47929 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47930 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47931 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47932 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47933 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47934 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47935 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47936 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47937 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47938 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47939 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47940 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47941 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47942 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47943 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
47944
47945 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
47946
47947 * stdio-common/_itoa.h: Moved to ...
47948 * sysdeps/generic/_itoa.h: Here.
47949
47950 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
47951
47952 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
47953 instead of "_itoa.h" and "_itowa.h".
47954 * stdio-common/vfprintf.: Likewise.
47955
d1af992d
L
479562012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47957
47958 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
47959 <bits/wordsize.h>.
47960 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
47961 (__signbit): Likwise.
47962 (llrintf): Likwise.
47963 (llrint): Likwise.
47964
114883e0
L
479652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47966
47967 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
47968 __WORDSIZE != 64.
47969
c135cc1b
JM
479702012-03-20 Joseph Myers <joseph@codesourcery.com>
47971
47972 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
47973 OVERFLOW_EXCEPTION_OK.
47974 * math/libm-test.inc ("Philosophy"): Update comment about
47975 exception testing.
47976 (OVERFLOW_EXCEPTION): Define.
47977 (OVERFLOW_EXCEPTION_OK): Likewise.
47978 (INVALID_EXCEPTION_OK): Renumber.
47979 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
47980 (IGNORE_ZERO_INF_SIGN): Likewise.
47981 (test_exceptions): Handle FE_OVERFLOW.
47982 (exp10_test): Expect overflow exceptions.
47983 (exp2_test): Likewise.
47984 (expm1_test): Likewise.
47985 (nextafter_test): Likewise.
47986 (pow_test): Likewise.
47987 (scalbn_test): Likewise.
47988 (scalbln_test): Likewise.
47989
95443d88
L
479902012-03-19 H.J. Lu <hongjiu.lu@intel.com>
47991
47992 * sysdeps/x86_64/bits/atomic.h
47993 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
47994 64bit integer.
47995 (atomic_exchange_acq): Likewise.
47996 (__arch_exchange_and_add_body): Likewise.
47997 (__arch_add_body): Likewise.
47998 (atomic_add_negative): Likewise.
47999 (atomic_add_zero): Likewise.
48000
490df6c4
L
480012012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48002
c2722551 48003 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
48004 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48005
5e52b189
L
480062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48007
48008 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48009 Check __x86_64__ instead of __WORDSIZE.
48010
a9879d4c
L
480112012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48012
48013 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48014
5df98260
DM
480152012-03-19 David S. Miller <davem@davemloft.net>
48016
e1497744
DM
48017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48018
5df98260
DM
48019 * sysdeps/sparc/fpu/fenv_private.h: New file.
48020 * sysdeps/sparc/fpu/math_private.h: Use it.
48021 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48022 Remove.
57f41c40 48023 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
48024 (libc_feholdexcept_setroundl): Remove.
48025 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48026 Remove.
48027 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48028 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48029
b4c35121
L
480302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48031
48032 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48033 int64_t instead of long int.
48034 (INSERT_WORDS64): Likwise.
48035
56965fd7
L
480362012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48037
48038 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48039 _Unwind_GetCFA return to _Unwind_Ptr first.
48040
83d1aec8
JM
480412012-03-19 Joseph Myers <joseph@codesourcery.com>
48042
1897ad44
JM
48043 [BZ #13629]
48044 * math/s_clog.c: Include <float.h>.
48045 (__clog): Scale large or subnormal inputs.
48046 * math/s_clogf.c: Likewise.
48047 * math/s_clogl.c: Likewise.
48048 * math/s_clog10.c: Include <float.h>.
48049 (M_LOG10_2): Define.
48050 (__clog10): Scale large or subnormal inputs.
48051 * math/s_clog10f.c: Likewise.
48052 * math/s_clog10l.c: Likewise.
48053 * math/libm-test.inc (clog_test): Add more tests.
48054 (clog10_test): Likewise.
48055 * sysdeps/i386/fpu/libm-test-ulps: Update.
48056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48057
7726d6a9
JM
48058 [BZ #11451]
48059 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48060 x and y.
48061 * math/libm-test.inc (atan2_test): Add another test.
48062
83d1aec8
JM
48063 * Makerules (common-objdir-compile): Remove.
48064 * sysdeps/unix/Makefile (config-generated): Do not add
48065 $(unix-generated) to variable.
48066 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48067 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48068 Remove rule.
48069 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48070 Likewise.
48071 [generic bits/local_lim.h] (before-compile): Do not append to
48072 variable.
48073 [generic bits/local_lim.h] (common-generated): Likewise.
48074 [generic sys/param.h] (before-compile): Do not append to variable.
48075 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48076 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48077 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48078 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48079 include.
48080 [generic sys/param.h] (sys/param.h-includes): Remove variable.
48081 [generic sys/param.h] (sys/param.h-includes): Remove rule.
48082 [generic sys/param.h] ($(addprefix
48083 $(common-objpfx),$(sys/param.h-includes))): Likewise.
48084 [generic sys/param.h] (common-generated): Do not append to
48085 variable.
48086 [generic sys/param.h] (sysdep_headers): Likewise.
48087 [generic bits/errno.h] (before-compile): Do not append to
48088 variable.
48089 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48090 rule.
48091 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48092 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48093 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48094 [generic bits/errno.h] (common-generated): Do not append to
48095 variable.
48096 [generic bits/ioctls.h] (before-compile): Do not append to
48097 variable.
48098 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48099 rule.
48100 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48101 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48102 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48103 rule.
48104 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48105 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48106 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48107 [generic bits/ioctls.h] (common-generated): Do not append to
48108 variable.
48109 [generic sys/syscall.h] (syscall.h): Remove variable.
48110 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48111 rule.
48112 [generic sys/syscall.h] (before-compile): Do not append to
48113 variable.
48114 [generic sys/syscall.h] (common-generated): Likewise.
48115 * sysdeps/unix/errnos-tmpl.c: Remove file.
48116 * sysdeps/unix/errnos.awk: Likewise.
48117 * sysdeps/unix/ioctls-tmpl.c: Likewise.
48118 * sysdeps/unix/ioctls.awk: Likewise.
48119 * sysdeps/unix/mk-local_lim.c: Likewise.
48120 * sysdeps/unix/snarf-ioctls: Likewise.
48121
4851a949
RH
481222012-03-19 Richard Henderson <rth@twiddle.net>
48123
bd37f2ee
RH
48124 * sysdeps/i386/fpu/fenv_private.h: New file.
48125 * sysdeps/i386/fpu/math_private.h: Use it.
48126 (math_opt_barrier, math_force_eval): Remove.
48127 (libc_feholdexcept_setround_53bit): Remove.
48128 (libc_feupdateenv_53bit): Remove.
48129 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48130 (math_opt_barrier, math_force_eval): Remove.
48131 (libc_feholdexcept): Remove.
48132 (libc_feholdexcept_setround): Remove.
48133 (libc_fetestexcept, libc_fesetenv): Remove.
48134 (libc_feupdateenv_test): Remove.
48135 (libc_feupdateenv, libc_feholdsetround): Remove.
48136 (libc_feresetround): Remove.
48137
d0adc922
RH
48138 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48139 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48140
0fe0f1f8
RH
48141 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48142 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48143 (libc_feupdateenv_testl): New.
48144 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48145 (libc_feupdateenv_testf): New.
48146 (libc_feupdateenv): Use libc_feupdateenv_test.
48147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48148 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48149
eb92c487
RH
48150 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48151 (libc_feholdsetroundf, libc_feholdsetroundl): New.
48152 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48153 (libc_feresetround_noex): New.
48154 (libc_feresetround_noexf): New.
48155 (libc_feresetround_noexl): New.
48156 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48157 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48158 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48159 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48160 SET_RESTORE_ROUND.
48161 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48162 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48163 (__cos): Likewise.
48164 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48165 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48166 SET_RESTORE_ROUND_NOEX.
48167 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48168 SET_RESTORE_ROUND_NOEXF.
48169 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48170 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48171 (libc_feholdsetroundf): New.
48172 (libc_feresetround, libc_feresetroundf): New.
48173
7d2e8012
RH
48174 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48175 (libc_feholdexcept_setround_53bit): Convert from macro to function.
48176 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
48177
b4dabbb4
RH
48178 * sysdeps/generic/math_private.h: Include <fenv.h>.
48179 (default_libc_feholdexcept): New.
48180 (default_libc_feholdexcept_setround): New.
48181 (default_libc_fesetenv, default_libc_feupdateenv): New.
48182 (libc_feholdexcept): Only define if undefined.
48183 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48184 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48185 (libc_feholdexcept_setroundl): Likewise.
48186 (libc_feholdexcept_setround_53bit): Likewise.
48187 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48188 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48189 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48190 (libc_feupdateenv_53bit): Likewise.
48191 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48192 (libc_feholdexcept): Convert from macro to inline function.
48193 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48194 (libc_fesetenv, libc_feupdateenv): Likewise.
48195
4851a949
RH
48196 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48197 not previously defined.
48198 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48199 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48200 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48201 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48202 * sysdeps/ieee754/flt-32/math_private.h: New file.
48203 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48204 math_private.h below SET_FLOAT_WORD.
48205 (__isnan, __isinf_ns, __finite): Remove.
48206 (__isnanf, __isinf_nsf, __finitef): Remove.
48207
e79d442e
AS
482082012-03-18 Andreas Schwab <schwab@linux-m68k.org>
48209
48210 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48211
90b80344
DM
482122012-03-17 David S. Miller <davem@davemloft.net>
48213
48214 [BZ #6471]
48215 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48216 for 2.16.
48217
edc21804
DM
482182012-03-16 David S. Miller <davem@davemloft.net>
48219
77e927af
DM
48220 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48221 warnings.
48222
374976dd
DM
48223 [BZ #6471]
48224 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48225 properly.
48226 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48227 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48228 sysdep_routines when subdir is sysvipc.
48229 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48230 __getshmlba helper.
48231
edc21804
DM
48232 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48233
473c3ef3
L
482342012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48235
48236 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48237 [__LP64__].
48238
eb0f39b6
L
482392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48240
48241 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48242 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48243 (__lround): Renamed to ...
48244 (__llround): This. Replace long int with long long int.
48245 Define lround functions as aliases of llround functions.
48246 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48247
6b6cd74b
L
482482012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48249
48250 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48251 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48252 adresses to uintptr_t. Replace "long int" and "unsigned long
48253 int" with "greg_t" on va_arg.
48254
f1a77b01
L
482552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48256
48257 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48258 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48259
48260 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48261 Move e_machine check before EI_CLASS check. Handle x32
48262 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48263 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48264 SKIP_EM_IA_64 and include
48265 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48266
48267 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48268 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48269 (add_system_dir): New macro.
48270
48271 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48272 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48273
11b90b9f
JM
482742012-03-16 Joseph Myers <joseph@codesourcery.com>
48275
c36e1d23
JM
48276 [BZ #2551]
48277 [BZ #2552]
48278 [BZ #2553]
48279 [BZ #2554]
48280 [BZ #2562]
48281 [BZ #2563]
48282 [BZ #2565]
48283 [BZ #2566]
48284 [BZ #2576]
48285 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48286 (y0): Likewise.
48287 * math/w_j0f.c (j0f): Likewise.
48288 (y0f): Likewise.
48289 * math/w_j0l.c (__j0l): Likewise.
48290 (__y0l): Likewise.
48291 * math/w_j1.c (j1): Likewise.
48292 (y1): Likewise.
48293 * math/w_j1f.c (j1f): Likewise.
48294 (y1f): Likewise.
48295 * math/w_j1l.c (__j1l): Likewise.
48296 (__y1l): Likewise.
48297 * math/w_jn.c (jn): Likewise.
48298 (yn): Likewise.
48299 * math/w_jnf.c (jnf): Likewise.
48300 (ynf): Likewise.
48301 * math/w_jnl.c (__jnl): Likewise.
48302 (__ynl): Likewise.
48303 * math/libm-test.inc (j0_test): Add more tests.
48304 (j1_test): Likewise.
48305 (jn_test): Likewise. Add trailing semicolon to existing test.
48306 (y0_test): Likewise.
48307 (y1_test): Likewise.
48308 * sysdeps/i386/fpu/libm-test-ulps: Update.
48309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48310
11b90b9f
JM
48311 [BZ #13851]
48312 [BZ #13854]
48313 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48314 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48315 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48316 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48317 (__tanl): Set errno for infinite argument.
48318 * sysdeps/i386/fpu/mptan.c: Remove.
48319 * sysdeps/i386/fpu/s_tan.S: Likewise.
48320 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48321 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48322 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48323 * math/libm-test.inc (tan_test): Add more tests and enable more
48324 tests for double and long double.
48325 * sysdeps/i386/fpu/libm-test-ulps: Update.
48326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48327
6a1bd2a1
JK
483282012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48329
48330 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48331 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48332
10a803e0
RM
483332012-03-16 Roland McGrath <roland@hack.frob.com>
48334
48335 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48336 * configure.in: Use it for both main tree and add-ons.
48337 * configure: Regenerated.
48338
f196c7f7
L
483392012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48340
48341 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48342
8848d99d
JM
483432012-03-16 Joseph Myers <joseph@codesourcery.com>
48344
96cbe7f4
JM
48345 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48346 in comment.
48347
8848d99d
JM
48348 [BZ #13851]
48349 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48350 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48351 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48352 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48353 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48354 infinite argument.
48355 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48356 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48357 != 0 for prec == 2.
48358 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48359 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48360 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48361 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48362 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48363 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48364 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48365 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48366 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48367 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48368 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48369 * math/libm-test.inc (cos_test): Add more tests and enable more
48370 tests for long double.
48371 (sin_test): Likewise.
48372 (sincos_test): Likewise.
48373 * sysdeps/i386/fpu/libm-test-ulps: Update.
48374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48375
dd7f4703
DM
483762012-03-16 David S. Miller <davem@davemloft.net>
48377
48378 * sysdeps/sparc/fpu/math_private.h: New file.
48379
006f1daa
DM
483802012-03-15 David S. Miller <davem@davemloft.net>
48381
c0c83bc8
DM
48382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48383 file.
e6a62e18 48384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
48385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48386 file.
e6a62e18
DM
48387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48388 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48389 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48390 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48391 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48392 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48393 sysdep routines.
48394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48395
88cb87d9
DM
48396 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48397 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48398
006f1daa 48399 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
48400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48401 sparc-ifunc.h
006f1daa 48402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
48403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48404 Likewise.
48405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48406 Likewise.
006f1daa
DM
48407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
48410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48411 Likewise.
006f1daa
DM
48412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
48416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48417 Likewise.
48418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48419 Likewise.
006f1daa
DM
48420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48424 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48425 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48426 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48427 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48428 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48429 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48430 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48431 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48432 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48433 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48434 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48435 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48436 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48437 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48438 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48439 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48440 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48441 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48442 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48443 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48444
11e0098e
AS
484452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48446
48447 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48448 scaling.
48449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48450
e85b09d0
AJ
484512012-03-15 Andreas Jaeger <aj@suse.de>
48452
48453 [BZ #13852]
48454 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48455 ieee754/flt-32 implementation for sin, cos and sincos.
48456 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48457 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48458 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48459 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48460 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48461 ieee754/flt-32 implementation for tan.
48462
48463 * math/libm-test.inc (cos_test): Enable some large input tests for
48464 float as well
48465 (sin_test): Likewise.
48466 (sincos_test): Likewise.
48467 (tan_test): Add tests for large input.
48468
48469 * sysdeps/i386/fpu/libm-test-ulps: Update.
48470
81c64153
AJ
484712012-03-15 Andreas Jaeger <aj@suse.de>
48472
48473 [BZ #13658]
48474 * math/libm-test.inc (cos_test): Add more test cases.
48475 (sin_test): Likewise.
48476 (sincos_test): Likewise.
48477
7bbfa5c6
AJ
484782012-03-15 Andreas Jaeger <aj@suse.de>
48479
48480 [BZ #13837]
48481 * math/libm-test.inc (cos_test): Add a test case for large input
48482 value.
48483 (sin_test): Likewise.
48484 (sincos_test): Likewise.
48485
57f41c40
AS
484862012-03-15 Andreas Jaeger <aj@suse.de>
48487 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48488
48489 [BZ #13658]
0671f479 48490 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48491 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48492 * sysdeps/i386/fpu/branred.c: Likewise.
48493 * sysdeps/i386/fpu/dosincos.c: Likewise.
48494 * sysdeps/i386/fpu/mpa.c: Likewise.
48495 * sysdeps/i386/fpu/s_cos.S: Likewise.
48496 * sysdeps/i386/fpu/s_sin.S: Likewise.
48497 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48498 * sysdeps/i386/fpu/sincos32.c: Likewise.
48499
48500 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48501 Define.
48502 (libc_feupdateenv_53bit): Define.
48503 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48504 Define.
48505 (libc_feupdateenv_53bit): Define.
48506
48507 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48508 53 bit (without extend i386 double precision).
48509
48510 * math/libm-test.inc (sincos_test): Add tests for large input.
48511 (sin): Likewise.
48512 (cos): Likewise.
48513
48514 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48515
9cad04ea
AS
485162012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48517
48518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48519
f7062b9a
DM
485202012-03-15 David S. Miller <davem@davemloft.net>
48521
48522 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48523 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48524 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48525 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48530 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48531 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48536 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48538 file.
f7062b9a 48539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48540 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48541 file.
f7062b9a 48542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48543 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48544 file.
f7062b9a 48545 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48546 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48547 file.
f7062b9a
DM
48548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48549 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48550 fmin/fmax sysdep routines.
48551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48552
7bd951ff
DM
485532012-03-14 David S. Miller <davem@davemloft.net>
48554
559398ab
DM
48555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48557 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48558 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48559 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48560 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48561 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48562 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48563 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48564 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48565 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48566 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48567 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48568 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48569 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48570 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48571 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48572 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48573 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48574 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48575 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48576 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48577 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48578 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48579 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48580 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48581 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48582 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48583 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48584 routines.
48585 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48586 file.
559398ab 48587 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48588 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48589 file.
559398ab 48590 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48591 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48592 file.
559398ab 48593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48594 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48595 file.
559398ab 48596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48597 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48598 file.
559398ab 48599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48600 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48601 file.
48602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48603 file.
48604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48605 file.
48606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48607 file.
48608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48609 New file.
48610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48611 file.
48612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48613 file.
559398ab 48614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48615 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48616 file.
559398ab 48617 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48618 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48619 file.
559398ab 48620 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48621 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48622 file.
559398ab 48623 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48625 VIS3 routines.
559398ab
DM
48626
48627 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48628 New file.
48629
5a1c1e32
DM
48630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48631
eae47a36
DM
48632 * sysdeps/sparc/configure.in: New file.
48633 * sysdeps/sparc/configure: Generate.
48634 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48635 * configure: Regenerate.
48636 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48637 * config.make.in (have-as-vis3): New.
48638 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48639 available use -Av9d instead of -Av9a.
48640 * sysdeps/sparc/sparc64/Makefile: Likewise.
48641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48643 New file.
48644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48645 file.
48646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48647 New file.
48648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48649 file.
eae47a36
DM
48650 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48651 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48652 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48653 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48654 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48655
c0c83bc8
DM
48656 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48657 fzeros/fnegs to load 0x80000000 into a float register instead of
48658 using the stack.
7bd951ff
DM
48659 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48660
bd951ccb
JM
486612012-03-14 Joseph Myers <joseph@codesourcery.com>
48662
48663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48664 bits/syscall.h.
48665 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48666 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48667 ($(inst_includedir)/bits/syscall.h): Remove rule.
48668 ($(objpfx)bits/syscall.d): Include instead of
48669 $(objpfx)syscall-list.d.
48670 (generated): Change syscall-list.h and syscall-list.d to
48671 bits/syscall.h and bits/syscall.d.
48672
bb4e6db2
RM
486732012-03-14 Roland McGrath <roland@hack.frob.com>
48674
48675 [BZ #13846]
48676 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48677
aa4a2ae1
JM
486782012-03-14 Joseph Myers <joseph@codesourcery.com>
48679
e456826d
JM
48680 [BZ #13841]
48681 * math/s_csqrt.c: Include <float.h>.
48682 (__csqrt): Scale large or subnormal inputs.
48683 * math/s_csqrtf.c: Likewise.
48684 * math/s_csqrtl.c: Likewise.
48685 * math/libm-test.inc (csqrt_test): Add more tests.
48686 * sysdeps/i386/fpu/libm-test-ulps: Update.
48687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48688
aa4a2ae1
JM
48689 [BZ #13840]
48690 * math/libm-test.inc (hypot_test): Add more tests.
48691
7c10fd35
DM
486922012-03-13 David S. Miller <davem@davemloft.net>
48693
48694 [BZ #13840]
48695 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48696 double-precision for the calculation instead of scaling.
48697
f453b98b
JM
486982012-03-13 Joseph Myers <joseph@codesourcery.com>
48699
48700 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48701 manipulate bits before adding and subtracting TWO52[sx].
48702 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48703 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48704 Likewise.
48705 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48706
09a3453f
DM
487072012-03-13 David S. Miller <davem@davemloft.net>
48708
8e59da90
DM
48709 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48710 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48711 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48712 rtld-global-offsets.h
48713 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48714
2a8ab7f2
DM
48715 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48716 large parameters.
48717
10f62770
DM
48718 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48719
5f0bdb18
DM
48720 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48721 'err' in the ifdef scope in which it is actually used.
48722
09a3453f
DM
48723 * nss/nss_db/db-init.c: Include string.h
48724
b4b2eb5e
DM
487252012-03-12 David S. Miller <davem@davemloft.net>
48726
98bb2f1c
DM
48727 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48728 masking out of the most significant byte of random value used.
48729 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48730 Fix coding style in previous change.
48731
b4b2eb5e
DM
48732 * sysdeps/unix/sysv/linux/kernel-features.h
48733 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48734 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48735 expression.
48736 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48737 later.
48738
6e226b09
DM
487392012-03-11 David S. Miller <davem@davemloft.net>
48740
a1bcbd40
DM
48741 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48742 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48743 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48744 for 'resultvar' otherwise things get truncated on 64-bit.
48745
cb9d6174
DM
48746 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48747 Fix masking out of the most significant byte of random value used.
48748
6e226b09
DM
48749 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48750
058c132d
AS
487512012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48752
48753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48754
2d2cd515
DM
487552012-03-09 David S. Miller <davem@davemloft.net>
48756
48757 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48758 variables with appropriate CPP guards.
57f41c40
AS
48759 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48760 from the frame pointer, not the stack pointer. Correct layout
48761 comments. Fix test on resulting framesize and the management of
48762 the outregs buffer for pltexit. Preserve floating point return
48763 values across _dl_call_pltexit call.
2d2cd515
DM
48764 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48765 framesize and the management of the outregs buffer for pltexit.
48766 Preserve floating point return values across _dl_call_pltexit
48767 call.
57f41c40
AS
48768 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48769 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48770 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48771 (print_exit): Fix format string for return register value.
48772
9a07f9d0
JM
487732012-03-10 Joseph Myers <joseph@codesourcery.com>
48774
48775 * sunrpc/Makefile (others): Add rpcgen.
48776 ($(objpfx)rpcgen): Remove special build rule and dependency on
48777 libc.
48778 * sunrpc/rpcgen.c: New file.
48779
547b5e30
PE
487802012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48781
c524201a
PE
48782 [BZ #13673]
48783 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48784 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48785 * sysdeps/i386/crti.S: Likewise.
48786 * sysdeps/i386/crtn.S: Likewise.
48787 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48788 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48789 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48790 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48791 * sysdeps/sh/crti.S: Likewise.
48792 * sysdeps/sh/crtn.S: Likewise.
48793 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48794
7b6235f2
PE
48795 [BZ #13673]
48796 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48797 with URL.
48798 * locale/programs/locfile-kw.gperf: Likewise.
48799 * locale/programs/charmap-kw.h: Regenerated.
48800 * locale/programs/locfile-kw.h: Likewise.
48801
547b5e30
PE
48802 [BZ #13673]
48803 * intl/plural.y: Replace FSF snail mail address with URL.
48804 * intl/plural.c: Regenerated.
48805
5f0a5dae
RH
488062012-03-09 Richard Henderson <rth@twiddle.net>
48807
48808 * include/math_private.h: Remove file.
48809 * math/math_private.h: Move file ...
48810 * sysdeps/generic/math_private.h: ... here.
48811
b8c03620
RH
48812 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48813 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48814 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48815
4e234f5d 48816 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48817 and <math_private.h>.
48818 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48819 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48820 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48821 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48822 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48823 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48824 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48826 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48827 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48828 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48829 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48830 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48831 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48832 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48833 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48834 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48835 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48836 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48837 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48838 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48839 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48840 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48841 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48842 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48843 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48844 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48845 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48846 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48847 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48848 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48849 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48850 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48851 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48852 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48853 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48854 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48855 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48856 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48857 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48858 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48859 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48860 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48861 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48862 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48863 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48864 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48865 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48866 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48867 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48868 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48869 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48870 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48871 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48872 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48873 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48874 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48875 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48876 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48877 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48878 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48879 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48880 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48881 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48882 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48883 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48884 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48885 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48886 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48887 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48888 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48889 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48890 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48891 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48892 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48893 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48894 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48895 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48896 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48897 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48898 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48899 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48900 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48901 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48902 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48903 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48904 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48905 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48906 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48907 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48908 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48909 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48910 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48911 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48912 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48913 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48914 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48915 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48916 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48917 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48918 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48919 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48920 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48921 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48922 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48923 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48924 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48925 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48926 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48927 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48928 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48929 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48930 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48931 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48932 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48933 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48934 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48935 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48936 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48937 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48938 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48939 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48940 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48941 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48942 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48943 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48944 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
48945 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
48946 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48947 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
48948 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
48949 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48950 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48951 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
48952 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
48953 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
48954 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
48955 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48956 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
48957 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
48958 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48959 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
48960 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
48961 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
48962 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
48963 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48964 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48965 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48966 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
48967 * sysdeps/ieee754/k_standard.c: Likewise.
48968 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
48969 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
48970 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48971 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
48972 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
48973 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
48974 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
48975 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
48976 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
48977 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
48978 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
48979 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
48980 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
48981 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
48982 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
48983 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
48984 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48985 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
48986 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
48987 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
48988 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
48989 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
48990 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48991 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48992 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48993 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
48994 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48995 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48996 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48997 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48998 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48999 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49000 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49001 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49002 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49003 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49004 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49005 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49006 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49007 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49008 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49009 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49010 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49011 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49012 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49013 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49014 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49015 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49016 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49017 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49018 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49019 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49020 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49021 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49022 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49023 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49024 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49025 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49026 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49027 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49028 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49029 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49030 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49031 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49032 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49033 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49034 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49035 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49036 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49037 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49038 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49039 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49040 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49041 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49042 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49043 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49044 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49045 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49046 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49047 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49048 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49049 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49050 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49051 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49052 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49053 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49054 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49055 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49056 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49057 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49058 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49059 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49060 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49061 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49062 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49063 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49064 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49065 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49066 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49067 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49068 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49069 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49070 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49071 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49072 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49073 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49074 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49075 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49076 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49077 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49078 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49079 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49080 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49081 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49082 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49083 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49084 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49085 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49086 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49087 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49088 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49089 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49090 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49091 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49092 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49093 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49094 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49095 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49096 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49097 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49098 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49099 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49100 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49101 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49102 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49103 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49104 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49105 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49106 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49107 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49108 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49109 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49110 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49111 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49112 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49113 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49114 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49115 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49116 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49117 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49118 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49119 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49120 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49121 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49122 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49123 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49124 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49125 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49126 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49127 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49128 * sysdeps/ieee754/s_lib_version.c: Likewise.
49129 * sysdeps/ieee754/s_matherr.c: Likewise.
49130 * sysdeps/ieee754/s_signgam.c: Likewise.
49131 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49132 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49133 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49134 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49135 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49136 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49137 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49138 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49139 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49140 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49141 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49142 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49143 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49144 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49145 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49146 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49147 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49148 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49149 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49150 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49151 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 49152
1991fa03
JM
491532012-03-09 Joseph Myers <joseph@codesourcery.com>
49154
49155 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49156 * sunrpc/rpc_main.c: Likewise.
49157 * sunrpc/rpc_svcout.c: Likewise.
49158
60d6f5a6
DM
491592012-03-09 David S. Miller <davem@davemloft.net>
49160
49161 * include/math_private.h: New file.
49162
4962050e
JM
491632012-03-09 Joseph Myers <joseph@codesourcery.com>
49164
02a6f887
JM
49165 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49166 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49167 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49168 from <bits/socket_type.h>.
49169 (enum __socket_type): Don't define here.
49170 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49171 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49172 bits/socket_type.h.
49173
c6e013c1
JM
49174 [BZ #13566]
49175 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49176 checking __USE_GNU.
49177
4962050e
JM
49178 * Makerules ($(inst_includedir)/%.h): New rule.
49179 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49180 (install-others): Remove variable setting.
49181 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49182
38842f45
RH
491832012-03-08 Richard Henderson <rth@twiddle.net>
49184
67bb6da6
RH
49185 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49186 from macro to inline function; merge with the
49187 !__LIBC_INTERNAL_MATH_INLINES version.
49188 (__ieee754_sqrtf): Likewise.
49189
15194b4b
RH
49190 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49191 to inline function.
49192 (__rintf, __floor, __floorf): Likewise.
49193
64e21ede
RH
49194 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49195 macro to inline function.
49196 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49197
38842f45
RH
49198 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49199 not <math/math_private.h>.
49200
c64bf5fe
DM
492012012-03-08 David S. Miller <davem@davemloft.net>
49202
49203 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49204 copyright year.
49205 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49206
82d86f28
TS
492072012-03-08 Thomas Schwinge <thomas@codesourcery.com>
49208
49209 * resolv/gai_misc.c (handle_requests): Fix struct timespec
49210 normalization.
49211 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49212 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49213
aea5d727
UD
492142012-03-08 Ulrich Drepper <drepper@gmail.com>
49215
49216 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
49217 be defined individually, they must be defined as a block. Define
49218 S for printing a string instead of hidint the different by using a
49219 macro for adding the 'l'.
49220 * stdio-common/tst-fphex-wide.c: Adjust.
49221
70bca0a3
MP
492222012-03-07 Marek Polacek <polacek@redhat.com>
49223
49224 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49225
65b81130
MP
492262012-03-08 Marek Polacek <polacek@redhat.com>
49227
49228 [BZ #13806]
49229 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49230 * stdio-common/tst-fphex.c: Define a few macros to make the
49231 test reusable. Use them.
49232 * stdio-common/tst-fphex-wide.c: New file.
49233
07037eeb
JM
492342012-03-08 Joseph Myers <joseph@codesourcery.com>
49235
a7a93d50
JM
49236 [BZ #6911]
49237 * manual/macros.texi (gnusystems): New macro.
49238 (nongnusystems): Likewise.
49239 (gnulinuxhurdsystems): Likewise.
49240 (gnuhurdsystems): Likewise..
49241 (gnulinuxsystems): Likewise.
49242 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49243 variants of the GNU system, not "GNU system".
49244 * manual/conf.texi: Likewise.
49245 * manual/errno.texi: Likewise. Update example of errno macro
49246 expansion.
49247 * manual/filesys.texi: Likewise.
49248 (getumask): Document as specific to GNU/Hurd.
49249 * manual/install.texi: Likewise. Reword some references to
49250 GNU/Linux.
49251 * manual/intro.texi: Likewise.
49252 * manual/io.texi: Likewise.
49253 (File Name Portability): Detail which constraints are inapplicable
49254 to all GNU systems and which are only inapplicable to GNU/Hurd.
49255 * manual/job.texi: Likewise.
49256 * manual/llio.texi: Likewise.
49257 (O_NOCTTY): Document as present on GNU/Linux.
49258 * manual/maint.texi: Likewise.
49259 * manual/memory.texi: Likewise.
49260 * manual/pattern.texi: Likewise.
49261 * manual/pipe.texi: Likewise.
49262 * manual/process.texi: Likewise.
49263 * manual/resource.texi: Likewise.
49264 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49265 child on GNU/Hurd.
49266 * manual/setjmp.texi: Likewise.
49267 * manual/signal.texi: Likewise.
49268 * manual/startup.texi: Likewise.
49269 * manual/stdio.texi: Likewise.
49270 * manual/terminal.texi: Likewise.
49271 (ONLCR): Document as POSIX.
49272 (OXTABS): Document availability on GNU/Linux as XTABS.
49273 (ONOEOT): Document availability separately from other bits.
49274 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49275 * manual/time.texi: Likewise.
49276 * manual/users.texi: Likewise.
49277 * INSTALL: Regenerated.
49278 * sysdeps/gnu/errlist.c: Regenerated.
49279
07037eeb
JM
49280 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49281 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49282 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49283 puts.
49284 * configure: Regenerated.
49285
d1d3431a
JM
492862012-03-07 Joseph Myers <joseph@codesourcery.com>
49287
af6a1e37
JM
49288 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49289 default includes instead of AC_HEADER_CHECK.
49290 * sysdeps/i386/configure: Regenerated.
49291
d1d3431a
JM
49292 [BZ #10716]
49293 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49294 * math/s_cacoshf.c (__cacoshf): Likewise.
49295 * math/s_cacoshl.c (__cacoshl): Likewise.
49296 * math/s_casinh.c (__casinh): Set signs of result from argument.
49297 * math/s_casinhf.c (__casinhf): Likewise.
49298 * math/s_casinhl.c (__casinhl): Likewise.
49299 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49300 (casinh_test): Add more tests.
49301 * sysdeps/i386/fpu/libm-test-ulps: Update.
49302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49303
482ff4da
UD
493042012-03-07 Ulrich Drepper <drepper@gmail.com>
49305
872fda05
UD
49306 * po/zh_TW.po: Update from translation team.
49307
a4300c7a
UD
49308 * login/Makefile (distribute): Remove variable.
49309 * catgets/Makefile: Likewise.
49310 * mach/Makefile: Likewise.
49311 * malloc/Makefile: Likewise.
49312 * misc/Makefile: Likewise.
49313 * iconv/Makefile: Likewise.
49314 * nscd/Makefile: Likewise.
49315 * hurd/Makefile: Likewise.
49316 * manual/Makefile: Likewise.
49317 * locale/Makefile: Likewise.
49318 * intl/Makefile: Likewise.
49319 * conform/Makefile: Likewise.
49320 * nss/Makefile: Likewise.
49321 * time/Makefile: Likewise.
49322 * soft-fp/Makefile: Likewise.
49323 * dirent/Makefile: Likewise.
49324 * gmon/Makefile: Likewise.
49325 * po/Makefile: Likewise.
49326 * rt/Makefile: Likewise.
49327 * socket/Makefile: Likewise.
49328 * math/Makefile: Likewise.
49329 * signal/Makefile: Likewise.
49330 * debug/Makefile: Likewise.
49331 * elf/Makefile: Likewise.
49332 * timezone/Makefile: Likewise.
49333 * stdlib/Makefile: Likewise.
49334 * iconvdata/Makefile: Likewise.
49335 * sunrpc/Makefile: Likewise.
49336 * io/Makefile: Likewise.
49337 * argp/Makefile: Likewise.
49338 * inet/Makefile: Likewise.
49339 * hesiod/Makefile: Likewise.
49340 * grp/Makefile: Likewise.
49341 * csu/Makefile: Likewise.
49342 * wctype/Makefile: Likewise.
49343 * crypt/Makefile: Likewise.
49344 * libio/Makefile: Likewise.
49345 * string/Makefile: Likewise.
49346 * nis/Makefile: Likewise.
49347 * resolv/Makefile: Likewise.
49348 * stdio-common/Makefile: Likewise.
49349 * wcsmbs/Makefile: Likewise.
49350 * dlfcn/Makefile: Likewise.
49351 * posix/Makefile: Likewise.
49352
3b7c4e74 49353 [BZ #6959]
482ff4da
UD
49354 * timezone/Makefile: Don't install timezone files, just the programs
49355 and scripts.
49356
f72ed77d
UD
493572012-03-06 Ulrich Drepper <drepper@gmail.com>
49358
a000466f
UD
49359 * nss/databases.def: Add missing gshadow entry.
49360
f72ed77d
UD
49361 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49362
a53b7a4e
MP
493632012-03-06 Marek Polacek <polacek@redhat.com>
49364
49365 [BZ #13726]
49366 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49367 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49368 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49369 * stdio-common/tst-long-dbl-fphex.c: New file.
49370
e9258400
DM
493712012-03-06 David S. Miller <davem@davemloft.net>
49372
49373 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49374 (set_obp_int): New function.
49375 (get_obp_int): New function.
49376 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
49377 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49378 Avoid unused variable warnings on 'val' and use builtin_expect.
49379 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49380 __builtin_expect.
e9258400
DM
49381 (INLINE_CLONE_SYSCALL): Likewise.
49382
3bd2c723
DM
493832012-03-05 David S. Miller <davem@davemloft.net>
49384
49385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49386
bbb78d03
AS
493872012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49388
884c5db4
AS
49389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49390
bbb78d03
AS
49391 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49392 only for |x| >= 40.
49393 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49394
1c9f702a 493952012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
49396
49397 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49398 Replace gettimeofday with __vdso_gettimeofday.
49399
7be16f82
RM
49400 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49401 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49402 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
49403
49404 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49405 time with __vdso_time.
49406
ed58a00f
JM
494072012-03-05 Joseph Myers <joseph@codesourcery.com>
49408
49409 * manual/lang.texi (size_t): Note types to which size_t may be
49410 equivalent with the GNU C Library, but do not describe when
49411 differences between them are significant.
49412
30ee4ced
AJ
494132012-03-05 Andreas Jaeger <aj@suse.de>
49414
49415 * sysdeps/i386/fpu/libm-test-ulps: Update.
49416
b7cd39e8
JM
494172012-03-05 Joseph Myers <joseph@codesourcery.com>
49418
49419 [BZ #3976]
49420 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49421 (__ieee754_pow): Save and restore rounding mode and use
49422 round-to-nearest for main computations.
49423 * math/libm-test.inc (pow_test_tonearest): New function.
49424 (pow_test_towardzero): Likewise.
49425 (pow_test_downward): Likewise.
49426 (pow_test_upward): Likewise.
49427 (main): Call the new functions.
49428 * sysdeps/i386/fpu/libm-test-ulps: Update.
49429 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
49430
49431 [BZ #3976]
49432 * math/libm-test.inc (cosh_test_tonearest): New function.
49433 (cosh_test_towardzero): Likewise.
49434 (cosh_test_downward): Likewise.
49435 (cosh_test_upward): Likewise.
49436 (sinh_test_tonearest): Likewise.
49437 (sinh_test_towardzero): Likewise.
49438 (sinh_test_downward): Likewise.
49439 (sinh_test_upward): Likewise.
49440 (main): Call the new functions.
49441 * sysdeps/i386/fpu/libm-test-ulps: Update.
49442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49443
6c6a98c9
TV
494442012-03-05 Tom de Vries <tom@codesourcery.com>
49445
49446 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49447 default stack guard is set in last bytes.
49448 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49449
21bb2d2e 494502012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 49451
21bb2d2e 49452 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 49453
21bb2d2e
AJ
49454 [BZ #13656]
49455 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49456 possibly allocate from heap instead of stack.
49457 * stdio-common/bug-vfprintf-nargs.c: New file.
49458 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 49459
c6922934
AS
494602012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49461
49462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49463
bc957d53
MP
494642012-03-03 Marek Polacek <polacek@redhat.com>
49465
49466 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49467 * math/math_private.h: Likewise.
49468 * stdlib/tst-strtod.c: Likewise.
49469 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49470 * sysdeps/x86_64/bits/atomic.h: Likewise.
49471
6358490d
DM
494722012-03-02 David S. Miller <davem@davemloft.net>
49473
49474 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49475 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49478 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49479 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49480 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49481 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49482
01ae168d
RM
494832012-03-02 Roland McGrath <roland@hack.frob.com>
49484
d9a17c07
RM
49485 [BZ #13792]
49486 * manual/examples/README: New file, says the example source files
49487 can be used under GPL>=2.
49488 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49489 line containing just "*/".
49490 * manual/examples/add.c: Add copyright header (GPL>=2).
49491 * manual/examples/argp-ex1.c: Likewise.
49492 * manual/examples/argp-ex2.c: Likewise.
49493 * manual/examples/argp-ex3.c: Likewise.
49494 * manual/examples/argp-ex4.c: Likewise.
49495 * manual/examples/atexit.c: Likewise.
49496 * manual/examples/db.c: Likewise.
49497 * manual/examples/dir.c: Likewise.
49498 * manual/examples/dir2.c: Likewise.
49499 * manual/examples/execinfo.c: Likewise.
49500 * manual/examples/filecli.c: Likewise.
49501 * manual/examples/filesrv.c: Likewise.
49502 * manual/examples/fmtmsgexpl.c: Likewise.
49503 * manual/examples/genpass.c: Likewise.
49504 * manual/examples/inetcli.c: Likewise.
49505 * manual/examples/inetsrv.c: Likewise.
49506 * manual/examples/isockad.c: Likewise.
49507 * manual/examples/longopt.c: Likewise.
49508 * manual/examples/memopen.c: Likewise.
49509 * manual/examples/memstrm.c: Likewise.
49510 * manual/examples/mkfsock.c: Likewise.
49511 * manual/examples/mkisock.c: Likewise.
49512 * manual/examples/mygetpass.c: Likewise.
49513 * manual/examples/pipe.c: Likewise.
49514 * manual/examples/popen.c: Likewise.
49515 * manual/examples/rprintf.c: Likewise.
49516 * manual/examples/search.c: Likewise.
49517 * manual/examples/select.c: Likewise.
49518 * manual/examples/setjmp.c: Likewise.
49519 * manual/examples/sigh1.c: Likewise.
49520 * manual/examples/sigusr.c: Likewise.
49521 * manual/examples/stpcpy.c: Likewise.
49522 * manual/examples/strdupa.c: Likewise.
49523 * manual/examples/strftim.c: Likewise.
49524 * manual/examples/strncat.c: Likewise.
49525 * manual/examples/subopt.c: Likewise.
49526 * manual/examples/swapcontext.c: Likewise.
49527 * manual/examples/termios.c: Likewise.
49528 * manual/examples/testopt.c: Likewise.
49529 * manual/examples/testpass.c: Likewise.
49530 * manual/examples/timeval_subtract.c: Likewise.
49531
01ae168d
RM
49532 [BZ #13792]
49533 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49534 function to ...
49535 * manual/timeval_subtract.c.texi: ... here, new file.
49536
49efa33d
DM
495372012-03-02 David S. Miller <davem@davemloft.net>
49538
49539 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49540
28afd92d
JM
495412012-03-02 Joseph Myers <joseph@codesourcery.com>
49542
804360ed
JM
49543 [BZ #3976]
49544 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49545 (__sin): Save and restore rounding mode and use round-to-nearest
49546 for all computations.
49547 (__cos): Save and restore rounding mode and use round-to-nearest
49548 for all computations.
49549 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49550 <fenv.h>.
49551 (tan): Save and restore rounding mode and use round-to-nearest for
49552 all computations.
49553 * math/libm-test.inc (cos_test_tonearest): New function.
49554 (cos_test_towardzero): Likewise.
49555 (cos_test_downward): Likewise.
49556 (cos_test_upward): Likewise.
49557 (sin_test_tonearest): Likewise.
49558 (sin_test_towardzero): Likewise.
49559 (sin_test_downward): Likewise.
49560 (sin_test_upward): Likewise.
49561 (tan_test_tonearest): Likewise.
49562 (tan_test_towardzero): Likewise.
49563 (tan_test_downward): Likewise.
49564 (tan_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.
49568
a6d06d7b
JM
49569 [BZ #10135]
49570 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49571 small n, then large n, before computing and testing k+n.
49572 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49573 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49574 Likewise.
49575 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49576 Likewise.
49577 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49578 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49579 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49580 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49581 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49582 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49583 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49584 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49585 * math/libm-test.inc (scalbn_test): Add more tests.
49586 (scalbln_test): Likewise.
49587
07e12bb3
JM
49588 * manual/filesys.texi (mode_t): Describe constraints on size and
49589 signedness, not exact equivalence to a particular type.
49590 (ino_t): Likewise.
49591 (ino64_t): Likewise.
49592 (dev_t): Likewise.
49593 (nlink_t): Likewise.
49594 (blkcnt_t): Likewise.
49595 (blkcnt64_t): Likewise.
49596 * manual/llio.texi (off_t): Likewise.
49597
28afd92d
JM
49598 [BZ #3976]
49599 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49600 (__ieee754_exp): Save and restore rounding mode and use
49601 round-to-nearest for all computations.
49602 * math/libm-test.inc (exp_test_tonearest): New function.
49603 (exp_test_towardzero): Likewise.
49604 (exp_test_downward): Likewise.
49605 (exp_test_upward): Likewise.
49606 (main): Call the new functions.
49607 * sysdeps/i386/fpu/libm-test-ulps: Update.
49608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49609
b1eeb65d
CD
496102012-03-01 Chris Demetriou <cgd@google.com>
49611
49612 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49613 have predictable order.
49614
53362a4b
DM
496152012-03-01 David S. Miller <davem@davemloft.net>
49616
3c969083
DM
49617 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49618
759707de
DM
49619 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49620 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49621 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49622 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49623
dfdb8ff2
DM
49624 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49625 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49626 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49628 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49629 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49630 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49631 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49632 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49633
ead89f96
DM
49634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49635
7f66bd07
DM
49636 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49637 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49638 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49639
53362a4b
DM
49640 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49641 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49642 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49643 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49644 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49645 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49646 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49647 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49648 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49649 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49650 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49651 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49652 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49653 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49654 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49655 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49656 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49657 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49658 * sysdeps/sparc/elf/configure: Regenerated.
49659
7b1902cb
JM
496602012-03-01 Joseph Myers <joseph@codesourcery.com>
49661
bec039bc
JM
49662 * configure.in (AS, LD): Require binutils 2.20 or later.
49663 * configure: Regenerated.
49664 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49665 as required minimum version.
49666 * INSTALL: Regenerated.
49667
7b1902cb
JM
49668 [BZ #2541]
49669 [BZ #4108]
49670 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49671 before squaring exponent.
49672 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49673 bottom long double and 27 bits of top long double before squaring
49674 exponent.
49675 * math/libm-test.inc (erfc_test): Add more tests.
49676 * sysdeps/i386/fpu/libm-test-ulps: Update.
49677 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49679
f775c276
KT
496802012-03-01 Kai Tietz <ktietz@redhat.com>
49681
49682 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49683 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49684 containing bit-fields.
49685 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49686 * soft-fp/single.h (_FP_UNION_S): Likewise.
49687 * soft-fp/double.h (_FP_UNION_D): Likewise.
49688
5b8a4d4a
JM
496892012-02-29 Joseph Myers <joseph@codesourcery.com>
49690
0bab47b6
JM
49691 [BZ #13786]
49692 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49693 not include ../strcmp.S.
49694 [USE_AS_STRNCASECMP_L]: Likewise.
49695 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49696 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49697 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49698 (__strncasecmp_l_ia32): Define as alias to
49699 __strncasecmp_l_nonascii.
49700
0fcad3e2
JM
49701 [BZ #5794]
49702 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49703 * sysdeps/i386/fpu/libm-test-ulps: Update.
49704 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49705
5b8a4d4a
JM
49706 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49708
8fdceb2e
JL
497092012-02-29 Jeff Law <law@redhat.com>
49710
49711 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49712 out of bounds read.
49713
1f393a11
MP
497142012-02-29 Marek Polacek <polacek@redhat.com>
49715
49716 [BZ #13706]
49717 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49718 * elf/Makefile: Add rules to run tst-unused-dep.out.
49719
8847f037
DM
497202012-02-28 David S. Miller <davem@davemloft.net>
49721
49722 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49723 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49724 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49725 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49726 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49727 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49728
169d7f11
JM
497292012-02-29 Joseph Myers <joseph@codesourcery.com>
49730
49731 * math/libm-test.inc (llround_test): Move one test from
49732 lround_test. Use TEST_f_L in moved test.
49733 (lround_test): Move misplaced test to llround_test. Add testcase
49734 from bug 2561.
49735
39adf059
UD
497362012-02-28 Ulrich Drepper <drepper@gmail.com>
49737
49738 * sysdeps/x86_64/fpu/e_expf.S: New file.
49739 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49740
71b5d1c5
SB
497412012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49742
49743 [BZ #13637]
49744 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49745 of remain_len that may cause incomplete multi-byte character and
49746 false match.
49747 * posix/bug-regex33.c: New file.
49748 * posix/Makefile (tests): Add bug-regex33.
49749
1f77f049
JM
497502012-02-28 Joseph Myers <joseph@codesourcery.com>
49751
49752 * manual/macros.texi: New file.
49753 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49754 * manual/libc.texinfo: Include macros.texi.
49755 * manual/creatute.texi: Likewise.
49756 * manual/install.texi: Likewise.
49757 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49758 @glibcadj{} in references to the GNU C Library.
49759 * manual/charset.texi: Likewise.
49760 * manual/conf.texi: Likewise.
49761 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49762 when not using those macros.
49763 * manual/creature.texi: Likewise.
49764 * manual/crypt.texi: Likewise.
49765 * manual/errno.texi: Likewise.
49766 * manual/filesys.texi: Likewise.
49767 * manual/header.texi: Likewise.
49768 * manual/install.texi: Likewise.
49769 * manual/intro.texi: Likewise.
49770 * manual/io.texi: Likewise.
49771 * manual/job.texi: Likewise.
49772 * manual/lang.texi: Likewise.
49773 * manual/libc.texiinfo: Likewise.
49774 * manual/llio.texi: Likewise.
49775 * manual/locale.texi: Likewise.
49776 * manual/maint.texi: Likewise.
49777 * manual/math.texi: Likewise.
49778 * manual/memory.texi: Likewise.
49779 * manual/message.texi: Likewise.
49780 * manual/nss.texi: Likewise.
49781 * manual/pattern.texi: Likewise.
49782 * manual/process.texi: Likewise.
49783 * manual/resource.texi: Likewise.
49784 * manual/search.texi: Likewise.
49785 * manual/setjmp.texi: Likewise.
49786 * manual/signal.texi: Likewise.
49787 * manual/socket.texi: Likewise.
49788 * manual/startup.texi: Likewise.
49789 * manual/stdio.texi: Likewise.
49790 * manual/string.texi: Likewise.
49791 * manual/sysinfo.texi: Likewise.
49792 * manual/syslog.texi: Likewise.
49793 * manual/terminal.texi: Likewise.
49794 * manual/time.texi: Likewise.
49795 * manual/users.texi: Likewise.
49796 * INSTALL: Regenerated.
49797 * NOTES: Regenerated.
d40c5d54 49798 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49799
450bf206
AS
498002012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49801
49802 * include/dirent.h: Include <dirstream.h> before
49803 <dirent/dirent.h>.
49804
741a235b
DM
498052012-02-28 David S. Miller <davem@davemloft.net>
49806
49807 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49808 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49809 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49810 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49811
d6b5aa58
DM
498122012-02-27 David S. Miller <davem@davemloft.net>
49813
1aff59a3
DM
49814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49816 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49817 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49818
d6b5aa58
DM
49819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49820 frame pointer instead of stack pointer relative arg slot.
49821 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49822 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49823 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49824
433f48bf
CD
498252012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49826
49827 [BZ #3992]
49828 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49829
d674b76d
DM
498302012-02-27 David S. Miller <davem@davemloft.net>
49831
49832 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49834 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49835 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49836 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49837 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49838 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49839 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49840
0e7727f7
JM
498412012-02-27 Joseph Myers <joseph@codesourcery.com>
49842
49843 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49844 later. Allow versions 5-9.
43be4ca2 49845 * configure: Regenerated.
0e7727f7
JM
49846 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49847 required minimum version and 4.6 as recommended version. Do not
49848 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49849 * INSTALL: Regenerated.
0e7727f7 49850
a78bc654
DM
498512012-02-27 David S. Miller <davem@davemloft.net>
49852
428d5830
DM
49853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49857 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49858 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49859 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49860 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49861
a78bc654
DM
49862 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49863 manipulate bits before adding and subtracting TWO112[sx].
49864 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49865
4579f81c
RM
498662012-02-27 Roland McGrath <roland@hack.frob.com>
49867
36c8acb4
RM
49868 [BZ #13775]
49869 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49870 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49871 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49872 being in POSIX, because they are in 1003.1-2008.
49873
84ad622b
RM
49874 * rt/tst-aio.c: Include <fcntl.h>.
49875 * rt/tst-aio7.c: Likewise.
49876 * rt/tst-aio64.c: Likewise.
49877
4579f81c
RM
49878 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49879
abd923db
JM
498802012-02-27 Joseph Myers <joseph@codesourcery.com>
49881
49882 * manual/install.texi (--with-headers): Describe headers as
49883 interface headers, not private headers.
49884 (Specific advice for GNU/Linux systems): Describe use of headers
49885 from "make headers_install", not private headers from older
49886 kernels.
43be4ca2 49887 * INSTALL: Regenerated.
abd923db
JM
49888 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49889 Change to 2.6.19.
49890 * sysdeps/unix/sysv/linux/configure: Regenerated.
49891
6664049b
JM
49892 * manual/llio.texi (fclean): Remove documentation.
49893
bb8b6697
JM
49894 * manual/Makefile (libc-texi-generated): New variable. Include
49895 version.texi.
49896 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49897 $(libc-texi-generated), not duplicated list of files.
49898 (version.texi, stamp-version): New rules.
49899 (realclean): Remove $(libc-texi-generated), not individual files
49900 from that list. Do not remove dir-add.texinfo.
49901 * manual/libc.texinfo: Comment out uses of edition numbers and
49902 references to printed manual. Remove last-updated dates.
49903 (EDITION): Comment out.
49904 (ISBN): Likewise.
49905 (VERSION, UPDATED): Remove.
49906 (version.texi): Include.
49907
12e5c3b9
AS
499082012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49909
49910 * sysdeps/posix/spawni.c: Include <signal.h>.
49911 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49912 * sysdeps/pthread/aio_fsync.c: Likewise.
49913
4efeffc1 499142012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49915
ba63ba08
UD
49916 * conform/Makefile (tests): Run only when not cross-compiling and
49917 when fast-check is not defined.
49918
d94a4670
UD
49919 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49920 * conform/data/limits.h-data: Fixes for POSIX2008.
49921 * conform/run-conformtest.sh: Run all tests.
49922 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49923 headers.
49924 * include/bits/dlfcn.h: Likewise.
49925 * include/langinfo.h: Likewise.
49926 * include/monetary.h: Likewise.
49927 * include/sys/poll.h: Likewise.
49928
49929 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49930 for __USE_GNU.
49931 * posix/spawn.h: Define __need_sigset_t.
49932 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49933 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49934 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49935 to get sigevent_t only.
49936 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49937 only for __USE_GNU.
49938 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49939 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49940 process_vm_writev only for __USE_GNU.
49941 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49942
49943 * conform/Makefile: For now ignore errors from run-conformtest.
49944 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
49945 POSIX to avoid namespace pollution. Don't prepend headers.
49946 * conform/data/aio.h-data: Fixes for POSIX testing.
49947 * conform/data/fcntl.h-data: Likewise.
49948 * conform/data/glob.h-data: Likewise.
49949 * conform/data/grp.h-data: Likewise.
49950 * conform/data/pthread.h-data: Likewise.
49951 * conform/data/pwd.h-data: Likewise.
49952 * conform/data/signal.h-data: Likewise.
49953 * conform/data/spawn.h-data: Likewise.
49954 * conform/data/stdio.h-data: Likewise.
49955 * conform/data/stdlib.h-data: Likewise.
49956 * conform/data/stropts.h-data: Likewise.
49957 * conform/data/sys/mman.h-data: Likewise.
49958 * conform/data/sys/stat.h-data: Likewise.
49959 * conform/data/sys/types.h-data: Likewise.
49960 * conform/data/sys/wait.h-data: Likewise.
49961 * conform/data/time.h-data: Likewise.
49962 * conform/data/unistd.h-data: Likewise.
49963 * conform/data/utime.h-data: Likewise.
49964
49965 * io/sys/stat.h: fchmod was always in POSIX.
49966 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
49967 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
49968 * rt/aio.h: Define __need_timespec before including <time.h>.
49969 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
49970 struct. Add forward declaration of pthread_attr_t and use it in
49971 sigevent.
49972 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
49973 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49974 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
49975 always remove CLK_TCK definition.
49976
c20105c3
AS
499772012-02-26 Andreas Schwab <schwab@linux-m68k.org>
49978
49979 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
49980
7a270350
UD
499812012-02-25 Ulrich Drepper <drepper@gmail.com>
49982
31341567
UD
49983 * conform/run-conformtest.sh: New file.
49984 * conform/Makefile: Run run-conformtest for tests.
49985 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
49986 support.
49987
49988 * conform/data/uchar.h-data: New file.
49989 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
49990 * conform/data/arpa/inet.h-data: Likewise.
49991 * conform/data/assert.h-data: Likewise.
49992 * conform/data/complex.h-data: Likewise.
49993 * conform/data/cpio.h-data: Likewise.
49994 * conform/data/ctype.h-data: Likewise.
49995 * conform/data/dirent.h-data: Likewise.
49996 * conform/data/dlfcn.h-data: Likewise.
49997 * conform/data/errno.h-data: Likewise.
49998 * conform/data/fcntl.h-data: Likewise.
49999 * conform/data/float.h-data: Likewise.
50000 * conform/data/fmtmsg.h-data: Likewise.
50001 * conform/data/fnmatch.h-data: Likewise.
50002 * conform/data/ftw.h-data: Likewise.
50003 * conform/data/glob.h-data: Likewise.
50004 * conform/data/grp.h-data: Likewise.
50005 * conform/data/iconv.h-data: Likewise.
50006 * conform/data/inttypes.h-data: Likewise.
50007 * conform/data/langinfo.h-data: Likewise.
50008 * conform/data/libgen.h-data: Likewise.
50009 * conform/data/limits.h-data: Likewise.
50010 * conform/data/locale.h-data: Likewise.
50011 * conform/data/math.h-data: Likewise.
50012 * conform/data/monetary.h-data: Likewise.
50013 * conform/data/mqueue.h-data: Likewise.
50014 * conform/data/ndbm.h-data: Likewise.
50015 * conform/data/net/if.h-data: Likewise.
50016 * conform/data/netdb.h-data: Likewise.
50017 * conform/data/netinet/in.h-data: Likewise.
50018 * conform/data/nl_types.h-data: Likewise.
50019 * conform/data/poll.h-data: Likewise.
50020 * conform/data/pthread.h-data: Likewise.
50021 * conform/data/pwd.h-data: Likewise.
50022 * conform/data/regex.h-data: Likewise.
50023 * conform/data/sched.h-data: Likewise.
50024 * conform/data/search.h-data: Likewise.
50025 * conform/data/semaphore.h-data: Likewise.
50026 * conform/data/setjmp.h-data: Likewise.
50027 * conform/data/signal.h-data: Likewise.
50028 * conform/data/spawn.h-data: Likewise.
50029 * conform/data/stdarg.h-data: Likewise.
50030 * conform/data/stdio.h-data: Likewise.
50031 * conform/data/stdlib.h-data: Likewise.
50032 * conform/data/string.h-data: Likewise.
50033 * conform/data/strings.h-data: Likewise.
50034 * conform/data/stropts.h-data: Likewise.
50035 * conform/data/sys/ipc.h-data: Likewise.
50036 * conform/data/sys/mman.h-data: Likewise.
50037 * conform/data/sys/msg.h-data: Likewise.
50038 * conform/data/sys/resource.h-data: Likewise.
50039 * conform/data/sys/select.h-data: Likewise.
50040 * conform/data/sys/sem.h-data: Likewise.
50041 * conform/data/sys/shm.h-data: Likewise.
50042 * conform/data/sys/socket.h-data: Likewise.
50043 * conform/data/sys/stat.h-data: Likewise.
50044 * conform/data/sys/statvfs.h-data: Likewise.
50045 * conform/data/sys/time.h-data: Likewise.
50046 * conform/data/sys/timeb.h-data: Likewise.
50047 * conform/data/sys/times.h-data: Likewise.
50048 * conform/data/sys/types.h-data: Likewise.
50049 * conform/data/sys/uio.h-data: Likewise.
50050 * conform/data/sys/un.h-data: Likewise.
50051 * conform/data/sys/utsname.h-data: Likewise.
50052 * conform/data/sys/wait.h-data: Likewise.
50053 * conform/data/syslog.h-data: Likewise.
50054 * conform/data/tar.h-data: Likewise.
50055 * conform/data/termios.h-data: Likewise.
50056 * conform/data/utime.h-data: Likewise.
50057 * conform/data/utmpx.h-data: Likewise.
50058 * conform/data/varargs.h-data: Likewise.
50059 * conform/data/wchar.h-data: Likewise.
50060 * conform/data/wctype.h-data: Likewise.
50061 * conform/data/wordexp.h-data: Likewise.
50062
50063 * include/stropts.h: New file.
50064 * include/uchar.h: New file.
50065 * include/aio.h: Changes to allow conformtest.pl to use the headers.
50066 * include/assert.h: Likewise.
50067 * include/ctype.h: Likewise.
50068 * include/dirent.h: Likewise.
50069 * include/dlfcn.h: Likewise.
50070 * include/fcntl.h: Likewise.
50071 * include/fnmatch.h: Likewise.
50072 * include/glob.h: Likewise.
50073 * include/grp.h: Likewise.
50074 * include/libio.h: Likewise.
50075 * include/locale.h: Likewise.
50076 * include/math.h: Likewise.
50077 * include/net/if.h: Likewise.
50078 * include/netdb.h: Likewise.
50079 * include/netinet/in.h: Likewise.
50080 * include/pthread.h: Likewise.
50081 * include/pwd.h: Likewise.
50082 * include/regex.h: Likewise.
50083 * include/sched.h: Likewise.
50084 * include/search.h: Likewise.
50085 * include/setjmp.h: Likewise.
50086 * include/signal.h: Likewise.
50087 * include/stdio.h: Likewise.
50088 * include/stdlib.h: Likewise.
50089 * include/string.h: Likewise.
50090 * include/sys/cdefs.h: Likewise.
50091 * include/sys/mman.h: Likewise.
50092 * include/sys/msg.h: Likewise.
50093 * include/sys/resource.h: Likewise.
50094 * include/sys/select.h: Likewise.
50095 * include/sys/socket.h: Likewise.
50096 * include/sys/stat.h: Likewise.
50097 * include/sys/statvfs.h: Likewise.
50098 * include/sys/time.h: Likewise.
50099 * include/sys/times.h: Likewise.
50100 * include/sys/uio.h: Likewise.
50101 * include/sys/utsname.h: Likewise.
50102 * include/sys/wait.h: Likewise.
50103 * include/termios.h: Likewise.
50104 * include/time.h: Likewise.
50105 * include/ulimit.h: Likewise.
50106 * include/unistd.h: Likewise.
50107 * include/utime.h: Likewise.
50108 * include/wchar.h: Likewise.
50109 * include/wctype.h: Likewise.
50110 * include/wordexp.h: Likewise.
50111
50112 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50113
7a270350
UD
50114 * time/time.h: TIME_UTC must be a macro.
50115 Make timespec_get available for ISO C11 only as well.
50116
7724defc
UD
501172012-02-24 Ulrich Drepper <drepper@gmail.com>
50118
50119 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50120 Reported by Peng Haitao <penght@cn.fujitsu.com>.
50121
6b1d1d46
JM
501222012-02-24 Joseph Myers <joseph@codesourcery.com>
50123
50124 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 50125
0f8bbd69
JM
501262012-02-24 Joseph Myers <joseph@codesourcery.com>
50127
50128 * manual/texinfo.tex: Update to version 2012-01-19.16.
50129
66ab80bc
JM
501302012-02-24 Joseph Myers <joseph@codesourcery.com>
50131
50132 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50133
74981cc5
RM
501342012-02-24 Roland McGrath <roland@hack.frob.com>
50135
ee968201
RM
50136 [BZ #13738]
50137 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50138 * manual/fdl-1.3.texi: New file.
50139 * manual/fdl-1.1.texi: File removed.
50140
74981cc5
RM
50141 [BZ #13738]
50142 * manual/libc.texinfo (FDL_VERSION): New @set.
50143 Use it for mention of FDL in cover text.
50144 (Documentation License): Use it in @include file name.
50145
7bb764bc
JM
501462012-02-22 Joseph Myers <joseph@codesourcery.com>
50147 Roland McGrath <roland@hack.frob.com>
50148
50149 [BZ #5461]
57f41c40
AS
50150 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50151 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
50152 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50153 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
50154 name.
50155 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50156
6cbeae47
JM
501572012-02-22 Joseph Myers <joseph@codesourcery.com>
50158
50159 [BZ #2547]
50160 [BZ #11365]
50161 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50162 manipulate bits before adding and subtracting TWO23[sx].
50163 * math/libm-test.inc (nearbyint_test): Add more tests.
50164
fe45ce09
JM
501652012-02-22 Joseph Myers <joseph@codesourcery.com>
50166
50167 [BZ #2548]
50168 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50169 bits before adding and subtracting TWO23[sx].
50170 * math/libm-test.inc (rint_test): Add more tests.
50171 (rint_test_tonearest): Likewise.
50172 (rint_test_towardzero): Likewise.
50173 (rint_test_downward): Likewise.
50174 (rint_test_upward: Likewise.
50175
ff3b3d82
JM
501762012-02-22 Joseph Myers <joseph@codesourcery.com>
50177
50178 [BZ #10110]
50179 * include/stdc-predef.h: New file. Extracted from features.h.
50180 * include/features.h: Include stdc-predef.h.
50181 * Makefile (headers): Add stdc-predef.h.
50182 * CONFORMANCE (Compiler limitations): Update.
50183
ef0aab35
JM
501842012-02-22 Joseph Myers <joseph@codesourcery.com>
50185
50186 * manual/libc.texinfo (VERSION, UPDATED): Revert.
50187
58639409
DM
501882012-02-21 David S. Miller <davem@davemloft.net>
50189
50190 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50191 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50192
c0e70b25
DM
501932012-02-20 David S. Miller <davem@davemloft.net>
50194
50195 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50196 using a normal save/restore sequence, rather than allocating a
50197 dummy stack frame just to store a frame pointer and restore.
50198 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50199
fb06851d
JM
502002012-02-21 Joseph Myers <joseph@codesourcery.com>
50201
50202 * manual/install.texi: Fix stray word in line-wrapped comment.
50203
7a8b71c3
DM
502042012-02-20 David S. Miller <davem@davemloft.net>
50205
d510c123
DM
50206 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50207 both binutils and gcc support GOTDATA.
50208
0722d7c2
DM
50209 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50210 "rd %pc" in the PIC register setup sequences.
50211
3d2b3019
DM
50212 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50213 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50214 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50215 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50216 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50218 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50219 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50220 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50221 (SYSCALL_ERROR_HANDLER): Likewise.
50222 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50223 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50224 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50225 (SYSCALL_ERROR_HANDLER): Likewise.
50226
c80098a9
DM
50227 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50228 (HAVE_GCC_GOTDATA): New.
50229 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50230 relocation support in both binutils and gcc.
50231 * sysdeps/sparc/elf/configure: Regenerate.
50232
3a2545a0
DM
50233 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50234 * sysdeps/sparc/sparc32/elf/configure: Delete.
50235 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50236 * sysdeps/sparc/sparc64/elf/configure: Delete.
50237 * sysdeps/sparc/elf/configure.in: New file.
50238 * sysdeps/sparc/elf/configure: Generate.
50239
7a8b71c3
DM
50240 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50241 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50242 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50243 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50244 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50245
f1e86fca
JM
502462012-02-21 Joseph Myers <joseph@codesourcery.com>
50247
50248 * manual/install.texi: Do not mention specific glibc version
50249 numbers.
50250 * manual/libc.texinfo (VERSION, UPDATED): Update.
50251 (@copying): Use @copyright{} and range of years.
50252
0e7dfaef
JM
502532012-02-21 Joseph Myers <joseph@codesourcery.com>
50254
50255 [BZ #13695]
50256 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50257 [crti.S not in sysdirs] (generated): Do not append.
50258 [crti.S not in sysdirs] (omit-deps): Likewise.
50259 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50260 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50261 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50262 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50263 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50264 Likewise.
50265 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50266 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50267 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50268 * csu/defs.awk: Remove file.
50269 * sysdeps/generic/initfini.c: Likewise.
50270 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50271 variable.
50272 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50273 Likewise.
50274
599af3ca
JM
502752012-02-20 Joseph Myers <joseph@codesourcery.com>
50276
50277 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50278 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50279 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50280 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50281 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50282 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50283 <bits/epoll.h>.
50284 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50285 (__EPOLL_PACKED): Define to empty if not defined by
50286 <bits/epoll.h>.
50287 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50288 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50289 bits/epoll.h.
50290
0e499750
JM
502912012-02-20 Joseph Myers <joseph@codesourcery.com>
50292
50293 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50294 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50295 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50296 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50297 <bits/timerfd.h>.
50298 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50299 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50300 bits/timerfd.h.
50301
5ad91f6e
JM
503022012-02-20 Joseph Myers <joseph@codesourcery.com>
50303
50304 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50305 in C locale.
50306 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50307 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50308 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50310
06b99b02
AJ
503112012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50312
50313 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50314 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50315
7638c0fd
AS
503162012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50317
50318 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50319 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50320 defined.
50321 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50322 Likewise.
50323 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50324 entry for 2.16.
50325
92221550
AJ
503262012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50327
50328 * math/w_acos.c: Use non-signaling floating-point comparisons.
50329 * math/w_acosf.c: Likewise.
50330 * math/w_acosh.c: Likewise.
50331 * math/w_acoshf.c: Likewise.
50332 * math/w_acoshl.c: Likewise.
50333 * math/w_acosl.c: Likewise.
50334 * math/w_asin.c: Likewise.
50335 * math/w_asinf.c: Likewise.
50336 * math/w_asinl.c: Likewise.
50337 * math/w_atanh.c: Likewise.
50338 * math/w_atanhf.c: Likewise.
50339 * math/w_atanhl.c: Likewise.
50340 * math/w_exp2.c: Likewise.
50341 * math/w_exp2f.c: Likewise.
50342 * math/w_exp2l.c: Likewise.
50343 * math/w_j0.c: Likewise.
50344 * math/w_j0f.c: Likewise.
50345 * math/w_j0l.c: Likewise.
50346 * math/w_j1.c: Likewise.
50347 * math/w_j1f.c: Likewise.
50348 * math/w_j1l.c: Likewise.
50349 * math/w_jn.c: Likewise.
50350 * math/w_jnf.c: Likewise.
50351 * math/w_log.c: Likewise.
50352 * math/w_log10.c: Likewise.
50353 * math/w_log10f.c: Likewise.
50354 * math/w_log10l.c: Likewise.
50355 * math/w_log2.c: Likewise.
50356 * math/w_log2f.c: Likewise.
50357 * math/w_log2l.c: Likewise.
50358 * math/w_logf.c: Likewise.
50359 * math/w_logl.c: Likewise.
50360 * math/w_sqrt.c: Likewise.
50361 * math/w_sqrtf.c: Likewise.
50362 * math/w_sqrtl.c: Likewise.
50363 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50364 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50365 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50366 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50367 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50368
ebaf36eb
JM
503692012-02-19 Joseph Myers <joseph@codesourcery.com>
50370
50371 [BZ #9739]
50372 * manual/string.texi (strnlen): Use correct parameter name in
50373 equivalent expression.
50374
71c254a6
JM
503752012-02-19 Joseph Myers <joseph@codesourcery.com>
50376
50377 [BZ #11174]
50378 * manual/users.texi (seteuid): Consistently use neweuid for
50379 argument name.
50380
16d2c631
JM
503812012-02-19 Joseph Myers <joseph@codesourcery.com>
50382
50383 [BZ #13704]
50384 * manual/nss.texi (Services in the NSS configuration): Correct
50385 list of services in example configuration file.
50386
cd837b09
NB
503872012-02-19 Nick Bowler <nbowler@draconx.ca>
50388
50389 [BZ #11322]
50390 * manual/arith.texi: Remove statements about negative zero
50391 behaving identically to zero.
50392
02c4bbad
JM
503932012-02-18 Joseph Myers <joseph@codesourcery.com>
50394
50395 [BZ #5993]
50396 * manual/install.texi: Do not document upgrading from libc5.
50397
366842e7
JM
503982012-02-18 Joseph Myers <joseph@codesourcery.com>
50399
50400 [BZ #4596]
50401 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50402
dd54084d
DM
504032012-02-18 David S. Miller <davem@davemloft.net>
50404
50405 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50406 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50407 %o7 across the call.
50408 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50409 instead.
50410 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50411 SETUP_PIC_REG_LEAF.
50412 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50413 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50414 * sysdeps/sparc/crtn.S: Likewise.
50415
2bcc53a3
UD
504162012-02-17 Ulrich Drepper <drepper@gmail.com>
50417
50418 * aout/Makefile: Remove.
50419
09c093b5
RK
504202012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50421
50422 [BZ #13058]
50423 * manual/examples/argp-ex1.c (main): Format definition in GNU
50424 style.
50425 * manual/examples/argp-ex2.c (main): Likewise.
50426 * manual/examples/argp-ex3.c (main): Likewise.
50427 * manual/examples/argp-ex4.c (main): Likewise.
50428 * manual/examples/longopt.c (main): Use new-style prototype
50429 definition.
50430 * manual/examples/strncat.c (main): Specify return type and use
50431 (void) for arguments.
50432 * manual/examples/subopt.c (main): Use char **argv argument.
50433
2ee633a2
JM
504342012-02-17 Joseph Myers <joseph@codesourcery.com>
50435
50436 [BZ #5077]
50437 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50438 rounding modes.
50439
0520adde
FB
504402012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50441
50442 [BZ #6907]
50443 * manual/string.texi (strchr): Change when strchrnul is
50444 recommended.
50445
3f4081cd
DGM
504462012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50447
50448 [BZ #174]
50449 * manual/locale.texi (setlocale): Document LOCPATH.
50450
d1b10e78
JM
504512012-02-17 Joseph Myers <joseph@codesourcery.com>
50452
50453 [BZ #10210]
50454 * manual/process.texi (execle): Move @dots{} before last argument.
50455
79c6869c
PB
504562012-02-17 Paul Bolle <pebolle@tiscali.nl>
50457
50458 [BZ #12047]
50459 * manual/charset.texi (Generic Charset Conversion): Fix typo
50460 (LC_TYPE -> LC_CTYPE).
50461
cc6e48bc
NB
504622012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50463
50464 [BZ #5805]
50465 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50466 (scalbnf): Likewise.
50467 (scalbnl): Likewise.
50468 (scalbln): Likewise.
50469 (scalblnf): Likewise.
50470 (scalblnl): Likewise.
50471 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50472 (vwarnx): Likewise.
50473 (verr): Likewise.
50474 (verrx): Likewise.
50475 * manual/filesys.texi (telldir): Use braces around return type.
50476 * manual/llio.texi (mmap): Add space after comma.
50477 (mmap64): Likewise.
50478 * manual/math.texi (jn): Use @var{} on parameter names.
50479 (jnf): Likewise.
50480 (jnl): Likewise.
50481 (yn): Likewise.
50482 (ynf): Likewise.
50483 (ynl): Likewise.
50484 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50485 line.
50486 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50487 "...".
50488 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50489 (sched_get_priority_max): Likewise.
50490 * manual/signal.texi (sigvec): Add space after comma.
50491 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50492 names.
50493 (if_indextoname): Likewise.
50494 (if_freenameindex): Likewise.
50495 (sendto): Use ',' instead of '.' in prototype.
50496 * manual/startup.texi (syscall): Use @dots{} instead of literal
50497 "...".
50498 * manual/stdio.texi (__fpending): Separate initial words of
50499 paragraph from @deftypefun line.
50500 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50501 "...".
50502 (vsyslog): Use @var{} on parameter names.
50503 * manual/terminal.texi (stty): Use @var{} on parameter names.
50504 * manual/users.texi (getutmp): Use @var{} on parameter names.
50505 (getutmpx): Likewise.
50506
5b23062f
JM
505072012-02-17 Joseph Myers <joseph@codesourcery.com>
50508
50509 [BZ #6884]
50510 * manual/stdio.texi (fopen): Fix typos in description of
50511 ",ccs=STRING".
50512
8dee4833
AJ
505132012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50514
50515 [BZ #4026]
50516 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50517 get clock_id definition.
50518
9078ce93
TS
505192012-02-17 Thomas Schwinge <thomas@schwinge.name>
50520
50521 [BZ #4822]
50522 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50523 (madvise): Cast every argument to void on its own.
50524
3835c55f
JM
505252012-02-17 Joseph Myers <joseph@codesourcery.com>
50526
50527 [BZ #9902]
50528 * manual/startup.texi (Exit Status): Fix typo.
50529
35c47e37
JM
505302012-02-17 Joseph Myers <joseph@codesourcery.com>
50531
50532 [BZ #10140]
50533 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50534 * manual/examples/argp-ex2.c: Likewise.
50535 * manual/examples/argp-ex3.c: Likewise.
50536
e3b69ca7
RH
505372012-02-16 Richard Henderson <rth@redhat.com>
50538
50539 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50540 * sysdeps/s390/s390-32/initfini.c: Remove.
50541 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50542 * sysdeps/s390/s390-64/initfini.c: Remove.
50543
df83af67
KK
505442012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50545
50546 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50547 compiler output for sysdeps/generic/initfini.c.
50548 * sysdeps/sh/elf/initfini.c: Remove file.
50549
f63f3380
DM
505502012-02-16 David S. Miller <davem@davemloft.net>
50551
fb59b3a4
DM
50552 [BZ #11494]
50553 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50554
f63f3380
DM
50555 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50556 * sysdeps/sparc/crti.S: New file.
50557 * sysdeps/sparc/crtn.S: New file.
50558 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50559 * sysdeps/sparc/sparc64/Makefile: Likewise.
50560
df6a4a4a
MF
505612012-02-15 Mike Frysinger <vapier@gentoo.org>
50562
6dd8f3dc 50563 [BZ #3335]
df6a4a4a
MF
50564 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50565
1cac7236
RM
505662012-02-15 Roland McGrath <roland@hack.frob.com>
50567
d2c736f8
RM
50568 [BZ #4822]
50569 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50570
1cac7236
RM
50571 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50572 (write, read, close): Likewise.
50573 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50574
8e475601
JM
505752012-02-15 Joseph Myers <joseph@codesourcery.com>
50576
50577 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50578 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50579 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50580 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50581 <bits/signalfd.h>.
50582 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50583 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50584 bits/signalfd.h.
50585
ed656b40
MP
505862012-02-14 Marek Polacek <polacek@redhat.com>
50587
50588 * sysdeps/x86_64/crti.S: New file.
50589 * sysdeps/x86_64/crtn.S: New file.
50590 * sysdeps/x86_64/elf/initfini.c: Remove file.
50591
2a979d3a
JM
505922012-02-13 Joseph Myers <joseph@codesourcery.com>
50593
50594 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50595 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50596 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50597 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50598 <bits/inotify.h>.
50599 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50600 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50601 bits/inotify.h.
50602
2a418ac3
JM
506032012-02-13 Joseph Myers <joseph@codesourcery.com>
50604
50605 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50606 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50607 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50608 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50609 <bits/eventfd.h>.
50610 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50611 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50612 bits/eventfd.h.
50613
fb779be7
TS
506142012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50615
e19e83c5
RM
50616 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50617 __feraiseexcept instead of feraiseexcept.
7c35ffed 50618
fb779be7
TS
50619 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50620 nanosleep invocations.
50621 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50622 strings, and add error checking for a nanosleep invocations.
50623
59ba27a6
PE
506242012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50625
50626 Replace FSF snail mail address with URLs, as per GNU coding standards.
50627 Most of the snail mail addresses were wrong anyway, and omitting
50628 them makes the source code easier to maintain. Almost all of the
50629 changes are to license notices and to locale LC_IDENTIFICATION
50630 addresses, except for this one:
50631 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50632 not its snail mail address.
50633
57b957eb
RH
506342012-02-09 Richard Henderson <rth@twiddle.net>
50635
af850b1c
RH
50636 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50637 of kernel-features.h.
50638
57b957eb
RH
50639 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50640
6b73181a
MP
506412012-02-08 Marek Polacek <polacek@redhat.com>
50642
50643 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50644 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50645 * sysdeps/gnu/_G_config.h: Likewise.
50646 * sysdeps/generic/_G_config.h: Likewise.
50647
26ecc33a
AS
506482012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50649
6c6dbc63
AS
50650 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50651 tests.
50652 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50653
e216c012
AS
50654 * sysdeps/powerpc/powerpc32/crti.S: New file.
50655 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50656 * sysdeps/powerpc/powerpc64/crti.S: New file.
50657 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50658
26ecc33a
AS
50659 * Makeconfig (have-initfini): Don't set.
50660 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50661 * configure.in (nopic_initfini): Don't substitute.
50662 * config.h.in (HAVE_INITFINI): Don't #undef.
50663 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50664 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50665
3add8e13
JM
506662012-02-08 Joseph Myers <joseph@codesourcery.com>
50667
50668 Support crti.S and crtn.S provided directly by architectures.
50669 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50670 [crti.S in sysdirs] (omit-deps): Likewise.
50671 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50672 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50673 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50674 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50675 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50676 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50677 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50678 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50679 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50680 compiler output for sysdeps/generic/initfini.c.
50681 * sysdeps/i386/elf/Makefile: Remove file.
50682 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50683
a22f12b4
MP
506842012-02-07 Marek Polacek <polacek@redhat.com>
50685
50686 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50687 * sysdeps/gnu/_G_config.h: Likewise.
50688 * sysdeps/mach/hurd/_G_config.h: Likewise.
50689
148cf100
MP
506902012-02-07 Marek Polacek <polacek@redhat.com>
50691
50692 * math/Makefile (tests): Add tst-CMPLX2.
50693 * math/tst-CMPLX2.c: New file.
50694
cfdc0dd7
AS
506952012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50696
84ba42c4
AS
50697 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50698
cfdc0dd7
AS
50699 * math/libm-test.inc (jn_test): Add missing L suffix.
50700
622c86f4
MP
507012012-02-06 Marek Polacek <polacek@redhat.com>
50702
50703 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50704 * sysdeps/i386/fpu/e_powf.S: Likewise.
50705 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50706 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50707 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50708 * sysdeps/i386/fpu/e_pow.S: Likewise.
50709 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50710 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50711 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50712 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50713 * sysdeps/i386/fpu/e_log2.S: Likewise.
50714 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50715 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50716 * sysdeps/i386/fpu/e_powl.S: Likewise.
50717 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50718 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50719 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50720 * sysdeps/i386/fpu/e_logl.S: Likewise.
50721 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50722 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50723 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50724 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50725 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50726 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50727 * sysdeps/i386/fpu/e_log.S: Likewise.
50728 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50729 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50730 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50731 * sysdeps/i386/fpu/e_logf.S: Likewise.
50732 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50733 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50734 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50735 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50736 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50737 * sysdeps/i386/fpu/e_log10.S: Likewise.
50738 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50739 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50740 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50741 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50742 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50743 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50744 * sysdeps/i386/asm-syntax.h: Likewise.
50745 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50746 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50747 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50748 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50749 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50750 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50751 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50752 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50753 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50754 * sysdeps/powerpc/sysdep.h: Likewise.
50755 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50756 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50757
d4a54ac6
JM
507582012-02-06 Joseph Myers <joseph@codesourcery.com>
50759
50760 [BZ #411]
50761 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50762
314054ea
JM
507632012-02-06 Joseph Myers <joseph@codesourcery.com>
50764
50765 * sysdeps/i386/sysdep.h: Include <features.h>.
50766 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50767 version.
50768
d8e0ca50
JM
507692012-02-05 Joseph Myers <joseph@codesourcery.com>
50770
50771 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50772 Define.
50773 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50774 LOAD_PIC_REG_STR.
50775
b1da7dd9
JM
507762012-02-03 Joseph Myers <joseph@codesourcery.com>
50777
50778 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50779 (SETUP_PIC_REG): Use GET_PC_THUNK.
50780 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50781 macro.
50782
9a1d9254
JM
507832012-02-03 Joseph Myers <joseph@codesourcery.com>
50784
50785 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50786 for non-PIC compilation.
50787 (SETUP_PIC_REG): Add .p2align directive.
50788 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50789 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50790 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50791 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50792 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50793 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50794 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50795 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50796 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50797 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50798 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50799 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50800 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50801 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50802 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50803 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50804 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50805 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50806 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50807 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50808 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50809 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50810 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50811 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50812 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50813 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50814 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50815 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50816 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50817 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50818 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50819 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50820 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50821 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50822 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50823 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50824 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50825 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50826 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50827 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50828 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50829
65dc3b75
JM
508302012-02-03 Joseph Myers <joseph@codesourcery.com>
50831
50832 * math/tst-CMPLX.c: Include <stdio.h>.
50833
d55bf177
JM
508342012-01-31 Joseph Myers <joseph@codesourcery.com>
50835
50836 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50837 float.
50838 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50839 * sysdeps/sparc/bits/mathdef.h: Likewise.
50840
69db4f8f
MP
508412012-01-31 Marek Polacek <polacek@redhat.com>
50842
50843 * libio/libio.h: Don't define _PARAMS.
50844 * locale/programs/config.h: Don't define PARAMS.
50845 * stdlib/strtol_l.c: Likewise.
50846 (__strtol_l): Remove PARAMS from the prototype.
50847
41b81892
UD
508482012-01-31 Ulrich Drepper <drepper@gmail.com>
50849
3b49edc0
UD
50850 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50851 names. Just use the correct names. Remove unnecessary wrapper
50852 functions.
50853 * malloc/arena.c: Likewise.
50854 * malloc/hooks.c: Likewise.
50855
41b81892
UD
50856 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50857 ARENA_TEST says not to. Simplify test for creation of a new arena.
50858 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50859
27a25b6e
UD
508602012-01-30 Ulrich Drepper <drepper@gmail.com>
50861
50862 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50863 into tail calls.
50864 (update_get_addr): New function.
50865 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50866 GET_ADDR_MODULE parameter.
50867
c8a89e7d
JM
508682012-01-30 Joseph Myers <joseph@codesourcery.com>
50869
50870 * crypt/cert.c: Remove __STDC__ conditionals.
50871 * crypt/crypt-entry.c: Likewise.
50872 * crypt/crypt_util.c: Likewise.
50873 * libio/filedoalloc.c: Likewise.
50874 * libio/fileops.c: Likewise.
50875 * libio/genops.c: Likewise.
50876 * libio/iofclose.c: Likewise.
50877 * libio/iofdopen.c: Likewise.
50878 * libio/iofopen.c: Likewise.
50879 * libio/iofopen64.c: Likewise.
50880 * libio/iogetdelim.c: Likewise.
50881 * libio/iopopen.c: Likewise.
50882 * libio/obprintf.c: Likewise.
50883 * libio/oldfileops.c: Likewise.
50884 * libio/oldiofclose.c: Likewise.
50885 * libio/oldiofdopen.c: Likewise.
50886 * libio/oldiofopen.c: Likewise.
50887 * libio/oldiopopen.c: Likewise.
50888 * libio/wfiledoalloc.c: Likewise.
50889 * libio/wgenops.c: Likewise.
50890 * locale/programs/xmalloc.c: Likewise.
50891 * misc/syslog.c: Likewise.
50892 * stdio-common/xbug.c: Likewise.
50893 * string/memchr.c: Likewise.
50894 * string/memcmp.c: Likewise.
50895 * string/memrchr.c: Likewise.
50896 * string/rawmemchr.c: Likewise.
50897 * sysdeps/posix/getcwd.c: Likewise.
50898 * time/strftime_l.c: Likewise.
50899
3b100462
JM
509002012-01-30 Joseph Myers <joseph@codesourcery.com>
50901
50902 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50903 * config.make.in (config-cflags-sse2avx): Define.
50904 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50905 Fix typo.
50906
607998af
CM
509072012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50908
50909 * scripts/config.guess: Update from upstream config git repository.
50910 * scripts/config.sub: Likewise.
50911
3601428f
CM
509122012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50913
3ac8b282
CM
50914 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50915 (EM_NUM): Update.
50916 (R_TILEPRO_*, R_TILEGX_*): New macros.
50917
e034841e
CM
50918 * scripts/firstversions.awk: Fix bug in version range handling.
50919
540d7568
CM
50920 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50921
3601428f
CM
50922 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50923
463de862
CM
50924 * include/sys/epoll.h: New file.
50925 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50926 libc_hidden_def.
50927
73139a76
UD
509282012-01-28 Ulrich Drepper <drepper@gmail.com>
50929
96bc5b45
UD
50930 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50931 Avoid unnecessary __WORDSIZE == 64 test.
50932 (fmaxf): Use VEX format if possible.
50933 (fmax): Likewise.
50934 (fminf): Likewise.
50935 (fmin): Likewise.
50936
56f6f6a2
UD
50937 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50938 * math/math_private.h: Remove libc_fegetround* and
50939 libc_fesetround*.
50940 * sysdeps/i386/configure.in: Check for -msse2avx.
50941 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50942 also if SSE2AVX is defined.
50943 Remove libc_fegetround* and libc_fesetround*.
50944 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
50945 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
50946 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
50947 of HAS_YMM_USABLE.
50948 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50949 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50950 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50951 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50952 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50953
73139a76
UD
50954 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
50955
d73f93a4
AZ
509562012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50957
50958 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
50959 size is not set.
50960 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
50961
6ee65ed6
UD
509622012-01-27 Ulrich Drepper <drepper@gmail.com>
50963
50964 [BZ #13618]
50965 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
50966 relocation.
50967 * Makeconfig (libm): Define.
50968 * elf/Makefile: Add rules to build and run tst-relsort1.
50969 * elf/tst-relsort1.c: New file.
50970 * elf/tst-relsort1mod1.c: New file.
50971 * elf/tst-relsort1mod2.c: New file.
50972
8db21882
JM
509732012-01-27 Joseph Myers <joseph@codesourcery.com>
50974
50975 * math/s_ldexp.c: Remove __STDC__ conditionals.
50976 * math/s_ldexpf.c: Likewise.
50977 * math/s_ldexpl.c: Likewise.
50978 * math/s_nextafter.c: Likewise.
50979 * math/s_nexttowardf.c: Likewise.
50980 * math/s_significand.c: Likewise.
50981 * math/s_significandf.c: Likewise.
50982 * math/s_significandl.c: Likewise.
50983 * math/w_jnl.c: Likewise.
50984 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
50985 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
50986 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
50987 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
50988 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
50989 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50990 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
50991 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
50992 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
50993 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
50994 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
50995 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50996 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
50997 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
50998 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
50999 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51000 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51001 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51002 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51003 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51004 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51005 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51006 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51007 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51008 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51009 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51010 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51011 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51012 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51013 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51014 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51015 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51016 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51017 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51018 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51019 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51020 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51021 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51022 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51023 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51024 * sysdeps/ieee754/k_standard.c: Likewise.
51025 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51026 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51027 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51028 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51029 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51030 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51031 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51032 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51033 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51034 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51035 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51036 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51037 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51038 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51039 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51040 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51041 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51042 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51043 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51044 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51045 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51046 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51047 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51048 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51049 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51050 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51051 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51052 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51053 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51054 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51055 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51056 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51057 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51058 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51059 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51060 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51061 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51062 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51063 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51064 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51065 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51066 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51067 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51068 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51069 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51070 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51071 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51072 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51073 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51074 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51075 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51076 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51077 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51078 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51079 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51080 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51081 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51082 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51083 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51084 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51085 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51086 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51087 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51088 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51089 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51090 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51091 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51092 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51093 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51094 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51095 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51096 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51097 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51098 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51099 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51100 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51101 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51102 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51103 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51104 * sysdeps/ieee754/s_matherr.c: Likewise.
51105 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51106 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51107 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51108 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51109
965a54a4
JM
511102012-01-26 Joseph Myers <joseph@codesourcery.com>
51111
51112 * crypt/md5.h: Remove __STDC__ conditionals.
51113 * libio/libioP.h: Likewise.
51114 * locale/programs/config.h: Likewise.
51115 * sysdeps/generic/sysdep.h: Likewise.
51116 * sysdeps/i386/asm-syntax.h: Likewise.
51117 * sysdeps/s390/asm-syntax.h: Likewise.
51118 * sysdeps/unix/sysdep.h: Likewise.
51119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51121
7071ad79
JM
511222012-01-26 Joseph Myers <joseph@codesourcery.com>
51123
51124 * libio/libio.h: Remove __STDC__ conditionals.
51125 * malloc/obstack.h: Likewise.
51126 * math/complex.h: Likewise.
51127 * math/math.h: Likewise.
51128 * sysdeps/generic/_G_config.h: Likewise.
51129 * sysdeps/gnu/_G_config.h: Likewise.
51130 * sysdeps/mach/hurd/_G_config.h: Likewise.
51131 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51132 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51133 * sysdeps/sparc/bits/mathdef.h: Likewise.
51134
afc5ed09
UD
511352012-01-26 Ulrich Drepper <drepper@gmail.com>
51136
51137 [BZ #13583]
51138 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 51139 Clean up HAS_* macros.
afc5ed09 51140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
51141 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51142 possible.
51143 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51144 HAS_AVX.
51145 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51146 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51147 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51148 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51149 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 51150
bdb6de1d
JM
511512012-01-25 Joseph Myers <joseph@codesourcery.com>
51152
51153 * elf/tst-unique3.cc (gets): Remove declaration.
51154 * elf/tst-unique3lib.cc (gets): Likewise.
51155 * elf/tst-unique3lib2.cc (gets): Likewise.
51156 * elf/tst-unique4.cc (gets): Likewise.
51157
b15549e6
UD
511582012-01-24 Ulrich Drepper <drepper@gmail.com>
51159
51160 * include/stdio.h: Add C++ protection. Add gets declarations and
51161 definitions.
51162 * debug/tst-chk1.c: Don't declare gets here.
51163 * stdio-common/tst-gets.c: Likewise.
51164
a037381f
JM
511652012-01-24 Joseph Myers <joseph@codesourcery.com>
51166
51167 * posix/glob: Remove directory.
51168
f1d4aa75
JM
511692012-01-24 Joseph Myers <joseph@codesourcery.com>
51170
51171 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51172
81c0c964
PT
511732012-01-22 Pino Toscano <toscano.pino@tiscali.it>
51174
51175 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51176 of the non-standard EPFNOSUPPORT.
51177
0ea698ae
ST
511782011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
51179
51180 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51181 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51182 ANYWHERE set to 1 only on KERN_NO_SPACE error.
51183
d220b117
UD
511842012-01-21 Ulrich Drepper <drepper@gmail.com>
51185
51186 * wcsmbs/uchar.h: Test __STDC_VERSION__.
51187
3e1aa84e
UD
511882012-01-20 Ulrich Drepper <drepper@gmail.com>
51189
51190 * nscd/aicache.c (addhstaiX): Do not cache negative results of
51191 transient errors.
51192 * nscd/grpcache.c (cache_addgr): Likewise.
51193 * nscd/hstcache.c (cache_addhst): Likewise.
51194 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51195 * nscd/pwdcache.c (cache_addpw): Likewise.
51196 * nscd/servicescache.c (cache_addserv): Likewise.
51197
400aa020
UD
511982012-01-16 Ulrich Drepper <drepper@gmail.com>
51199
d77e7869
UD
51200 * malloc/malloc.c: Various cleanups.
51201 * malloc/hooks.c: Likewise.
51202
400aa020
UD
51203 * stdlib/Makefile (tests): Add bug-fmtmsg1.
51204 * stdlib/bug-fmtmsg1.c: New file.
51205
51206 * stdlib/fmtmsg.c (init): Add missing unlock.
51207 Patch by Peng Haitao <penght@cn.fujitsu.com>.
51208
e0a309cf
MP
512092012-01-12 Marek Polacek <polacek@redhat.com>
51210
51211 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51212 and _GNU_SOURCE.
51213
929d11c7
WS
512142012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51215
51216 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51217 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51218 macro to ensure uniqueness of label name.
51219 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51220 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51221
41d0e869
UD
512222012-01-11 Ulrich Drepper <drepper@gmail.com>
51223
0cc5ed3b
UD
51224 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51225
41d0e869
UD
51226 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51227 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51228 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51229 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51230
a47a831a
UD
512312012-01-10 Ulrich Drepper <drepper@gmail.com>
51232
daa891c0
UD
51233 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51234
51235 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51236 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51237 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51238
e58ef0f2
UD
51239 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51240
a47a831a 51241 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
51242 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51243 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 51244 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
51245
51246 * math/bits/math-finite.h: Add ldexp support.
51247
a0bfc9c7
MP
512482012-01-10 Marek Polacek <polacek@redhat.com>
51249
51250 * locale/programs/localedef.h (show_archive_content): Add noreturn
51251 attribute.
51252
d6e97a1d
UD
512532012-01-09 Ulrich Drepper <drepper@gmail.com>
51254
51255 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51256
d5835c26
UD
512572012-01-08 Ulrich Drepper <drepper@gmail.com>
51258
e5f484c6
UD
51259 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51260
d5835c26
UD
51261 * io/Makefile (headers): Add bits/poll2.h.
51262
d1f741e9
WS
512632011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51264
51265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51266 typo #include statement.
51267
ec09c1c4
UD
512682012-01-08 Ulrich Drepper <drepper@gmail.com>
51269
51270 * include/sys/cdefs.h: Define __attribute_alloc_size.
51271 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51272 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51273 * elf/pldd.c: Likewise.
51274 * iconv/iconv_charmap.c: Likewise.
51275 * iconv/iconvconfig.c: Likewise.
51276 * iconv/strtab.c: Likewise.
51277 * locale/programs/locale.c: Likewise.
51278 * locale/programs/localedef.h: Likewise.
51279 * locale/programs/simple-hash.c: Likewise.
51280 * nscd/nscd.h: Likewise.
51281 * nss/makedb.c: Likewise.
51282 * sysdeps/generic/ldconfig.h: Likewise.
51283 * locale/programs/localedef.c: Remove xmalloc prototype.
51284 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51285
20b38e03
PP
512862012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51287
51288 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51289 appropriate.
51290
a0da5fe1
UD
512912012-01-08 Ulrich Drepper <drepper@gmail.com>
51292
1d5a644a 51293 * math/Makefile (tests): Add tst-CMPLX.
669704fd 51294 * math/tst-CMPLX.c: New file.
1d5a644a 51295
8784a6db
UD
51296 * math/complex.h (CMPLXL): Fix typo.
51297
d9a216c0
UD
51298 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51299 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51300 GLIBC_2.16.
51301 * debug/tst-chk1.c: Add poll and ppoll tests.
51302 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51303 * include/sys/poll.h: Add hidden proto for ppoll.
51304 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51305 * sysdeps/mach/hurd/ppoll.c: Likewise.
51306 * io/ppoll.c: Likewise.
51307 * debug/poll_chk.c: New file.
51308 * debug/ppoll_chk.c: New file.
51309 * include/bits/poll2.h: New file.
51310 * io/bits/poll2.h: New file.
51311
ac097f5c
UD
51312 [BZ #1350]
51313 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51314
2119dcfa
UD
51315 * configure.in: static is always set to yes. Remove.
51316 * config.make.in: Don't set build-static.
51317 * Makeconfig: Remove use of build-static.
51318 * dlfcn/Makefile: Likewise.
51319 * elf/Makefile: Likewise.
51320 * math/Makefile: Likewise.
51321 * misc/Makefile: Likewise.
51322 * nptl/Makefile: Likewise.
51323 * sysdeps/mach/hurd/Makefile: Likewise.
51324
121766a9
UD
51325 * configure.in: PWD_P is not used anymore.
51326 * config.make.in: Remove PWD_P entry.
51327
51a1d39c 51328 * configure.in: Remove last remnants of RANLIB.
8720d066 51329 No need to check for signed size_t anymore.
215f4bdc
UD
51330 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51331 and IA-64.
3857022a 51332 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
51333 * aclocal.m4: Likewise.
51334
d3ed7225
UD
51335 * wcsmbs/mbrtoc16.c: Implement using towc function.
51336 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51337 * wcsmbs/wcsmbsload.c: Likewise.
51338 * iconv/gconv_simple.c: Likewise.
51339 * iconv/gconv_int.h: Likewise.
51340 * iconv/gconv_builtin.h: Likewise.
51341 * iconv/iconv_prog.c: Remove CHAR16 handling.
51342
51343 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51344
51345 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51346
a0da5fe1
UD
51347 * configure.in: Remove --with-elf and --enable-bounded options.
51348 Dont set base_machine for ia64. More non-ELF conditions removed.
51349 Remove testing and setting of leading underscore information.
51350 * config.make.in (build-bounded): Set to no.
51351 * config.h.in: Remove NO_UNDERSCORES entry.
51352 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51353 them.
51354 * csu/start.c: Remove !NO_UNDERSCORE code.
51355 * locale/localeinfo.h: Likewise.
51356 * sysdeps/generic/machine-gmon.h: Likewise.
51357 * sysdeps/generic/sysdep.h: Likewise.
51358 * sysdeps/i386/sysdep.h: Likewise.
51359 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51360 * sysdeps/mach/sysdep.h: Likewise.
51361 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51362 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51363 * sysdeps/sh/sysdep.h: Likewise.
51364 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51365 * sysdeps/unix/i386/sysdep.S: Likewise.
51366 * sysdeps/unix/sparc/start.c: Likewise.
51367 * sysdeps/unix/sparc/sysdep.S: Likewise.
51368 * sysdeps/unix/sparc/sysdep.h: Likewise.
51369 * sysdeps/unix/start.c: Likewise.
51370 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51371 * sysdeps/x86_64/sysdep.h: Likewise.
51372
df78418a
UD
513732012-01-07 Ulrich Drepper <drepper@gmail.com>
51374
a784e502
UD
51375 [BZ #13553]
51376 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51377 for non-gcc.
51378 * argp/argp-fmtstream.h: Use const instead __const.
51379 * argp/argp.h: Likewise.
51380 * assert/assert.h: Likewise.
51381 * bits/fenv.h: Likewise.
51382 * bits/sched.h: Likewise.
51383 * bits/sigset.h: Likewise.
51384 * bits/sigthread.h: Likewise.
51385 * catgets/nl_types.h: Likewise.
51386 * conform/data/pthread.h-data: Likewise.
51387 * crypt/crypt-private.h: Likewise.
51388 * crypt/crypt.h: Likewise.
51389 * crypt/crypt_util.c: Likewise.
51390 * ctype/ctype.h: Likewise.
51391 * debug/execinfo.h: Likewise.
51392 * debug/mbsnrtowcs_chk.c: Likewise.
51393 * debug/mbsrtowcs_chk.c: Likewise.
51394 * debug/wcsnrtombs_chk.c: Likewise.
51395 * debug/wcsrtombs_chk.c: Likewise.
51396 * debug/wcstombs_chk.c: Likewise.
51397 * dirent/dirent.h: Likewise.
51398 * dlfcn/dlfcn.h: Likewise.
51399 * elf/neededtest4.c: Likewise.
51400 * grp/grp.h: Likewise.
51401 * gshadow/gshadow.h: Likewise.
51402 * iconv/gconv.h: Likewise.
51403 * iconv/gconv_int.h: Likewise.
51404 * iconv/gconv_simple.c: Likewise.
51405 * iconv/iconv.h: Likewise.
51406 * iconv/loop.c: Likewise.
51407 * iconv/skeleton.c: Likewise.
51408 * include/aio.h: Likewise.
51409 * include/aliases.h: Likewise.
51410 * include/argz.h: Likewise.
51411 * include/arpa/inet.h: Likewise.
51412 * include/assert.h: Likewise.
51413 * include/dirent.h: Likewise.
51414 * include/dlfcn.h: Likewise.
51415 * include/execinfo.h: Likewise.
51416 * include/fcntl.h: Likewise.
51417 * include/fenv.h: Likewise.
51418 * include/glob.h: Likewise.
51419 * include/grp.h: Likewise.
51420 * include/libintl.h: Likewise.
51421 * include/mntent.h: Likewise.
51422 * include/netdb.h: Likewise.
51423 * include/pwd.h: Likewise.
51424 * include/rpc/netdb.h: Likewise.
51425 * include/sched.h: Likewise.
51426 * include/search.h: Likewise.
51427 * include/shadow.h: Likewise.
51428 * include/signal.h: Likewise.
51429 * include/stdio.h: Likewise.
51430 * include/stdlib.h: Likewise.
51431 * include/string.h: Likewise.
51432 * include/sys/socket.h: Likewise.
51433 * include/sys/stat.h: Likewise.
51434 * include/sys/statfs.h: Likewise.
51435 * include/sys/statvfs.h: Likewise.
51436 * include/sys/syslog.h: Likewise.
51437 * include/sys/time.h: Likewise.
51438 * include/sys/uio.h: Likewise.
51439 * include/time.h: Likewise.
51440 * include/unistd.h: Likewise.
51441 * include/utmp.h: Likewise.
51442 * include/wchar.h: Likewise.
51443 * include/wctype.h: Likewise.
51444 * inet/aliases.h: Likewise.
51445 * inet/arpa/inet.h: Likewise.
51446 * inet/netinet/ether.h: Likewise.
51447 * inet/netinet/in.h: Likewise.
51448 * intl/libintl.h: Likewise.
51449 * io/bits/fcntl2.h: Likewise.
51450 * io/fcntl.h: Likewise.
51451 * io/ftw.h: Likewise.
51452 * io/sys/poll.h: Likewise.
51453 * io/sys/stat.h: Likewise.
51454 * io/sys/statfs.h: Likewise.
51455 * io/sys/statvfs.h: Likewise.
51456 * io/utime.h: Likewise.
51457 * libio/bits/stdio.h: Likewise.
51458 * libio/bits/stdio2.h: Likewise.
51459 * libio/libio.h: Likewise.
51460 * libio/libioP.h: Likewise.
51461 * libio/stdio.h: Likewise.
51462 * locale/lc-ctype.c: Likewise.
51463 * locale/locale.h: Likewise.
51464 * login/utmp.h: Likewise.
51465 * malloc/arena.c: Likewise.
51466 * malloc/malloc.c: Likewise.
51467 * malloc/malloc.h: Likewise.
51468 * malloc/mcheck.c: Likewise.
51469 * malloc/mtrace.c: Likewise.
51470 * math/bits/mathcalls.h: Likewise.
51471 * math/fenv.h: Likewise.
51472 * math/math_private.h: Likewise.
51473 * misc/bits/error.h: Likewise.
51474 * misc/bits/syslog.h: Likewise.
51475 * misc/err.h: Likewise.
51476 * misc/error.h: Likewise.
51477 * misc/fstab.h: Likewise.
51478 * misc/mntent.h: Likewise.
51479 * misc/regexp.h: Likewise.
51480 * misc/search.h: Likewise.
51481 * misc/sgtty.h: Likewise.
51482 * misc/sys/mman.h: Likewise.
51483 * misc/sys/syslog.h: Likewise.
51484 * misc/sys/uio.h: Likewise.
51485 * misc/sys/xattr.h: Likewise.
51486 * misc/ttyent.h: Likewise.
51487 * nis/rpcsvc/ypclnt.h: Likewise.
51488 * nss/nss.h: Likewise.
51489 * posix/bits/unistd.h: Likewise.
51490 * posix/fnmatch.h: Likewise.
51491 * posix/glob.h: Likewise.
51492 * posix/sched.h: Likewise.
51493 * posix/spawn.h: Likewise.
51494 * posix/sys/wait.h: Likewise.
51495 * posix/unistd.h: Likewise.
51496 * posix/wordexp.h: Likewise.
51497 * pwd/pwd.h: Likewise.
51498 * resolv/netdb.h: Likewise.
51499 * resource/sys/resource.h: Likewise.
51500 * rt/aio.h: Likewise.
51501 * rt/bits/mqueue2.h: Likewise.
51502 * rt/mqueue.h: Likewise.
51503 * shadow/shadow.h: Likewise.
51504 * signal/signal.h: Likewise.
51505 * socket/send.c: Likewise.
51506 * socket/sendto.c: Likewise.
51507 * socket/sys/socket.h: Likewise.
51508 * stdio-common/printf.h: Likewise.
51509 * stdlib/bits/stdlib.h: Likewise.
51510 * stdlib/fmtmsg.h: Likewise.
51511 * stdlib/monetary.h: Likewise.
51512 * stdlib/stdlib.h: Likewise.
51513 * stdlib/ucontext.h: Likewise.
51514 * streams/stropts.h: Likewise.
51515 * string/argz.h: Likewise.
51516 * string/bits/string2.h: Likewise.
51517 * string/string.h: Likewise.
51518 * string/strings.h: Likewise.
51519 * sunrpc/rpc/auth.h: Likewise.
51520 * sunrpc/rpc/auth_des.h: Likewise.
51521 * sunrpc/rpc/clnt.h: Likewise.
51522 * sunrpc/rpc/netdb.h: Likewise.
51523 * sunrpc/rpc/pmap_clnt.h: Likewise.
51524 * sunrpc/rpc/xdr.h: Likewise.
51525 * sysdeps/generic/inttypes.h: Likewise.
51526 * sysdeps/generic/net/if.h: Likewise.
51527 * sysdeps/generic/sys/swap.h: Likewise.
51528 * sysdeps/gnu/net/if.h: Likewise.
51529 * sysdeps/gnu/utmpx.h: Likewise.
51530 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51531 * sysdeps/i386/i486/bits/string.h: Likewise.
51532 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51533 * sysdeps/s390/bits/string.h: Likewise.
51534 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51535 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51536 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51537 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51538 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51539 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51540 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51541 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51542 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51543 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51544 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51545 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51546 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51547 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51548 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51549 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51550 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51551 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51552 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51553 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51554 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51555 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51556 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51557 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51558 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51559 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51560 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51561 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51562 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51563 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51564 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51565 * sysvipc/sys/ipc.h: Likewise.
51566 * sysvipc/sys/msg.h: Likewise.
51567 * sysvipc/sys/sem.h: Likewise.
51568 * sysvipc/sys/shm.h: Likewise.
51569 * termios/termios.h: Likewise.
51570 * time/sys/time.h: Likewise.
51571 * time/time.h: Likewise.
51572 * wcsmbs/bits/wchar2.h: Likewise.
51573 * wcsmbs/uchar.h: Likewise.
51574 * wcsmbs/wchar.h: Likewise.
51575 * wctype/wctype.h: Likewise.
51576
0269750c
UD
51577 [BZ #13551]
51578 * Makeconfig: Remove all but ELF support including AIX support.
51579 * Makerules: Likewise.
51580 * config.h.in: Likewise.
51581 * config.make.in: Likewise.
51582 * configure: Likewise.
51583 * configure.in: Likewise.
51584 * csu/Makefile: Likewise.
51585 * csu/version.c: Likewise.
51586 * debug/Makefile: Likewise.
51587 * dlfcn/Makefile: Likewise.
51588 * elf/Makefile: Likewise.
51589 * extra-lib.mk: Likewise.
51590 * iconv/Makefile: Likewise.
51591 * include/libc-symbols.h: Likewise.
51592 * include/shlib-compat.h: Likewise.
51593 * resolv/Makefile: Likewise.
51594 * resolv/res_libc.c: Likewise.
51595 * rt/Makefile: Likewise.
51596 * sysdeps/i386/asm-syntax.h: Likewise.
51597 * sysdeps/i386/sysdep.h: Likewise.
51598 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51599 * sysdeps/mach/sysdep.h: Likewise.
51600 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51601 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51602 * sysdeps/s390/asm-syntax.h: Likewise.
51603 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51604 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51605 * sysdeps/sh/sysdep.h: Likewise.
51606 * sysdeps/unix/sparc/sysdep.h: Likewise.
51607 * sysdeps/wordsize-32/divdi3.c: Likewise.
51608 * sysdeps/x86_64/sysdep.h: Likewise.
51609
00bbd29b
UD
51610 * argp/Versions: Remove _argp_unlock_xxx.
51611
51612 [BZ #13559]
51613 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51614 * abilist/libBrokenLocale.abilist: Likewise.
51615 * abilist/libanl.abilist: Likewise.
51616 * abilist/libc.abilist: Likewise.
51617 * abilist/libcrypt.abilist: Likewise.
51618 * abilist/libdl.abilist: Likewise.
51619 * abilist/libm.abilist: Likewise.
51620 * abilist/libnsl.abilist: Likewise.
51621 * abilist/libpthread.abilist: Likewise.
51622 * abilist/libresolv.abilist: Likewise.
51623 * abilist/librt.abilist: Likewise.
51624 * abilist/libthread_db.abilist: Likewise.
51625 * abilist/libutil.abilist: Likewise.
51626 * abilist/libnss_db.abilist: New file.
51627
51628 * scripts/abilist.awk: Add support for indirect functions.
51629
a2693a0e
UD
51630 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51631
3f05895f
UD
51632 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51633
ecb6fb48
UD
51634 * shlib-versions: Remove entries for ports architectures.
51635
664f8cb9
UD
51636 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51637 files in ports.
51638 * elf/stackguard-macros.h: Remove support for IA-64.
51639 * elf/tst-auditmod1.c: Likewise.
51640 * sysdeps/generic/ldsodefs.h: Likewise.
51641
7ae81d88
UD
51642 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51643 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51644 configure files.
51645
bdeba135
UD
51646 [BZ #13552]
51647 * configure.in: Remove --enable-omitfp support.
51648 * FAQ.in: Adjust.
51649 * config.make.in: Likewise.
51650 * Makeconfig: Likewise.
51651 * manual/install.texi: Likewise.
51652
d75a0a62
UD
51653 In case anyone cares, the IA-64 architecture could move to ports.
51654 * sysdeps/ia64/*: Removed.
51655 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51656 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51657
dcc9756b
UD
51658 [BZ #13555]
51659 * configure.in: Remove entries for unsupported architectures.
51660
d3761ebc 51661 [BZ #13533]
9954432e
UD
51662 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51663 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51664 routines.
51665 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51666 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51667 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51668 fall back to using wcrtomb.
51669 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51670 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51671 renaming.
51672 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51673 * wcsmbs/tst-c16c32-1.c: New file.
51674
51675 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51676 local variable.
51677
c3a87236
UD
51678 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51679
28926a1b
UD
51680 * elf/tst-unique3.cc: Add explicit declaration of gets.
51681 * elf/tst-unique3lib.cc: Likewise.
51682 * elf/tst-unique3lib2.cc: Likewise.
51683 * elf/tst-unique4.cc: Likewise.
51684
df78418a
UD
51685 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51686
8ecd6b2a
JM
516872012-01-06 Joseph Myers <joseph@codesourcery.com>
51688
51689 [BZ #13566]
51690 * assert/assert.h (static_assert): Don't define for C++.
51691 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51692 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51693
9f115170
UD
516942012-01-03 Ulrich Drepper <drepper@gmail.com>
51695
5e0d0300
UD
51696 * iconv/loop.c (single loop): Fix assertion in storing of
51697 remaining bytes.
51698
9f115170
UD
51699 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51700
81fb02b0
UD
517012012-01-01 Ulrich Drepper <drepper@gmail.com>
51702
51703 * posix/getconf.c: Update copyright year.
51704 * nss/getent.c: Likewise.
a316c1f6 51705 * nss/makedb.c: Likewise.
81fb02b0
UD
51706 * iconv/iconvconfig.c: Likewise.
51707 * iconv/iconv_prog.c: Likewise.
51708 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51709 * elf/pldd.c: Likewise.
51710 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51711 * catgets/gencat.c: Likewise.
51712 * csu/version.c: Likewise.
51713 * elf/ldd.bash.in: Likewise.
51714 * elf/sprof.c (print_version): Likewise.
51715 * locale/programs/locale.c: Likewise.
51716 * locale/programs/localedef.c: Likewise.
a316c1f6 51717 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51718 * nscd/nscd.c (print_version): Likewise.
51719 * debug/xtrace.sh: Likewise.
51720 * malloc/memusage.sh: Likewise.
51721 * malloc/mtrace.pl: Likewise.
51722 * debug/catchsegv.sh: Likewise.
51723
2ba92745
JJ
517242011-12-30 Jakub Jelinek <jakub@redhat.com>
51725
51726 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51727 pure attribute.
51728
dadebdae
UD
517292011-12-24 Ulrich Drepper <drepper@gmail.com>
51730
d3761ebc 51731 [BZ #13533]
db6af3eb
UD
51732 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51733 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51734 transformations.
51735 * iconv/gconv_int.h: Likewise.
51736 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51737 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51738 from libc for GLIBC_2.16.
51739 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51740 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51741 * wcsmbs/uchar.h: Really define mbstate_t.
51742 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51743 * wcsmbs/c16rtomb.c: New file.
51744 * wcsmbs/mbrtoc16.c: New file.
51745 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51746 for C/POSIX locale.
51747 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51748 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51749
dadebdae
UD
51750 * wcsmbs/wchar.h: Add missing __restrict.
51751
67371b56
UD
517522011-12-23 Ulrich Drepper <drepper@gmail.com>
51753
74033a25
UD
51754 [BZ #13532]
51755 * time/Makefile (routines): Add timespec_get.
51756 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51757 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51758 timespec for ISO C11.
51759 * time/timespec_get.c: New file.
51760 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51761 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51762
380d7e87
UD
51763 [BZ #13531]
51764 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51765 * stdlib/stdlib.h: Declare aligned_alloc.
51766 * Versions.def: Add GLIBC_2.16 for libc.
51767 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51768
4e9e7a35
UD
51769 [BZ 13527]
51770 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51771 ISO C11.
51772
380d7e87 51773 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51774 code.
51775
03a71829
UD
51776 [BZ #13528]
51777 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51778
839e283e
UD
51779 [BZ #13529]
51780 * assert/assert.h (static_assert): Define.
51781
ce5294e2 51782 * version.h: Update for 2.16 development version.
90fa7312 51783
8d44e150 51784 [BZ #13526]
d7809905
UD
51785 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51786 _ISOC11_SOURCE.
51787
c0da14cd
UD
51788 * version.h (RELEASE): Bump for 2.15 release.
51789 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51790
530a3249
MP
51791 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51792 Patch by Marek Polacek <mpolacek@redhat.com>.
51793
67371b56
UD
51794 * bits/byteswap.h: Protect long long constants with __extension__.
51795 * sysdeps/i386/bits/byteswap.h: Likewise.
51796 * sysdeps/ia64/bits/byteswap.h: Likewise.
51797 * sysdeps/s390/bits/byteswap.h: Likewise.
51798 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51799
15db4de1
LD
518002011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51801
51802 [BZ #13540]
bbe315ea
LD
51803 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51804 destination buffer.
15db4de1
LD
51805 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51806
2b2596b1
MP
518072011-12-23 Marek Polacek <polacek@redhat.com>
51808
51809 * elf/dl-addr.c (determine_info): Add inline keyword.
51810 * elf/tst-auditmod4b.c (check_avx): Likewise.
51811 * elf/tst-auditmod6b.c (check_avx): Likewise.
51812 * elf/tst-auditmod6c.c (check_avx): Likewise.
51813 * elf/tst-auditmod7b.c (check_avx): Likewise.
51814
70c6c246
UD
518152011-12-23 Ulrich Drepper <drepper@gmail.com>
51816
51817 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51818 !__SSE_MATH__.
51819
c044cf14
LD
518202011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51821
15db4de1 51822 [BZ #13540]
c044cf14
LD
51823 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51824 processing for last bytes.
51825
6b13d9d9
BH
518262011-08-06 Bruno Haible <bruno@clisp.org>
51827
d455f537
BH
51828 [BZ #13061]
51829 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51830 U+0385, not to U+1FEE.
51831
6b13d9d9
BH
51832 [BZ #13062]
51833 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51834 entry for U+00A5 U+0301.
51835
db910efd
UD
518362011-12-22 Ulrich Drepper <drepper@gmail.com>
51837
27deeafc
UD
51838 [BZ #13166]
51839 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51840 buffer for the output is too small.
51841
aed9d171
UD
51842 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51843 optimization.
51844
db910efd
UD
51845 [BZ #13185]
51846 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51847 SSE flags if possible.
51848
2bd779ae
LD
518492011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51850
e7f9dac3 51851 [BZ #13540]
2bd779ae
LD
51852 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51853 processing for last bytes.
51854
154bfc16
JM
518552011-12-22 Joseph Myers <joseph@codesourcery.com>
51856
51857 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51858 (syscall-list-default-options, syscall-list-default-condition)
51859 (syscall-list-includes): Define.
51860 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51861 list of ABIs and options and #if conditions for each ABI. Do not
51862 handle common syscalls between ABIs specially.
51863 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51864 Remove.
51865 (syscall-list-variants, syscall-list-32bit-options)
51866 (syscall-list-32bit-condition, syscall-list-64bit-options)
51867 (syscall-list-64bit-condition): Define.
51868 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51869 (syscall-list-variants, syscall-list-32bit-options)
51870 (syscall-list-32bit-condition, syscall-list-64bit-options)
51871 (syscall-list-64bit-condition): Define.
51872 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51873 Remove.
51874 (syscall-list-variants, syscall-list-32bit-options)
51875 (syscall-list-32bit-condition, syscall-list-64bit-options)
51876 (syscall-list-64bit-condition): Define.
51877 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51878 Remove.
51879 (syscall-list-variants, syscall-list-32bit-options)
51880 (syscall-list-32bit-condition, syscall-list-64bit-options)
51881 (syscall-list-64bit-condition): Define.
51882
21eaf3a5
UD
518832011-12-22 Ulrich Drepper <drepper@gmail.com>
51884
16c6f992
UD
51885 * locale/iso-639.def: Add brx entry.
51886
41043168
UD
51887 [BZ #13328]
51888 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51889 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51890
21eaf3a5
UD
51891 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51892 __feraiseexcept_renamed.
51893
e3a851a2
UD
518942011-12-21 Ulrich Drepper <drepper@gmail.com>
51895
4920765e
UD
51896 [BZ #13538]
51897 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51898 EPOLLET with unsigned values.
51899 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51900 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51901
e3a851a2
UD
51902 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51903 to large cancellation.
51904 * math/s_cacoshf.c: Likewise.
51905 * math/s_cacoshl.c: Likewise.
51906
b27e24b8
RK
519072011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51908
51909 [BZ #13305]
aebefeee 51910 [BZ #12786]
b27e24b8
RK
51911 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51912 * math/s_cacoshf.c: Likewise.
51913 * math/s_cacoshl.c: Likewise.
51914
ee190f67
UD
519152011-12-21 Ulrich Drepper <drepper@gmail.com>
51916
51917 [BZ #13439]
51918 * iconv/gconv.h: Define __GCONV_SWAP.
51919 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51920 * iconvdata/utf-16.c: Likewise.
51921 * iconvdata/utf-32.c: Likewise.
51922
707f25df
AS
519232011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51924
51925 [BZ #13524]
51926 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51927 numerator after shifting it by one limb.
51928
d2daaa1e
RÁE
519292011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51930
51931 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51932 under [__USE_EXTERN_INLINES].
51933
a4647e72
UD
519342011-12-17 Ulrich Drepper <drepper@gmail.com>
51935
51936 [BZ #13446]
51937 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51938
f0b264f1
AZ
519392011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51940
51941 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51942 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51943 optimized code.
51944 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
51945 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
51946 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
51947 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
51948 for strncasecmp/strncasecmp_l compilation.
51949 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
51950 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
51951
8ef4f244
MP
519522011-12-08 Marek Polacek <mpolacek@redhat.com>
51953
51954 [BZ #13484]
51955 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
51956 of __asm__.
51957
97ac2654
UD
519582011-12-17 Ulrich Drepper <drepper@gmail.com>
51959
51960 [BZ #13506]
51961 * time/tzfile.c (__tzfile_read): Check values from file header.
51962
91d2a845
WS
519632011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
51964
51965 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
51966 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
51967 * powerpc/powerpc32/dl-start.S: Likewise.
51968 * powerpc/powerpc32/elf/start.S: Likewise.
51969 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
51970 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
51971 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
51972 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
51973 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
51974 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
51975 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
51976 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51977 * powerpc/powerpc32/fpu/s_round.S: Likewise.
51978 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
51979 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
51980 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
51981 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
51982 * powerpc/powerpc32/memset.S: Likewise.
51983 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
51984 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
51985 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
51986 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
51987 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
51988 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
51989 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
51990 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
51991 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
51992 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
51993 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
51994 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51995 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51996
a1267ba1
AZ
519972011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51998
51999 * math/libm-test.inc: Added more nearbyint tests.
52000 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52001 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52002 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52003 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52004
ad8ac1bd
RL
520052011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
52006
52007 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52008 FD_CLOEXEC.
52009
1d3e4b61
UD
520102011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52011
52012 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52013 Add wcscpy-ssse3 wcscpy-c.
52014 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52015 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52016 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52017 * sysdeps/x86_64/wcschr.S: New file.
52018 * sysdeps/x86_64/wcsrchr.S: New file.
52019 * string/test-strcmp.c: Remove checking of wcscmp function for
52020 wrong alignments.
52021 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52022 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52023 wcsrchr-sse2 wcsrchr-c.
52024 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52025 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52026 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52027 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52028 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52029 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52030 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52031 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52032 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52033 * wcsmbc/wcschr.c (WCSCHR): New macro.
52034
5b330a2d
UD
520352011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52036
52037 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52038 * wcsmbs/test-wcsrchr.c: New file.
52039 * string/test-strrchr.c: Add wcsrchr support.
52040 (WIDE): New macro.
52041 * wcsmbs/test-wcscpy.c: New file.
52042 * string/test-strcpy.c: Add wcscpy support.
52043 (WIDE): New macro.
26428b7c 52044
f039c043
UD
520452011-12-10 Ulrich Drepper <drepper@gmail.com>
52046
52047 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52048 the inner loop.
52049
850fb039
AS
520502011-12-06 Andreas Schwab <schwab@linux-m68k.org>
52051
52052 [BZ #13472]
52053 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52054
4efbd5cb
UD
520552011-12-04 Ulrich Drepper <drepper@gmail.com>
52056
52ff5dd0 52057 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 52058 Minor optimizations.
52ff5dd0 52059
4efbd5cb
UD
52060 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52061 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52062 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52063
8a426e12
UD
520642011-12-03 Ulrich Drepper <drepper@gmail.com>
52065
aff2453d
UD
52066 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52067 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52068 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52069 for gcc to avoid warnings.
52070 * inet/Makefile (tests): Add tst-checks.
52071 * inet/tst-checks.c: New file.
52072
52073 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52074 warning.
52075
52076 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52077 __wmemcmp_sse2.
52078
52079 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52080 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52081
8a426e12
UD
52082 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52083
9bea3473
UD
520842011-12-02 Ulrich Drepper <drepper@gmail.com>
52085
3a965496
UD
52086 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52087 problem.
52088
9bea3473
UD
52089 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52090
f101631b
UD
520912011-11-29 Joseph Myers <joseph@codesourcery.com>
52092
52093 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52094 conditional on GCC version.
52095 (__arch_compare_and_exchange_val_8_acq)
52096 (__arch_compare_and_exchange_val_16_acq)
52097 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52098 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52099 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52100
a98275aa
UD
521012011-12-02 Joseph Myers <joseph@codesourcery.com>
52102
52103 * sysdeps/sh/backtrace.c: New file.
52104
d4cc29a2
AS
521052011-12-02 Andreas Schwab <schwab@redhat.com>
52106
52107 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
52108 parenthesis.
52109
6257af2d
AS
521102011-12-01 Andreas Schwab <schwab@redhat.com>
52111
52112 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52113 falling back to utime.
52114
b5f44c1a
AS
521152011-11-30 Andreas Schwab <schwab@redhat.com>
52116
52117 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52118 expectations for float.
52119
f3a6cc0a
AS
521202011-11-29 Andreas Schwab <schwab@redhat.com>
52121
52122 * locale/weight.h (findidx): Add parameter len.
52123 * locale/weightwc.h (findidx): Likewise.
52124 * posix/fnmatch_loop.c (FCT): Adjust caller.
52125 * posix/regcomp.c (build_equiv_class): Likewise.
52126 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52127 * posix/regexec.c (check_node_accept_bytes): Likewise.
52128 * string/strcoll_l.c (STRCOLL): Likewise.
52129 * string/strxfrm_l.c (STRXFRM): Likewise.
52130
9d65ea3a
UD
521312011-11-17 Ulrich Drepper <drepper@gmail.com>
52132
52133 * Makefile.in: Remove CVSOPT handling.
52134 * configure.in: Remove use of AC_REVISION.
52135 * iconvdata/Makefile (distribute): No need to filter out CVS.
52136 * scripts/list-sources.sh: Remove CVS, subversion and monotone
52137 handling.
52138
5583a086
AS
521392011-11-16 Andreas Schwab <schwab@redhat.com>
52140
52141 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52142 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52143 [USE_AS_STRNCASECMP_L]: Likewise.
52144 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52145 NO_TLS_DIRECT_SEG_REFS.
52146 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52147 Fix argument offsets for non-PIC.
52148 [USE_AS_STRNCASECMP_L]: Likewise.
52149 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52150 NO_TLS_DIRECT_SEG_REFS.
52151
d62a8200
UD
521522011-11-15 Ulrich Drepper <drepper@gmail.com>
52153
9d65ea3a 52154 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
52155 O_CLOEXEC.
52156 * locale/loadlocale.c (_nl_load_locale): Likewise.
52157
09f93bd3
AS
521582011-11-15 Andreas Schwab <schwab@redhat.com>
52159
446514f9
AS
52160 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52161 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52162 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52163 (SYSCALL_GETTIME): Set errno on error.
52164
09f93bd3
AS
52165 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52166 count references to noai6ai_cached.
52167
312be3f9
UD
521682011-11-15 Ulrich Drepper <drepper@gmail.com>
52169
52170 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52171
52172 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52173 FD_CLOEXEC for /proc/self/maps.
52174
52175 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52176 FD_CLOEXEC for /proc/meminfo.
52177
52178 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52179 gai.conf.
52180
52181 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
52182 FD_CLOEXEC for given file.
52183
52184 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52185
52186 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52187 FD_CLOEXEC for /etc/hosts.
52188 (_gethtent): Likewise.
52189
52190 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52191
52192 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52193 cancellation and set FD_CLOEXEC for /etc/netgroup.
52194
52195 * nss/nss_files/files-key.c (search): Don't allow cancellation when
52196 reading /etc/publickey.
52197
52198 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52199 allow cancellation when reading /etc/group.
52200
52201 * nss/nss_files/files-alias.c (internal_setent): Don't allow
52202 cancellation.
52203 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
52204
52205 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52206 when using data file.
52207
52208 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52209
52210 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52211 (write_nis_obj): Use "c" and "e" in fopen.
52212
52213 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52214
52215 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52216
52217 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52218
52219 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52220
52221 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52222 locale.alias.
52223
52224 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52225
52226 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52227
52228 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52229
52230 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52231 file parsing and set FD_CLOEXEC.
52232
82af0fa8
UD
522332011-11-14 Ulrich Drepper <drepper@gmail.com>
52234
52235 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52236
a5fb313c
AS
522372011-11-14 Andreas Schwab <schwab@redhat.com>
52238
52239 * malloc/arena.c (arena_get2): Don't call reused_arena when
52240 _int_new_arena failed.
52241
6abf3465
UD
522422011-11-14 Ulrich Drepper <drepper@gmail.com>
52243
52244 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52245 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52246 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52247 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52248 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52249 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52250 to compile strcasecmp and strncasecmp.
52251 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52252 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52253
52254 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52255
76e3966e
UD
522562011-11-13 Ulrich Drepper <drepper@gmail.com>
52257
52258 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52259 locale-defines.sym to gen-as-const-headers.
52260 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52261 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52262 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52263 to compile strcasecmp and strncasecmp.
52264 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52265 strcasecmp_l and strncasecmp_l.
52266 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52267 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52268 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52269 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52270 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52271 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52272 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52273 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52274 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52275 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52276 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52277
ab26144e
UD
522782011-11-12 Ulrich Drepper <drepper@gmail.com>
52279
7edb22ef
UD
52280 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52281 result of SYSDEP_GETTIME_CPU to retval.
52282 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52283 parameter list to macro. Remove trailing semicolon. Adjust users.
52284
9694fc44
UD
52285 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52286 variable.
52287
8ad89ef8
UD
52288 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52289 mantissa words.
52290 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52291
0c822ef9
UD
52292 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52293 from unused variable.
52294
874e0564
UD
52295 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52296 DWARF definitions.
52297 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52298 for assembling.
52299
3a2edc79
UD
52300 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52301 over namespaces.
52302
f3c2577f
UD
52303 * sunrpc/rpc_prot.c (rejected): Fix case value.
52304
294ce126
UD
52305 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52306 unsigned long long int to avoid warnings in shift.
52307
5e2b63c6
UD
52308 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52309 of use of trans.
52310 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52311 variable tmp.
52312
e7f4b08e
UD
52313 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52314 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52315 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52316
ab26144e
UD
52317 * nis/nis_table.c (nis_list): Use variable of correct type for
52318 result of __follow_path call.
52319
8a6d5255
AZ
523202011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52321
52322 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52323 of math functions ceil, trunc, floor, round, and sqrt, when
52324 avaliable on the platform.
52325 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52326 name clash.
52327 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52328 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52329 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52330
aaddc98c
MP
523312011-10-30 Marek Polacek <mpolacek@redhat.com>
52332
52333 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52334 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52335
95b7042b
RM
523362011-11-11 Roland McGrath <roland@hack.frob.com>
52337
52338 * include/unistd.h: Fix __readlink return type.
52339 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52340
57769839
UD
523412011-11-11 Ulrich Drepper <drepper@gmail.com>
52342
52343 * stdlib/ucontext.h: Undo last change for makecontext.
52344
edc5984d
AS
523452011-11-11 Andreas Schwab <schwab@redhat.com>
52346
98591e58
AS
52347 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52348
edc5984d
AS
52349 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52350 * setjmp/setjmp.h: Mark functions as non-leaf.
52351 * setjmp/bits/setjmp2.h: Likewise.
52352 * stdlib/ucontext.h: Likewise.
52353
77cdc054
AS
523542011-11-10 Andreas Schwab <schwab@redhat.com>
52355
52356 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52357 (reused_arena): Don't check arena limit.
52358 (arena_get2): Atomically check arena limit.
52359
fe72eebd
UD
523602011-11-08 Ulrich Drepper <drepper@gmail.com>
52361
5f078c32
UD
52362 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52363 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52364
fe72eebd
UD
52365 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52366 instructions.
52367
ae1bc2fa
AS
523682011-11-07 Andreas Schwab <schwab@redhat.com>
52369
7583a88d
AS
52370 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52371 handler when locking.
52372
ae1bc2fa
AS
52373 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52374 Fix size of allocated buffer.
52375
10fb0bfa
AS
523762011-11-04 Andreas Schwab <schwab@redhat.com>
52377
998832a4
AS
52378 [BZ #10103]
52379 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52380 declarations for long double functions.
52381 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52382
10fb0bfa
AS
52383 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52384
3d7ba52b
AS
523852011-11-03 Andreas Schwab <schwab@redhat.com>
52386
a9ae54a1
AS
52387 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52388 installed.
52389
3d7ba52b
AS
52390 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52391 is disabled.
52392
bc8db248
ST
523932011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52394
52395 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52396
45b96dd6
AS
523972011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52398
647776f6
AS
52399 * include/alloca.h (stackinfo_alloca_round): Define.
52400 (extend_alloca): Use it.
52401 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52402 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52403 here.
52404
d91a8b93
AS
52405 * scripts/check-local-headers.sh: Ignore libaudit.h.
52406
45b96dd6
AS
52407 * nscd/Makefile (extra-objs): Make recursively expanded.
52408
432d41ce
UD
524092011-11-01 Ulrich Drepper <drepper@gmail.com>
52410
34372fc6
UD
52411 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52412 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52413
fadb59f8
UD
52414 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52415 * posix/tst-rfc3484-2.c: Likewise.
52416 * posix/tst-rfc3484-3.c: Likewise.
52417
78239589
UD
52418 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52419 process_vm_writev.
52420 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52421 process_vm_writev.
52422 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52423 process_vm_writev from libc using GLIBC_2.15 version.
52424
432d41ce
UD
52425 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52426
02f9c6cf
PP
524272011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52428
52429 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52430 stack usage.
52431
3a2c0242
UD
524322011-10-31 Ulrich Drepper <drepper@gmail.com>
52433
f4ec4833
UD
52434 [BZ #13367]
52435 * nss/getent.c (initgroups_keys): Show error message in case no group
52436 names are given.
52437
3a2c0242
UD
52438 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52439 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52440 __bump_nl_timestamp.
52441 * nscd/connections (nscd_init): When host database is served open
52442 netlink socket and request notification about configuration changes.
52443 (main_loop_poll): Track netlink file descriptor and bump timestamp
52444 in case data becomes available.
52445 (main_loop_epoll): Likewise.
52446 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52447 (database_pers_head): Add extra_data fileds.
52448 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52449 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52450 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52451 Adjust caller.
52452 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52453 in6ai data, call __free_in6ai.
52454 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52455 Add -DHAVE_NETLINK.
52456 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52457 interface information. Reuse previous data if netlink timestamp
52458 is not changed.
52459 (__bump_nl_timestamp): New function.
52460 (__free_in6ai): New function.
52461
636064eb
UD
524622011-10-30 Ulrich Drepper <drepper@gmail.com>
52463
52464 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52465 close_not_cancel_no_status here.
52466 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52467
9beb2334
UD
524682011-10-29 Ulrich Drepper <drepper@gmail.com>
52469
6ef76f3b
UD
52470 [BZ #13276]
52471 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52472 return value.
52473
0ffc4f3e 52474 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52475 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52476 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52477
cb95113e
UD
524782011-07-03 Andreas Jaeger <aj@suse.de>
52479
52480 [BZ #10709]
52481 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52482 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52483 * math/libm-test.inc (sin_test): Add test case.
52484
a1b560ff
UD
524852011-10-29 Ulrich Drepper <drepper@gmail.com>
52486
c9aaface
UD
52487 [BZ #13337]
52488 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52489 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52490
d272e7f1
UD
52491 * elf/chroot_canon.c (chroot_canon): Cleanups.
52492
1bc33071
UD
52493 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52494
1760874d
TJ
52495 [BZ #13335]
52496 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52497 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52498
51d91b18
UD
52499 * string/test-strchr.c: Make usable for strchrnul testing.
52500 * string/test-strchrnul.c: New file.
52501 * string/Makefile (strop-tests): Add strchrnul.
52502
a1b560ff 52503 * po/it.po: Update from translation team.
b611fb81 52504 * po/es.po: Likewise.
a1b560ff 52505
a5b81e1f
UD
525062011-10-28 Ulrich Drepper <drepper@gmail.com>
52507
fd52bc6d
UD
52508 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52509 the three constants needed as parameters. Drop the others.
52510 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52511 __m128i_strloadu_tolower.
52e4b9eb
UD
52512 Create and initialize variable zero and use it in all the places
52513 where _mm_setzero_si128 was used.
fd52bc6d 52514
a5b81e1f
UD
52515 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52516 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52517 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52518 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52519 anymore.
52520 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52521 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52522 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52523 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52524 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52525 __mpranred, __mptan.
52526 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52527 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52528 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52529 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52530 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52531 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52532 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52533 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52534 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52535
b4343346
AS
525362011-10-28 Andreas Schwab <schwab@redhat.com>
52537
0c92d8a8
AS
52538 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52539 redefine if SHARED.
52540 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52541
b4343346
AS
52542 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52543 wide char related routines to wcsmbs subdir.
52544
3871f58f
AS
525452011-10-27 Andreas Schwab <schwab@redhat.com>
52546
52547 [BZ #13344]
52548 * misc/sys/cdefs.h (__THROWNL): Define.
52549 * posix/unistd.h: Use __THREADNL instead of __THREAD
52550 for memory synchronization functions.
52551
94d44d9f
RM
525522011-10-26 Roland McGrath <roland@hack.frob.com>
52553
21b64b15 52554 [BZ #13349]
94d44d9f
RM
52555 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52556 doesn't exist.
52557 * manual/stdio.texi (Obstack Streams): Node removed.
52558
f6ce9294
AS
525592011-10-26 Andreas Schwab <schwab@redhat.com>
52560
80479147
AS
52561 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52562 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52563 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52564
f6ce9294
AS
52565 * math/math_private.h (math_force_eval): Allow non-addressable
52566 arguments.
52567 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52568
618280a1
UD
525692011-10-25 Ulrich Drepper <drepper@gmail.com>
52570
e0016b11
UD
52571 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52572 file is not needed.
52573
52574 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52575 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52576 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52577 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52578 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52579 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52580 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52581 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52582 Add AVX variants.
52583 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52584 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52585 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52586 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52587 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52588 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52589 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52590 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52591 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52592 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52593 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52594 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52595 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52596 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52597 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52598 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52599 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52600 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52601 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52602
52603 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52604 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52605
618280a1
UD
52606 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52607 place. Use VEX encoding when compiling for AVX.
52608
37822576
AS
526092011-10-25 Andreas Schwab <schwab@redhat.com>
52610
1f1e1947
AS
52611 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52612 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52613
37822576
AS
52614 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52615
31ea014d
UD
526162011-10-25 Ulrich Drepper <drepper@gmail.com>
52617
d7826aa1 52618 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52619 useless if() expression.
d7826aa1
UD
52620 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52621 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52622 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52623 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52624 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52625 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52626 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52627 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52628 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52629 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52630 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52631 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52632 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52633 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52634 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52635 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52636 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52637 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52638 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52639
31ea014d
UD
52640 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52641
16437fec
AS
526422011-10-25 Andreas Schwab <schwab@redhat.com>
52643
52644 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52645 condition.
52646 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52647
31d3cc00
UD
526482011-10-25 Ulrich Drepper <drepper@gmail.com>
52649
52650 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52651 .text section. Avoid duplicate constants.
52652 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52653 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52654 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52656 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52660 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52661 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52662 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52663 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52664 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52665 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52666 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52667 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52668 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52669 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52670 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52671 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52672 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52673 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52674 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52675 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52676 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52677 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52678 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52679 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52680 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52681 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52682 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52683 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52684 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52685 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52686 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52687 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52688 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52689 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52690 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52691 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52692 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52693 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52694 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52695 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52696 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52697
58985aa9
UD
526982011-10-24 Ulrich Drepper <drepper@gmail.com>
52699
202c9deb
UD
52700 * sysdeps/x86_64/dla.h: Move to ...
52701 * sysdeps/x86_64/fpu/dla.h: ...here.
52702 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52703 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52704
af968f62
UD
52705 * config.make.in: Add have-mfma4 entry.
52706 * configure.in: Substitute libc_cv_cc_fma4.
52707 * math/Makefile (dbl-only-routines): Add sincostab.
52708 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52709 Use __sincostab not sincos.
52710 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52711 name is a macro.
52712 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52713 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52715 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52716 using __copysign.
52717 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52718 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52719 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52720 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52721 and __inv.
52722 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52723 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52724 __copysign.
52725 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52726 define aliases when function name is a macro.
52727 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52728 sysdeps/ieee754/dbl-64/sincos.tbl.
52729 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52730 fma4-enabled routines.
52731 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52732 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52733 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52734 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52735 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52736 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52737 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52738 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52739 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52740 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52741 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52742 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52743 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52744 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52745 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52746 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52747 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52748 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52749 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52750 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52751 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52752 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52753 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52754 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52755 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52756 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52757 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52758 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52759 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52760 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52761
58985aa9
UD
52762 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52763 rename.
52764 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52765 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52766 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52767 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52768 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52769 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52770 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52771 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52772
a201fbcf
AS
527732011-10-24 Andreas Schwab <schwab@redhat.com>
52774
52775 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52776
fc2ee42a
LD
527772011-10-23 Ulrich Drepper <drepper@gmail.com>
52778
bb3129bd
UD
52779 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52780
0275fff8
UD
52781 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52782 prediction.
52783 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52784
2fa2ae85
UD
52785 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52786 Remove unused variable magic_bits.
52787 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52788
fc2ee42a
LD
52789 * string/strnlen.c: Define and use STRNLEN macro.
52790 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52791 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52792 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52793 * wcsmbs/wcslen.c: Define and use WCSLEN.
52794 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52795 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52796 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52797 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52798 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52799 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52800 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52801
ce7dd29f
LD
528022011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52803
52804 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52805 strnlen-sse2-no-bsf.
52806 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52807 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52808 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52809 Add strnlen support.
52810 (USE_AS_STRNLEN): New macro.
52811 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52812 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52813 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52814 * sysdeps/x86_64/wcslen.S: New file.
52815
979c70a3
MZ
528162011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52817
52818 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52819 XMM-moves are used for copying on small sizes.
52820
2d09f82f
LD
528212011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52822
52823 * wcsmbs/Makefile (strop-tests): Add wcschr.
52824 * wcsmbs/test-wcschr.c: New file.
52825 * string/test-strchr.c: Update.
52826 Add wcschr support.
52827 (WIDE): New macro.
52828
619fccca
LD
528292011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52830
2d09f82f 52831 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52832 * wcsmbs/test-wcslen.c: New file.
52833 * string/test-strlen.c: Update.
52834 Add wcslen support.
52835 (WIDE): New macro.
52836
09f699ea
UD
528372011-10-23 Ulrich Drepper <drepper@gmail.com>
52838
52839 * po/it.po: Update from translation team.
52840
95584d3b
LD
528412011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52842
52843 * sysdeps/x86_64/wcscmp.S: Update.
52844 Fix wrong comparison semantics.
52845 wcscmp shall use signed comparison not unsigned.
52846 Don't use substraction to avoid overflow bug.
52847 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52848 * wcsmbc/wcscmp.c: Likewise.
52849 * string/test-strcmp.c: Likewise.
52850 Add new tests to check cases with negative values.
52851
c8b3296b
UD
528522011-10-23 Ulrich Drepper <drepper@gmail.com>
52853
52854 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52855 * sysdeps/x86_64/dla.h: ...here. New file.
52856 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52857 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52858 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52859 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52860 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52861 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52862 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52863 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52864 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52865
246ad57a
AS
528662011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52867
52868 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52869 __ynl_finite aliases.
52870
a1a87169
UD
528712011-10-22 Ulrich Drepper <drepper@gmail.com>
52872
0d355eb7
UD
52873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52874
a1a87169
UD
52875 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52876 define DLA_FMA.
52877 [DLA_FMA] (EMULV): Use DLA_FMA.
52878 [DLA_FMA] (MUL12): Use EMULV.
52879 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52880 that are not needed.
52881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52882 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52883 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52884 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52885 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52886 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52887 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52888
ee2aafe0
AS
528892011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52890
52891 * math/s_nan.c: Undef __nan.
52892 * math/s_nanf.c: Undef __nanf.
52893 * math/s_nanl.c: Undef __nanl.
52894 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52895 "math_private.h".
52896
bc62c2fb
UD
528972011-10-22 Ulrich Drepper <drepper@gmail.com>
52898
77425c63
UD
52899 * math/s_catan.c: Add branch predictions.
52900 * math/s_catanf.c: Likewise.
52901 * math/s_catanh.c: Likewise.
52902 * math/s_catanhf.c: Likewise.
52903 * math/s_catanhl.c: Likewise.
52904 * math/s_catanl.c: Likewise.
52905 * math/s_cexp.c: Likewise.
52906 * math/s_cexpf.c: Likewise.
52907 * math/s_cexpl.c: Likewise.
52908 * math/s_clog.c: Likewise.
52909 * math/s_clog10.c: Likewise.
52910 * math/s_clog10f.c: Likewise.
52911 * math/s_clog10l.c: Likewise.
52912 * math/s_clogf.c: Likewise.
52913 * math/s_clogl.c: Likewise.
52914 * math/s_csqrt.c: Likewise.
52915 * math/s_csqrtf.c: Likewise.
52916 * math/s_csqrtl.c: Likewise.
52917 * math/s_ctanf.c: Likewise.
52918 * math/s_ctanh.c: Likewise.
52919 * math/s_ctanhf.c: Likewise.
52920 * math/s_ctanhl.c: Likewise.
52921 * math/s_ctanl.c: Likewise.
52922
bc62c2fb
UD
52923 * math/math_private.h: Define __nan, __nanf, __nanl.
52924 * math/s_cacosh.c: Include <math_private.h>.
52925 * math/s_cacoshl.c: Likewise.
52926 * math/s_casinh.c: Likewise.
52927 * math/s_casinhf.c: Likewise.
52928 * math/s_casinhl.c: Likewise.
52929 * math/s_ccos.c: Rely entire on ccosh.
52930 * math/s_ccosf.c: Rely entire on ccoshf.
52931 * math/s_ccosl.c: Rely entirely on ccoshl.
52932 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52933 Remove tests for FE_INVALID.
52934 * math/s_ccoshf.c: Likewise.
52935 * math/s_ccoshl.c: Likewise.
52936 * math/s_csin.c: Likewise.
52937 * math/s_csinf.c: Likewise.
52938 * math/s_csinh.c Likewise.
52939 * math/s_csinhf.c: Likewise.
52940 * math/s_csinhl.c: Likewise.
52941 * math/s_csinl.c: Likewise.
52942 * math/s_ctan.c: Likewise.
52943 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
52944 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
52945 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
52946
8ec250a4
UD
529472011-10-21 Ulrich Drepper <drepper@gmail.com>
52948
c196fed8
UD
52949 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
52950 compilation problems.
52951
8ec250a4
UD
52952 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
52953 __builtin_expect.
52954
8d4f46c6
UD
529552011-10-20 Ulrich Drepper <drepper@gmail.com>
52956
ed72b654
UD
52957 * sysdeps/i386/configure.in: Test for -mfma4 option.
52958 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
52959 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
52960 COMMON_CPUID_INDEX_80000001.
52961 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
52962 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
52963 use it if FMA3 is not supported.
52964 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
52965
8d4f46c6
UD
52966 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
52967 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
52968
d45c60c2
AS
529692011-10-20 Andreas Schwab <schwab@redhat.com>
52970
52971 [BZ #12892]
52972 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
52973 it would create a cycle with a link time dependency.
52974
d9a4d2ab
UD
529752011-10-19 Ulrich Drepper <drepper@gmail.com>
52976
855d1560
UD
52977 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
52978 instruction.
52979 * string/Makefile (strop-tests): Add rawmemchr.
52980 * string/test-rawmemchr.c: New file.
52981
d9a4d2ab
UD
52982 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
52983 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
52984 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
52985 when compiling str{,n}casecmp and when AVX is available. Hook up
52986 new optimized code in initializers.
52987
8f3b1ffe
AS
529882011-10-19 Andreas Schwab <schwab@redhat.com>
52989
52990 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
52991 __feraiseexcept instead of feraiseexcept.
52992
d38f1dba
UD
529932011-10-18 Ulrich Drepper <drepper@gmail.com>
52994
d9a8d0ab
UD
52995 * math/math_private.h: Define defaults for libc_fetestexcept and
52996 libc_feupdateenv.
52997 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
52998 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
52999 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53000 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53001 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53002 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53003 libc_fetestexcept and libc_feupdateenv.
53004
4855e3dd
UD
53005 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53006 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53007 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53008 * sysdeps/x86_64/fpu/math_private.h: Define special version of
53009 libc_feholdexcept_setround.
53010
581d30e3
UD
53011 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53012 Add s_nearbyint-c and s_nearbyintf-c.
53013 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53014 nearbyintf inlines.
53015 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53016 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53017 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53018 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53019
d38f1dba
UD
53020 * math/math_private.h: Define defaults for libc_fegetround,
53021 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53022 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53023 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53024 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53025 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53026 standard functions.
53027 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53028 Remove comments and hacks for old compiler versions.
53029 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53030 libc_fegetround, libc_fesetround, libc_feholdexcept, and
53031 libc_feholdexceptl.
53032
caa6c9d8
AS
530332011-10-18 Andreas Schwab <schwab@redhat.com>
53034
53035 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
53036 (__feraiseexcept_renamed): Add __NTH.
53037 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
53038 namespace violations.
53039
97c066e6
UD
530402011-10-17 Ulrich Drepper <drepper@gmail.com>
53041
99ce7b04
UD
53042 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53043
1004d182
UD
53044 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53045
228a984d
UD
53046 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53047 recently added interfaces.
53048 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53049
c8553a6a
UD
53050 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53051 about macro parameter expansion.
53052
ed22dcf6
UD
53053 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53054 __NO_MATH_INLINES is defined. Cleanups.
53055
53056 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53057 and __floorf is target has SSE4.1.
53058 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53059 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53060 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53061 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53062
b171c137
UD
53063 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53064 name.
53065 (floorf): Likewise.
53066
97c066e6
UD
53067 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53068
629f62ef
AS
530692011-10-17 Andreas Schwab <schwab@redhat.com>
53070
49a43d80
AS
53071 * misc/sys/cdefs.h: Fix last change.
53072
629f62ef
AS
53073 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53074 database lookup.
53075
e453f6cd
UD
530762011-10-16 Ulrich Drepper <drepper@gmail.com>
53077
aa78043a
UD
53078 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53079
ad0f5cad
UD
53080 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53081 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53082 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53083 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53084 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53085 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53086 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53087 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53088 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53089 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53090 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53091 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53092 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53093 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53094 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53095 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53096 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53097 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53098 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53099 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53100 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53101 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53102
53103 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53104 ceil, ceilf, floor, floorf.
53105
53106 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53107 Perform IRELATIVE relocations last.
53108
e453f6cd
UD
53109 * elf/do-rel.h: Add another parameter nrelative, replacing the
53110 local variable with the same name. Change name of the function
53111 to end in Rel or Rela (uppercase).
53112 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53113 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
53114 elf_dynamic_do_##reloc function.
53115
fd5bdc09
UD
531162011-10-15 Ulrich Drepper <drepper@gmail.com>
53117
79b195b5
UD
53118 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53119 is sufficient, at least on modern CPUs.
53120
d4a28569
UD
53121 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53122
b61099b5
UD
53123 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53124 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53125
bcf01e6d
UD
53126 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53127 __expl_finite.
53128 * math/bits/math-finite.h: Add entries for exp.
53129 * math/e_expl.c: Add __*_finite alias.
53130 * sysdeps/i386/fpu/e_exp.S: Likewise.
53131 * sysdeps/i386/fpu/e_expf.S: Likewise.
53132 * sysdeps/i386/fpu/e_expl.c: Likewise.
53133 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53134 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53135 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53136 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53137 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53138 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53139 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53140
ba1a0d59
UD
53141 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53142 is sufficient, at least on modern CPUs.
53143
fd5bdc09
UD
53144 * ctype/ctype-info.c (__ctype_init): Define.
53145 * include/ctype.h (__ctype_init): Declare.
53146 (__ctype_b_loc): The variable is always initialized.
53147 (__ctype_toupper_loc): Likewise.
53148 (__ctype_tolower_loc): Likewise.
53149 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53150 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53151
7872cfb0
AS
531522011-10-15 Andreas Schwab <schwab@linux-m68k.org>
53153
b468825a
AS
53154 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53155
7872cfb0
AS
53156 * configure.in: Also look in $cxxmachine/include for C++ system
53157 headers.
53158
be13f7bf
LD
531592011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53160
53161 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53162 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53163 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53164 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
53165 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53166 (USE_AS_WMEMCMP): New macro.
53167 Fixing indents.
53168 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53169 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53170 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53171 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53172 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53173 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53174 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53175 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53176 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53177 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53178 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53179 (USE_AS_WMEMCMP): New macro.
53180 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53181 * sysdeps/string/test-memcmp.c: Update.
53182 Fix simple_wmemcmp.
53183 Add new tests.
53184 * wcsmbs/wmemcmp.c: Update.
53185 (WMEMCMP): New macro.
53186 Fix overflow bug.
53187
556a2007
AJ
531882011-10-12 Andreas Jaeger <aj@suse.de>
53189
53190 [BZ #13268]
53191 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53192
538faaa7
UD
531932011-10-15 Ulrich Drepper <drepper@gmail.com>
53194
ab6737ff
UD
53195 * libio/iofwide.c (do_length): Avoid warning.
53196
538faaa7
UD
53197 * ctype/ctype.h (__isctype_f): Add missing __THROW.
53198
396a21b1
UD
531992011-10-14 Ulrich Drepper <drepper@gmail.com>
53200
cdf2901f
UD
53201 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53202
38ad40ce
UD
53203 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53204 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53205 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53206 * sysdeps/i386/i686/fpu/e_log.S: New file.
53207 * sysdeps/i386/i686/fpu/e_logf.S: New file.
53208 * sysdeps/i386/i686/fpu/e_logl.S: New file.
53209
396a21b1
UD
53210 * ctype/ctype.h: Add support for inlined isXXX functions when
53211 compiling C++ code.
53212
6b1f68c9
AS
532132011-10-14 Andreas Schwab <schwab@redhat.com>
53214
349290c0
AS
53215 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53216
6b1f68c9
AS
53217 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53218
f2282d42
RM
532192011-10-13 Roland McGrath <roland@hack.frob.com>
53220
53221 [BZ #13291]
53222 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53223
5298ffa8
AS
532242011-10-13 Andreas Schwab <schwab@redhat.com>
53225
714fad23
AS
53226 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53227 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53228 feraiseexcept.
53229
81dcc7fb
AS
53230 * sysdeps/x86_64/memrchr.S: Check for zero size.
53231
5298ffa8
AS
53232 * string/stratcliff.c: Add memrchr tests.
53233
951fbcec
LD
532342011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53235
53236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53237 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53238 rawmemchr-sse2 rawmemchr-sse2-bsf.
53239 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53240 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53241 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53242 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53243 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53244 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53245 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53246 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53247 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53248 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53249 * string/memrchr.c (MEMRCHR): New macro.
53250
0ac5ae23
UD
532512011-10-12 Ulrich Drepper <drepper@gmail.com>
53252
53253 Add integration with gcc's -ffinite-math-only and optimize wrapper
53254 functions in libm.
53255 * Versions.def: Define GLIBC_2.15 version for libm.
53256 * math/Makefile (headers): Add bits/math-finite.h.
53257 * math/bits/math-finite.h: New file.
53258 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53259 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53260 * math/e_acoshl.c: Add __*_finite alias.
53261 * math/e_acosl.c: Likewise.
53262 * math/e_asinl.c: Likewise.
53263 * math/e_atan2l.c: Likewise.
53264 * math/e_atanhl.c: Likewise.
53265 * math/e_coshl.c: Likewise.
53266 * math/e_exp10.c: Likewise.
53267 * math/e_exp10f.c: Likewise.
53268 * math/e_exp10l.c: Likewise.
53269 * math/e_exp2l.c: Likewise.
53270 * math/e_fmodl.c: Likewise.
53271 * math/e_gammal_r.c: Likewise.
53272 * math/e_hypotl.c: Likewise.
53273 * math/e_j0l.c: Likewise.
53274 * math/e_j1l.c: Likewise.
53275 * math/e_jnl.c: Likewise.
53276 * math/e_lgammal_r.c: Likewise.
53277 * math/e_log10l.c: Likewise.
53278 * math/e_log2l.c: Likewise.
53279 * math/e_logl.c: Likewise.
53280 * math/e_powl.c: Likewise.
53281 * math/e_sinhl.c: Likewise.
53282 * math/e_sqrtl.c: Likewise.
53283 * math/e_scalb.c: Completely rewritten and optimized.
53284 * math/e_scalbf.c: Likewise.
53285 * math/e_scalbl.c: Likewise.
53286 * math/w_acos.c: Likewise.
53287 * math/w_acosf.c: Likewise.
53288 * math/w_acosl.c: Likewise.
53289 * math/w_acosh.c: Likewise.
53290 * math/w_acoshf.c: Likewise.
53291 * math/w_acoshl.c: Likewise.
53292 * math/w_asin.c: Likewise.
53293 * math/w_asinf.c: Likewise.
53294 * math/w_asinl.c: Likewise.
53295 * math/w_atan2.c: Likewise.
53296 * math/w_atan2f.c: Likewise.
53297 * math/w_atan2l.c: Likewise.
53298 * math/w_atanh.c: Likewise.
53299 * math/w_atanhf.c: Likewise.
53300 * math/w_atanhl.c: Likewise.
53301 * math/w_exp10.c: Likewise.
53302 * math/w_exp10f.c: Likewise.
53303 * math/w_exp10l.c: Likewise.
53304 * math/w_fmod.c: Likewise.
53305 * math/w_fmodf.c: Likewise.
53306 * math/w_fmodl.c: Likewise.
53307 * math/w_j0.c: Likewise.
53308 * math/w_j0f.c: Likewise.
53309 * math/w_j0l.c: Likewise.
53310 * math/w_j1.c: Likewise.
53311 * math/w_j1f.c: Likewise.
53312 * math/w_j1l.c: Likewise.
53313 * math/w_jn.c: Likewise.
53314 * math/w_jnf.c: Likewise.
53315 * math/w_log.c: Likewise.
53316 * math/w_logf.c: Likewise.
53317 * math/w_logl.c: Likewise.
53318 * math/w_log10.c: Likewise.
53319 * math/w_log10f.c: Likewise.
53320 * math/w_log10l.c: Likewise.
53321 * math/w_log2.c: Likewise.
53322 * math/w_log2f.c: Likewise.
53323 * math/w_log2l.c: Likewise.
53324 * math/w_pow.c: Likewise.
53325 * math/w_powf.c: Likewise.
53326 * math/w_powl.c: Likewise.
53327 * math/w_remainder.c: Likewise.
53328 * math/w_remainderf.c: Likewise.
53329 * math/w_remainderl.c: Likewise.
53330 * math/w_scalb.c: Likewise.
53331 * math/w_scalbf.c: Likewise.
53332 * math/w_scalbl.c: Likewise.
53333 * math/w_sqrt.c: Likewise.
53334 * math/w_sqrtf.c: Likewise.
53335 * math/w_sqrtl.c: Likewise.
53336 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53337 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53338 used.
53339 * math/math_private.h: Declare __kernel_standard_f.
53340 * math/w_cosh.c: Remove cruft and optimize a bit.
53341 * math/w_coshf.c: Likewise.
53342 * math/w_coshl.c: Likewise.
53343 * math/w_exp2.c: Likewise.
53344 * math/w_exp2f.c: Likewise.
53345 * math/w_exp2l.c: Likewise.
53346 * math/w_hypot.c: Likewise.
53347 * math/w_hypotf.c: Likewise.
53348 * math/w_hypotl.c: Likewise.
53349 * math/w_lgamma.c: Likewise.
53350 * math/w_lgamma_r.c: Likewise.
53351 * math/w_lgammaf.c: Likewise.
53352 * math/w_lgammaf_r.c: Likewise.
53353 * math/w_lgammal.c: Likewise.
53354 * math/w_lgammal_r.c: Likewise.
53355 * math/w_sinh.c: Likewise.
53356 * math/w_sinhf.c: Likewise.
53357 * math/w_sinhl.c: Likewise.
53358 * math/w_tgamma.c: Likewise.
53359 * math/w_tgammaf.c: Likewise.
53360 * math/w_tgammal.c: Likewise.
53361 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53362 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53363 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53364 Minor optimizations. Pretty printing. Remove cruft.
53365 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53366 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53367 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53368 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53369 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53370 * sysdeps/i386/fpu/e_asin.S: Likewise.
53371 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53372 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53373 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53374 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53375 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53376 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53377 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53378 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53379 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53380 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53381 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53382 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53383 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53384 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53385 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53386 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53387 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53388 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53389 * sysdeps/i386/fpu/e_log.S: Likewise.
53390 * sysdeps/i386/fpu/e_log10.S: Likewise.
53391 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53392 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53393 * sysdeps/i386/fpu/e_log2.S: Likewise.
53394 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53395 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53396 * sysdeps/i386/fpu/e_logf.S: Likewise.
53397 * sysdeps/i386/fpu/e_logl.S: Likewise.
53398 * sysdeps/i386/fpu/e_pow.S: Likewise.
53399 * sysdeps/i386/fpu/e_powf.S: Likewise.
53400 * sysdeps/i386/fpu/e_powl.S: Likewise.
53401 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53402 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53403 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53404 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53405 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53406 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53407 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53408 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53409 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53410 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53411 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53412 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53413 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53414 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53415 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53416 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53417 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53418 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53419 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53420 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53421 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53422 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53423 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53424 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53425 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53426 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53427 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53428 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53429 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53430 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53431 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53432 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53433 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53434 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53435 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53436 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53437 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53438 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53439 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53440 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53441 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53442 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53443 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53444 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53445 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53446 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53447 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53448 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53449 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53450 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53451 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53452 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53453 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53454 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53455 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53456 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53457 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53458 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53459 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53460 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53461 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53462 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53463 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53464 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53465 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53466 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53467 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53468 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53469 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53470 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53471 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53472 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53473 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53474 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53475 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53476 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53477 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53478 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53479 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53480 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53481 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53482 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53483 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53484 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53485 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53486 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53487 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53488 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53489 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53490 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53491 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53492 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53493 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53494 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53495 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53496 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53497 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53498 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53499 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53500 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53501 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53502 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53503 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53504 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53505 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53506 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53507 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53508 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53509 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53510 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53511 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53512 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53513 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53514 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53515 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53516 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53517 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53518 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53519 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53520 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53521 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53522 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53523 (__isnanf): Likewise.
53524 (__isinf_ns): Likewise.
53525 (__isinf_nsf): Likewise.
53526 (__finite): Likewise.
53527 (__finitef): Likewise.
53528 (__ieee754_sqrt): Define as macro.
53529 (__ieee754_sqrtf): Define as macro.
53530 (__ieee754_sqrtl): Define as macro.
53531 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53532 inlined copy.
53533 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53534 __FINITE_MATH_ONLY__ consistent.
53535 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53536
12cc2fcd
AS
535372011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53538
a843a204
AS
53539 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53540 of rawmemchr.
53541
12cc2fcd
AS
53542 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53543
c853acd5
UD
535442011-10-09 Ulrich Drepper <drepper@gmail.com>
53545
53546 * po/ja.po: Update from translation team.
53547
c658d255
RM
535482011-10-08 Roland McGrath <roland@hack.frob.com>
53549
110946e4
RM
53550 * locale/programs/locarchive.c (prepare_address_space): New function.
53551 (create_archive, enlarge_archive, open_archive): Use it.
53552
50604220
RM
53553 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53554 inside [SHARED], where it is used.
53555
c658d255
RM
53556 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53557
53558 * nss/getent.c (netgroup_keys): Remove unused variable.
53559 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53560
6a621eb7
UD
535612011-10-08 Ulrich Drepper <drepper@gmail.com>
53562
7edb55ce
UD
53563 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53564 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53566 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53567 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53568 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53569 * math/Makefile (libm-calls): Add s_isinf_ns.
53570 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53571 * math/multc3.c: Likewise.
53572 * math/s_casin.c: Likewise.
53573 * math/s_casinf.c: Likewise.
53574 * math/s_casinl.c: Likewise.
53575 * math/s_ccos.c: Likewise.
53576 * math/s_ccosf.c: Likewise.
53577 * math/s_ccosl.c: Likewise.
53578 * math/s_ctan.c: Likewise.
53579 * math/s_ctanf.c: Likewise.
53580 * math/s_ctanh.c: Likewise.
53581 * math/s_ctanhf.c: Likewise.
53582 * math/s_ctanhl.c: Likewise.
53583 * math/s_ctanl.c: Likewise.
53584 * math/w_fmod.c: Likewise.
53585 * math/w_fmodf.c: Likewise.
53586 * math/w_fmodl.c: Likewise.
53587 * math/w_remainder.c: Likewise.
53588 * math/w_remainderf.c: Likewise.
53589 * math/w_remainderl.c: Likewise.
53590 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53591 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53592 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53593 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53594 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53595 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53596 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53597 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53598
187da0ae
UD
53599 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53600 of the number.
53601 * stdio-common/printf_fphex.c: Likewise.
53602 * stdio-common/printf_size.c: Likewise.
53603
9277c064
UD
53604 * math/e_exp10.c: Include math_private.h using <...> not "...".
53605 * math/e_exp10f.c: Likewise.
53606 * math/e_exp10l.c: Likewise.
53607 * math/e_exp2l.c: Likewise.
53608 * math/e_j0l.c: Likewise.
53609 * math/e_j1l.c: Likewise.
53610 * math/e_jnl.c: Likewise.
53611 * math/e_lgammal_r.c: Likewise.
53612 * math/e_rem_pio2l.c: Likewise.
53613 * math/e_scalb.c: Likewise.
53614 * math/e_scalbf.c: Likewise.
53615 * math/e_scalbl.c: Likewise.
53616 * math/k_cosl.c: Likewise.
53617 * math/k_sinl.c: Likewise.
53618 * math/k_tanl.c: Likewise.
53619 * math/s_cacoshf.c: Likewise.
53620 * math/s_catan.c: Likewise.
53621 * math/s_catanf.c: Likewise.
53622 * math/s_catanh.c: Likewise.
53623 * math/s_catanhf.c: Likewise.
53624 * math/s_catanhl.c: Likewise.
53625 * math/s_catanl.c: Likewise.
53626 * math/s_ccosh.c: Likewise.
53627 * math/s_ccoshf.c: Likewise.
53628 * math/s_ccoshl.c: Likewise.
53629 * math/s_cexp.c: Likewise.
53630 * math/s_cexpf.c: Likewise.
53631 * math/s_cexpl.c: Likewise.
53632 * math/s_clog.c: Likewise.
53633 * math/s_clog10.c: Likewise.
53634 * math/s_clog10f.c: Likewise.
53635 * math/s_clog10l.c: Likewise.
53636 * math/s_clogf.c: Likewise.
53637 * math/s_clogl.c: Likewise.
53638 * math/s_csin.c: Likewise.
53639 * math/s_csinf.c: Likewise.
53640 * math/s_csinh.c: Likewise.
53641 * math/s_csinhf.c: Likewise.
53642 * math/s_csinhl.c: Likewise.
53643 * math/s_csinl.c: Likewise.
53644 * math/s_csqrt.c: Likewise.
53645 * math/s_csqrtf.c: Likewise.
53646 * math/s_csqrtl.c: Likewise.
53647 * math/s_ctan.c: Likewise.
53648 * math/s_ctanf.c: Likewise.
53649 * math/s_ctanh.c: Likewise.
53650 * math/s_ctanhf.c: Likewise.
53651 * math/s_ctanhl.c: Likewise.
53652 * math/s_ctanl.c: Likewise.
53653 * math/s_ldexp.c: Likewise.
53654 * math/s_ldexpf.c: Likewise.
53655 * math/s_ldexpl.c: Likewise.
53656 * math/s_significand.c: Likewise.
53657 * math/s_significandf.c: Likewise.
53658 * math/s_significandl.c: Likewise.
53659 * math/w_acos.c: Likewise.
53660 * math/w_acosf.c: Likewise.
53661 * math/w_acosh.c: Likewise.
53662 * math/w_acoshf.c: Likewise.
53663 * math/w_acoshl.c: Likewise.
53664 * math/w_acosl.c: Likewise.
53665 * math/w_asin.c: Likewise.
53666 * math/w_asinf.c: Likewise.
53667 * math/w_asinl.c: Likewise.
53668 * math/w_atan2.c: Likewise.
53669 * math/w_atan2f.c: Likewise.
53670 * math/w_atan2l.c: Likewise.
53671 * math/w_atanh.c: Likewise.
53672 * math/w_atanhf.c: Likewise.
53673 * math/w_atanhl.c: Likewise.
53674 * math/w_cosh.c: Likewise.
53675 * math/w_coshf.c: Likewise.
53676 * math/w_coshl.c: Likewise.
53677 * math/w_dremf.c: Likewise.
53678 * math/w_exp10.c: Likewise.
53679 * math/w_exp10f.c: Likewise.
53680 * math/w_exp10l.c: Likewise.
53681 * math/w_exp2.c: Likewise.
53682 * math/w_exp2f.c: Likewise.
53683 * math/w_fmod.c: Likewise.
53684 * math/w_fmodf.c: Likewise.
53685 * math/w_fmodl.c: Likewise.
53686 * math/w_hypot.c: Likewise.
53687 * math/w_hypotf.c: Likewise.
53688 * math/w_hypotl.c: Likewise.
53689 * math/w_j0.c: Likewise.
53690 * math/w_j0f.c: Likewise.
53691 * math/w_j0l.c: Likewise.
53692 * math/w_j1.c: Likewise.
53693 * math/w_j1f.c: Likewise.
53694 * math/w_j1l.c: Likewise.
53695 * math/w_jn.c: Likewise.
53696 * math/w_jnf.c: Likewise.
53697 * math/w_jnl.c: Likewise.
53698 * math/w_lgamma.c: Likewise.
53699 * math/w_lgamma_r.c: Likewise.
53700 * math/w_lgammaf.c: Likewise.
53701 * math/w_lgammaf_r.c: Likewise.
53702 * math/w_lgammal.c: Likewise.
53703 * math/w_lgammal_r.c: Likewise.
53704 * math/w_log.c: Likewise.
53705 * math/w_log10.c: Likewise.
53706 * math/w_log10f.c: Likewise.
53707 * math/w_log10l.c: Likewise.
53708 * math/w_log2.c: Likewise.
53709 * math/w_log2f.c: Likewise.
53710 * math/w_log2l.c: Likewise.
53711 * math/w_logf.c: Likewise.
53712 * math/w_logl.c: Likewise.
53713 * math/w_pow.c: Likewise.
53714 * math/w_powf.c: Likewise.
53715 * math/w_powl.c: Likewise.
53716 * math/w_remainder.c: Likewise.
53717 * math/w_remainderf.c: Likewise.
53718 * math/w_remainderl.c: Likewise.
53719 * math/w_scalb.c: Likewise.
53720 * math/w_scalbf.c: Likewise.
53721 * math/w_scalbl.c: Likewise.
53722 * math/w_sinh.c: Likewise.
53723 * math/w_sinhf.c: Likewise.
53724 * math/w_sinhl.c: Likewise.
53725 * math/w_sqrt.c: Likewise.
53726 * math/w_sqrtf.c: Likewise.
53727 * math/w_sqrtl.c: Likewise.
53728 * math/w_tgamma.c: Likewise.
53729 * math/w_tgammaf.c: Likewise.
53730 * math/w_tgammal.c: Likewise.
53731
6a621eb7
UD
53732 * po/ja.po: Update from translation team.
53733
bf582445
AJ
537342011-09-29 Andreas Jaeger <aj@suse.de>
53735
f9efbf3a
AJ
53736 [BZ #13179]
53737 * sunrpc/netname.c (netname2host): Fix logic.
53738
bf582445
AJ
53739 [BZ #6779]
53740 [BZ #6783]
53741 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53742 correctly.
53743 * math/w_remainder.c (__remainder): Likewise.
53744 * math/w_remainderf.c (__remainderf): Likewise.
53745 * math/libm-test.inc (remainder_test): Add test cases.
53746
48693bea
AK
537472011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53748
53749 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53750 sdiv_qrnnd.
53751
42622229
LD
537522011-10-07 Ulrich Drepper <drepper@gmail.com>
53753
53754 * string/test-memcmp.c: Avoid unncessary #defines.
53755 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53756
093ecf92
LD
537572011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53758
53759 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53760 Use new sse2 version for core i3 - i7 as it's faster
53761 than sse42 version.
53762 (bit_Prefer_PMINUB_for_stringop): New.
53763 * sysdeps/x86_64/rawmemchr.S: Update.
53764 Replace with faster SSE2 version.
53765 * sysdeps/x86_64/memrchr.S: New file.
53766 * sysdeps/x86_64/memchr.S: Update.
53767 Replace with faster SSE2 version.
53768
fde56e5c
MP
537692011-09-12 Marek Polacek <mpolacek@redhat.com>
53770
53771 * elf/dl-load.c (lose): Add cast to avoid warning.
53772
21fd49a9
UD
537732011-10-07 Ulrich Drepper <drepper@gmail.com>
53774
5a06e643
UD
53775 * po/ca.po: Update from translation team.
53776
684ae515
UD
53777 * inet/getnetgrent_r.c: Hook up nscd.
53778 * nscd/Makefile (routines): Add nscd_netgroup.
53779 (nscd-modules): Add netgroupcache.
53780 (CFLAGS-netgroupcache.c): Define.
53781 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53782 (cache_search): Add const to second parameter.
53783 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53784 INNETGR.
53785 (dbs): Add netgrdb entry.
53786 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53787 (verify_persistent_db): Handle netgrdb.
53788 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53789 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53790 GETFDNETGR.
53791 (netgroup_response_header): Define.
53792 (innetgroup_response_header): Define.
53793 (datahead): Add netgroup_response_header and innetgroup_response_header
53794 elements.
53795 * nscd/nscd.conf: Add entries for netgroup cache.
53796 * nscd/nscd.h (dbtype): Add netgrdb.
53797 (_PATH_NSCD_NETGROUP_DB): Define.
53798 (netgroup_iov_disabled): Declare.
53799 (xmalloc, xcalloc, xrealloc): Move declarations here.
53800 (cache_search): Adjust prototype.
53801 Add netgroup-related prototypes.
53802 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53803 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53804 (__nscd_innetgr): Declare.
53805 * nscd/selinux.c (perms): Use access_vector_t as element type and
53806 add netgroup-related initializers.
53807 * nscd/netgroupcache.c: New file.
53808 * nscd/nscd_netgroup.c: New file.
53809 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53810 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53811 For four parameters use innetgr.
53812 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53813 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53814 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53815 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53816
21fd49a9
UD
53817 * nscd/connections.c (register_traced_file): Don't register file
53818 for disabled databases.
53819
054c0457
UD
538202011-10-06 Ulrich Drepper <drepper@gmail.com>
53821
32b63198
UD
53822 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53823
054c0457
UD
53824 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53825 from tree and freeing node.
53826
64031225
JO
538272011-09-25 Jiri Olsa <jolsa@redhat.com>
53828
53829 * nss/nsswitch.c (__nss_database_lookup): Handle
53830 nss_parse_service_list out of memory case.
53831
0490345c
JO
538322011-09-15 Jiri Olsa <jolsa@redhat.com>
53833
53834 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53835 out of memory case.
53836
3a62d00d
AS
538372011-10-04 Andreas Schwab <schwab@redhat.com>
53838
53839 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53840 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53841 pass it down.
53842 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53843 elf_machine_rela, elf_machine_lazy_rel.
53844 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53845 (ELF_DYNAMIC_DO_REL): Likewise.
53846 (ELF_DYNAMIC_DO_RELA): Likewise.
53847 (ELF_DYNAMIC_RELOCATE): Likewise.
53848 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53849 to ELF_DYNAMIC_DO_REL.
53850 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53851 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53852 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53853 elf_machine_rela.
53854 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53855 skip_ifunc, don't call ifunc function if non-zero.
53856 (elf_machine_rela): Likewise.
53857 (elf_machine_lazy_rel): Likewise.
53858 (elf_machine_lazy_rela): Likewise.
53859 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53860 (elf_machine_lazy_rel): Likewise.
53861 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53862 Likewise.
53863 (elf_machine_lazy_rel): Likewise.
53864 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53865 Likewise.
53866 (elf_machine_lazy_rel): Likewise.
53867 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53868 (elf_machine_lazy_rel): Likewise.
53869 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53870 (elf_machine_lazy_rel): Likewise.
53871 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53872 (elf_machine_lazy_rel): Likewise.
53873 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53874 (elf_machine_lazy_rel): Likewise.
53875 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53876 (elf_machine_lazy_rel): Likewise.
53877 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53878 (elf_machine_lazy_rel): Likewise.
53879
68577918
UD
538802011-09-28 Ulrich Drepper <drepper@gmail.com>
53881
53882 * nss/nss_files/files-init.c (_nss_files_init): Use static
53883 initialization for all the *_traced_file variables.
53884
68822d74
AS
538852011-09-28 Andreas Schwab <schwab@redhat.com>
53886
53887 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53888
2056100b
RM
538892011-09-27 Roland McGrath <roland@hack.frob.com>
53890
53891 [BZ #13226]
53892 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53893
32c76b63
AS
538942011-09-27 Andreas Schwab <schwab@redhat.com>
53895
53896 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53897 Reread the line before reparsing it.
53898
bf972c9d
AS
538992011-09-26 Andreas Schwab <schwab@redhat.com>
53900
53901 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53902
e057a1b5
JM
539032011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53904 Maxim Kuvyrkov <maxim@codesourcery.com>
53905 Joseph Myers <joseph@codesourcery.com>
53906
53907 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53908 if needed for __stack_chk_guard.
53909
bc7e1c36
RM
539102011-09-19 Roland McGrath <roland@hack.frob.com>
53911
ecb1482f
RM
53912 * sysdeps/posix/spawni.c (script_execute): Always define it.
53913 It will be optimized away if unused.
53914 (maybe_script_execute): New function.
53915 (__spawni): Call it.
53916
bc7e1c36
RM
53917 * Makerules: Don't include tls.make.
53918 (config-tls): Always set to thread.
53919 * tls.make.c: File removed.
53920
1c3b002b
MF
539212011-09-19 Mike Frysinger <vapier@gentoo.org>
53922
53923 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53924 * config.make.in (CPPFLAGS-config): New substituted variable.
53925
2840865d
UD
539262011-09-15 Ulrich Drepper <drepper@gmail.com>
53927
88738eb6
UD
53928 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53929
cbf645a6 53930 [BZ #13192]
2840865d
UD
53931 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53932 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53933
b402e91a
RM
539342011-09-15 Roland McGrath <roland@hack.frob.com>
53935
53936 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53937 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53938 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53939 (CALL_FAIL): Likewise.
53940 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53941 (CALL_FAIL): Macro removed.
53942 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53943
4c1a1f71
UD
539442011-09-15 Ulrich Drepper <drepper@gmail.com>
53945
53946 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
53947 for __FINITE_MATH_ONLY__ == 1.
53948
edc121be
AS
539492011-09-15 Andreas Schwab <schwab@redhat.com>
53950
53951 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
53952 __ieee754_sqrt instead of sqrt.
53953 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
53954 __ieee754_sqrtf instead of sqrtf.
53955 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
53956 __floorf instead of floorf.
53957 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
53958 __floorf, __truncf instead of floorf, truncf.
53959
cd205654
UD
539602011-09-14 Ulrich Drepper <drepper@gmail.com>
53961
ee4d0315
UD
53962 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
53963
cd205654
UD
53964 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
53965 __extern_always_inline.
53966 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
53967 32-bit.
53968
48b67d71
AS
539692011-09-14 Andreas Schwab <schwab@redhat.com>
53970
53971 * elf/rtld.c (dl_main): Also relocate in dependency order when
53972 doing symbol dependency testing.
53973
1ae12c75
AS
539742011-09-13 Andreas Schwab <schwab@linux-m68k.org>
53975
53976 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53977 Always define `refsym'.
53978
995a80df
AS
539792011-09-13 Andreas Schwab <schwab@redhat.com>
53980
e529793b
AS
53981 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
53982 (__FD_ELT): Renamed from __FDELT.
53983 * misc/bits/select2.h (__FD_ELT): Likewise.
53984 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
53985 __FD_MASK instead of __FDELT, __FDMASK.
53986 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53987 Likewise.
53988 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
53989 Likewise.
53990
52d4fef8
AS
53991 * elf/Makefile (gen-ldd): Fix pattern.
53992
995a80df
AS
53993 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
53994 (init_tls): Likewise.
53995
8682f8b0
UD
539962011-09-12 Ulrich Drepper <drepper@gmail.com>
53997
53998 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
53999
de82006d
AS
540002011-09-12 Andreas Schwab <schwab@redhat.com>
54001
a7c8e6a1
AS
54002 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54003 `struct cmsghdr *' instead of `void *'.
54004 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54005 Likewise.
54006
0f31fe77
AS
540072011-09-11 Andreas Schwab <schwab@linux-m68k.org>
54008
54009 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54010 if non-absolute.
54011 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54012 ldd_rewrite_script.
0f31fe77 54013
32b4c839
UD
540142011-09-11 Ulrich Drepper <drepper@gmail.com>
54015
83cd1420
UD
54016 * configure.in: Remove --with-tls option.
54017 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54018 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54019 out in case it is missing.
54020 * sysdeps/ia64/elf/configure.in: Likewise.
54021 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54022 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54023 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54024 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54025 * sysdeps/sh/elf/configure.in: Likewise.
54026 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54027 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54028 * sysdeps/x86_64/elf/configure.in: Likewise.
54029 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54030 * sysdeps/mach/hurd/tls.h: Likewise.
54031
633f745d
UD
54032 [BZ #13067]
54033 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54034
f318beb8
UD
54035 [BZ #13090]
54036 * configure.in: Fix use of AC_INIT.
54037
32b4c839
UD
54038 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54039
3ce1f295
UD
540402011-09-10 Ulrich Drepper <drepper@gmail.com>
54041
bb016596
UD
54042 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54043 __set_errno.
8e58439c
UD
54044 * malloc/hooks.c: Likewise.
54045
aebae053 54046 [BZ #11929]
02d46fc4
UD
54047 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
54048 variables statically.
54049 (narenas): Initialize.
54050 (list_lock): Initialize.
bb016596
UD
54051 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
54052 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
54053 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54054 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
54055 Add initializers to main_arena and mp_.
54056 (malloc_state): Remove pagesize member. Change all users to use
54057 GLRO(dl_pagesize).
54058
54059 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54060 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
54061 is always initialized.
54062
22a89187
UD
54063 * malloc/malloc.c: Removed unused configurations and dead code.
54064 * malloc/arena.c: Likewise.
54065 * malloc/hooks.c: Likewise.
02d46fc4 54066 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 54067
d063d164
UD
54068 * include/tls.h: Removed. USE___THREAD must always be defined.
54069 * bits/libc-tsd.h: Don't handle !USE___THREAD.
54070 * elf/dl-libc.c: Likewise.
54071 * elf/dl-tsd.c: Likewise.
54072 * include/errno.h: Likewise.
54073 * include/netdb.h: Likewise.
54074 * include/resolv.h: Likewise.
54075 * inet/herrno-loc.c: Likewise.
54076 * inet/herrno.c: Likewise.
54077 * malloc/arena.c: Likewise.
54078 * malloc/hooks.c: Likewise.
54079 * malloc/malloc.c: Likewise.
54080 * resolv/res-state.c: Likewise.
54081 * resolv/res_libc.c: Likewise.
54082 * sysdeps/i386/dl-machine.h: Likewise.
54083 * sysdeps/ia64/dl-machine.h: Likewise.
54084 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54085 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54086 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54087 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54088 * sysdeps/sh/dl-machine.h: Likewise.
54089 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54090 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54091 * sysdeps/unix/i386/sysdep.S: Likewise.
54092 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54093 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54094 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54095 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54096 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54097 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54098 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54099 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54100 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54101 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54102 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54103 * sysdeps/x86_64/dl-machine.h: Likewise.
54104 * tls.make.c: Likewise.
54105
3ce1f295
UD
54106 * configure.in: Remove --with-__thread option. Make tests for
54107 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54108 tls_model attribute fail if no support is available. Remove
54109 USE_IN_LIBIO.
54110 * Makeconfig: Adjust for dropped configure option. All features are
54111 now mandatory.
54112 * Makerules: Likewise.
54113 * Versions.def: Likewise.
54114 * argp/argp-fmtstream.c: Likewise.
54115 * argp/argp-fmtstream.h: Likewise.
54116 * argp/argp-help.c: Likewise.
54117 * assert/assert.c: Likewise.
54118 * config.h.in: Likewise.
54119 * config.make.in: Likewise.
54120 * configure: Likewise.
54121 * configure.in: Likewise.
54122 * csu/Versions: Likewise.
54123 * csu/init.c: Likewise.
54124 * elf/tst-audit2.c: Likewise.
54125 * elf/tst-tls10.c: Likewise.
54126 * elf/tst-tls10.h: Likewise.
54127 * elf/tst-tls11.c: Likewise.
54128 * elf/tst-tls12.c: Likewise.
54129 * elf/tst-tls14.c: Likewise.
54130 * elf/tst-tlsmod11.c: Likewise.
54131 * elf/tst-tlsmod12.c: Likewise.
54132 * elf/tst-tlsmod13.c: Likewise.
54133 * elf/tst-tlsmod13a.c: Likewise.
54134 * elf/tst-tlsmod14a.c: Likewise.
54135 * elf/tst-tlsmod15b.c: Likewise.
54136 * elf/tst-tlsmod16a.c: Likewise.
54137 * elf/tst-tlsmod16b.c: Likewise.
54138 * elf/tst-tlsmod7.c: Likewise.
54139 * elf/tst-tlsmod8.c: Likewise.
54140 * elf/tst-tlsmod9.c: Likewise.
54141 * gmon/gmon.c: Likewise.
54142 * grp/fgetgrent_r.c: Likewise.
54143 * grp/putgrent.c: Likewise.
54144 * hurd/fopenport.c: Likewise.
54145 * include/libc-symbols.h: Likewise.
54146 * include/tls.h: Likewise.
54147 * intl/gettextP.h: Likewise.
54148 * intl/loadinfo.h: Likewise.
54149 * locale/global-locale.c: Likewise.
54150 * locale/localeinfo.h: Likewise.
54151 * mach/devstream.c: Likewise.
54152 * malloc/arena.c: Likewise.
54153 * malloc/set-freeres.c: Likewise.
54154 * misc/err.c: Likewise.
54155 * misc/getttyent.c: Likewise.
54156 * misc/mntent_r.c: Likewise.
54157 * posix/getopt.c: Likewise.
54158 * posix/wordexp.c: Likewise.
54159 * pwd/fgetpwent_r.c: Likewise.
54160 * resolv/Versions: Likewise.
54161 * resolv/res_hconf.c: Likewise.
54162 * shadow/fgetspent_r.c: Likewise.
54163 * shadow/putspent.c: Likewise.
54164 * stdio-common/printf_fphex.c: Likewise.
54165 * stdio-common/tmpfile.c: Likewise.
54166 * stdlib/abort.c: Likewise.
54167 * stdlib/fmtmsg.c: Likewise.
54168 * sunrpc/auth_unix.c: Likewise.
54169 * sunrpc/clnt_perr.c: Likewise.
54170 * sunrpc/clnt_tcp.c: Likewise.
54171 * sunrpc/clnt_udp.c: Likewise.
54172 * sunrpc/clnt_unix.c: Likewise.
54173 * sunrpc/openchild.c: Likewise.
54174 * sunrpc/svc_simple.c: Likewise.
54175 * sunrpc/svc_tcp.c: Likewise.
54176 * sunrpc/svc_udp.c: Likewise.
54177 * sunrpc/svc_unix.c: Likewise.
54178 * sunrpc/xdr.c: Likewise.
54179 * sunrpc/xdr_array.c: Likewise.
54180 * sunrpc/xdr_rec.c: Likewise.
54181 * sunrpc/xdr_ref.c: Likewise.
54182 * sunrpc/xdr_stdio.c: Likewise.
54183
1248c1c4
PB
541842011-09-09 Ulrich Drepper <drepper@gmail.com>
54185
54186 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54187
541882011-07-03 Andreas Jaeger <aj@suse.de>
54189
54190 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54191 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54192 regenerate with gen-libm-tests.pl.
54193
541942010-05-12 Petr Baudis <pasky@suse.cz>
54195
54196 [BZ #11589]
54197 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54198 around j0() zero points by switching to j1().
54199 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54200 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54201 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54202 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54203
f22e1074
UD
542042011-09-09 Ulrich Drepper <drepper@gmail.com>
54205
f19009c1
UD
54206 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54207 instead of 0.
54208 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 54209 instead of 0.
f19009c1
UD
54210 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54211 Patch in part by Pavel Roskin <proski@gnu.org>.
54212
3f8cc204
UD
54213 [BZ #13138]
54214 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54215 realloc.
54216 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
54217 Free memory block if necessary.
54218
f22e1074
UD
54219 [BZ #12847]
54220 * libio/genops.c (INTDEF): For string streams the _lock pointer can
54221 be NULL. Don't lock in this case.
54222
0a2349f9
RM
542232011-09-09 Roland McGrath <roland@hack.frob.com>
54224
54225 * elf/elf.h (ELFOSABI_GNU): New macro.
54226 (ELFOSABI_LINUX): Define to that.
54227
f3cdd467
DZ
542282011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54229
54230 * string/strncat.c (strncat): Undef the symbol in case it has been
54231 defined in bits/string.h.
54232
74718d13
UD
542332011-09-09 Ulrich Drepper <drepper@gmail.com>
54234
633e9e0f
UD
54235 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54236
0a2349f9 54237 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
54238 link map.
54239
f9924780
AJ
542402011-08-17 Andreas Jaeger <aj@suse.de>
54241
54242 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54243
7f5517aa
PP
542442011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54245 Ian Lance Taylor <iant@google.com>
54246
54247 * math/libm-test.inc (lround_test): New testcase.
54248 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54249
762011fe
UD
542502011-09-08 Ulrich Drepper <drepper@gmail.com>
54251
92963737
UD
54252 * Makefile: Remove support for automatic cvs check-ins.
54253 * Makerules: Likewise.
54254 * config.make.in: Likewise.
54255 * configure.in: Likewise.
54256 * intl/Makefile: Likewise.
54257 * locale/Makefile: Likewise.
54258 * po/Makefile: Likewise.
54259 * posix/Makefile: Likewise.
54260 * sysdeps/gnu/Makefile: Likewise.
54261 * sysdeps/mach/hurd/Makefile: Likewise.
54262 * sysdeps/sparc/sparc32/Makefile: Likewise.
54263
b0727fd8
JS
54264 [BZ #13118]
54265 * posix/Makefile (bug-regex32-ENV): Define.
54266 Patch by John Stanley <jpsinthemix@verizon.net>.
54267
a0f33f99
UD
54268 * misc/Makefile (headers): Add bits/select2.h.
54269 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54270 * misc/bits/select2.h: New file.
54271 * include/bits/select2.h: New file.
54272 * debug/Makefile (routines): Add fdelt_chk.
54273 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54274 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54275 FD_ISSET.
54276 * debug/fdelt_chk.c: New file.
54277
762011fe
UD
54278 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54279 * wcsmbs/test-wmemcmp.c: Likewise.
54280 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 54281 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
54282
542832011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54284
54285 * string/Makefile (strop-tests): Add memcmp.
54286 * string/test-wmemcmp.c: New file.
54287 * string/test-memcmp.c: Add wmemcmp support.
54288
7f513ec8
RM
542892011-09-08 Roland McGrath <roland@hack.frob.com>
54290
0442afb4
RM
54291 [BZ #13153]
54292 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54293 2011-07-19 change.
54294
7f513ec8
RM
54295 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54296 garbage value in a __mach_port_mod_refs call in the cases of the
54297 task-self and thread-self ports.
54298
a12b2239
ST
542992011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54300
54301 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54302
610f9ab4
AS
543032011-09-08 Andreas Schwab <schwab@redhat.com>
54304
7f513ec8 54305 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 54306
48882a1a
LD
543072011-09-07 Ulrich Drepper <drepper@gmail.com>
54308
b49865be
UD
54309 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54310
fdc86bc9
UD
54311 * elf/dl-libc.c (dlerror_run): Pass back error code from
54312 dl_catch_error.
54313
c966526a
UD
54314 [BZ #13123]
54315 * elf/dl-load.c (lose): Free l_origin if it is valid.
54316
48882a1a
LD
54317 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54318 names.
54319 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54320 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54321 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54322 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54323 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54324 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54325
77a2a8b4
AZ
543262011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54327
54328 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54329 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54330 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54331 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54332 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54333 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54334 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54335 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54336 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54337 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54338
24f579d8
AM
543392011-08-15 Alan Modra <amodra@gmail.com>
54340
54341 [BZ #13092]
54342 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54343 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54344 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54345 ppc_mcount to static-only-routines.
54346 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54347 __mcount_internal.
54348 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54349 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54350
3d4837df
UD
543512011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54352
54353 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54354 for finite and infinity parameters.
54355
22700377
WS
543562011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54357
54358 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54359 and add nop instructions for throughput optimization.
54360 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54361
5025581e
WS
543622011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54363
54364 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54365 aligned copy for power7 with vector-scalar instructions.
54366 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54367
08a300c9
L
543682011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54369
54370 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54371 AVX check.
54372
59178ef9
AS
543732011-09-07 Andreas Schwab <schwab@redhat.com>
54374
54375 [BZ #13144]
54376 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54377 last change.
54378
e38ba7ab
UD
543792011-09-07 Ulrich Drepper <drepper@gmail.com>
54380
54381 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54382 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54383 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54384 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54385 clock_gettime.
54386
d53a73ac
UD
543872011-09-06 Ulrich Drepper <drepper@gmail.com>
54388
fc8bffcc
UD
54389 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54390 Forgot to demangle the pointer.
54391
ceaa0c5d
UD
54392 * sysdeps/i386/sysdep.h: Define atom_text_section.
54393 * sysdeps/x86_64/sysdep.h: Likewise.
54394 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54395 section with atom_text_section.
54396 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54397 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54398 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54399 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54400 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54401
a77d3c17
UD
54402 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54403 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54404 already be defined. Change to take two parameters and don't assign
54405 result to variable. Adjust all users.
54406 Define INTERNAL_GETTIME if not already defined.
54407 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54408 call.
54409 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54410 HAVE_CLOCK_GETTIME_VSYSCALL.
54411 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54412
d53a73ac
UD
54413 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54414 gettimeofday vsyscall, just use time.
54415
a8f84144
AS
544162011-09-06 Andreas Schwab <schwab@redhat.com>
54417
54418 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54419 <errno.h>.
54420
ef606249
UD
544212011-09-06 Ulrich Drepper <drepper@gmail.com>
54422
54423 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54424 syscall on x86-64.
54425 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54426 syscall.
54427 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54428 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54429 syscall if possible.
54430
6585cb60
UD
544312011-09-05 Ulrich Drepper <drepper@gmail.com>
54432
54433 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54434 e_ident. Don't pass to find_mapsXX.
54435 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54436
a5f524e4
LD
544372011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54438
54439 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54440 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54441 * sysdeps/x86_64/multiarch/strchr.S: Update.
54442 Check bit_slow_BSF bit.
54443 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54444 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54445 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54446
554881ef
UD
544472011-09-05 Ulrich Drepper <drepper@gmail.com>
54448
d96de963
UD
54449 [BZ #13134]
54450 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54451 before glibc 2.15.
54452 (tryshell): Define.
54453 (__spawni): Change last parameter to be flag. Test
54454 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54455 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54456 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54457 * posix/spawni.c: Likewise.
54458 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54459 * posix/spawnp.c: Likewise. Change normal version to use
54460 SPAWN_XFLAGS_USE_PATH.
54461 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54462 SPAWN_XFLAGS_TRY_SHELL.
54463
d48e5868
UD
54464 [BZ #13150]
54465 * posix/glob.h: Remove gcc 1.x support.
54466
554881ef
UD
54467 [BZ #13068]
54468 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54469
693fb948
LD
544702011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54471
54472 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54473 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54474 strrchr-sse2-bsf
54475 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54476 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54477 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54478 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54479 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54480 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54481
1b48c537
UD
544822011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54483
49d42c37
UD
54484 * sysdeps/x86_64/wcscmp.S: New file.
54485
1b48c537
UD
54486 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54487 wcscmp-c wcscmp-sse2
54488 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54489 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54490 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54491 * wcsmbs/wcscmp.c: Allow renaming.
54492
15c95c5d
DM
544932011-09-05 David S. Miller <davem@davemloft.net>
54494
54495 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54496 stack slot, rather than the struct return pointer slot.
54497 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54498 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54499 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54500 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54501
2f0ad8f3
UD
545022011-09-05 Ulrich Drepper <drepper@gmail.com>
54503
d88ae418
UD
54504 * po/ja.po: Update from translation team.
54505
2f0ad8f3
UD
54506 [BZ #13144]
54507 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54508 kernel in 64-bit binaries.
54509
5f4318d1
DM
545102011-09-01 David S. Miller <davem@davemloft.net>
54511
54512 * elf/elf.h (HWCAP_SPARC_*): Move to..
54513 * sysdeps/sparc/sysdep.h: this new file and add new values.
54514 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54515 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54516 _DL_HWCAP_COUNT to 24.
54517 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54518 entries.
54519 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54520 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54521 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54522 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54523 instead of magic constants.
54524 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54525
3ba57516
DM
545262011-08-31 David S. Miller <davem@davemloft.net>
54527
54528 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54529 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54530 Reimplement to do errno handling inline.
54531 (SYSCALL_ERROR_HANDLER): New macro.
54532 (__SYSCALL_STRING): Do not do errno handling in asm.
54533 (__CLONE_SYSCALL_STRING): Delete.
54534 (__INTERNAL_SYSCALL_STRING): Delete.
54535 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54536 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54537 (PSEUDO): Reimplement to do errno handling inline.
54538 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54539 (SYSCALL_ERROR_HANDLER): New macro.
54540 (__SYSCALL_STRING): Do not do errno handling in asm.
54541 (__CLONE_SYSCALL_STRING): Delete.
54542 (__INTERNAL_SYSCALL_STRING): Delete.
54543 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54544 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54545 i386.
54546 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54547 (inline_syscall*): Add 'err' argument.
54548 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54549 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54550 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54551 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54552
54553 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54554 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54555
2bc17433
AS
545562011-08-30 Andreas Schwab <schwab@redhat.com>
54557
54558 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54559
fbeb5f4d
JO
545602011-08-29 Jiri Olsa <jolsa@redhat.com>
54561
54562 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54563 directive.
54564
ad69cc26
DM
545652011-08-24 David S. Miller <davem@davemloft.net>
54566
54567 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54568
39dd69df
AS
545692011-08-24 Andreas Schwab <schwab@redhat.com>
54570
54571 * elf/Makefile: Add rules to build and run unload8 test.
54572 * elf/unload8.c: New file.
54573 * elf/unload8mod1.c: New file.
54574 * elf/unload8mod1x.c: New file.
54575 * elf/unload8mod2.c: New file.
54576 * elf/unload8mod3.c: New file.
54577
54578 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54579 it wasn't used.
54580
2c0b250a
DM
545812011-08-23 David S. Miller <davem@davemloft.net>
54582
54583 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54584 subtract stack bias.
54585 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54586 %sp not %fp in calculations.
54587 (_JMPBUF_UNWINDS_ADJ): Likewise.
54588
22044b48
DM
54589 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54590 (aio_suspend): Call it to force an exception region around the
54591 AIO_MISC_WAIT() invocation.
54592
2cae4995
AS
545932011-08-23 Andreas Schwab <schwab@redhat.com>
54594
54595 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54596 backslash.
54597
873a772e
AJ
545982011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54599
54600 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54601 protection macro.
54602 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54603 and <dl-machine.h>.
54604 (Elf64_FuncDesc): Remove.
54605
25ad0df1
DM
546062011-08-22 David S. Miller <davem@davemloft.net>
54607
54608 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54609 sigaltstack check, add missing cfi directives.
54610 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54611 missing cfi directives, and sigaltstack handling.
54612
e888bcbe
AS
546132011-08-16 Andreas Schwab <schwab@redhat.com>
54614
54615 [BZ #11724]
54616 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54617 object is seen twice.
54618 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54619
54620 * elf/Makefile (distribute): Add tst-initorder2.c.
54621 (tests): Add tst-initorder2.
54622 (modules-names): Add tst-initorder2a tst-initorder2b
54623 tst-initorder2c tst-initorder2d. Add rules to build them.
54624 ($(objpfx)tst-initorder2.out): New rule.
54625 * elf/tst-initorder2.c: New file.
54626 * elf/tst-initorder2.exp: New file.
54627
87162f46
AS
546282011-08-22 Andreas Schwab <schwab@redhat.com>
54629
70538b7f
AS
54630 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54631
f55ffe58
AS
54632 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54633 dependencies back to end of function.
54634
87162f46
AS
54635 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54636 $(elfobjdir)/ld.so.
54637
91b392a4
UD
546382011-08-21 Ulrich Drepper <drepper@gmail.com>
54639
54640 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54641 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54642 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54643 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54644 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54645 of __vdso_gettimeofday.
54646 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54647 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54648 attribute_hidden.
54649 (_libc_vdso_platform_setup): Remove initialization of
54650 __vdso_gettimeofday and __vdso_time.
54651
5c43483f
UD
546522011-08-20 Ulrich Drepper <drepper@gmail.com>
54653
775a77e7
UD
54654 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54655 and fgetc_unlocked.
54656 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54657 getc_unlocked.
89f447ed 54658
49c74ba9
UD
54659 * elf/dl-open.c (add_to_global): Report additions to the global scope
54660 for LD_DEBUG=scopes.
54661 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54662 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54663
5c43483f
UD
54664 [BZ #13114]
54665 * stdio-common/Makefile (tests): Add bug24.
54666 * stdio-common/bug24.c: New file.
54667
a101b025
AJ
546682011-08-19 Andreas Jaeger <aj@suse.de>
54669
54670 [BZ #13114]
54671 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54672 non-existant file when using close-on-exec mode.
54673
c88f1766
UD
546742011-08-20 Ulrich Drepper <drepper@gmail.com>
54675
0276a718
UD
54676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54677 the very first instruction.
54678
c88f1766
UD
54679 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54680 the CFI state in the end.
54681 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54682 inclusion of dl-trampoline.h.
54683 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54684
51ccffa0
AS
546852011-08-19 Andreas Schwab <schwab@redhat.com>
54686
94d7165f
AS
54687 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54688 expectations for long double.
54689
51ccffa0
AS
54690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54691 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54692
fd708658 546932011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54694
54695 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54696 artificual limit depends upon the system page size.
54697
44f0a71e
UD
546982011-08-17 Ulrich Drepper <drepper@gmail.com>
54699
54700 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54701 * resolv/Makefile: Define CFLAGS-libresolv.
54702
8de79a24
AS
547032011-08-17 Andreas Schwab <schwab@redhat.com>
54704
54705 * nss/makedb.c (compute_tables): Make variables used in nested
54706 function static.
54707
27724598
UD
547082011-08-17 Ulrich Drepper <drepper@gmail.com>
54709
c5305d88
UD
54710 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54711 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54712 if buffer was too small.
54713
27724598
UD
54714 * elf/pldd.c (main): Attach to all threads in the process.
54715 Rewrite /proc handling to use *at functions.
54716
076fe015
UD
547172011-08-16 Ulrich Drepper <drepper@gmail.com>
54718
174baab3
UD
54719 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54720 specifies first scope to show.
54721 (dl_open_worker): Update callers. Move printing scope of new
54722 object to before the relocation.
44f0a71e 54723 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54724 * sysdeps/generic/ldsodefs.h: Update declaration.
54725
076fe015
UD
54726 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54727 string for the scope number.
54728
a60df2c3
UD
547292011-08-14 Ulrich Drepper <drepper@gmail.com>
54730
54731 * nscd/servicescache.c (cache_addserv): Make sure written is always
54732 initialized.
54733
5e4287d1
RM
547342011-08-14 Roland McGrath <roland@hack.frob.com>
54735
85ae0589
RM
54736 * sysdeps/i386/i486/bits/atomic.h
54737 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54738 statement expression, so as to suppress "set but not used" warning.
54739 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54740
69f63097
RM
54741 * string/strncat.c (STRNCAT): Use prototype definition.
54742
675456ef
RM
54743 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54744 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54745 -Iprograms here.
54746 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54747 (localedef-modules): Add localedef.
54748 (locale-modules): Add locale.
54749
5e4287d1
RM
54750 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54751 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54752 to avoid a warning.
54753
9c96ff23
DM
547542011-08-14 David S. Miller <davem@davemloft.net>
54755
54756 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54757 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54758
f9ddf089
UD
547592011-08-13 Ulrich Drepper <drepper@gmail.com>
54760
44f0a71e 54761 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54762 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54763 * elf/rtld.c (dl_main): Set l_name of vDSO.
54764 Call _dl_show_scope when DL_DEBUG_SCOPES.
54765 (process_dl_debug): Recognize scopes flag and also set it for all.
54766 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54767 Declare _dl_show_scope.
54768
1dc27704
UD
54769 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54770 (do_dlopen): Pass caller_dlopen to dl_open.
54771 (__libc_dlopen_mode): Initialize caller_dlopen.
54772
f9ddf089
UD
54773 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54774 of libc. Make tolower call locale-independent. Optimize a bit by
54775 using isdigit instead of isalnum.
54776 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54777
9ac533d3
UD
547782011-08-12 Ulrich Drepper <drepper@gmail.com>
54779
54780 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54781 was a dependency or dynamically loaded.
54782
89edf2e9
UD
547832011-08-11 Ulrich Drepper <drepper@gmail.com>
54784
8e999d29
UD
54785 * intl/l10nflist.c: Allow architecture-specific pop function.
54786 * sysdeps/x86_64/l10nflist.c: New file.
54787
89edf2e9
UD
54788 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54789 classification.
54790
14d96785
AS
547912011-08-10 Andreas Schwab <schwab@redhat.com>
54792
54793 * include/dirent.h: Add libc_hidden_proto for scandirat and
54794 scandirat64. Don't declare __scandirat64.
54795 * dirent/scandirat.c: Add libc_hidden_def.
54796 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54797 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54798
6761ac04
DM
547992011-08-10 David S. Miller <davem@davemloft.net>
54800
54801 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54802 enum.
54803 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54804 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54805 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54806
c55fbd1e
UD
548072011-08-09 Ulrich Drepper <drepper@gmail.com>
54808
54809 * Versions.def [libc]: Add GLIBC_2.15.
54810 * dirent/Makefile (routines): Add scandirat and scandirat64.
54811 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54812 GLIBC_2.15.
54813 * dirent/dirent.h: Declare scandirat and scandirat64.
54814 * dirent/scandirat.c: New file.
54815 * dirent/scandirat64.c: New file.
54816 * sysdeps/wordsize-64/scandirat.c: New file.
54817 * sysdeps/wordsize-64/scandirat64.c: New file.
54818 * dirent/opendir.c: Define opendirat.
54819 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54820 using scandirat.
54821 * dirent/scandir64.c: Adjust for scandir.c change.
54822 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54823 __scandirat64, and __scandir_cancel_handler.
54824 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54825 additional parameter and use openat instead of open (outside of ld.so).
54826 Add new __opendir as wrapper around __opendirat.
54827 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54828 here without requiring old scandirat implementation.
54829
879165f2
UD
548302011-08-08 Ulrich Drepper <drepper@gmail.com>
54831
54832 * dirent/scandir.c (cancel_handler): Renamed to
54833 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54834 defined. Adjust users.
54835 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54836 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54837
cb7e923b
UD
548382011-08-04 Ulrich Drepper <drepper@gmail.com>
54839
16292edd
UD
54840 * string/test-string.h (IMPL): Use __STRING to expand name and then
54841 stringify it.
54842
cb7e923b
UD
54843 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54844 of cleanups.
54845
cff82933
LD
548462011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54847
54848 * string/Makefile: Update.
54849 (strop-tests): Append strncat.
54850 * string/test-wcscmp.c: New file.
54851 New comprehensive test for wcscmp.
54852 * string/test-strcmp.c: Update.
54853 (WIDE): New define.
54854
9be9bfcc
AS
548552011-07-22 Andreas Schwab <schwab@redhat.com>
54856
54857 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54858 line.
54859
2e96f1c7
AS
548602011-07-26 Andreas Schwab <schwab@redhat.com>
54861
54862 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54863 encoding to ACE if AI_IDN.
54864
85188888
JJ
548652011-08-01 Jakub Jelinek <jakub@redhat.com>
54866
54867 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54868 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54869
5fa16e9b
LD
548702011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54871
54872 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54873 Fix overflow bug in strncat.
54874 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54875
54876 * string/test-strncat.c: Update.
54877 Add new tests for checking overflow bugs.
54878
548792011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54880
54881 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54882 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54883 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54884 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54885 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54886 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54887 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54888 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54889 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54890
54891 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54892 (USE_AS_STRCAT): Define.
54893 Add strcat and strncat support.
54894 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54895
8c1a459f
AS
548962011-07-25 Andreas Schwab <schwab@redhat.com>
54897
54898 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54899 __n bigger than INT_MAX+1.
54900 (__strncmp_g): Likewise.
54901
bba33c28
UD
549022011-07-23 Ulrich Drepper <drepper@gmail.com>
54903
798be72d
UD
54904 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54905 * libio/stido.h: Likewise.
54906
8accd4dc
UD
54907 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54908 (AF_NFC): Define.
54909 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54910 (AF_NFC): Define.
54911
cbff0d96
UD
54912 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54913 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54914 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54915 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54916 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54917
9191c04a
UD
54918 [BZ #13021]
54919 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54920 installed.
54921
bba33c28
UD
54922 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54923 typo.
54924 (_dl_x86_64_save_sse): Likewise.
54925
90f139dd
UD
549262011-07-22 Ulrich Drepper <drepper@gmail.com>
54927
1aae088a
UD
54928 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54929 OSXSAVE.
54930 (_dl_x86_64_save_sse): Likewise.
54931
8e2045f5
UD
54932 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54933
90f139dd
UD
54934 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54935
1d002f25
AS
549362011-07-21 Andreas Schwab <schwab@redhat.com>
54937
54938 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54939 change.
54940 (_dl_x86_64_save_sse): Use correct AVX check.
54941
21137f89
UD
549422011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54943
54944 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
54945 bug in strncpy/strncat.
54946 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
54947
a65c0b7a
UD
549482011-07-21 Ulrich Drepper <drepper@gmail.com>
54949
54950 * string/tester.c (test_strcat): Add tests for different alignments
54951 of source and destination.
54952 (test_strncat): Likewise.
54953
6986b98a
UD
549542011-07-20 Ulrich Drepper <drepper@gmail.com>
54955
90bb2039
UD
54956 [BZ #12852]
54957 * posix/glob.c (glob): Check passed in values before using them in
54958 expressions to avoid some overflows.
54959 (glob_in_dir): Likewise.
54960
5644ef54
UD
54961 [BZ #13007]
54962 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
54963 check for AVX enablement so that we don't crash with old kernels and
54964 new hardware.
54965 * elf/tst-audit4.c: Add same checks here.
54966 * elf/tst-audit6.c: Likewise.
54967
54968 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 54969
bfc9dc9b
AS
549702011-07-09 Andreas Schwab <schwab@linux-m68k.org>
54971
54972 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
54973
702e64bb
UD
549742011-07-20 Ulrich Drepper <drepper@gmail.com>
54975
54976 * po/cs.po: Update from translation team.
54977 * po/bg.po: Likewise.
54978
295e904f
MP
549792011-07-12 Marek Polacek <mpolacek@redhat.com>
54980
54981 * misc/sys/cdefs.h: Add support for const attribute.
54982 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
54983 to gnu_dev_{major,minor,makedev} functions.
54984
3ff94596
MP
549852011-07-20 Marek Polacek <mpolacek@redhat.com>
54986
54987 * intl/dcigettext.c (get_output_charset): Add missing bracket.
54988
28b59fca
AS
549892011-07-20 Andreas Schwab <schwab@redhat.com>
54990
54991 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
54992 strlen results.
54993
19df733e
AK
549942011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54995
54996 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
54997 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
54998 register in order to avoid conflicts with the soft frame pointer
54999 being held in r11 when necessary.
55000 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55001 (INTERNAL_VSYSCALL_NCS): Likewise.
55002
c8835729
MP
550032011-07-14 Marek Polacek <mpolacek@redhat.com>
55004
55005 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55006 * elf/dl-fini.c (_dl_fini): Adjust caller.
55007 * elf/dl-close.c (_dl_close_worker): Likewise.
55008 * sysdeps/generic/ldsodefs.h: Adjust declaration.
55009
b902330c
MP
550102011-07-15 Marek Polacek <mpolacek@redhat.com>
55011
8991e135
MP
55012 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55013 "aux_cache->nlibs < 0".
55014
b902330c
MP
55015 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55016 in the reload-count case.
55017
99710781
LD
550182011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55019
55020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55021 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55022 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55023 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55024 * sysdeps/x86_64/multiarch/strcat.S: New file.
55025 * sysdeps/x86_64/multiarch/strncat.S: New file.
55026 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55027 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55028 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55029 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55030 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55031 (USE_AS_STRCAT): Define.
55032 Add strcat and strncat support.
55033 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55034 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55035 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55036 * string/strncat.c: Update.
55037 (USE_AS_STRNCAT): Define.
55038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55039 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55040 and i7.
55041 * sysdeps/x86_64/multiarch/init-arch.h
55042 (bit_Prefer_PMINUB_for_stringop): New.
55043 (index_Prefer_PMINUB_for_stringop): Likewise.
55044 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55045 bit_Prefer_PMINUB_for_stringop.
55046
7dc6bd90
UD
550472011-07-19 Ulrich Drepper <drepper@gmail.com>
55048
55049 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55050 buffer64.
55051 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55052 of casting of buffer.
55053 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55054 buffer32 and buffer64.
55055 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55056 writes instead of casting of buffer.
55057 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55058 buffer32.
55059 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55060 casting of buffer.
55061
e0e72284
AS
550622011-07-19 Andreas Schwab <schwab@redhat.com>
55063
55064 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55065
feb1eb0b
UD
550662011-07-19 Ulrich Drepper <drepper@gmail.com>
55067
55068 * nscd/nscd.c (termination_handler): Don't do anything for a database
55069 if it has not yet been initialized.
55070
298711ff
UD
550712011-07-18 Ulrich Drepper <drepper@gmail.com>
55072
55073 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55074
550752011-07-15 Marek Polacek <mpolacek@redhat.com>
55076
55077 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55078
f9d68389
UD
550792011-07-18 Ulrich Drepper <drepper@gmail.com>
55080
55081 * po/nl.po: Update from translation team.
55082 * po/sv.po: Likewise.
55083
db290cf5
RM
550842011-07-16 Roland McGrath <roland@hack.frob.com>
55085
55086 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55087 now disallowed by GCC.
5c550700 55088
fd5e21c7
RM
55089 * configure.in (use-default-link): Default to yes if a test -shared
55090 link meets our qualifications.
55091 * configure: Regenerated.
55092
5c550700
RM
55093 * config.make.in (output-format): New variable.
55094 * configure.in: Check for ld --print-output-format support.
55095 * configure: Regenerated.
55096 * Makerules ($(common-objpfx)format.lds)
55097 [$(output-format) != unknown]: Just use $(output-format),
55098 instead of the linker-script munging.
55099
9fa2c032
RM
551002011-07-14 Roland McGrath <roland@hack.frob.com>
55101
a6928d51
RM
55102 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55103 of $(common-objpfx)shlib.lds.
55104 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55105
661607b3
RM
55106 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55107 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55108
9fa2c032
RM
55109 * configure.in (-z relro check): Adjust test code to add a large
55110 writable data section after it.
55111 * configure: Regenerated.
55112
defe9061
RM
551132011-07-11 Roland McGrath <roland@hack.frob.com>
55114
55115 * configure.in (-z relro check): Fix test code to make the variable
55116 truly const.
55117 * configure: Regenerated.
55118
319b9ad4
UD
551192011-07-11 Ulrich Drepper <drepper@gmail.com>
55120
55121 * nscd/nscd.h (struct traced_file): Define.
55122 (struct database_dyn): Remove inotify_descr, reset_res, and filename
55123 elements. Add traced_files.
55124 (inotify_fd): Declare.
55125 (register_traced_file): Declare.
55126 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55127 (inotify_fd): Export.
55128 (resolv_conf_descr): Remove.
55129 (nscd_init): Move inotify descriptor creation to main.
55130 Don't register files for notification here.
55131 (register_traced_file): New function.
55132 (invalidate_cache): Don't use reset_res to determine whether to call
55133 res_init, go through the list of registered files.
55134 (main_loop_poll): The inotify descriptors are now stored in the
55135 structures for the traced files.
55136 (main_loop_epoll): Likewise
55137 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
55138 to __nss_disable_nscd.
55139 * nscd/cache.c (prune_cache): There is no single inotify descriptor
55140 for a database anymore. Check the records for all the registered
55141 files instead.
55142 * nss/Makefile (libnss_files-routines): Add files-init.
55143 (libnss_db-routines): Add db-init.
55144 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55145 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55146 * nss/nss_db/db-init.c: New file.
55147 * nss/nss_files/files-init.c: New file.
55148 * nss/nsswitch.c (nss_load_library): New function. Broken out of
55149 __nss_lookup_function.
55150 (__nss_lookup_function): Call nss_load_library.
55151 (nss_load_all_libraries): New function.
55152 (__nss_disable_nscd): Take parameter with callback function for files
55153 to register. Set is_nscd. Load all the DSOs for the NSS modules
55154 used for the cached services.
55155 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55156 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55157 options for features to all the files in nscd.
55158
55159 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55160
23bee3e8
RM
551612011-07-10 Roland McGrath <roland@hack.frob.com>
55162
55163 * csu/elf-init.c (__libc_csu_init): Comment typo.
55164
46a5b7f0
UD
551652011-07-09 Ulrich Drepper <drepper@gmail.com>
55166
55167 * po/pl.po: Update from translation team.
55168 * po/ja.po: Likewise.
55169 * po/ru.po: Likewise.
55170 * po/ko.po: Likewise.
55171 * po/fr.po: Likewise.
55172
d30cf5bb
RM
551732011-07-09 Roland McGrath <roland@hack.frob.com>
55174
113ddea4
RM
55175 * configure.in (.ctors/.dtors header and trailer check):
55176 Use an empirical test on a built program.
55177 * configure: Regenerated.
55178
574920b4
RM
55179 * configure.in (-z relro check): Use an empirical test on a built DSO.
55180 Detect, but do not require, on ia64.
55181 * configure: Regenerated.
55182
d30cf5bb
RM
55183 * configure.in (READELF): Find it with AC_CHECK_TOOL.
55184 Update tests that use readelf to use $READELF instead.
55185 * configure: Regenerated.
55186
8538fdb3
UD
551872011-07-08 Ulrich Drepper <drepper@gmail.com>
55188
55189 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55190 if the result is not used.
55191
04d08991
AJ
551922011-07-05 Andreas Jaeger <aj@suse.de>
55193
55194 [BZ#9696]
55195 * stdlib/tst-strtod.c: Add testcase.
55196
de283087
AD
551972011-07-07 Ulrich Drepper <drepper@gmail.com>
55198
4e5f31c8 55199 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 55200 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
55201 The latter has a higher limit. Take additional parameter to pass to
55202 the new function.
55203 (__pathconf): Pass file to __statfs_link_max.
55204 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55205 __statfs_link_max.
55206 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55207 __statfs_link_max.
55208
de283087
AD
55209 [BZ #12868]
55210 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55211 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55212 Handle Lustre.
55213 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55214 (__statfs_filesize_max): Likewise.
55215 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55216
c75fa153
AJ
552172011-07-05 Andreas Jaeger <aj@suse.de>
55218
55219 * resolv/res_comp.c (dn_skipname): Remove unused variable.
55220
1a544854
UD
552212011-07-06 Marek Polacek <mpolacek@redhat.com>
55222
55223 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55224 `status' variable.
55225 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55226 Likewise.
55227
6f0eec67
UD
552282011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55229
55230 * Makefile (strop-tests): Add strncat.
55231 * string/test-strncat.c: New file.
55232
aae30307
UD
552332011-06-30 Marek Polacek <mpolacek@redhat.com>
55234
55235 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55236
c0cfb5eb
UD
552372011-06-21 Andreas Jaeger <aj@suse.de>
55238
55239 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55240 Copy rule from iconvdata/Makefile.
55241
01636b21
UD
552422011-07-06 Ulrich Drepper <drepper@gmail.com>
55243
55244 [BZ #12922]
55245 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55246 but no long options are defined, just return 'W'.
55247
9895c8bc
UD
552482011-06-22 Marek Polacek <mpolacek@redhat.com>
55249
55250 [BZ #9696]
55251 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55252
5d4cf042
UD
552532011-07-06 Ulrich Drepper <drepper@gmail.com>
55254
55255 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55256 netgroups to read.
960e5535 55257 (innetgr): Likewise.
5d4cf042 55258
751eb97e
RM
552592011-07-05 Roland McGrath <roland@hack.frob.com>
55260
55261 * config.make.in (install_root): Default to $(DESTDIR).
55262
f15f1e45
UD
552632011-07-05 Ulrich Drepper <drepper@gmail.com>
55264
55265 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55266
4e34ac6a
RM
552672011-07-02 Roland McGrath <roland@hack.frob.com>
55268
5e9b6af4
RM
55269 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55270
84f9ea0f
RM
55271 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55272 containing directory rather than embedding absolute directory names.
55273
ea5ee9f7
RM
55274 * scripts/check-local-headers.sh: Rewritten using awk.
55275 Match by word, not by line. Print error messages for matches.
55276 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55277
1b74661a
RM
55278 * Makerules [shlib-lds-flags empty]:
55279 ($(common-objpfx)libc_pic.opts): New target.
55280 ($(common-objpfx)libc_pic.os.clean): New target.
55281 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55282
55283 * config.make.in (OBJCOPY): New variable.
55284 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55285 * configure: Regenerated.
55286
f781ef40
RM
55287 * config.make.in (use-default-link): New variable.
55288 * configure.in (use_default_link): Grok --with-default-link to set it.
55289 * configure: Regenerated.
55290 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55291 (shlib-lds, shlib-lds-flags): Define to empty.
55292
2d4fa81e
RM
55293 * Makerules (shlib-lds): New variable.
55294 (shlib-lds-flags): New variable.
55295 (build-shlib, build-moduile, build-module-asneeded): Use it.
55296 ($(common-objpfx)libc.so): Use $(shlib-lds).
55297 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55298 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55299
31fffa6b
RM
55300 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55301 DT_FLAGS/DT_FLAGS_1 with zero flags.
55302
4e34ac6a
RM
55303 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55304 linker script munging.
55305
fcfc776b
UD
553062011-07-02 Ulrich Drepper <drepper@gmail.com>
55307
55308 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55309 as 128-bit value.
55310 * crypt/sha512.c (sha512_process_block): Perform total addition using
55311 128-bit if possible.
55312 (__sha512_finish_ctx): Likewise.
55313 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55314 as 64-bit value.
55315 * crypt/sha256.c (SWAP64): Define.
55316 (sha256_process_block): Perform total addition using 64-bit if
55317 possible.
55318 (__sha256_finish_ctx): Likewise.
55319
99231d9a
UD
553202011-07-01 Ulrich Drepper <drepper@gmail.com>
55321
55322 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55323 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55324 * nscd/hstcache.c (cache_addhst): Likewise.
55325 * nscd/grpcache.c (cache_addgr): Likewise.
55326 * nscd/aicache.c (addhstaiX): Likewise
55327 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55328
445b4a53
TK
553292011-07-01 Thorsten Kukuk <kukuk@suse.de>
55330
55331 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55332 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55333 * nscd/hstcache.c (cache_addhst): Likewise.
55334 * nscd/grpcache.c (cache_addgr): Likewise.
55335 * nscd/aicache.c (addhstaiX): Likewise
55336
6d4d8e8e
AS
553372011-07-01 Andreas Schwab <schwab@redhat.com>
55338
55339 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55340 domain only when needed.
55341
89f654c5
AS
553422011-06-30 Andreas Schwab <schwab@redhat.com>
55343
55344 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55345 is always restored.
55346
cf3b23ff
UD
553472011-06-29 Ulrich Drepper <drepper@gmail.com>
55348
55349 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55350 are re-adding the entry.
55351 * nscd/servicescache.c (cache_addserv): Likewise.
55352
751626f9
AJ
553532011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55354
55355 * sysdeps/generic/dl-irel.h: fix protection against multiple
55356 inclusions.
55357 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55358
9113ea1f
UD
553592011-06-28 Ulrich Drepper <drepper@gmail.com>
55360
5c0b8d90
UD
55361 [BZ #12935]
55362 * malloc/memusage.sh: Fix quoting in message.
55363 * debug/xtrace.sh: Likewise.
55364
9113ea1f
UD
55365 * configure.in: Remove support for --experimental-malloc option, make
55366 it the default.
55367 * config.make.in: Likewise.
55368 * malloc/Makefile: Likewise.
55369
a4172181
AS
553702011-06-27 Andreas Schwab <schwab@redhat.com>
55371
55372 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55373 two-byte characters.
55374
78a7eee7
RM
553752011-06-27 Roland McGrath <roland@hack.frob.com>
55376
62bede13
RM
55377 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55378 AC_CACHE_CHECK invocation.
55379 * configure: Regenerated.
55380
78a7eee7
RM
55381 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55382
5ce33a62
UD
553832011-06-27 Ulrich Drepper <drepper@gmail.com>
55384
034807a9
UD
55385 [BZ #12350]
55386 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55387 bit from old_res_options.
55388
4902da17
UD
55389 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55390
5ce33a62
UD
55391 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55392 value type for setfct.
55393
c2344f56
L
553942011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55395
55396 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55397 __gettimeofday instead of gettimeofday.
55398
68468076
UD
553992011-06-26 Ulrich Drepper <drepper@gmail.com>
55400
55401 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55402
acb0d739
L
554032011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55404
55405 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55406
55407 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55408 info.
55409
8912479f
L
554102011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55411
55412 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55413 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55414 strcpy-sse2-unaligned strncpy-sse2-unaligned
55415 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55416 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55417 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55418 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55419 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55420 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55421 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55422 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55423 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55424 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55425 (STRCPY): Support SSE2 and SSSE3 versions.
55426
d5495a11
UD
554272011-06-24 Ulrich Drepper <drepper@gmail.com>
55428
55429 [BZ #12874]
55430 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55431 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55432 kernels which artificially limit size of requests.
55433
0b1cbaae
L
554342011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55435
55436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55437 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55438 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55439 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55440 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55441 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55442 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55443 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55444 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55445 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55446 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55447 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55448 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55449 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55450 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55452 Enable unaligned load optimization for Intel Core i3, i5 and i7
55453 processors.
55454 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55455 Define.
55456 (index_Fast_Unaligned_Load): Define.
55457 (HAS_FAST_UNALIGNED_LOAD): Define.
55458
07f494a0
MP
554592011-06-23 Marek Polacek <mpolacek@redhat.com>
55460
55461 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55462
fa3fc0fe
UD
554632011-06-22 Ulrich Drepper <drepper@gmail.com>
55464
55465 [BZ #12907]
55466 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55467 until it is clear that the information is realy needed.
55468 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55469
e12df166
AS
554702011-06-22 Andreas Schwab <schwab@redhat.com>
55471
55472 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55473
852eb34d
UD
554742011-06-22 Ulrich Drepper <drepper@gmail.com>
55475
84e2a551
UD
55476 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55477 /sys/devices/system/cpu/online if it is usable.
55478
852eb34d
UD
55479 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55480 reading the information from the /proc filesystem to once a second.
55481
6e502e19
UD
554822011-06-21 Andreas Jaeger <aj@suse.de>
55483
55484 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55485 NULL after inclusion of kernel headers.
55486
75d39ff2
UD
554872011-06-21 Ulrich Drepper <drepper@gmail.com>
55488
51f9aa6a
UD
55489 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55490 calls to internal_setent.
55491
c0244a9d
UD
55492 [BZ #12885]
55493 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55494 addresses using gethostbyname4_r ignore IPv4 addresses.
55495
c5e3c2ae
UD
55496 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55497 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55498
75d39ff2
UD
55499 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55500
42675c6f
DM
555012011-06-20 David S. Miller <davem@davemloft.net>
55502
55503 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55504 inclusions.
55505 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55506
55507 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55508 (elf_irel): Use it.
55509 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55510 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55511 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55512 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55513 * sysdeps/x86_64/dl-irel.h: Likewise.
55514
55515 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55516 * elf/dl-sym.c: Likewise.
55517
57912a71
UD
555182011-06-15 Ulrich Drepper <drepper@gmail.com>
55519
55520 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55521 need to dereference resplen2.
55522
ee22793d
AS
555232011-06-14 Andreas Schwab <schwab@redhat.com>
55524
55525 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55526
a9e836b0
UD
555272011-06-15 Ulrich Drepper <drepper@gmail.com>
55528
77fb9117
UD
55529 * Makeconfig: Define vardbdir and inst_vardbdir.
55530 * nss/Makefile: Add rules to install db-Makefile.
55531
40c1b22c
UD
55532 * nss/nss_db/db-XXX.c: Cleanup.
55533
9f2da732
UD
55534 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55535 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55536 GLIBC_PRIVATE.
55537 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55538 * nss/makedb.c: Implement -g option to specify that value strings
55539 are generated and should not be added to table iterated over for
55540 get*ent calls.
55541 * nss/nss_db/db-initgroups.c: New file.
55542
82e9a1f7
UD
55543 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55544 interface.
55545
c41af17e
UD
55546 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55547 (internal_getgrouplist): Adjust to name change.
55548 Update use_initgroups_entry if this is not the first call.
55549 * nss/databases.def: Add initgroups entry.
55550
a9e836b0
UD
55551 * nss/makedb.c (compute_tables): Check result of multiple hash table
55552 sizes to minimize maximum chain length.
55553
2666d441
UD
555542011-06-14 Ulrich Drepper <drepper@gmail.com>
55555
55556 * Versions.def: Add entry for libnss_db.
55557 * shlib-versions: Likewise.
55558 * nss/Makefile: Add rules to build libnss_db.
55559 * nss/Versions: Add libnss_db information. Organize libnss_files
55560 entries better.
55561 * nss/db-Makefile: Add gshadow support. Change rules for the new
55562 makedb progra. Some minor improvements to generate smaller files.
55563 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55564 here from...
55565 * nss/makedb.c: ...here.
55566 Improve database format to be smaller and require less memory at
55567 runtime.
55568 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55569 db anymore.
55570 * nss/nss_db/db-netgrp.c: Likewise.
55571 * nss/nss_db/db-open.c: Likewise.
55572 * nss/nss_files/flies-XXX.x: Adjust comments.
55573 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55574 * nss/nss_files/files-grp.c: Likewise.
55575 * nss/nss_files/files-hosts.c: Likewise.
55576 * nss/nss_files/files-network.c: Likewise.
55577 * nss/nss_files/files-proto.c: Likewise.
55578 * nss/nss_files/files-pwd.c: Likewise.
55579 * nss/nss_files/files-rpc.c: Likewise.
55580 * nss/nss_files/files-service.c: Likewise.
55581 * nss/nss_files/files-sgrp.c: Likewise.
55582 * nss/nss_files/files-spwd.c: Likewise.
55583 * nss/nss_db/db-alias.c: Removed.
55584 * nss/nss_db/dummy-db.h: Removed.
55585
9ee76b5a
UD
555862011-06-02 Ulrich Drepper <drepper@gmail.com>
55587
55588 * nss/makedb.c: Rewritten to not use database library.
55589 * nss/Makefile: Update to build new makedb program.
55590
c71ca1f8
AJ
555912011-06-14 Andreas Jaeger <aj@suse.de>
55592
55593 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55594 memset declaration.
55595
3154bfb8
UD
555962011-06-10 Andreas Schwab <schwab@redhat.com>
55597
55598 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55599 tmpbuf.
55600
b350afab
RM
556012011-06-10 Roland McGrath <roland@hack.frob.com>
55602
decd4e50
RM
55603 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55604 * elf/Makefile ($(objpfx)ld.so): Likewise.
55605
5615eaf2
RM
55606 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55607 Don't list ld.so twice in dependencies.
55608
55609 * posix/bug-regex31.c: Include <stdlib.h>.
55610
55611 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55612
55613 * nis/nss_compat/compat-spwd.c
55614 (getspent_next_nss_netgr): Remove unused variable.
55615 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55616
55617 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55618 nonmembers" output to use the right array.
55619
55620 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55621
55622 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55623
55624 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55625 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55626 * catgets/gencat.c (read_input_file): Likewise.
55627 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55628
55629 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55630 variable definition inside #if's controlling its use.
55631
55632 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55633
55634 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55635
55636 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55637
55638 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55639 unreachable code.
55640
55641 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55642
b68e08db
RM
55643 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55644 * configure: Regenerated.
55645
b350afab
RM
55646 * Makerules: Revert last change.
55647 * elf/Makefile: Likewise.
55648
28368601
RM
556492011-06-09 Roland McGrath <roland@hack.frob.com>
55650
55651 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55652 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55653 (reloc-link): Likewise.
55654
11988f8f
UD
556552011-06-09 Ulrich Drepper <drepper@gmail.com>
55656
55657 * elf/Makefile: Add rules to build pldd.
55658 * elf/pldd.c: New file.
55659 * elf/pldd-xx.c: New file.
55660
e80fab37
UD
556612011-06-07 Ulrich Drepper <drepper@gmail.com>
55662
55663 * version.h: Update for 2.15 development version.
55664
9b849836
DM
556652011-06-07 David S. Miller <davem@davemloft.net>
55666
55667 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55668 ifuncs.
55669 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55670 elf_machine_lazy_rel): Likewise.
55671 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55672 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55673 elf_machine_lazy_rel): Likewise.
55674 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55675 dl_hwcap via passed in argument.
55676 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55677 Likewise.
55678
5a31b283
AK
556792011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55680
55681 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55682
069e52f8
RM
556832011-06-06 Roland McGrath <roland@hack.frob.com>
55684
55685 [BZ #12849]
55686 * manual/fdl-1.1.texi: New file, verbatim from:
55687 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55688 * manual/lgpl-2.1.texi: New file, verbatim from:
55689 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55690 * manual/Makefile (licenses): New variable, list those new file names.
55691 (texis): Use it.
55692 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55693
55694 * manual/fdl.texi: File removed.
55695 * manual/lesser.texi: File removed.
55696 * manual/libc.texinfo (Copying, Documentation License):
55697 Use new @include file names, put @appendix directive before @include.
55698
f16846a5
JJ
556992011-06-04 Jakub Jelinek <jakub@redhat.com>
55700
55701 [BZ #12841]
55702 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55703 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55704 (mq_open): Add __NTH.
55705
3d29045b
L
557062011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55707
55708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55709 Assume Intel Core i3/i5/i7 processor if AVX is available.
55710
8c297311
UD
557112011-05-31 Ulrich Drepper <drepper@gmail.com>
55712
55713 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55714 typo.
55715
c8fc0c91
UD
557162011-05-31 Andreas Schwab <schwab@redhat.com>
55717
55718 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55719 memory. Use alloca_account. Fix memory leak when retrying.
55720
5b27a807
UD
557212011-05-31 Ulrich Drepper <drepper@gmail.com>
55722
356f8bc6
UD
55723 * version.h (RELEASE): Bump for 2.14 release.
55724 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55725
5b27a807
UD
55726 * config.make.in (RANLIB): Remove entry.
55727
01f16ab0
UD
557282011-05-30 Ulrich Drepper <drepper@gmail.com>
55729
41fce8bd
UD
55730 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55731 (libc.pot): Work around missing support for .ksh extension in xgettext.
55732
4769ae77
UD
55733 [BZ #12684]
55734 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55735 if both request failed.
55736 (send_dg): In case of server errors clear resplen or *resplen2.
55737
6b1e7d19
UD
55738 [BZ #12454]
55739 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55740 when there are multiple maps.
55741 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55742 (_dl_fini): Remove test here.
55743
01f16ab0
UD
55744 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55745
b1ebd700
UD
557462011-05-29 Ulrich Drepper <drepper@gmail.com>
55747
7ae22829
UD
55748 [BZ #12350]
55749 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55750 bit from old_res_options.
55751 (gaih_inet): Likewise.
55752
553149f6 55753 [BZ #11099]
18a84741 55754 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55755 as signed.
55756
652ffab1
UD
55757 * resolv/res_init.c (res_setoptions): Make the code more compact.
55758
16985fd0
UD
55759 [BZ #11558]
55760 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55761 set RES_USEVC.
55762
0464f746
UD
55763 [BZ #11634]
55764 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55765
7d17596c
UD
55766 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55767
cf6bbbd7
UD
55768 [BZ #11781]
55769 * malloc/malloc.h: Declare malloc hook variables as volatile.
55770
13f1ab36
UD
55771 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55772 in last patch.
55773
b1ebd700
UD
55774 [BZ #11799]
55775 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55776 raise in the comment.
80e2212d
UD
55777 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55778 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55779 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55780
ce67228d
UD
557812011-05-28 Ulrich Drepper <drepper@gmail.com>
55782
8887a920
UD
55783 [BZ #12811]
55784 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55785 grow the buffers more if it already has to be sufficient.
55786 (build_wcs_upper_buffer): Likewise.
55787 * posix/regexec.c (check_matching): Likewise.
55788 (clean_state_log_if_needed): Likewise.
55789 (extend_buffers): Don't enlarge buffers beyond size of the input
55790 buffer.
55791 Patches mostly by Emil Wojak <emil@wojak.eu>.
55792 * posix/bug-regex32.c: New file.
55793 * posix/Makefile (tests): Add bug-regex32.
55794
4f031072
UD
55795 * locale/findlocale.c (_nl_find_locale): Return right away if
55796 _nl_explode_name failed.
55797 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55798
d0478f0c
UD
55799 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55800
de81b246
UD
55801 * debug/xtrace.sh: Unify messages.
55802 * malloc/memusage.sh: Likewise.
55803
c738465a
UD
55804 [BZ #12813]
55805 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55806 time symbol from vDSO. Substitute with vsyscall if not available.
55807 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55808 __vdso_time.
55809
f1f929d7
UD
55810 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55811 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55812 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55813 Add sendmmsg and internal_sendmmsg.
55814 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55815 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55816 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55817
ce67228d
UD
55818 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55819 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55820 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55821
e57420c6
UD
558222011-05-27 Ulrich Drepper <drepper@gmail.com>
55823
a8509ca5
UD
55824 [BZ #12813]
55825 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55826 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55827 available.
55828 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55829 __vdso_getcpu.
55830
e57420c6
UD
55831 [BZ #12814]
55832 * iconvdata/Makefile (tests): Add bug-iconv9.
55833 * iconvdata/bug-iconv9.c: New file.
55834
4d07db15
AS
558352011-05-27 Andreas Schwab <schwab@redhat.com>
55836
55837 [BZ #12814]
55838 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55839
ea486f69
JJ
558402011-05-25 Jakub Jelinek <jakub@redhat.com>
55841
55842 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55843 (struct user_regs_struct): Change intcs field back to cs.
55844
6f038433
UD
558452011-05-25 Ulrich Drepper <drepper@gmail.com>
55846
55847 * po/ja.po: Update from translation team.
55848
67f86a25
UD
558492011-05-23 Ulrich Drepper <drepper@gmail.com>
55850
55851 [BZ #12795]
55852 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55853 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55854
def7fbd6
AS
558552011-05-20 Andreas Schwab <schwab@redhat.com>
55856
55857 * stdlib/longlong.h: Update from GCC.
55858
f50ef8f1
AS
558592011-05-23 Andreas Schwab <schwab@redhat.com>
55860
55861 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55862 parameter name.
55863 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55864 Add parameter name.
55865 (__sysconf): Pass it down.
55866
de7ce8f1
UD
558672011-05-22 Ulrich Drepper <drepper@gmail.com>
55868
f2962a71
UD
55869 [BZ #12671]
55870 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55871 some situations.
55872 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55873 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55874 add in in __libc_use_alloca calls. Adjust callers.
55875 (glob): Use malloc in some situations.
55876
de7ce8f1
UD
55877 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55878 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55879 pltexit.
55880
aec84f53
UD
558812011-05-21 Ulrich Drepper <drepper@gmail.com>
55882
05bb4a68
UD
55883 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55884 and CLOCK_BOOTTIME_ALARM.
55885
7ea72f99
UD
55886 [BZ #12782]
55887 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55888 is returned.
55889
7e4afad5
UD
55890 * string/_strerror.c (__strerror_r): Print negative errors as signed
55891 numbers.
55892
8e211fec
UD
55893 [BZ #12777]
55894 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55895 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55896 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55897
f7d82dc9
UD
55898 * configure.in: Fix typo in redirection and correct removal of test
55899 files in two cases.
55900
cc9e536d
UD
55901 [BZ #12788]
55902 * locale/setlocale.c (new_composite_name): Fix test to check for
55903 identical name of all categories.
55904
aec84f53
UD
55905 [BZ #12792]
55906 * libio/filedoalloc.c (local_isatty): New function.
55907 (_IO_file_doallocate): Use local_isatty.
55908 * stdio-common/perror.c (perror): In case a new stream is used
55909 forward the stream error.
55910 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55911 error flag.
55912
78e64fdc
RT
559132011-05-20 Ulrich Drepper <drepper@gmail.com>
55914
34a9094f
UD
55915 [BZ #11869]
55916 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55917 alloca.
55918 * include/alloca.h (extend_alloca_account): Define.
55919
78e64fdc
RT
55920 [BZ #11857]
55921 * posix/regex.h: Fix comments with documentation of user-accessible
55922 fields after compilation and describe correct free'ing of pattern
55923 after re_compile_pattern.
55924 Patch by Reuben Thomas <rrt@sc3d.org>.
55925
457bddfc
RA
559262011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55927
55928 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55929 and -mno-altivec to prevent the compiler from using Altivec and/or
55930 VSX instructions when the corresponding registers are not available.
55931
a4527b51
AS
559322011-05-19 Andreas Schwab <schwab@redhat.com>
55933
55934 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55935
ed690b2f
UD
559362011-05-19 Ulrich Drepper <drepper@gmail.com>
55937
55938 * libio/freopen.c (freopen): Use __dup2, not dup2.
55939 * libio/freopen64.c (freopen64): Likewise.
55940
8db73634
L
559412011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55942
55943 [BZ #12775]
55944 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
55945 * math/Makefile (tests): Add test-powl.
55946 (CFLAGS-test-powl.c): Define.
55947 * math/test-powl.c: New file.
55948
0a197a9d
L
559492011-05-16 H.J. Lu <hongjiu.lu@intel.com>
55950
55951 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
55952
ee30c380
UD
559532011-05-17 Ulrich Drepper <drepper@gmail.com>
55954
55955 [BZ #11837]
55956 * iconvdata/gb18030.c: Update to GB18020-2005.
55957
6ce75379
UD
559582011-05-16 Ulrich Drepper <drepper@gmail.com>
55959
a4b89fd8
AR
55960 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
55961 RE_SYNTAX_POSIX_AWK): Update to match recent development.
55962 Patch by Aharon Robbins <arnold@skeeve.com>.
55963
ea389b12
UD
55964 [BZ #11892]
55965 * stdlib/putenv.c (putenv): Don't always create copy of the variable
55966 on the stack.
55967
68a3f91f
UD
55968 [BZ #11895]
55969 * misc/pselect.c (__pselect): Handle timeout value errors hidden
55970 through underflows.
55971
15cc7dd1
UD
55972 [BZ #12766]
55973 * misc/error.c (error_at_line): Ensure file_name and old_file_name
55974 point to strings before performing equality test for error_one_per_line
55975 mode.
55976
f3799213
UD
55977 [BZ #11697]
55978 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
55979
d79a9c94
UD
55980 [BZ #11820]
55981 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55982 (struct user_fpregs_struct): Avoid __uint*_t types.
55983
56e5eb46
UD
55984 [BZ #6420]
55985 * malloc/mtrace.c (tr_where): Add additional parameter to point to
55986 symbol info. Use it instead of calling _dl_addr locally.
55987 (lock_and_info): New function.
55988 (tr_freehook): Call lock_and_info and pass symbol info as additional
55989 parameter to tr_where.
55990 (tr_mallochook): Likewise.
55991 (tr_reallochook): Likewise.
55992 (tr_memalignhook): Likewise.
55993
6ce75379
UD
55994 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
55995 used and couldn't be at all thread-safe.
55996
f8a3b5bf
UD
559972011-05-15 Ulrich Drepper <drepper@gmail.com>
55998
94b7cc37
UD
55999 * libio/freopen.c (freopen): Don't close old file descriptor
56000 before the new one is opened. Instead dup the new file descriptor
56001 to the old one after the new stream is created.
56002 * libio/freopen64.c (freopen64): Likewise.
56003 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56004 * libio/fileops.c (_IO_new_file_close_it): Handle new
56005 _IO_FLAGS2_NOCLOSE flag.
56006 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56007 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56008 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56009 _IO_FLAGS2_NOCLOSE flag.
56010 * include/unistd.h: Add hidden_proto for dup3.
56011 Define __have_dup3.
56012 * io/dup3.c: Define hidden symbol.
56013 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56014
bd25564e
UD
56015 [BZ #7101]
56016 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56017 when an incomplete long option is used.
56018 * posix/tst-getopt_long1.c: New file.
56019 * posix/Makefile (tests): Add tst-getopt_long1.
56020
c84cfef4
UD
56021 [BZ #10138]
56022 * scripts/config.guess: Update from autoconf-2.68.
56023 * scripts/config.sub: Likewise.
56024
3b85df27
UD
56025 [BZ #10157]
56026 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56027 tests into ...
56028 (has_cpuclock): ...this. New function.
56029 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56030 macro here based on has_cpuclock code.
56031
15a856b1
UD
56032 [BZ #10149]
56033 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56034 First byte (not low byte) is now always NUL.
56035 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56036
05f399e6
UD
56037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56038 Use non-cancelable interfaces.
56039
10a52685 56040 [BZ #9809]
94ecc67d
UD
56041 * locale/iso-639.def: Add entry for Sorani.
56042
f8a3b5bf
UD
56043 [BZ #11901]
56044 * include/stdlib.h: Move include protection to the right place.
56045 Define abort_msg_s. Declare __abort_msg with it.
56046 * stdlib/abort.c (__abort_msg): Adjust type.
56047 * assert/assert.c (__assert_fail_base): New function. Majority
56048 of code from __assert_fail. Allocate memory for __abort_msg with
56049 mmap.
56050 (__assert_fail): Now call __assert_fail_base.
56051 * assert/assert-perr.c: Remove bulk of implementation. Use
56052 __assert_fail_base.
56053 * include/assert.hL Declare __assert_fail_base.
56054 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56055 mmap.
56056 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56057
1af4e298
UD
560582011-05-14 Ulrich Drepper <drepper@gmail.com>
56059
f8a3b5bf 56060 [BZ #11952]
d26dfc60
MG
56061 [BZ #12453]
56062 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56063 until all modules are registered in the DTV.
56064 * elf/Makefile: Add rules to build and run tst-tls19.
56065 * elf/tst-tls19.c: New file.
56066 * elf/tst-tls19mod1.c: New file.
56067 * elf/tst-tls19mod2.c: New file.
56068 * elf/tst-tls19mod3.c: New file.
56069 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56070
2fc54d6f
UD
56071 [BZ #12083]
56072 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56073 correctly.
56074
98d76b46
UD
56075 [BZ #12601]
56076 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56077 two-byte sequence errors.
56078 * iconvdata/Makefile (tests): Add bug-iconv8.
56079 * iconvdata/bug-iconv8.c: New file.
56080
da3c19ef
UD
56081 [BZ #12626]
56082 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56083 buf2 definition.
56084
ca408c15
UD
56085 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56086
d6f67f7d
UD
56087 [BZ #12432]
56088 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56089 (dummy_getcfa): New function.
56090 (init): Get _Unwind_GetCFA address, use dummy if not found.
56091 (backtrace_helper): In recursion check, also check whether CFA changes.
56092 (__backtrace): Completely initialize arg.
56093
1af4e298 56094 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
56095 storing incomplete byte sequence in state object. Avoid testing for
56096 guaranteed too small input if we know there is enough data available.
1af4e298 56097
da62f81b
AS
560982011-05-11 Andreas Schwab <schwab@redhat.com>
56099
56100 * Makeconfig (+link-pie): Indent.
56101 * Rules (binaries-pie): Define if $(have-fpie) and
56102 $(build-shared).
56103 (binaries-shared): Also filter out $(binaries-pie).
56104 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56105 * nscd/Makefile (others-pie): Add nscd.
56106 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56107 ($(objpfx)nscd): Remove command override.
56108 * login/Makefile (others-pie): Add pt_chown.
56109 ($(objpfx)pt_chown): Remove command override.
56110 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56111 remove command overrides.
56112
fcabc0f8
UD
561132011-05-13 Ulrich Drepper <drepper@gmail.com>
56114
20030ae6
UD
56115 * libio/tst_putwc.c: Fix error messages.
56116
fcabc0f8
UD
56117 [BZ #12724]
56118 * libio/fileops.c (_IO_new_file_close_it): Always flush when
56119 currently writing and seek to current position when not.
56120 * libio/Makefile (tests): Add bug-fclose1.
56121 * libio/bug-fclose1.c: New file.
56122
320a5dc0
PB
561232011-05-12 Ulrich Drepper <drepper@gmail.com>
56124
56125 [BZ #12511]
56126 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56127 don't set DF_1_NODELETE here.
56128 (do_lookup_x): When entering new entry test for copy relocation
56129 and if necessary set DF_1_NODELETE flag.
56130 * elf/tst-unique4.cc: New file.
56131 * elf/tst-unique4.h: New file.
56132 * elf/tst-unique4lib.cc: New file.
56133 * elf/Makefile: Add rules to build and run tst-unique4.
56134 Patch by Piotr Bury <pbury@goahead.com>.
56135
22836f52
UD
561362011-05-11 Ulrich Drepper <drepper@gmail.com>
56137
f574184a
UD
56138 [BZ #12052]
56139 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56140
e1fb097f
UD
56141 [BZ #12625]
56142 * misc/mntent_r.c (addmntent): Flush the stream after the output
56143
22836f52
UD
56144 [BZ #12393]
56145 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56146 (is_trusted_path_normalize): Skip initial colon. Append slash
56147 to empty buffer. Duplicate is_trusted_path code but allow
56148 constructed patch to be prefix.
56149 (is_dst): Allow $ORIGIN followed by /.
56150 (_dl_dst_substitute): Correct clearing of check_for_trusted.
56151 Correct testing of result of is_trusted_path_normalize
56152 (decompose_rpath): Fix warning.
56153
7b3b0b2a
UD
561542011-05-10 Ulrich Drepper <drepper@gmail.com>
56155
56156 [BZ #11257]
56157 * grp/initgroups.c (internal_getgrouplist): When we found the service
56158 list through the initgroups entry in nsswitch.conf do not always
56159 continue on a successful lookup. Don't always use the
eac80ce2 56160 __nss_group_database value if it is set.
7b3b0b2a
UD
56161 * nss/nsswitch.conf (initgroups): Change action for successful db
56162 lookup to continue for compatibility.
56163
2a81eaa5
UD
561642011-05-09 Ulrich Drepper <drepper@gmail.com>
56165
be97a69e
UD
56166 [BZ #11532]
56167 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56168 and CP774 modules.
56169 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56170 and CP774 modules.
56171 * iconvdata/tst-tables.sh: Likewise.
56172 * iconvdata/cp770.c: New file.
56173 * iconvdata/cp771.c: New file.
56174 * iconvdata/cp772.c: New file.
56175 * iconvdata/cp773.c: New file.
56176 * iconvdata/cp774.c: New file.
56177 * iconvdata/testdata/CP770: New file.
56178 * iconvdata/testdata/CP770..UTF8: New file.
56179 * iconvdata/testdata/CP771: New file.
56180 * iconvdata/testdata/CP771..UTF8: New file.
56181 * iconvdata/testdata/CP772: New file.
56182 * iconvdata/testdata/CP772..UTF8: New file.
56183 * iconvdata/testdata/CP773: New file.
56184 * iconvdata/testdata/CP773..UTF8: New file.
56185 * iconvdata/testdata/CP774: New file.
56186 * iconvdata/testdata/CP774..UTF8: New file.
56187
56188 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56189 END CHARMAP line.
56190 * iconvdata/gen-8bit-gap.sh: Likewise.
56191 * iconvdata/gen-8bit.sh: Likewise.
56192
c1e9e399
UD
56193 * locale/iso-639.def: Add ary entry.
56194
24c55fb3 56195 [BZ #11258]
96b4b1b0
UD
56196 * locale/C-translit.h.in: Add U20A1 transliteration.
56197
bdc2f971
KB
56198 [BZ #12178]
56199 * locale/iso-639.def: Add wae entry.
56200 Patch by Kevin Bortis <bortis@translate-wae.ch>.
56201
2952b117
UD
56202 [BZ #12545]
56203 * locale/programs/localedef.c (construct_output_path): Use ssize_t
56204 for n.
56205
2a81eaa5
UD
56206 [BZ #12711]
56207 * locale/C-translit.h.in: Add entry for U20B9.
56208 Patch by pravin.d.s@gmail.com.
56209
28377d1b
UD
562102011-05-08 Ulrich Drepper <drepper@gmail.com>
56211
7fb90fb8
UD
56212 [BZ #12713]
56213 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56214 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
56215 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
56216 in rtld. Use *stat64.
7fb90fb8 56217 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 56218 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 56219 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
56220 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56221 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56222 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56223 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56224 __fstatat64 macros.
7fb90fb8
UD
56225 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56226 * dirent/rewinddir.c: Add libc_hidden_def.
56227 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 56228 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 56229
28377d1b
UD
56230 * include/dirent.h (__alloc_dir): Add flags parameter.
56231 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56232 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56233 __alloc_dir.
56234 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56235 from fdopendir if O_CLOEXEC is already set.
56236
66bdbaa4
AM
562372011-03-15 Alan Modra <amodra@gmail.com>
56238
56239 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56240 l_tls_firstbyte_offset non-zero. Save padding offset in
56241 l_tls_firstbyte_offset for later use.
56242 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56243 freeing static tls block.
56244
95721191
JN
562452011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56246
56247 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56248 where #ifdef was intended. The intent is to prevent ARG_MAX from
56249 being defined by the kernel headers.
56250
f87dfb1f
UD
562512011-05-07 Ulrich Drepper <drepper@gmail.com>
56252
56253 [BZ #12734]
56254 * resolv/resolv.h: Define RES_NOTLDQUERY.
56255 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56256 no-tld-query and set RES_NOTLDQUERY.
56257 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56258 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56259 modern BIND to search name as TLD unless forbidden.
56260
47c3cd7a
UD
562612011-05-07 Petr Baudis <pasky@suse.cz>
56262 Ulrich Drepper <drepper@gmail.com>
56263
56264 [BZ #12393]
56265 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56266 (is_trusted_path): ...to here.
c1e9ea35 56267 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 56268 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 56269 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 56270
8a35c912
PP
562712011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56272
56273 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56274 __BEGIN/__END_DECLS.
56275
acd41f47
UD
562762011-05-06 Ulrich Drepper <drepper@gmail.com>
56277
56278 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56279 NSS_STATUS_NOTFOUND if no record was found.
56280
597df647
AS
562812011-05-05 Andreas Schwab <schwab@redhat.com>
56282
56283 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56284 (headers-not-in-tirpc): Remove rpc/netdb.h
56285 * resolv/netdb.h: Revert last change.
56286
b9af1301
PP
562872011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56288
56289 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56290 circular dependency between libgcc.a and libc.a.
56291
4e34d5f5
AS
562922011-05-05 Andreas Schwab <schwab@redhat.com>
56293
56294 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56295 * nis/Makefile: Don't install rpcsvc/*.
56296 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56297 instead of <rpc/types.h>.
56298 (MAXHOSTNAMELEN): Define.
56299
00ee369c
AS
563002011-05-03 Andreas Schwab <schwab@redhat.com>
56301
56302 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56303
0b592a30
MB
563042011-04-28 Maciej Babinski <mbabinski@google.com>
56305
56306 [BZ #12714]
56307 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56308 gethostbyname4_r when IPv6 results are possible.
56309
6e04cbbe
UD
563102011-05-02 Ulrich Drepper <drepper@gmail.com>
56311
56312 [BZ #12723]
56313 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56314 _PC_PIPE_BUF handling.
56315
e4ecafe0
BH
563162011-04-30 Bruno Haible <bruno@clisp.org>
56317
56318 [BZ #12717]
56319 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56320 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56321 to 'int'.
56322 * inet/getnameinfo.c (getnameinfo): Likewise.
56323
125ee683
UD
563242011-04-29 Ulrich Drepper <drepper@gmail.com>
56325
56326 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56327 to groups setting in database lookup.
56328 * nss/nsswitch.conf: Add initgroups entry.
56329
b722481a
EB
563302011-04-22 Ulrich Drepper <drepper@gmail.com>
56331
56332 [BZ #12685]
56333 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56334 mode string.
56335 Patch by Eric Blake <eblake@redhat.com>.
56336
4df46dbd
L
563372011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56338
56339 * sunrpc/Makefile (need-export-routines): Add svc_run.
56340 (routines): Remove svc_run.
56341 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56342 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56343 * sunrpc/svc_run.c (svc_run): Likewise.
56344 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56345
e84142d2
UD
563462011-04-21 Ulrich Drepper <drepper@gmail.com>
56347
56348 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56349 problem in reallocation in last patch.
56350
877175d8
UD
563512011-04-20 Ulrich Drepper <drepper@gmail.com>
56352
56353 * sunrpc/Makefile: Move inclusion of Rules.
56354
ab8eed78
UD
563552011-04-19 Ulrich Drepper <drepper@gmail.com>
56356
56357 * nss/nss_files/files-initgroups.c: New file.
56358 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56359 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56360 _nss_files_initgroups_dyn.
56361
e3d8f584
RS
563622011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56363
56364 * elf/elf.h (R_ARM_IRELATIVE): Define.
56365
af190f45
UD
563662011-04-19 Ulrich Drepper <drepper@gmail.com>
56367
56368 * po/ru.po: Update from translation team.
56369
53cf59ef
UD
563702011-04-17 Ulrich Drepper <drepper@gmail.com>
56371
56372 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56373 dependencies.
56374
4c559bcd
MF
563752011-02-06 Mike Frysinger <vapier@gentoo.org>
56376
56377 [BZ #12653]
56378 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56379 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56380 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56381 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56382 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56383
4420675c
AS
563842011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56385
56386 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56387 differing bytes.
56388 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56389 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56390 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56391
75ea32ab
UD
563922011-04-17 Ulrich Drepper <drepper@gmail.com>
56393
56394 [BZ #12420]
56395 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56396 storing it.
56397 * stdlib/bug-getcontext.c: New file.
56398 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56399
27390476
AK
564002011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56401
56402 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56403 instructions into .machine "z9-109".
56404 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56405 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56406
10442705
AK
564072011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56408
56409 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56410 between environment variables and auxiliary vector.
56411
7b57bfe5
UD
564122011-04-16 Ulrich Drepper <drepper@gmail.com>
56413
56414 * Makefile: Add rules to build linkobj/libc.so.
56415 * include/libc-symbols.h: Define libc_hidden_nolink.
56416 * include/rpc/auth.h: Mark functions which are to be hidden.
56417 * include/rpc/auth_des.h: Likewise.
56418 * include/rpc/auth_unix.h: Likewise.
56419 * include/rpc/clnt.h: Likewise.
56420 * include/rpc/des_crypt.h: Likewise.
56421 * include/rpc/key_prot.h: Likewise.
56422 * include/rpc/pmap_clnt.h: Likewise.
56423 * include/rpc/pmap_prot.h: Likewise.
56424 * include/rpc/pmap_rmt.h: Likewise.
56425 * include/rpc/rpc_msg.h: Likewise.
56426 * include/rpc/svc.h: Likewise.
56427 * include/rpc/svc_auth.h: Likewise.
56428 * include/rpc/xdr.h: Likewise.
56429 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56430 * nss/Makefile: Likewise.
56431 * sunrpc/Makefile: Don't install headers. Build library with normal
56432 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56433 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56434 for the compat linking library. Remove use of INTDEF/INTUSE.
56435 * sunrpc/auth_none.c: Likewise.
56436 * sunrpc/auth_unix.c: Likewise.
56437 * sunrpc/authdes_prot.c: Likewise.
56438 * sunrpc/authuxprot.c: Likewise.
56439 * sunrpc/clnt_gen.c: Likewise.
56440 * sunrpc/clnt_perr.c: Likewise.
56441 * sunrpc/clnt_raw.c: Likewise.
56442 * sunrpc/clnt_simp.c: Likewise.
56443 * sunrpc/clnt_tcp.c: Likewise.
56444 * sunrpc/clnt_udp.c: Likewise.
56445 * sunrpc/clnt_unix.c: Likewise.
56446 * sunrpc/des_crypt.c: Likewise.
56447 * sunrpc/des_soft.c: Likewise.
56448 * sunrpc/get_myaddr.c: Likewise.
56449 * sunrpc/key_call.c: Likewise.
56450 * sunrpc/key_prot.c: Likewise.
56451 * sunrpc/netname.c: Likewise.
56452 * sunrpc/pm_getmaps.c: Likewise.
56453 * sunrpc/pm_getport.c: Likewise.
56454 * sunrpc/pmap_clnt.c: Likewise.
56455 * sunrpc/pmap_prot.c: Likewise.
56456 * sunrpc/pmap_prot2.c: Likewise.
56457 * sunrpc/pmap_rmt.c: Likewise.
56458 * sunrpc/publickey.c: Likewise.
56459 * sunrpc/rpc_cmsg.c: Likewise.
56460 * sunrpc/rpc_common.c: Likewise.
56461 * sunrpc/rpc_dtable.c: Likewise.
56462 * sunrpc/rpc_prot.c: Likewise.
56463 * sunrpc/rpc_thread.c: Likewise.
56464 * sunrpc/rtime.c: Likewise.
56465 * sunrpc/svc.c: Likewise.
56466 * sunrpc/svc_auth.c: Likewise.
56467 * sunrpc/svc_authux.c: Likewise.
56468 * sunrpc/svc_raw.c: Likewise.
56469 * sunrpc/svc_run.c: Likewise.
56470 * sunrpc/svc_simple.c: Likewise.
56471 * sunrpc/svc_tcp.c: Likewise.
56472 * sunrpc/svc_udp.c: Likewise.
56473 * sunrpc/svc_unix.c: Likewise.
56474 * sunrpc/svcauth_des.c: Likewise.
56475 * sunrpc/xcrypt.c: Likewise.
56476 * sunrpc/xdr.c: Likewise.
56477 * sunrpc/xdr_array.c: Likewise.
56478 * sunrpc/xdr_float.c: Likewise.
56479 * sunrpc/xdr_intXX_t.c: Likewise.
56480 * sunrpc/xdr_mem.c: Likewise.
56481 * sunrpc/xdr_rec.c: Likewise.
56482 * sunrpc/xdr_ref.c: Likewise.
56483 * sunrpc/xdr_sizeof.c: Likewise.
56484 * sunrpc/xdr_stdio.c: Likewise.
56485
e6c61494
UD
564862011-04-10 Ulrich Drepper <drepper@gmail.com>
56487
56488 [BZ #12650]
56489 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56490 * sysdeps/ia64/dl-tls.h: Likewise.
56491 * sysdeps/powerpc/dl-tls.h: Likewise.
56492 * sysdeps/s390/dl-tls.h: Likewise.
56493 * sysdeps/sh/dl-tls.h: Likewise.
56494 * sysdeps/sparc/dl-tls.h: Likewise.
56495 * sysdeps/x86_64/dl-tls.h: Likewise.
56496 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56497
34fe483e
AS
564982011-03-14 Andreas Schwab <schwab@redhat.com>
56499
56500 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56501 rpath element also skip the following colon.
56502 (expand_dynamic_string_token): Add is_path parameter and pass
56503 down to DL_DST_REQUIRED and _dl_dst_substitute.
56504 (decompose_rpath): Call expand_dynamic_string_token with
56505 non-zero is_path. Ignore empty rpaths.
56506 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56507 with zero is_path.
56508
f12a32e6
AS
565092011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56510
56511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56512 Make cancelable.
56513
38a7d692
UD
565142011-04-09 Ulrich Drepper <drepper@gmail.com>
56515
56516 [BZ #12655]
56517 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56518 Patch by Filipe David Manana <fdmanana@apache.org>.
56519
e451d22b
AS
565202011-04-07 Andreas Schwab <schwab@redhat.com>
56521
56522 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56523 Maintain aligned stack.
56524 (CHECK_RSP): Remove unused macro.
56525
dedc7c7b
UD
565262011-04-03 Ulrich Drepper <drepper@gmail.com>
56527
56528 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56529 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56530
94521213
UD
565312011-04-02 Ulrich Drepper <drepper@gmail.com>
56532
56533 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56534
8cb700c0 56535 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56536
0354e355
L
565372011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56538
56539 [BZ #12518]
56540 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56541 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56542 * sysdeps/x86_64/memmove.c: New file.
56543 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56544 (memcpy): Renamed to ...
56545 (__new_memcpy): This.
56546 (memcpy): Provide GLIBC_2_14 memcpy.
56547 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56548 (memcpy): Provide GLIBC_2_2_5 memcpy.
56549
8593482f
UD
565502011-04-01 Ulrich Drepper <drepper@gmail.com>
56551
56552 [BZ #12631]
56553 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56554
81a5726b
AS
565552011-03-30 Andreas Schwab <schwab@redhat.com>
56556
56557 * misc/syncfs.c: New file.
56558 * misc/Makefile (routines): Add syncfs.
56559 * posix/unistd.h: Declare syncfs.
56560 * sysdeps/unix/syscalls.list: Add syncfs.
56561
00e5419f
AS
565622011-04-01 Andreas Schwab <schwab@redhat.com>
56563
56564 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56565 open_by_handle_at.
56566 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56567 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56568 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56569 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56570 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56571 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
56572 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56573
748876bf
UD
565742011-04-01 Ulrich Drepper <drepper@gmail.com>
56575
658e451d
UD
56576 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56577 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56578 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56579 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56580 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56581 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56582 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56583
748876bf
UD
56584 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56585 sync_file_range.c with -fexceptions.
56586 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56587 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56588 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56589 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56590 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56591 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56592 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56593 sync_file_range as cancellation point
56594 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56595 now a wrapper around __call_sync_file_range with cancellation handling.
56596 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56597 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56598 function name to __call_sync_file_range.
56599 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56600 Add call_sync_file_range.
748876bf 56601
6e63d5e1
AS
566022011-04-01 Andreas Schwab <schwab@redhat.com>
56603
56604 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56605 bits/timex.h.
6e63d5e1 56606
46998f74
UD
566072011-04-01 Ulrich Drepper <drepper@gmail.com>
56608
4c1423ed
UD
56609 * iconv/iconv.h: Fix typo in comment.
56610 * io/fcntl.h: Likewise.
56611 * libio/stdio.h: Likewise.
56612 * posix/spawn.h: Likewise.
56613 * posix/unistd.h: Likewise.
56614 * stdlib/stdlib.h: Likewise.
56615 * time/time.h: Likewise.
56616 * wcsmbs/wchar.h: Likewise.
56617
158648c0
UD
56618 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56619 open_by_handle): Add.
56620 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56621 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56622 Augment a few comments.
56623 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56624 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56625 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56626 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56627 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56628 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56629 open_by_handle.
56630
46998f74
UD
56631 * io/fcntl.h (AT_EMPTY_PATH): Define.
56632
83fe108b
UD
566332011-03-30 Ulrich Drepper <drepper@gmail.com>
56634
56635 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56636 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56637 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56638 to...
56639 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56640 * Versions.def: Add GLIBC_2.14.
56641 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56642 Export.
83fe108b 56643
bb242059
UD
566442011-03-22 Ulrich Drepper <drepper@gmail.com>
56645
56646 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56647 round counter.
56648 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56649
c97a1282
L
566502011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56651
56652 [BZ #12597]
56653 * string/test-strncmp.c (do_page_test): New function.
56654 (check2): Likewise.
56655 (test_main): Call check2.
56656 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56657
2a115601
UD
566582011-03-20 Ulrich Drepper <drepper@gmail.com>
56659
56660 [BZ #12587]
56661 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56662 Handle cache information in CPU leaf 4.
56663 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56664
8126d904
UD
566652011-03-18 Ulrich Drepper <drepper@gmail.com>
56666
042c49c6 56667 [BZ #12583]
8126d904
UD
56668 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56669 character representation.
56670 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56671
ccfe366e
RA
566722011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56673
56674 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56675 END(__isnan) to END(__isnanf) to match function entry point/label
56676 EALIGN(__isnanf,...).
56677
c6e13027
JJ
566782011-03-10 Jakub Jelinek <jakub@redhat.com>
56679
56680 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56681
33f85a3f
UD
566822011-03-10 Ulrich Drepper <drepper@gmail.com>
56683
028478fa
UD
56684 [BZ #12510]
56685 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56686 copy from the symbol referenced in the relocation to initialize the
56687 used variable.
56688 Patch by Piotr Bury <pbury@goahead.com>.
56689 * elf/Makefile: Add rules to build and tst-unique3.
56690 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56691 * elf/tst-unique3.cc: New file.
56692 * elf/tst-unique3.h: New file.
56693 * elf/tst-unique3lib.cc: New file.
56694 * elf/tst-unique3lib2.cc: New file.
56695
33f85a3f
UD
56696 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56697
03592fc7
MF
566982011-03-10 Mike Frysinger <vapier@gentoo.org>
56699
56700 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56701 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56702 to _start.
03592fc7 56703
6a5ee102
UD
567042011-03-06 Ulrich Drepper <drepper@gmail.com>
56705
56706 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56707 to-be-loaded object along a path to loader is ld.so.
56708
7e4ba49c
HJ
567092011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56710 Ulrich Drepper <drepper@gmail.com>
56711
56712 * sysdeps/x86_64/memset.S: After aligning destination, code
56713 branches to different locations depending on the value of
56714 misalignment, when multiarch is enabled. Fix this.
56715
567162011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56717
56718 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56719 Set _x86_64_preferred_memory_instruction for AMD processsors.
56720 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56721 Set bit_Prefer_SSE_for_memop for AMD processors.
56722
13a804de
UD
567232011-03-04 Ulrich Drepper <drepper@gmail.com>
56724
56725 * libio/fmemopen.c (fmemopen): Optimize a bit.
56726
9d25c392
AS
567272011-03-03 Andreas Schwab <schwab@redhat.com>
56728
56729 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56730
a5543c6a
RM
567312011-03-03 Roland McGrath <roland@redhat.com>
56732
56733 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56734
012d35f7
DM
567352011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56736
7e4ba49c 56737 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56738 __bzero_ultra1 instead of __memset_ultra1.
56739
4bff6e01
AS
567402011-02-23 Andreas Schwab <schwab@redhat.com>
56741 Ulrich Drepper <drepper@gmail.com>
56742
56743 [BZ #12509]
56744 * include/link.h (struct link_map): Add l_orig_initfini.
56745 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56746 returning unsuccessfully.
56747 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56748 close of a file loaded at startup, restore the original l_initfini
56749 list.
56750 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56751 list, store the pointer.
56752 * elf/Makefile ($(objpfx)noload-mem): New rule.
56753 (noload-ENV): Define.
56754 (tests): Add $(objpfx)noload-mem.
56755 * elf/noload.c: Include <memcheck.h>.
56756 (main): Call mtrace. Close all opened handles.
56757
f2092faf
AS
567582011-02-17 Andreas Schwab <schwab@redhat.com>
56759
56760 [BZ #12454]
56761 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56762 dependencies are missing.
56763
6c8a2e88
ST
567642011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56765
f2092faf 56766 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56767 Hurd needs munmap.
56768 * sysdeps/mach/hurd/ifreq.h: New file.
56769
84a42118
PB
567702011-01-27 Petr Baudis <pasky@suse.cz>
56771 Ulrich Drepper <drepper@gmail.com>
56772
071f805e 56773 [BZ 12445]#
84a42118
PB
56774 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56775 to extend_alloca().
56776 * stdio-common/bug23.c: New file.
56777 * stdio-common/Makefile (tests): Add bug23.
56778
e23fe25b
AS
567792010-09-28 Andreas Schwab <schwab@redhat.com>
56780 Ulrich Drepper <drepper@gmail.com>
56781
56782 [BZ #12489]
56783 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56784 before performing relro protection. At old place add assertion
56785 to make sure nothing changed.
56786
d3f02e10
NS
567872011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56788 Glauber de Oliveira Costa <glommer@gmail.com>
56789
56790 * elf/elf.h: Add new ARM TLS relocs.
56791
d55fd7a5
RA
567922011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56793
56794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56795 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56796 cast from r3.
56797 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56798 'tests' variable.
56799 * sysdeps/wordsize-64/tst-writev.c: New file.
56800
2206397e
RA
568012011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56802
56803 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56804 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56805 insns in _dl_start to prevent a TOC reference before relocs are
56806 resolved.
56807
e9433893
UD
568082011-02-15 Ulrich Drepper <drepper@gmail.com>
56809
56810 [BZ #12469]
56811 * Makeconfig: Remove RANLIB definition.
56812 * Makerules: Don't use RANLIB.
56813 * aclocal.m4: Remove ranlib test.
56814 * configure.in: No need to check for ranlib.
56815 * elf/rtld-Rules: Don't use RANLIB.
56816
f75286c6
ST
568172011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56818
8e31c82d
ST
56819 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56820 protection macro.
56821 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56822 inclusion protection macro.
56823
f75286c6
ST
56824 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56825 SIGRTMIN and SIGRTMAX and print information in that case only when
56826 SIGRTMIN is defined.
56827
c1d0e639
JJ
568282011-02-11 Jakub Jelinek <jakub@redhat.com>
56829
56830 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56831 arginfo fn returning -1.
56832
56833 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56834 and thousands string is zero terminated.
56835
edf9294e
AS
568362011-02-03 Andreas Schwab <schwab@redhat.com>
56837
56838 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56839 sysdeps/unix/sysv/linux/bits/socket.h.
56840
2b7e92df
ST
568412011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56842
edf9294e
AS
56843 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56844 (__CPU_COUNT): Remove old macros.
56845 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56846 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56847 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56848 (__sched_cpualloc, __sched_cpufree): Add declarations.
56849
a4c7ea7b
UD
568502011-02-05 Ulrich Drepper <drepper@gmail.com>
56851
56852 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56853 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56854 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56855 (readdhstai): Return value of addhstaiX call.
56856 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56857 (addgrbyX): Return value returned by cache_addgr.
56858 (readdgrbyname): Return value returned by addgrbyX.
56859 (readdgrbygid): Likewise.
56860 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56861 (addpwbyX): Return value returned by cache_addpw.
56862 (readdpwbyname): Return value returned by addhstbyX.
56863 (readdpwbyuid): Likewise.
56864 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56865 (addservbyX): Return value returned by cache_addserv.
56866 (readdservbyname): Return value returned by addservbyX:
56867 (readdservbyport): Likewise.
56868 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56869 (addhstbyX): Return value returned by cache_addhst.
56870 (readdhstbyname): Return value returned by addhstbyX.
56871 (readdhstbyaddr): Likewise.
56872 (readdhstbynamev6): Likewise.
56873 (readdhstbyaddrv6): Likewise.
56874 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56875 (readdinitgroups): Return value returned by addinitgroupsX.
56876 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56877 (prune_cache): Keep track of timeout value of re-added entries.
56878 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56879 * nscd/nscd.h: Adjust prototypes of readd* functions.
56880
a0bf67cc
RM
568812011-02-04 Roland McGrath <roland@redhat.com>
56882
56883 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56884 (nis_stats): Likewise.
56885 * nis/nis_modify.c (nis_modify): Likewise.
56886 * nis/nis_remove.c (nis_remove): Likewise.
56887 * nis/nis_add.c (nis_add): Likewise.
56888
56889 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56890
56891 * posix/fnmatch_loop.c: Add some consts.
56892
56893 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56894
435b95eb
L
568952011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56896
56897 [BZ #12460]
56898 * config.make.in (config-cflags-novzeroupper): Define.
56899 * configure.in: Substitute libc_cv_cc_novzeroupper.
56900 * elf/Makefile (AVX-CFLAGS): Define.
56901 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56902 (CFLAGS-tst-auditmod4a.c): Likewise.
56903 (CFLAGS-tst-auditmod4b.c): Likewise.
56904 (CFLAGS-tst-auditmod6b.c): Likewise.
56905 (CFLAGS-tst-auditmod6c.c): Likewise.
56906 (CFLAGS-tst-auditmod7b.c): Likewise.
56907 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56908
8517b15e
UD
569092011-02-02 Ulrich Drepper <drepper@gmail.com>
56910
56911 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56912 function to the callback.
56913 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56914
10a656fe
AS
569152011-02-02 Andreas Schwab <schwab@redhat.com>
56916
56917 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56918 of errno.
56919
968dad0a
UD
569202011-01-19 Ulrich Drepper <drepper@gmail.com>
56921
9f94d2ea 56922 [BZ #11724]
968dad0a
UD
56923 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56924 of constructors.
56925 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56926 of destructors.
56927 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56928
56929 [BZ #11724]
56930 * elf/Makefile: Add rules to build and run new test.
56931 * elf/tst-initorder.c: New file.
56932 * elf/tst-initorder.exp: New file.
56933 * elf/tst-initordera1.c: New file.
56934 * elf/tst-initordera2.c: New file.
56935 * elf/tst-initordera3.c: New file.
56936 * elf/tst-initordera4.c: New file.
56937 * elf/tst-initorderb1.c: New file.
56938 * elf/tst-initorderb2.c: New file.
56939 * elf/tst-order-a1.c: New file.
56940 * elf/tst-order-a2.c: New file.
56941 * elf/tst-order-a3.c: New file.
56942 * elf/tst-order-a4.c: New file.
56943 * elf/tst-order-b1.c: New file.
56944 * elf/tst-order-b2.c: New file.
56945 * elf/tst-order-main.c: New file.
56946 New test case by George Gensure <werkt0@gmail.com>.
56947
86e92359
UD
569482010-10-01 Andreas Schwab <schwab@redhat.com>
56949
56950 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
56951 decoding ACE if AI_CANONIDN.
56952
5d5732b0
UD
569532011-01-18 Ulrich Drepper <drepper@gmail.com>
56954
56955 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
56956
a77e8cbc
UD
569572011-01-17 Ulrich Drepper <drepper@gmail.com>
56958
6392473f
UD
56959 * version.h (RELEASE): Bump for 2.13 release.
56960 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
56961
620a0529
UD
56962 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
56963
18ba70a5
UD
56964 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
56965 MADV_NOHUGEPAGE.
32465c3e
UD
56966 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
56967 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
56968 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
56969 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
56970 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
56971 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
56972
c0dafcf1
UD
56973 * posix/getconf.c: Update copyright year.
56974 * catgets/gencat.c: Likewise.
56975 * csu/version.c: Likewise.
56976 * debug/catchsegv.sh: Likewise.
56977 * debug/xtrace.sh: Likewise.
56978 * elf/ldconfig.c: Likewise.
56979 * elf/ldd.bash.in: Likewise.
56980 * elf/sprof.c (print_version): Likewise.
56981 * iconv/iconv_prog.c: Likewise.
56982 * iconv/iconvconfig.c: Likewise.
56983 * locale/programs/locale.c: Likewise.
56984 * locale/programs/localedef.c: Likewise.
56985 * malloc/memusage.sh: Likewise.
56986 * malloc/mtrace.pl: Likewise.
56987 * nscd/nscd.c (print_version): Likewise.
56988 * nss/getent.c: Likewise.
56989
a77e8cbc
UD
56990 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
56991 PF_CAIF, and PF_ALG.
56992 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
56993
77e8bddf
AS
569942011-01-16 Andreas Schwab <schwab@linux-m68k.org>
56995
1f20b93a
AS
56996 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
56997 (modules-names): Use them.
56998 (ifunc-test-modules, ifunc-pie-tests): Define.
56999 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57000 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57001 (test-extras): Likewise.
57002 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57003 $(compile-command.c).
57004 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57005 (all-built-dso): Define.
57006 (check-textrel.out, check-execstack.out): Depend on it.
57007
77e8bddf
AS
57008 * configure.in: Don't override --enable-multi-arch.
57009
bc425b33
UD
570102011-01-15 Ulrich Drepper <drepper@gmail.com>
57011
57012 [BZ #6812]
57013 * nscd/hstcache.c (tryagain): Define.
57014 (cache_addhst): Return tryagain not notfound for temporary errors.
57015 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57016 failed.
57017
794c3ad3
UD
570182011-01-14 Ulrich Drepper <drepper@gmail.com>
57019
70181fdd
UD
57020 [BZ #10563]
57021 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57022 to make the syscall.
57023 * sysdeps/unix/sysv/linux/setgroups.c: New file.
57024
794c3ad3
UD
57025 [BZ #12378]
57026 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57027 and fall back to matching as normal character if the string ends before
57028 the matching ']' is found. This is what POSIX requires.
57029 * posix/testfnm.c: Adjust test result.
57030 * posix/globtest.sh: Adjust test result. Add new test.
57031 * posix/tst-fnmatch.input: Likewise.
57032 * posix/tst-fnmatch2.c: Add new test.
57033
68dc9497
AS
570342010-12-28 Andreas Schwab <schwab@linux-m68k.org>
57035
57036 * elf/Makefile (check-execstack): Revert last change. Depend on
57037 check-execstack.h.
57038 (check-execstack.h): New target.
57039 (generated): Add check-execstack.h.
57040 * elf/check-execstack.c: Include "check-execstack.h".
57041 (main): Revert last change.
57042 (handle_file): Return zero if GNU_STACK is absent and
57043 DEFAULT_STACK_PERMS doesn't include PF_X.
57044
451f001b
UD
570452011-01-13 Ulrich Drepper <drepper@gmail.com>
57046
cfa28e56
UD
57047 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57048 in child fails because the descriptor is already closed.
8cf8ce17
UD
57049 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57050 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57051 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 57052
1086d70d
UD
57053 [BZ #12397]
57054 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57055 syscall.
57056
451f001b
UD
57057 [BZ #10484]
57058 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57059 temporary buffer used to handle multi lookups locally.
a85b5cb4 57060 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 57061
08769175
UD
570622011-01-12 Ulrich Drepper <drepper@gmail.com>
57063
57064 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57065 loader is ld.so.
57066
5e49c52e
UD
570672011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
57068
57069 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57070 alignment for SSE2.
57071
60522a5f
UD
570722011-01-12 Ulrich Drepper <drepper@gmail.com>
57073
57074 [BZ #12394]
57075 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57076 characters. When rounding increased number of integer digits recompute
57077 number of groups.
57078 * stdio-common/tst-grouping.c: New file.
57079 * stdio-common/Makefile: Add rules to build and run tst-grouping.
57080
f257bbd7
UD
570812011-01-09 Ulrich Drepper <drepper@gmail.com>
57082
57083 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57084 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
57085
57086 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57087 void.
57088 * bits/select.h: Likewise.
57089
fa9c15cb
UD
570902011-01-08 Ulrich Drepper <drepper@gmail.com>
57091
57092 * po/ja.po: Update from translation team.
57093
16c2895f
DM
570942011-01-04 David S. Miller <davem@sunset.davemloft.net>
57095
57096 [BZ #11155]
57097 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57098 implementation just like for lxstat, fxstatat, et al.
57099
2543fef2
JM
571002010-12-27 Jim Meyering <meyering@redhat.com>
57101
57102 [BZ #12348]
57103 * posix/regexec.c (build_trtable): Return failure indication upon
57104 calloc failure. Otherwise, re_search_internal could infloop on OOM.
57105
98727dbe
UD
571062010-12-25 Ulrich Drepper <drepper@gmail.com>
57107
5bd6dc5c
UD
57108 [BZ #12201]
57109 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57110 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57111 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57112 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57113
97983464
UD
57114 [BZ #12207]
57115 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57116
98727dbe
UD
57117 [BZ #12204]
57118 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57119 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57120
4a531bb0
L
571212010-12-15 H.J. Lu <hongjiu.lu@intel.com>
57122
57123 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57124 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57125 script has SORT_BY_INIT_PRIORITY.
57126 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57127 NO_CTORS_DTORS_SECTIONS is defined.
57128 * elf/soinit.c: Likewise.
57129 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57130 NO_CTORS_DTORS_SECTIONS is defined.
57131 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57132 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57133 * sysdeps/sh/init-first.c: Likewise.
57134 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57135
07eb4b71
UD
571362010-12-24 Ulrich Drepper <drepper@gmail.com>
57137
57138 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57139 always use the slow path.
57140
30950a5f
RA
571412010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
57142
57143 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57144 similar rule which adds the sysdep directories to the header search in
57145 order to pick up the correct platform stackinfo.h.
57146 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57147 perform test if it is, otherwise return successfully without testing.
57148 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57149 DEFAULT_STACK_PERMS define in stackinfo.h.
57150 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57151 defined in stackinfo.h.
57152 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57153 DEFAULT_STACK_PERMS defined in stackinfo.h.
57154 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57155 * sysdeps/ia64/stackinfo.h: Likewise.
57156 * sysdeps/s390/stackinfo.h: Likewise.
57157 * sysdeps/sh/stackinfo.h: Likewise.
57158 * sysdeps/sparc/stackinfo.h: Likewise.
57159 * sysdeps/x86_64/stackinfo.h: Likewise.
57160 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57161 PF_X for powerpc64. Retain PF_X for powerpc32.
57162
db753e2c
UD
571632010-12-19 Ulrich Drepper <drepper@gmail.com>
57164
14b697f7
UD
57165 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57166 accurately.
db753e2c
UD
57167 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57168 GETDENTS_64BIT_ALIGNED.
57169
28300719
UD
571702010-12-14 Ulrich Drepper <dreper@gmail.com>
57171
14b697f7 57172 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 57173
4f197237
AS
571742010-12-10 Andreas Schwab <schwab@redhat.com>
57175
dbb0472f
AS
57176 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57177 _GNU_SOURCE.
57178
4f197237
AS
57179 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57180 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57181 Remove __restrict.
57182 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57183 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57184
fb88ac72
UD
571852010-12-09 Ulrich Drepper <drepper@gmail.com>
57186
57187 [BZ #11655]
57188 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57189 are initialized.
57190
42acbb92
JJ
571912010-12-09 Jakub Jelinek <jakub@redhat.com>
57192
57193 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57194
c038d98d
UD
571952010-12-03 Ulrich Drepper <drepper@gmail.com>
57196
57197 * po/it.po: Update from translation team.
57198
3a4a2499
L
571992010-12-01 H.J. Lu <hongjiu.lu@intel.com>
57200
57201 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57202 unused codes.
57203
1e24cf6e
UD
572042010-11-30 Ulrich Drepper <drepper@gmail.com>
57205
57206 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57207
a7690819
AS
572082010-11-24 Andreas Schwab <schwab@redhat.com>
57209
57210 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57211 specially.
57212 (gaih_getanswer_slice): Likewise.
57213
3bf8d1b1
JJ
572142010-10-20 Jakub Jelinek <jakub@redhat.com>
57215
57216 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57217
6db52fbb
PB
572182010-05-31 Petr Baudis <pasky@suse.cz>
57219
57220 [BZ #11149]
57221 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57222 silently even in the chroot mode.
57223
eaca7569
UD
572242010-11-22 Ulrich Drepper <drepper@gmail.com>
57225
57226 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57227 last patch a bit. Pretty printing
57228
3056dcdb
UD
572292010-05-31 Petr Baudis <pasky@suse.cz>
57230
57231 [BZ #10085]
57232 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57233 initialization of skip_initgroups_dyn.
57234
cf7c9078
UD
572352010-11-19 Ulrich Drepper <drepper@gmail.com>
57236
57237 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57238 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57239
a1fb5e3e
UD
572402010-11-16 Ulrich Drepper <drepper@gmail.com>
57241
57242 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57243
3540d66b
AS
572442010-11-11 Andreas Schwab <schwab@redhat.com>
57245
57246 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57247 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57248 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57249 ($(objpfx)tst-fnmatch-mem): New rule.
57250 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57251 * posix/tst-fnmatch.c (main): Call mtrace.
57252
13b69574
L
572532010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57254
57255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57256 Support Intel processor model 6 and model 0x2c.
57257
da93d214
LM
572582010-11-10 Luis Machado <luisgpm@br.ibm.com>
57259
57260 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57261 signed comparison.
57262
8ca52c6e
L
572632010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57264
57265 [BZ #12205]
57266 * string/test-strncasecmp.c (check_result): New function.
57267 (do_one_test): Use it.
57268 (check1): New function.
57269 (test_main): Use it.
57270 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57271 Support strcasecmp and strncasecmp.
57272
69da074d
UD
572732010-11-08 Ulrich Drepper <drepper@gmail.com>
57274
57275 [BZ #12194]
57276 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57277 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57278
ff02d528
L
572792010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57280
57281 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57282 IFUNC support.
57283 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57284 memset-x86-64.
57285 * sysdeps/x86_64/multiarch/bzero.S: New file.
57286 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57287 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57288 * sysdeps/x86_64/multiarch/memset.S: New file.
57289 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57290 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57291 Set bit_Prefer_SSE_for_memop for Intel processors.
57292 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57293 Define.
57294 (index_Prefer_SSE_for_memop): Define.
57295 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57296
344d0b54
LM
572972010-11-04 Luis Machado <luisgpm@br.ibm.com>
57298
57299 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57300 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57301
c0dde15b
UD
573022010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57303
57304 [BZ #12191]
57305 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57306 (__x86_64_raw_data_cache_size_half): Likewise.
57307 (__x86_64_raw_shared_cache_size): Likewise.
57308 (__x86_64_raw_shared_cache_size_half): Likewise.
57309
57310 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57311 (__x86_64_raw_data_cache_size_half): Likewise.
57312 (__x86_64_raw_shared_cache_size): Likewise.
57313 (__x86_64_raw_shared_cache_size_half): Likewise.
57314 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57315 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57316 and __x86_64_raw_shared_cache_size_half. Round
57317 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57318 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57319 to multiple of 256 bytes.
57320
0e516e0e
MS
573212010-11-03 Ulrich Drepper <drepper@gmail.com>
57322
57323 [BZ #12167]
57324 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57325 of inacessible symlinks. Verify result of symlink before returning it.
57326 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57327 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57328
0e012e87
ER
573292010-10-28 Erich Ritz <erichritz@gmail.com>
57330
57331 * math/math.h (isinf): Fix typo in comment.
57332
de0ff7bc
UD
573332010-11-01 Ulrich Drepper <drepper@gmail.com>
57334
57335 * po/da.po: Update from translation team.
57336
fa41c84d
UD
573372010-10-26 Ulrich Drepper <drepper@gmail.com>
57338
57339 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57340 is added to the list.
57341
f0967738
AK
573422010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57343 Ulrich Drepper <drepper@gmail.com>
57344
57345 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57346 the global list here. Move code to...
57347 (_dl_add_to_namespace_list): ...here. New function.
57348 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57349 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57350 * elf/dl-load.c (lose): Don't remove the element from the list.
57351 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57352 (_dl_map_object): Likewise.
57353
573542010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
57355
57356 [BZ #12159]
57357 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57358 into all bytes of SSE register.
57359 Patch by Richard Li <richardpku@gmail.com>.
57360
f0967738 573612010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
57362
57363 [BZ #12140]
57364 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57365 perturbing.
57366
d0b9e94f
MB
573672010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57368
57369 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57370 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57371 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57372 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57374 submachine.
57375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57376
8e9f92e9
AS
573772010-10-22 Andreas Schwab <schwab@redhat.com>
57378
57379 * include/dlfcn.h (__RTLD_SECURE): Define.
57380 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57381 mode & __RTLD_SECURE instead.
57382 (open_path): Rename preloaded parameter to secure.
57383 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57384 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57385 * elf/dl-deps.c (openaux): Likewise.
57386 * elf/rtld.c (struct map_args): Remove is_preloaded.
57387 (map_doit): Don't use it.
57388 (dl_main): Likewise.
57389 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57390 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57391
bc96fbda
AS
573922010-09-09 Andreas Schwab <schwab@redhat.com>
57393
57394 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57395 (sysd-rules-targets): Remove duplicates.
57396 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57397 rtld-%.$o dependency.
57398
22cd1c9b
AS
573992010-10-18 Andreas Schwab <schwab@redhat.com>
57400
57401 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57402 _dl_map_object do it.
57403
18edac48
UD
574042010-10-19 Ulrich Drepper <drepper@gmail.com>
57405
57406 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57407 fast fma builtins, define the macros in the C99 standard.
57408 (FP_FAST_FMAF): Likewise.
57409 (FP_FAST_FMAL): Likewise.
57410 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57411
57412 * bits/mathdef.h: Update copyright year.
57413 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57414
d2050124
MM
574152010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57416
57417 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57418 builtins, define the macros in the C99 standard.
57419 (FP_FAST_FMAF): Likewise.
57420 (FP_FAST_FMAL): Likewise.
57421 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57422 multiply/add.
57423 (FP_FAST_FMAF): Likewise.
57424
475facd1
JJ
574252010-10-15 Jakub Jelinek <jakub@redhat.com>
57426
57427 [BZ #3268]
57428 * math/libm-test.inc (fma_test): Some new testcases.
57429 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57430 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57431 y and infinite z. Do multiplication by C already in long double.
57432 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57433 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57434 y and infinite z. Do bitwise or of inexact bit into u.d.
57435 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57436 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57437 * sysdeps/i386/fpu/s_fma.S: Removed.
57438 * sysdeps/i386/fpu/s_fmal.S: Removed.
57439
7c08a05c
JJ
574402010-10-16 Jakub Jelinek <jakub@redhat.com>
57441
57442 [BZ #3268]
57443 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57445 computation is not scheduled after fetestexcept. Fix value
57446 of minimum denormal long double.
57447
f3f7372d
JJ
574482010-10-14 Jakub Jelinek <jakub@redhat.com>
57449
57450 [BZ #3268]
57451 * math/libm-test.inc (fma_test): Add some more tests.
57452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57453 correctly.
57454
14d43591
AS
574552010-10-15 Andreas Schwab <schwab@redhat.com>
57456
57457 * scripts/data/localplt-s390-linux-gnu.data: New file.
57458 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57459
5e908464
JJ
574602010-10-13 Jakub Jelinek <jakub@redhat.com>
57461
57462 [BZ #3268]
57463 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57464 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57465 instead of dbl-64.
57466 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57467 inlines.
57468 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57469 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57470 if one of x and y is very large and the other is subnormal.
57471 * sysdeps/s390/fpu/s_fmaf.c: New file.
57472 * sysdeps/s390/fpu/s_fma.c: New file.
57473 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57474 * sysdeps/powerpc/fpu/s_fma.S: New file.
57475 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57476 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57477 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57478
574792010-10-12 Jakub Jelinek <jakub@redhat.com>
57480
57481 [BZ #3268]
57482 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57483 fma tests.
57484 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57485 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57486 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57487 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57488 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57489 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57490 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57491
b833d51f
UD
574922010-10-12 Ulrich Drepper <drepper@redhat.com>
57493
57494 [BZ #12078]
57495 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57496 * posix/bug-regex31.input: Add test case.
57497
1751705d
UD
574982010-10-11 Ulrich Drepper <drepper@gmail.com>
57499
e9b9cbf5
UD
57500 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57501 * posix/bug-regex31.input: New file.
57502
57503 [BZ #12078]
57504 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57505 (parse_sub_exp): Fix last change, use postorder.
57506
ef06edbe
UD
57507 * posix/bug-regex31.c: New file.
57508 * posix/Makefile: Add rules to build and run bug-regex31.
57509
a129c80d
UD
57510 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57511
57512 [BZ #12078]
57513 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57514
b76b818e
UD
57515 [BZ #12108]
57516 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57517 to have entries in sys_siglist.
57518
1751705d
UD
57519 [BZ #12093]
57520 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57521 be NULL.
57522
9ff8d36f
JJ
575232010-10-07 Jakub Jelinek <jakub@redhat.com>
57524
57525 [BZ #3268]
57526 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57527 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57528 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57529 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57530 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57531 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57532 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57533 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57534 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57535 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57536 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57537 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57538 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57539 * math/ftestexcept.c (fetestexcept): Likewise.
57540 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57541 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57542 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57543 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57544 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57545 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57546 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57547
af325969
UD
575482010-10-11 Ulrich Drepper <drepper@gmail.com>
57549
c579b202 57550 [BZ #12107]
af325969
UD
57551 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57552 newline.
57553
67a67b95
UD
575542010-10-06 Ulrich Drepper <drepper@gmail.com>
57555
57556 * string/bug-strstr1.c: New file.
57557 * string/Makefile: Add rules to build and run bug-strstr1.
57558
5fb308bc
EB
575592010-10-05 Eric Blake <eblake@redhat.com>
57560
57561 [BZ #12092]
57562 * string/str-two-way.h (two_way_long_needle): Always clear memory
57563 when skipping input due to the shift table.
57564
45db99c7
UD
575652010-10-03 Ulrich Drepper <drepper@gmail.com>
57566
3b111893
UD
57567 [BZ #12005]
57568 * malloc/mcheck.c: Handle large requests.
57569
45db99c7
UD
57570 [BZ #12077]
57571 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57572 for strncmp and strncasecmp.
57573 * string/stratcliff.c: Add tests for strcmp and strncmp.
57574 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57575
cf7a1eb8
NI
575762010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57577
57578 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57579 __set_fpscr.
57580
6484ba5e
AJ
575812010-09-30 Andreas Jaeger <aj@suse.de>
57582
57583 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57584 (CGROUP_SUPER_MAGIC): Define.
57585 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57586 Handle btrfs and cgroup file systems.
57587 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57588 Likewise.
57589
91c42559
LM
575902010-09-27 Luis Machado <luisgpm@br.ibm.com>
57591
57592 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57593 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57594
87a97932
AK
575952010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57596
57597 [BZ #12067]
57598 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57599 trying to locate the ELF header.
57600
c21cc9bc
AS
576012010-09-27 Andreas Schwab <schwab@redhat.com>
57602
57603 [BZ #11611]
57604 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57605 Mask out sign-bit copies when constructing f_fsid.
57606
315970f6
PB
576072010-09-24 Petr Baudis <pasky@suse.cz>
57608
57609 * debug/stack_chk_fail_local.c: Add missing licence exception.
57610 * debug/warning-nop.c: Likewise.
57611
1ac7a2c7
JM
576122010-09-15 Joseph Myers <joseph@codesourcery.com>
57613
57614 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57615 implementing getdents64 using getdents syscall, set d_type if
57616 __ASSUME_GETDENTS32_D_TYPE.
57617
56801c50
AS
576182010-09-16 Andreas Schwab <schwab@redhat.com>
57619
57620 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57621 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57622
dda51327
UD
576232010-09-21 Ulrich Drepper <drepper@redhat.com>
57624
57625 [BZ #12037]
57626 * posix/unistd.h: Undo change of feature selection for ftruncate from
57627 2010-01-11.
57628
8ffcee4a
UD
576292010-09-20 Ulrich Drepper <drepper@redhat.com>
57630
a545ecd9 57631 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57632 detection.
57633
e24f0a8b
AS
576342010-09-20 Andreas Schwab <schwab@redhat.com>
57635
57636 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57637 fanotify_mark.
57638 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57639
7291c56f
AS
576402010-09-14 Andreas Schwab <schwab@redhat.com>
57641
57642 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57643 variables after CHECK_SP call.
57644 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57645
bc5fb037
AS
576462010-09-13 Andreas Schwab <schwab@redhat.com>
57647 Ulrich Drepper <drepper@redhat.com>
57648
57649 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57650 re-relocationg ld.so.
57651 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57652 _dl_init_paths call.
57653 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57654 here anymore.
57655
e66e7419
UD
576562010-09-14 Ulrich Drepper <drepper@redhat.com>
57657
57658 * resolv/res_init.c (__res_vinit): Count the default server we added.
57659
c044aa75
CLT
576602010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57661 Ulrich Drepper <drepper@redhat.com>
57662
57663 [BZ #11968]
57664 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57665 (____longjmp_chk): Use %ebx for saving value across system call.
57666 Add unwind info.
57667
32cf4069
AS
576682010-09-06 Andreas Schwab <schwab@redhat.com>
57669
57670 * manual/Makefile: Don't mix pattern rules with normal rules.
57671
817328ee
AS
576722010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57673
57674 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57675 operation.
57676 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57677 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57678 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57679 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57680 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57681 Likewise.
57682
29fddf61
UD
576832010-09-04 Ulrich Drepper <drepper@redhat.com>
57684
57685 [BZ #11979]
57686 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57687 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57688
0959ffc9
UD
576892010-09-02 Ulrich Drepper <drepper@redhat.com>
57690
57691 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57692 * sysdeps/x86_64/addmul_1.S: Likewise.
57693 * sysdeps/x86_64/lshift.S: Likewise.
57694 * sysdeps/x86_64/mul_1.S: Likewise.
57695 * sysdeps/x86_64/rshift.S: Likewise.
57696 * sysdeps/x86_64/sub_n.S: Likewise.
57697 * sysdeps/x86_64/submul_1.S: Likewise.
57698
ece29840
ST
576992010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57700
0959ffc9
UD
57701 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57702 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57703 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57704 * bits/sched.h [__need_schedparam]
ece29840 57705 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57706 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57707 (__defined_schedparam): Define to 1.
ece29840
ST
57708 (__sched_param): New structure, identical to sched_param.
57709 (__need_schedparam): Undefine.
57710
e53a31fe
MF
577112010-08-31 Mike Frysinger <vapier@gentoo.org>
57712
fdc0c10d
MF
57713 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57714 (epoll_create1): Declare.
57715
e53a31fe
MF
57716 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57717
a726d796
AS
577182010-08-31 Andreas Schwab <schwab@redhat.com>
57719
57720 [BZ #7066]
57721 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57722 shifting retval into place.
57723
2f3e3dc7
UD
577242010-09-01 Ulrich Drepper <drepper@redhat.com>
57725
f2933da9
UD
57726 * nis/rpcsvc/nis.h: Update copyright notice.
57727 * nis/rpcsvc/nis.x: Likewise.
57728 * nis/rpcsvc/nis_callback.h: Likewise.
57729 * nis/rpcsvc/nis_callback.x: Likewise.
57730 * nis/rpcsvc/nis_object.x: Likewise.
57731 * nis/rpcsvc/nis_tags.h: Likewise.
57732 * nis/rpcsvc/yp.h: Likewise.
57733 * nis/rpcsvc/yp.x: Likewise.
57734 * nis/rpcsvc/ypupd.h: Likewise.
57735 * nis/yp_xdr.c: Likewise.
57736 * nis/ypupdate_xdr.c: Likewise.
57737
2f3e3dc7
UD
57738 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57739 mainly the body of pmap_getport. Add parameters to specify timeouts.
57740 (pmap_getport): Use __libc_rpc_getport.
57741 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57742 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57743 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57744
f3dcc2f9
AS
577452010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57746
57747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57748 fanotify_mark.
57749
6d34eb5b
RM
577502010-08-27 Roland McGrath <roland@redhat.com>
57751
57752 * sysdeps/i386/i686/multiarch/Makefile
57753 (CFLAGS-varshift.c): New variable.
57754
9ea3de11
UD
577552010-08-27 Ulrich Drepper <drepper@redhat.com>
57756
c96d23fc
UD
57757 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57758 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57759
9ea3de11
UD
57760 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57761
57762 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57763
623aac7f
L
577642010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57765
57766 * sysdeps/x86_64/strlen.S: Unroll the loop.
57767 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57768 strlen-sse2 strlen-sse2-bsf.
57769 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57770 __strlen_no_bsf if bit_Slow_BSF is set.
57771 (__strlen_sse42): Removed.
57772 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57773 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57774
8b2b7715
RM
577752010-08-25 Roland McGrath <roland@redhat.com>
57776
57777 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57778 * sysdeps/x86_64/multiarch/varshift.c: New file.
57779 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57780 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57781 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57782 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57783
e73015f2
L
577842010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57785
57786 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57787 strlen-sse2 strlen-sse2-bsf.
57788 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57789 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57790 (__strlen_sse2): Removed.
57791 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57792 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57793 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57794 bit_Slow_BSF for Atom.
57795 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57796 (index_Slow_BSF): Define.
57797 (HAS_SLOW_BSF): Define.
57798
df24a73e
UD
577992010-08-25 Ulrich Drepper <drepper@redhat.com>
57800
57801 [BZ #10851]
57802 * resolv/res_init.c (__res_vinit): When no server address at all
57803 is given default to loopback.
57804
f2ac4868
RM
578052010-08-24 Roland McGrath <roland@redhat.com>
57806
09055553
RM
57807 * configure.in: Remove config-name.h generation.
57808 * configure: Regenerated.
57809 * config-name.in: File removed.
57810 * scripts/config-uname.sh: New file.
57811 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57812 ($(objdir)config-name.h): New target.
57813
f2ac4868
RM
57814 * sunrpc/rpc_parse.h: Avoid nested comment.
57815
73f27d5e
RH
578162010-08-24 Richard Henderson <rth@redhat.com>
57817 Ulrich Drepper <drepper@redhat.com>
57818 H.J. Lu <hongjiu.lu@intel.com>
57819
57820 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57821 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57822 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57823 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57824 _mm_alignr_epi8 with _mm_loadu_si128.
57825 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57826 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57827 (__m128i_shift_right): Removed.
57828 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57829 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57830 * sysdeps/x86_64/multiarch/varshift.h: New file.
57831 * sysdeps/x86_64/multiarch/varshift.S: New file.
57832
84b9230c
MF
578332010-08-21 Mike Frysinger <vapier@gentoo.org>
57834
57835 * configure.in: Move assembler checks to before sysdep dir checking.
57836
9bbd0ddc
PB
578372010-08-20 Petr Baudis <pasky@suse.cz>
57838
57839 * LICENSES: Sync the sunrpc license.
57840
9da4bb31
UD
578412010-08-19 Ulrich Drepper <drepper@redhat.com>
57842
a7ab6ec8
UD
57843 * sunrpc/auth_des.c: Update copyright notice once again.
57844 * sunrpc/auth_none.c: Likewise.
57845 * sunrpc/auth_unix.c: Likewise.
57846 * sunrpc/authdes_prot.c: Likewise.
57847 * sunrpc/authuxprot.c: Likewise.
57848 * sunrpc/bindrsvprt.c: Likewise.
57849 * sunrpc/clnt_gen.c: Likewise.
57850 * sunrpc/clnt_perr.c: Likewise.
57851 * sunrpc/clnt_raw.c: Likewise.
57852 * sunrpc/clnt_simp.c: Likewise.
57853 * sunrpc/clnt_tcp.c: Likewise.
57854 * sunrpc/clnt_udp.c: Likewise.
57855 * sunrpc/clnt_unix.c: Likewise.
57856 * sunrpc/des_crypt.c: Likewise.
57857 * sunrpc/des_soft.c: Likewise.
57858 * sunrpc/get_myaddr.c: Likewise.
57859 * sunrpc/getrpcport.c: Likewise.
57860 * sunrpc/key_call.c: Likewise.
57861 * sunrpc/key_prot.c: Likewise.
57862 * sunrpc/openchild.c: Likewise.
57863 * sunrpc/pm_getmaps.c: Likewise.
57864 * sunrpc/pm_getport.c: Likewise.
57865 * sunrpc/pmap_clnt.c: Likewise.
57866 * sunrpc/pmap_prot.c: Likewise.
57867 * sunrpc/pmap_prot2.c: Likewise.
57868 * sunrpc/pmap_rmt.c: Likewise.
57869 * sunrpc/rpc/auth.h: Likewise.
57870 * sunrpc/rpc/auth_unix.h: Likewise.
57871 * sunrpc/rpc/clnt.h: Likewise.
57872 * sunrpc/rpc/des_crypt.h: Likewise.
57873 * sunrpc/rpc/key_prot.h: Likewise.
57874 * sunrpc/rpc/netdb.h: Likewise.
57875 * sunrpc/rpc/pmap_clnt.h: Likewise.
57876 * sunrpc/rpc/pmap_prot.h: Likewise.
57877 * sunrpc/rpc/pmap_rmt.h: Likewise.
57878 * sunrpc/rpc/rpc.h: Likewise.
57879 * sunrpc/rpc/rpc_des.h: Likewise.
57880 * sunrpc/rpc/rpc_msg.h: Likewise.
57881 * sunrpc/rpc/svc.h: Likewise.
57882 * sunrpc/rpc/svc_auth.h: Likewise.
57883 * sunrpc/rpc/types.h: Likewise.
57884 * sunrpc/rpc/xdr.h: Likewise.
57885 * sunrpc/rpc_clntout.c: Likewise.
57886 * sunrpc/rpc_cmsg.c: Likewise.
57887 * sunrpc/rpc_common.c: Likewise.
57888 * sunrpc/rpc_cout.c: Likewise.
57889 * sunrpc/rpc_dtable.c: Likewise.
57890 * sunrpc/rpc_hout.c: Likewise.
57891 * sunrpc/rpc_main.c: Likewise.
57892 * sunrpc/rpc_parse.c: Likewise.
57893 * sunrpc/rpc_parse.h: Likewise.
57894 * sunrpc/rpc_prot.c: Likewise.
57895 * sunrpc/rpc_sample.c: Likewise.
57896 * sunrpc/rpc_scan.c: Likewise.
57897 * sunrpc/rpc_scan.h: Likewise.
57898 * sunrpc/rpc_svcout.c: Likewise.
57899 * sunrpc/rpc_tblout.c: Likewise.
57900 * sunrpc/rpc_util.c: Likewise.
57901 * sunrpc/rpc_util.h: Likewise.
57902 * sunrpc/rpcinfo.c: Likewise.
57903 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57904 * sunrpc/rpcsvc/key_prot.x: Likewise.
57905 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57906 * sunrpc/rpcsvc/mount.x: Likewise.
57907 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57908 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57909 * sunrpc/rpcsvc/rex.x: Likewise.
57910 * sunrpc/rpcsvc/rstat.x: Likewise.
57911 * sunrpc/rpcsvc/rusers.x: Likewise.
57912 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57913 * sunrpc/rpcsvc/spray.x: Likewise.
57914 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57915 * sunrpc/rtime.c: Likewise.
57916 * sunrpc/svc.c: Likewise.
57917 * sunrpc/svc_auth.c: Likewise.
57918 * sunrpc/svc_authux.c: Likewise.
57919 * sunrpc/svc_raw.c: Likewise.
57920 * sunrpc/svc_run.c: Likewise.
57921 * sunrpc/svc_simple.c: Likewise.
57922 * sunrpc/svc_tcp.c: Likewise.
57923 * sunrpc/svc_udp.c: Likewise.
57924 * sunrpc/svc_unix.c: Likewise.
57925 * sunrpc/svcauth_des.c: Likewise.
57926 * sunrpc/xcrypt.c: Likewise.
57927 * sunrpc/xdr.c: Likewise.
57928 * sunrpc/xdr_array.c: Likewise.
57929 * sunrpc/xdr_float.c: Likewise.
57930 * sunrpc/xdr_mem.c: Likewise.
57931 * sunrpc/xdr_rec.c: Likewise.
57932 * sunrpc/xdr_ref.c: Likewise.
57933 * sunrpc/xdr_sizeof.c: Likewise.
57934 * sunrpc/xdr_stdio.c: Likewise.
57935
9da4bb31
UD
57936 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57937 handling.
57938
bdaa77bc
AS
579392010-08-19 Andreas Schwab <schwab@redhat.com>
57940
57941 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57942
fe2f79db
LM
579432010-08-19 Luis Machado <luisgpm@br.ibm.com>
57944
57945 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
57946 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
57947 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
57948 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
57949 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
57950 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
57951 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
57952 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
57953 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
57954 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
57955 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
57956 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
57957 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
57958 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
57959
b9b42ee0
AB
579602010-07-26 Anton Blanchard <anton@samba.org>
57961
57962 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
57963 * malloc/arena.c (heap_trim): Likewise.
57964
1c06ba31
UD
579652010-08-16 Ulrich Drepper <drepper@redhat.com>
57966
57967 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
57968 here. Not...
57969 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
57970 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
57971
f8392f40
L
579722010-08-12 H.J. Lu <hongjiu.lu@intel.com>
57973
57974 * sysdeps/i386/elf/Makefile: New file.
57975
3162f12e
AS
579762010-08-14 Andreas Schwab <schwab@linux-m68k.org>
57977
57978 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
57979 from fanotify_init.
57980 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
57981 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
57982
28c90b2c
UD
579832010-08-15 Ulrich Drepper <drepper@redhat.com>
57984
57985 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
57986 of strncasecmp_l.
1feccb6c 57987 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 57988
ca6bb004
UD
579892010-08-14 Ulrich Drepper <drepper@redhat.com>
57990
e9f82e0d
UD
57991 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
57992 strncase_l-nonascii.
57993 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
57994 Add strncase_l-ssse3.
57995 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
57996 * sysdeps/x86_64/strcmp.S: Likewise.
57997 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
57998 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
57999 * sysdeps/x86_64/strncase.S: New file.
58000 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58001 * sysdeps/x86_64/strncase_l.S: New file.
58002 * string/Makefile (strop-tests): Add strncasecmp.
58003 * string/test-strncasecmp.c: New file.
58004
58005 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58006 warning.
58007
ca6bb004
UD
58008 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58009 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58010
052fa7b3
AS
580112010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58012
58013 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58014
962dba78
UD
580152010-08-12 Ulrich Drepper <drepper@redhat.com>
58016
58017 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58018 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58019 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58020
bebff237
AM
580212010-05-01 Alan Modra <amodra@gmail.com>
58022
58023 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58024 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58025 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58026 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58027 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58028 tidying. Don't tail-call __sigjmp_save for static lib.
58029 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58030 save location.
58031 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58032 (CALL_MCOUNT): Add eh info, and nop after bl.
58033 (TAIL_CALL_SYSCALL_ERROR): New macro.
58034 (PSEUDO_RET): Use it.
58035 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58036 Correct save location of integer regs and cr.
58037 (_dl_profile_resolve): Correct cr save location. Delete nops
58038 after bl when SHARED. Reduce cfi size a little by better
58039 placement of cfi directives.
58040 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58041 make a stack frame. Instead use parm save area as a temp.
58042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58043 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
58044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58045 Don't make a stack frame for parent, use parm save area.
58046 Increase child stack frame to 112 bytes. Don't save unused reg,
58047 and adjust reg usage. Set up cfi on error recovery and
58048 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58050 (__makecontext): Add dummy nop after jump to exit.
58051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58052 Use correct parm save area and cr save, reduce stack frame.
58053 Correct cfi for possible PSEUDO_RET frame setup.
58054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58055 Branch to local label emitted by PSEUDO_RET rather than
58056 __syscall_error.
58057
02637374
AS
580582010-08-12 Andreas Schwab <schwab@redhat.com>
58059
58060 [BZ #11904]
58061 * locale/programs/locale.c (print_assignment): New function.
58062 (show_locale_vars): Use it.
58063
c3e2f19b
UD
580642010-08-11 Ulrich Drepper <drepper@redhat.com>
58065
3cdaa6ad
UD
58066 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58067 field.
58068 (struct statfs64): Likewise.
58069 (_STATFS_F_FLAGS): Define.
58070 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58071 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58072 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58073 (ST_VALID): Define locally.
58074 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58075 __statvfs_getflags, use the provided value.
58076 * sysdeps/unix/sysv/linux/kernel-features.h: Define
58077 __ASSUME_STATFS_F_FLAGS.
58078
754f7da3
UD
58079 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58080
10b3bedc
UD
58081 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58082 Add sys/fanotify.h.
58083 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58084 fanotify_mask for GLIBC_2.13.
58085 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58086 fanotify_init and fanotify_mark.
58087 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58088 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58089
c08fb0d7
UD
58090 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58091 Add prlimit.
58092 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58093 prlimit64 for GLIBC_2.13.
58094 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58095 prlimit64.
58096 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58097 syscall.
58098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58099 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58100 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58101 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58102 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
58103 add prlimit alias.
58104 * sysdeps/unix/sysv/linux/prlimit.c: New file.
58105
15bac72b
UD
58106 [BZ #11903]
58107 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58108 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58109
c3e2f19b
UD
58110 * nss/Makefile: Add rules to build and run tst-nss-test1.
58111 * shlib-versions: Add entry for libnss_test1.
58112 * nss/nss_test1.c: New file.
58113 * nss/tst-nss-test1.c: New file.
58114
58115 * nss/nsswitch.c (__nss_database_custom): Define new variable.
58116 (__nss_configure_lookup): Set appropriate entry in
58117 __nss_configure_lookup to true.
58118 * nss/nsswitch.h: Define enum with indeces of databases in
58119 databases and __nss_database_custom arrays. Declare
58120 __nss_database_custom.
58121 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58122 to avoid using nscd when custom rules are installed.
58123 * nss/getXXbyYY_r.c: Likewise.
58124 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58125
58126 * nss/nss_files/files-parse.c: Whitespace fixes.
58127
f15ce4d8
UD
581282010-08-09 Ulrich Drepper <drepper@redhat.com>
58129
58130 [BZ #11883]
58131 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58132 * posix/fnmatch_loop.c: Likewise.
58133
d22e4cc9
AK
581342010-07-17 Andi Kleen <ak@linux.intel.com>
58135
58136 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58137 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58138 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58139 * Versions.def [GLIBC_2.13]: Add.
58140
805bc17d
UD
581412010-08-06 Ulrich Drepper <drepper@redhat.com>
58142
58143 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58144 Also fail if tpwd after pwuid call is NULL.
58145
5a42321d
ST
581462010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
58147
58148 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58149 when converting to ms.
58150
fd3ebeda
ST
581512010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58152
58153 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58154 EOPNOTSUPP errors with ENOTTY.
58155 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58156 EOPNOTSUPP errors with ENOTTY.
58157
73507d3a
UD
581582010-07-31 Ulrich Drepper <drepper@redhat.com>
58159
58160 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58161 Add strcasecmp_l-ssse3.
58162 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58163 strcasecmp.
58164 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58165 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58166 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58167
fe36dd02
UD
581682010-07-30 Ulrich Drepper <drepper@redhat.com>
58169
66f6765a
UD
58170 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58171
42e08a54
UD
58172 * string/Makefile (strop-tests): Add strcasecmp.
58173 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58174 strcasecmp_l-nonascii.
58175 (gen-as-const-headers): Add locale-defines.sym.
58176 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58177 * sysdeps/x86_64/strcasecmp.S: New file.
58178 * sysdeps/x86_64/strcasecmp_l.S: New file.
58179 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58180 * sysdeps/x86_64/locale-defines.sym: New file.
58181 * string/test-strcasecmp.c: New file.
58182
fe36dd02
UD
58183 * string/test-strcasestr.c: Test both ends of the range of characters.
58184 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58185
48cbc0d6
RM
581862010-07-29 Roland McGrath <roland@redhat.com>
58187
76e6d6bc 58188 [BZ #11856]
48cbc0d6
RM
58189 * manual/locale.texi (Yes-or-No Questions): Fix example code.
58190
880113d9
UD
581912010-07-27 Ulrich Drepper <drepper@redhat.com>
58192
58193 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58194 for ld.so.
58195
deb9cabb
AS
581962010-07-27 Andreas Schwab <schwab@redhat.com>
58197
58198 * manual/memory.texi (Malloc Tunable Parameters): Document
58199 M_PERTURB.
58200
1c7570ff
RM
582012010-07-26 Roland McGrath <roland@redhat.com>
58202
58203 [BZ #11840]
58204 * configure.in (-fgnu89-inline check): Set and substitute
58205 gnu89_inline, not libc_cv_gnu89_inline.
58206 * configure: Regenerated.
58207 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58208
24fb0f88
UD
582092010-07-26 Ulrich Drepper <drepper@redhat.com>
58210
58211 * string/test-strnlen.c: New file.
58212 * string/Makefile (strop-tests): Add strnlen.
58213 * string/tester.c (test_strnlen): Add a few more test cases.
58214 * string/tst-strlen.c: Better error reporting.
58215
58216 * sysdeps/x86_64/strnlen.S: New file.
58217
8e96b93a
UD
582182010-07-24 Ulrich Drepper <drepper@redhat.com>
58219
58220 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58221 lower-latency instructions.
58222
dbc676d4
UD
582232010-07-23 Ulrich Drepper <drepper@redhat.com>
58224
58225 * string/test-strcasestr.c: New file.
58226 * string/test-strstr.c: New file.
58227 * string/Makefile (strop-tests): Add strstr and strcasestr.
58228 * string/str-two-way.h: Don't undefine MAX.
58229 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58230
f6a31e0e
AS
582312010-07-21 Andreas Schwab <schwab@redhat.com>
58232
58233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58234 strcasestr-nonascii.
58235 (CFLAGS-strcasestr-nonascii.c): Define.
58236 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58237 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58238 Remove unused attribute.
58239
5dbc3b6c
RM
582402010-07-20 Roland McGrath <roland@redhat.com>
58241
58242 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58243 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58244 ld.so.cache was broken. With it, there is no way to disable dsocaps
58245 like LD_HWCAP_MASK can disable hwcaps.
58246
23d101d8
EPM
582472010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58248
58249 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58250
cc9f2e47
UD
582512010-07-16 Ulrich Drepper <drepper@redhat.com>
58252
58253 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58254 call in strcasestr.
58255 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58256 __strcasestr_sse42_nonascii.
58257 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58258 strcasestr-nonascii.c.
58259 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58260
77c1b069
LM
582612010-06-15 Luis Machado <luisgpm@br.ibm.com>
58262
58263 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58264 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58265 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58266 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58267
440566c3
UD
582682010-07-09 Ulrich Drepper <drepper@redhat.com>
58269
58270 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58271 fcntl.
58272
5be9d05d
AS
582732010-07-06 Andreas Schwab <schwab@redhat.com>
58274
c30b7ee2 58275 [BZ #11577]
5be9d05d
AS
58276 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58277 dl_signal_cerror.
58278
8a492a67
UD
582792010-07-06 Ulrich Drepper <drepper@redhat.com>
58280
58281 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58282 _PC_PIPE_BUF using F_GETPIPE_SZ.
58283
713df3d5
RM
582842010-07-05 Roland McGrath <roland@redhat.com>
58285
58286 * manual/arith.texi (Rounding Functions): Fix rint description
58287 implicit in round description.
58288
702e8f14
UD
582892010-07-02 Ulrich Drepper <drepper@redhat.com>
58290
58291 * elf/Makefile: Fix linking for a few tests to make recent linker
58292 happy.
58293
52ed8be9
AS
582942010-06-30 Andreas Schwab <schwab@redhat.com>
58295
58296 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58297 $(common-objpfx)libc_nonshared.a.
58298
f47c9a11
LM
582992010-06-21 Luis Machado <luisgpm@br.ibm.com>
58300
58301 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58302 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58303 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58304 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58305 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58306 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58307 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58308 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58323 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58324 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58325 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58326 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58327 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58328 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58329 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58330 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58331 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58332 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58333 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58334 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58349
6fb8cbcb
L
583502010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58351
58352 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58353 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58354 * string/memmove.c (memmove): Renamed to ...
58355 (MEMMOVE): ...this. Default to memmove.
58356 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58357 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58358 (END_CHK): Define.
58359 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58360 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58361 mempcpy-ssse3-back memmove-ssse3-back.
58362 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58363 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58364 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58365 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58366 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58367 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58368 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58369 * sysdeps/x86_64/multiarch/memmove.c: New file.
58370 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58371 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58372 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58373 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58374 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58375 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58376 Define.
58377 (index_Fast_Copy_Backward): Define.
58378 (HAS_ARCH_FEATURE): Define.
58379 (HAS_FAST_REP_STRING): Define.
58380 (HAS_FAST_COPY_BACKWARD): Define.
58381
4e733bac 583822010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
58383
58384 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58385 Restore proper fallback handling.
58386
63c4ed22
UD
583872010-06-19 Ulrich Drepper <drepper@redhat.com>
58388
ac2b484c
UD
58389 [BZ #11701]
58390 * posix/group_member.c (__group_member): Correct checking loop.
58391
63c4ed22
UD
58392 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58393 OOM in getpwuid_r correctly. Return error number when the caller
58394 should return, otherwise -1.
58395 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58396 call returning > 0 value.
58397 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58398
765ade4b
AS
583992010-06-07 Andreas Schwab <schwab@redhat.com>
58400
58401 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58402 libc_nonshared.a from targets in modules-names.
58403
80da2e09
KS
584042010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58405
58406 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58407 requires it.
58408
158db122
LM
584092010-06-10 Luis Machado <luisgpm@br.ibm.com>
58410
58411 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58412 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58413 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58414 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58415
caa78cf8
AS
584162010-06-02 Andreas Schwab <schwab@redhat.com>
58417
58418 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58419
b2ef2c01
UD
584202010-06-14 Ulrich Drepper <drepper@redhat.com>
58421
58422 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58423 and F_GETPIPE_SZ.
58424 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58425 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58426 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58427 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58428 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58429 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58430
fbd643b6
RM
584312010-06-14 Roland McGrath <roland@redhat.com>
58432
58433 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58434
f32f2869
JJ
584352010-06-07 Jakub Jelinek <jakub@redhat.com>
58436
58437 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58438 __REDIRECT followed by __THROW.
58439 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58440 * posix/getopt.h (getopt): Likewise.
58441
2a50c078
EPM
584422010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58443
58444 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58445 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58446 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58447 in AT_FLAGS.
58448 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58449 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58450
eb5ad2eb
LM
584512010-05-28 Luis Machado <luisgpm@br.ibm.com>
58452
58453 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58454
3c88fe1e
L
584552010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58456
58457 [BZ #11640]
58458 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58459 Properly check family and model.
58460
d2f73151
TY
584612010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58462
58463 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58464
ebd2e13d
LM
584652010-05-24 Luis Machado <luisgpm@br.ibm.com>
58466
58467 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58468
b32b8b45
UD
584692010-05-21 Ulrich Drepper <drepper@redhat.com>
58470
58471 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58472 symbol reference.
58473
9acbe24d
AS
584742010-05-19 Andreas Schwab <schwab@redhat.com>
58475
58476 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58477 symbol reference.
58478
f0ccf6ea
AS
584792010-05-21 Andreas Schwab <schwab@redhat.com>
58480
3d04ff3a
AS
58481 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58482 and internal_recvmmsg.
58483 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58484 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58485 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58486 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58487
f0ccf6ea
AS
58488 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58489 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58490 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58491
5b08ac57
AS
584922010-05-20 Andreas Schwab <schwab@redhat.com>
58493
58494 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58495
4828935d
LM
584962010-05-17 Luis Machado <luisgpm@br.ibm.com>
58497
58498 POWER7 optimizations.
58499 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58500 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58501
373d545e
UD
585022010-05-19 Ulrich Drepper <drepper@redhat.com>
58503
58504 * version.h: Update for 2.13 development version.
58505
21a2b1ae
AS
585062010-05-12 Andrew Stubbs <ams@codesourcery.com>
58507
58508 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58509 exceptions. Return 0.
58510
3f7dcb2b
RM
585112010-05-07 Roland McGrath <roland@redhat.com>
58512
58513 * elf/ldconfig.c (main): Add a const.
58514
5f24d53a 585152010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58516
a160f8d8
UD
58517 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58518 (args_options): Add no-idn option.
58519 (ahosts_keys_int): Add idn_flags to ai_flags.
58520 (parse_option): Handle 'i' option to clear idn_flags.
58521
5f24d53a
UD
58522 * malloc/malloc.c (_int_free): Possible race in the most recently
58523 added check. Only act on the data if no current modification
58524 happened.
265bb1ce
UD
58525
58526See ChangeLog.17 for earlier changes.