]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Add more tests of csqrt, lgamma, log10, sinh.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
14f36098
JM
12015-05-08 Joseph Myers <joseph@codesourcery.com>
2
3 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
4 and sinh.
5 * math/auto-libm-test-out: Regenerated.
6 * sysdeps/i386/fpu/libm-test-ulps: Update.
7 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8
c92d40c0
CD
92015-05-08 Carlos O'Donell <carlos@redhat.com>
10
11 [BZ #18125]
12 * stdlib/tst-setcontext3.c: New file.
13 * stdlib/tst-setcontext3.sh: New file.
14 * stdlib/Makefile (tests): Add tst-setcontext3.
15 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
16 to verify test program created output file.
17 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
18 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
19 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
20 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21
48276b67
RM
222015-05-06 Roland McGrath <roland@hack.frob.com>
23
b5fe8ec8
RM
24 [BZ #18383]
25 * elf/tst-tlsalign.c: New file.
26 * elf/tst-tlsalign-static.c: New file.
27 * elf/tst-tlsalign-lib.c: New file.
28 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
29 (tests-static): Add tst-tlsalign-static.
30 (modules-names): Add tst-tlsalign-lib.
31 (test-xfail-tst-tlsalign): New variable.
32 (test-xfail-tst-tlsalign-static): New variable.
33
48276b67
RM
34 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
35 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
36
471dffa1
JM
372015-05-06 Joseph Myers <joseph@codesourcery.com>
38
39 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
40 csqrt, erfc, sin and sincos.
41 * math/auto-libm-test-out: Regenerated.
42 * sysdeps/i386/fpu/libm-test-ulps: Update.
43 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44
eda361c8
WD
452015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
46
47 * sysdeps/aarch64/libm-test-ulps: Update.
48
31450d9a
JM
492015-05-05 Joseph Myers <joseph@codesourcery.com>
50
51 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
52 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
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
a6ab6ccd
DM
572015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
58
59 [BZ #18265]
60 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
61 (wcsncpy): Likewise.
62
d0ccd0d9
FW
632015-05-05 Florian Weimer <fweimer@redhat.com>
64
65 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
66 Assume __ASSUME_FALLOCATE is always true.
67 * sysdeps/unix/sysv/linux/posix_fallocate64.c
68 (__posix_fallocate64_l64): Likweise.
69 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
70 (posix_fallocate): Likewise.
71 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
72 (__posix_fallocate64_l64): Likewise.
73 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
74 [!__ASSUME_FALLOCATE]: Add comment.
75
4bd40bcf
FW
762015-05-05 Florian Weimer <fweimer@redhat.com>
77
78 * sysdeps/unix/sysv/linux/i386/Makefile
79 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
80 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
81 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
82 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
83 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
84 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
85 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
86
305392ea
JM
872015-05-02 Joseph Myers <joseph@codesourcery.com>
88
89 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
90 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
91 tgamma.
92 * math/auto-libm-test-out: Regenerated.
93 * sysdeps/i386/fpu/libm-test-ulps: Update.
94 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
95
a0d31f36
JM
962015-05-01 Joseph Myers <joseph@codesourcery.com>
97
51e15247
JM
98 * math/auto-libm-test-in: Add more tests of tgamma.
99 * math/auto-libm-test-out: Regenerated.
100 * sysdeps/i386/fpu/libm-test-ulps: Update.
101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
102
5ffb9a53
JM
103 * math/auto-libm-test-in: Add more tests of tanh.
104 * math/auto-libm-test-out: Regenerated.
105 * sysdeps/i386/fpu/libm-test-ulps: Update.
106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
107
0957e15d
JM
108 * math/auto-libm-test-in: Add more tests of tan.
109 * math/auto-libm-test-out: Regenerated.
110 * sysdeps/i386/fpu/libm-test-ulps: Update.
111 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
112
827bb585
JM
113 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
114 * math/auto-libm-test-out: Regenerated.
115 * sysdeps/i386/fpu/libm-test-ulps: Update.
116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
117
86793ae7
JM
118 * math/auto-libm-test-in: Add another test of pow.
119 * math/auto-libm-test-out: Regenerated.
120 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
121
038e4be9
JM
122 * math/auto-libm-test-in: Add more tests of lgamma.
123 * math/auto-libm-test-out: Regenerated.
124 * sysdeps/i386/fpu/libm-test-ulps: Update.
125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
126
a0d31f36
JM
127 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
128 log1p.
129 * math/auto-libm-test-out: Regenerated.
130 * sysdeps/i386/fpu/libm-test-ulps: Update.
131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
132
b4336ba4
MW
1332015-05-01 Mark Wielaard <mjw@redhat.com>
134
135 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
136 Elf64_Chdr structs and ELFCOMPRESS constants.
137
c5a3a509
JM
1382015-05-01 Joseph Myers <joseph@codesourcery.com>
139
e1483b36
JM
140 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
141 expm1.
142 * math/auto-libm-test-out: Regenerated.
143 * sysdeps/i386/fpu/libm-test-ulps: Update.
144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145
c5a3a509
JM
146 * math/auto-libm-test-in: Add more tests of erf and erfc.
147 * math/auto-libm-test-out: Regenerated.
148 * sysdeps/i386/fpu/libm-test-ulps: Update.
149 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
150
44cb254f
SN
1512015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
152
153 * config.h.in (HAVE_AARCH64_BE): Add.
154
0833cecd
JM
1552015-04-30 Joseph Myers <joseph@codesourcery.com>
156
9862ab1f
JM
157 * math/auto-libm-test-in: Add more tests of csqrt.
158 * math/auto-libm-test-out: Regenerated.
159 * sysdeps/i386/fpu/libm-test-ulps: Update.
160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
161
094fca83
JM
162 * math/auto-libm-test-in: Add more tests of cosh and sinh.
163 * math/auto-libm-test-out: Regenerated.
164 * sysdeps/i386/fpu/libm-test-ulps: Update.
165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
166
0833cecd
JM
167 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
168
314647f7
RM
1692015-04-29 Roland McGrath <roland@hack.frob.com>
170
45c2c564
RM
171 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
172 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
173
3600cf1e
RM
174 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
175 (euidaccess, eaccess): Define as weak aliases.
176
314647f7
RM
177 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
178 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
179 but __suseconds_t is often 'long int' so some sources assume that
180 type is being used (e.g. they use %ld to print tv_usec).
181
03d2730b
FW
1822015-04-29 Florian Weimer <fweimer@redhat.com>
183
184 [BZ #18007]
185 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
186 (CVE-2014-8121)
187 * nss/tst-nss-getpwent.c: New file.
188 * nss/Makefile (tests): Add new test.
189
7d0b2575
JM
1902015-04-28 Joseph Myers <joseph@codesourcery.com>
191
192 [BZ #18346]
193 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
194 exponents less than 48 as cases where high part of mantissa needs
195 examining to determine whether argument is integral.
196 * math/libm-test.inc (round_test_data): Add more tests.
197
fb4041ae
MW
1982015-04-28 Mark Wielaard <mjw@redhat.com>
199
200 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
201
3f2e21e9
DM
2022015-04-27 David S. Miller <davem@davemloft.net>
203
204 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
205 __tls_get_addr.
206 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
207
5cffc05e
L
2082015-04-27 H.J. Lu <hongjiu.lu@intel.com>
209
210 [BZ#18333]
211 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
212
cc8dcf96
FW
2132015-04-27 Florian Weimer <fweimer@redhat.com>
214
215 [BZ#18333]
216 * time/tzset.c (parse_tzname): Return error on memory allocation
217 failure.
218 * test-skeleton.c (struct temp_name_list): Change type of name
219 member to non-const.
220 (add_temp_file): Create a copy of the file name.
221 (delete_temp_files): Deallocate memory.
222 (create_temp_file): Add comment.
223
2dd6ee79
FW
2242015-04-24 Florian Weimer <fweimer@redhat.com>
225
226 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
227 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
228
c25fec6f
RM
2292015-04-24 Roland McGrath <roland@hack.frob.com>
230
231 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
232 * sysdeps/arm/configure: Regenerated.
233
42261ad7
FW
2342015-04-24 Florian Weimer <fweimer@redhat.com>
235
236 [BZ #17715]
237 * time/tzfile.c (__tzfile_read): Check for large values of
238 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
239 * time/tzset.c (__tzstring_len): New function, based on the old
240 __tzstring function.
241 (__tzstring): Call __tzstring_len.
242 (parse_tzname): New helper function extracted from
243 __tzset_parse_tz. Call __tzstring_len, without making a copy of
244 the input string.
245 (parse_offset): New helper function extracted from
246 __tzset_parse_tz. Replace switch with fallthrough with
247 initialization before sscanf.
248 (parse_rule): Likewise.
249 (__tzset_parse_tz): Rewrite using the new helper functions. Use
250 new-style function definition.
251 * timezone/Makefile (tests): Add tst-tzset.
252 (tst-tzset.out): Dependencies on time zone files.
253 (tst-tzset-ENV): Set TZDIR.
254 (testdata/XT%): Copy crafted time zone files.
255 * timezone/README: Mention crafted time zone files.
256 * timezone/testdata/XT1, timezone/testdata/XT2,
257 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
258 files.
259 * timezone/tst-tzset.c: New test.
260
ed159672
FW
2612015-04-24 Florian Weimer <fweimer@redhat.com>
262
263 * Makeconfig (+gccwarn): Remove -Winline.
264
8666ab5c
SL
2652015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
266
267 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
268
f7fba805
SL
2692015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
270
271 * NEWS: Mention sysconf() cache information support for s390.
272 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
273
92f28979
WD
2742015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
275
276 * math/k_casinh.c (__kernel_casinh): Use __copysign.
277 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
278 (__nearbyint): Likewise.
279 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
280 (copysignl): Likewise.
281
2959eda9
AS
2822015-04-21 Arjun Shankar <arjun.is@lostca.se>
283
284 [BZ #18287]
285 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
286 based on padding. (CVE-2015-1781)
287
7bf8fb10
AZ
2882015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
289
290 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
291 libc-vdso.h.
292 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
293 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
294 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
295 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
296 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
297 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
298 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
299 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
300 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
301 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
302 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
303 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
304 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
305 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
306 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
307 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
308 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
309 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
310 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
311 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
312 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
313 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
314 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
315
03c1e456
PE
3162015-04-19 Paul Eggert <eggert@cs.ucla.edu>
317
318 * stdlib/setenv.c (__add_to_environ):
319 Dump core quickly if setenv (..., NULL, ...) is called.
320 This time, do it the right way, and pacify GCC with a pragma.
321
328c44c3
RM
3222015-04-17 Roland McGrath <roland@hack.frob.com>
323
2bd2cad9
RM
324 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
325 IMAP->l_prev cannot be null, and #if out the code for the contrary
326 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
327 believe that NS (&_dl_ns[NSID]) could point outside the array.
328
328c44c3
RM
329 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
330 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
331 before using NSID as an index.
332
aa4980fc
DM
3332015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
334
335 [BZ #17825]
336 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
337 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
338 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
339
d1e44df1
RM
3402015-04-17 Roland McGrath <roland@hack.frob.com>
341
342 Add preliminary port to Google Native Client on ARM.
343 * abi-tags (.*-.*-nacl.*): New entry.
344 * sysdeps/arm/nacl: New directory.
345 * sysdeps/nacl: New directory.
346
f7092599
DM
3472015-04-16 David S. Miller <davem@davemloft.net>
348
349 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
350 lowlevellock-futex.h
351
da6989f9
CM
3522015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
353
354 * sysdeps/tile/configure.ac: New file.
355 * sysdeps/tile/configure: Regenerated.
356
fb78612a
AZ
3572015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
358
359 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
360 conditionals for weak_alias and libc_hidden_weak.
361 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
362 libc_hidden_weak and weak_alias.
363 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
364 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
365 and weak_alias for static one.
366
a8b6a3a6
DM
3672015-04-15 David S. Miller <davem@davemloft.net>
368
369 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
370
920a0395
SL
3712015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
372
373 [BZ #18206]
374 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
375 Use signed comparision instead of substraction to avoid
376 overflow bug.
377 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
378 Take the sign of ret.
379 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
380 Do not expect precise return values. Only the sign matters.
381 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
382 * wcsmbs/test-wcsncmp.c: New File.
383 * string/test-strncmp.c: Add wcsncmp support.
384
de8aadd5
SL
3852015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
386
387 [BZ #6792]
388 * math/w_log1p.c: New file.
389 * math/w_log1pf.c: Likewise.
390 * math/w_log1pl.c: Likewise.
391 * math/Makefile (libm-calls): Add w_log1p.
392 * math/s_log1pl.c (log1pl): Remove weak_alias.
393 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
394 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
395 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
396 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
397 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
398 [NO_LONG_DOUBLE] (log1pl): Likewise.
399 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
400 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
401 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
402 (log1p): Remove long_double_symbol.
403 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
404 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
405 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
406 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
407 remove weak_alias for corresponding log1p function.
408 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
409 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
410 * sysdeps/ia64/fpu/w_log1p.c: New file.
411 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
412 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
413 * math/libm-test.inc (log1p_test_data): Add errno expectations.
414
5556d30c
JM
4152015-04-10 Joseph Myers <joseph@codesourcery.com>
416
417 [BZ #18247]
418 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
419 decimal exponent by 1.
420 * stdlib/tst-strtod-round-data: Add more tests.
421 * stdlib/tst-strtod-round.c (tests): Regenerated.
422
b3c66c53
JM
4232015-04-09 Joseph Myers <joseph@codesourcery.com>
424
425 * math/auto-libm-test-in: Add more tests of clog and clog10.
426 * math/auto-libm-test-out: Regenerated.
427 * sysdeps/i386/fpu/libm-test-ulps: Update.
428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
429
b0b88abc
RM
4302015-04-09 Roland McGrath <roland@hack.frob.com>
431
8a257e2c
RM
432 * Makeconfig (module-cppflags): Exclude all .v.i files.
433 (skip-module-cppflags): Variable removed.
434
05439291
RM
435 * configure.ac (libc_config_ok): Initialize before reading
436 preconfigure scripts, not after.
437 * configure: Regenerated.
438
b0b88abc
RM
439 * test-skeleton.c (TIMEOUT): Move #define to top level.
440 (main): Grok environment variable TEST_DIRECT. If set, print
441 test expectation details into that file and then behave as if
442 given --direct.
443
2902af16
FW
4442015-04-09 Florian Weimer <fweimer@redhat.com>
445
446 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
447 warning on 32-bit.
448
23ebf743
DM
4492015-04-08 David S. Miller <davem@davemloft.net>
450
451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
452
024bcc51
JM
4532015-04-08 Joseph Myers <joseph@codesourcery.com>
454
787d22bc
JM
455 * math/auto-libm-test-in: Add more tests of atanh.
456 * math/auto-libm-test-out: Regenerated.
457 * sysdeps/i386/fpu/libm-test-ulps: Update.
458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
459
024bcc51
JM
460 * math/auto-libm-test-in: Add more tests of atan.
461 * math/auto-libm-test-out: Regenerated.
462 * sysdeps/i386/fpu/libm-test-ulps: Update.
463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
464
7b8399f4
FW
4652015-04-08 Florian Weimer <fweimer@redhat.com>
466
467 * elf/pldd.c (main): Rewrite to use struct
468 scratch_buffer instead of extend_alloca.
469 * elf/pldd-xx.c (find_maps): Likewise.
866ba63b
FW
470 * grp/initgroups.c: Include <scratch_buffer.h> instead of
471 <alloca.h>.
472 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
473 scratch_buffer instead of extend_alloca.
474 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
475 grp/compat-initgroups.c.
794a74af
FW
476 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
477 Rewrite to use struct scratch_buffer instead of extend_alloca.
c6ee40da 478 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
561052ad 479 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
7b8399f4 480
ae63c7eb
JM
4812015-04-08 Joseph Myers <joseph@codesourcery.com>
482
da0cf658
JM
483 * math/auto-libm-test-in: Add more tests of cbrt.
484 * math/auto-libm-test-out: Regenerated.
485 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
486
80352c01
JM
487 * math/auto-libm-test-in: Add more tests of cabs.
488 * math/auto-libm-test-out: Regenerated.
489 * sysdeps/i386/fpu/libm-test-ulps: Update.
490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
491
8431838d
JM
492 [BZ #18210]
493 [BZ #18211]
494 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
495 (__ieee754_atan2): Set FE_TONEAREST mode for internal
496 computations.
497 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
498 clog10.
499 * math/auto-libm-test-out: Regenerated.
500 * sysdeps/i386/fpu/libm-test-ulps: Update.
501 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
502
ae63c7eb
JM
503 [BZ #18197]
504 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
505 (atan): Set FE_TONEAREST mode for internal computations.
506 * math/auto-libm-test-in: Add more tests of atan.
507 * math/auto-libm-test-out: Regenerated.
508
d5856d06
JC
5092015-04-07 James Cowgill <james410@cowgill.org.uk>
510
511 [BZ #17930]
512 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
513
72301304
FW
5142015-04-07 Florian Weimer <fweimer@redhat.com>
515
516 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
517
cfcfd461
FW
5182015-04-07 Florian Weimer <fweimer@redhat.com>
519
520 * include/scratch_buffer.h: New file.
521 * malloc/scratch_buffer_grow.c: Likewise.
522 * malloc/scratch_buffer_grow_preserve.c: Likewise.
523 * malloc/scratch_buffer_set_array_size.c: Likewise.
524 * malloc/tst-scratch_buffer.c: Likewise.
525 * malloc/Makefile (routines): Add scratch_buffer_grow.
526 (tests): Add test case.
527 * malloc/Versions (GLIBC_PRIVATE): Export
528 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
529 __libc_scratch_buffer_set_array_size.
530
cc47c824
RH
5312015-04-06 Richard Henderson <rth@redhat.com>
532
533 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
974c4a36 534 * sysdeps/alpha/fpu/libm-test-ulps: Update.
cc47c824 535
9e8c0381
RH
536 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
537 unsigned int before printing.
538
9781a370
OB
5392015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
540
541 [BZ #17596]
542 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
543 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
544
37d60d97
FW
5452015-04-02 Florian Weimer <fweimer@redhat.com>
546
547 * include/libc-internal.h (libc_max_align_t): Define.
548
b763f6ae
AS
5492015-04-02 Andreas Schwab <schwab@suse.de>
550
551 [BZ #16850]
552 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
553
c26efef9
MG
5542015-04-02 Mel Gorman <mgorman@suse.de>
555
556 [BZ #17195]
557 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
558 as well as the main arena.
559
a3d9ab50
L
5602015-03-31 H.J. Lu <hongjiu.lu@intel.com>
561
562 [BZ #18185]
563 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
564 sharing L2 cache to 2 for Silvermont/Knights Landing.
565
83569fb8
L
5662015-03-31 H.J. Lu <hongjiu.lu@intel.com>
567
568 [BZ #17711]
569 * config.make.in (have-protected-data): New.
570 * configure.ac: Check linker support for protected data symbol.
571 * configure: Regenerated.
572 * elf/Makefile (modules-names): Add tst-protected1moda and
573 tst-protected1modb if $(have-protected-data) is yes.
574 (tests): Add tst-protected1a and tst-protected1b if
575 $(have-protected-data) is yes.
576 ($(objpfx)tst-protected1a): New.
577 ($(objpfx)tst-protected1b): Likewise.
578 (tst-protected1modb.so-no-z-defs): Likewise.
579 * elf/tst-protected1a.c: New file.
580 * elf/tst-protected1b.c: Likewise.
581 * elf/tst-protected1mod.h: Likewise.
582 * elf/tst-protected1moda.c: Likewise.
583 * elf/tst-protected1modb.c: Likewise.
584
62da1e3b
L
5852015-03-31 H.J. Lu <hongjiu.lu@intel.com>
586
587 [BZ #17711]
588 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
589 indicates it is called from do_lookup_x on relocation against
590 protected data, skip the data definion in the executable from
591 copy reloc.
592 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
593 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
594 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
595 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
596 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
597 otherwise to 0.
598 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
599 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
600 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
601 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
602 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
603 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
604
675ddb71
MG
6052015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
606
607 * sysdeps/nptl/pthread.h: Remove duplicate definition of
608 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
609
4d611e12
MG
6102015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
611
612 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
613 THREAD_SETMEM_NC.
614 * sysdeps/x86_64/nptl/tls.h: Ditto.
615
7285eb53
RM
6162015-03-27 Roland McGrath <roland@hack.frob.com>
617
618 * dlfcn/tststatic.c (main): Converted to ...
619 (do_test): ... this.
620 (TEST_FUNCTION): New macro.
621 Include test-skeleton.c.
622
19a6a3ac
AM
6232015-03-26 Alan Modra <amodra@gmail.com>
624
625 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
626 Don't segfault if ifunc resolver returns a NULL. Do set plt to
627 zero for undefined weak.
628 (elf_machine_plt_conflict): Similarly.
629
a9fe4c5a
JM
6302015-03-25 Joseph Myers <joseph@codesourcery.com>
631
efd5b641
JM
632 * math/auto-libm-test-in: Add more tests of acosh, asinh and
633 atanh.
634 * math/auto-libm-test-out: Regenerated.
635 * sysdeps/i386/fpu/libm-test-ulps: Update.
636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
637
e9b10151
JM
638 * math/auto-libm-test-in: Add another test of asin.
639 * math/auto-libm-test-out: Regenerated.
640 * sysdeps/i386/fpu/libm-test-ulps: Update.
641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
642
9fa55373
JM
643 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
644 Remove macro.
645 (LLL_EBX_REG): Likewise.
646 (LLL_ENTER_KERNEL): Likewise.
647
38755f14
JM
648 * math/auto-libm-test-in: Add more tests of asin.
649 * math/auto-libm-test-out: Regenerated.
650 * sysdeps/i386/fpu/libm-test-ulps: Update.
651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
652
a9fe4c5a
JM
653 [BZ #18138]
654 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
655 libc_do_syscall_args): New structure.
656 (INTERNAL_SYSCALL_MAIN_0): New macro.
657 (INTERNAL_SYSCALL_MAIN_1): Likewise.
658 (INTERNAL_SYSCALL_MAIN_2): Likewise.
659 (INTERNAL_SYSCALL_MAIN_3): Likewise.
660 (INTERNAL_SYSCALL_MAIN_4): Likewise.
661 (INTERNAL_SYSCALL_MAIN_5): Likewise.
662 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
663 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
664 Replace conditional definitions by conditional definitions of ....
665 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
666 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
667 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
668 (libpthread-sysdep_routines): Add libc-do-syscall.
669 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
670 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
671 to __NR_futex not 240.
672
afcd9480
AM
6732015-03-25 Alan Modra <amodra@gmail.com>
674
675 * NEWS: Advertise TLS optimization.
676 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
677 (DT_PPC_NUM): Increment.
678 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
679 (CHECK_STATIC_TLS): Use here.
680 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
681 TLS descriptors.
682 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
683 * sysdeps/powerpc/dl-tls.c: New file.
684 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
685 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
686 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
687 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
691
da9f3334
AM
6922015-03-25 Alan Modra <amodra@gmail.com>
693
694 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
695 for overlapping .opd entries" to "support...".
696 * sysdeps/powerpc/powerpc64/configure: Regenerate
697
bc899ea0
JM
6982015-03-25 Joseph Myers <joseph@codesourcery.com>
699
8d643971
JM
700 * math/auto-libm-test-in: Add more tests of acos.
701 * math/auto-libm-test-out: Regenerated.
702 * sysdeps/i386/fpu/libm-test-ulps: Update.
703 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
704
bc899ea0
JM
705 * math/auto-libm-test-in: Add more tests of expm1.
706 * math/auto-libm-test-out: Regenerated.
707 * sysdeps/i386/fpu/libm-test-ulps: Update.
708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
709
7c84a504
JM
7102015-03-24 Joseph Myers <joseph@codesourcery.com>
711
239ed6f3
JM
712 * math/auto-libm-test-in: Add more tests of cosh and sinh.
713 * math/auto-libm-test-out: Regenerated.
714 * sysdeps/i386/fpu/libm-test-ulps: Update.
715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
716
a737e826
JM
717 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
719
7c84a504
JM
720 * math/auto-libm-test-in: Add more tests of log2.
721 * math/auto-libm-test-out: Regenerated.
722 * sysdeps/i386/fpu/libm-test-ulps: Update.
723 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
724
7e9c7b9b
RM
7252015-03-23 Roland McGrath <roland@hack.frob.com>
726
727 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
728 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
729 _IO_IS_APPENDING bit in READ_WRITE instead.
730
98734cc5
FW
7312015-03-23 Florian Weimer <fweimer@redhat.com>
732
733 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
734 (__determine_cpumask_size): Replace extend_alloca with a
735 variable-length array. Do not treat res == 0 as an error.
736
2b028564
FW
7372015-03-23 Florian Weimer <fweimer@redhat.com>
738
739 [BZ #18100]
740 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
741 and integer overflow.
742 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
743 (main): Add integer overflow tests.
744 * manual/pattern.texi (Calling Wordexp): Document additional use
745 for WRDE_SYNTAX.
746
59261ad3
AM
7472015-03-23 Alan Modra <amodra@gmail.com>
748
749 * config.h.in: Remove HAVE_ASM_PPC_REL16.
750 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
751 and false branch of conditional.
752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
753 Likewise.
754
d583531a
ST
7552015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
756
757 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
758 libc-modules.h
868df0f9
ST
759 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
760 unused declaration of _hurd_intr_rpc_msg_in_trap.
761 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
762 defined instead of whether it is non-zero.
763 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
764 input constraint instead of both input and output constraint. Use ecx
765 clobber instead of %ecx.
766 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
767 mutex_unlock): Use a statement expression instead of an expression list.
768 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
769 type to vm_size_t instead of vm_address_t.
770 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
771 defined instead of whether it is non-zero.
772 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
773 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
774 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
775 comparisons with mapaddr.
776 * nscd/nscd-client.h: Include <time.h>.
777 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
778 9th parameter to __vm_region instead of int.
661a7dba 779 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
9e70234c
ST
780 * scripts/check-local-headers.sh (exclude): Add device/,
781 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
782 cthreads.h.
d583531a 783
298e5d56
RM
7842015-03-19 Roland McGrath <roland@hack.frob.com>
785
786 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
787 to account for alignment padding.
788 * sysdeps/arm/memmove.S: Likewise.
789
becb26b8
CM
7902015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
791
792 * sysdeps/unix/sysv/linux/generic/README: New file.
793
c2f5813a
JM
7942015-03-18 Joseph Myers <joseph@codesourcery.com>
795
796 [BZ #18138]
797 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
798 (futex_abstimed_wait)
799 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
800 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
801 of lll_futex_timed_wait.
802
ed6b0fe7
BH
8032015-03-18 Brad Hubbard <bhubbard@redhat.com>
804
805 [BZ #17542]
806 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
807
f8aeae34
AO
8082015-03-17 Alexandre Oliva <aoliva@redhat.com>
809
810 [BZ #17090]
811 [BZ #17620]
812 [BZ #17621]
813 [BZ #17628]
814 * NEWS: Update.
815 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
816 entries with Static TLS too. Skip entries past the end of the
817 allocated DTV, from Alan Modra.
818 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
819 Static TLS DTV entry set up from...
820 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
821 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
822 * nptl/allocatestack.c (init_one_static_tls): ... and here...
823 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
824 for Static TLS.
825 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
826 that the slot we find is associated with the given map before
827 using its generation count.
828 * nptl_db/db_info.c: Include ldsodefs.h.
829 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
830 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
831 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
832 (link_map::l_tls_offset): New struct field.
833 (dtv_t::counter): Likewise.
834 (rtld_global): New struct.
835 (_rtld_global): New rtld variable.
836 (dl_tls_dtv_slotinfo_list): New rtld global field.
837 (dtv_slotinfo_list): New struct.
838 (dtv_slotinfo): Likewise.
839 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
840 (td_lookup): Rename to...
841 (td_mod_lookup): ... this. Use new mod parameter instead of
842 LIBPTHREAD_SO.
843 * nptl_db/td_thr_tlsbase.c: Include link.h.
844 (dtv_slotinfo_list, dtv_slotinfo): New functions.
845 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
846 addresses even if the DTV is out of date or missing them.
847 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
848 index zero-length arrays.
849 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
850 (td_lookup): Make it a macro implemented in terms of...
851 (td_mod_lookup): ... this declaration.
852 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
853 (DB_MAIN_VARIABLE): Likewise.
854
b97eb2bd
L
8552015-03-16 H.J. Lu <hongjiu.lu@intel.com>
856
857 [BZ #18134]
858 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
859
cb219290
PE
8602015-03-15 Paul Eggert <eggert@cs.ucla.edu>
861
862 * stdlib/setenv.c (__add_to_environ): Revert previous change.
863
a3905fd9
AS
8642015-03-14 Andreas Schwab <schwab@linux-m68k.org>
865
866 [BZ #18128]
867 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
868 (atomic_add, atomic_increment_and_test)
869 (atomic_decrement_and_test): Fix 64-bit arithmetic.
870
2ecccaed
PE
8712015-03-13 Paul Eggert <eggert@cs.ucla.edu>
872
873 * stdlib/setenv.c (__add_to_environ):
874 Dump core quickly if setenv (..., NULL, ...) is called.
875
cdaf79d0
RM
8762015-03-13 Roland McGrath <roland@hack.frob.com>
877
878 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
879 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
880 all the necessary asm magic in one place.
881 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
882 using those.
883
cf9313e7
CD
8842015-03-13 Carlos O'Donell <carlos@redhat.com>
885
886 [BZ #14906]
887 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
888 traced file mtime. Use consistent log message.
889 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
890 (register_traced_file): Call install_watches. Always set mtime.
891 (invalidate_cache): Iterate over all trace files. Call install_watches.
892 (inotify_check_files): Don't inline. Handle watching parent
893 directories and configuration file movement in and out.
894 (handle_inotify_events): New function.
895 (main_loop_poll): Call handle_inotify_events.
896 (main_loop_epoll): Likewise.
897 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
898 (struct traced_file): Use array of inotify fds. Add parent directory,
899 and basename.
900 (struct database_dyn): Remove unused file_mtime.
901 (init_traced_file): New inline function.
902 (define_traced_file): New macro.
903 * nss/nss_db/db-init.c: Use define_traced_file.
904 (_nss_db_init): Use init_traced_file.
905 * nss/nss_files/files-init.c: Use define_traced_file.
906 (_nss_files_init): Use init_traced_file.
907
7d67a196
JM
9082015-03-12 Joseph Myers <joseph@codesourcery.com>
909
910 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
911 [_LIBC]: Do not include <stdlib.h>.
912 [!_LIBC] (abort): Remove declaration.
913 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
914 _FP_STATIC_ASSERT instead of conditionally calling abort.
915 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
916 (_FP_EXTEND_CNAN): Likewise.
917 (FP_TRUNC): Likewise.
918 (__FP_CLZ): Likewise.
919 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
920
af85ebcd
YS
9212015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
922
923 * manual/string.texi (XPG basename): Fix prototype.
924
2e807f29
SL
9252015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
926
927 [BZ #18080]
928 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
929 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
930 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
931 (__setcontext): Likewise.
932 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
933 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
934 Call rt_sigprocmask syscall one time to set new signal mask
935 and retrieve the current signal mask instead of two calls.
936 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
937 (__swapcontext): Likewise.
938 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
939 * stdlib/tst-setcontext2.c: New file.
940
1b2bebe6
SL
9412015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
942
943 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
944
6a1cf708
AJ
9452015-03-11 Aurelien Jarno <aurelien@aurel32.net>
946
947 [BZ #18093]
948 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
949 the wrong size.
950
a2d4cf72
PP
9512015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
952
953 [BZ #18043]
954 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
955
5ca10a0c
AZ
9562015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
957
958 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
959 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
960 Remove define.
961 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
962 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
963 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
964 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
965 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
966 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
967 define.
968 * nptl_db/td_symbol_list.c (td_lookup): Remove
969 HAVE_ASM_GLOBAL_DOT_NAME code.
970 * sysdeps/powerpc/powerpc64/configure.ac: Remove
971 HAVE_ASM_GLOBAL_DOT_NAME check.
972 * sysdeps/powerpc/powerpc64/configure: Regenerate.
973 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
974 (DOT_LABEL): Remove define.
975 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
976 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
977 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
978 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
979 (__TLS_GET_ADDR): Likewise.
980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
981 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
982
e4363cfb
CD
9832015-03-11 Carlos O'Donell <carlos@redhat.com>
984
985 [BZ #18111]
986 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
987 (_FPU_SETCW): Initialize cw from fpsr before storing.
988 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
989 (fesetexceptflag): Rewrite using fpu_control.h.
990 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
991
fae1aa8d
JDA
9922015-03-11 John David Anglin <danglin@gcc.gnu.org>
993
994 [BZ #18110]
995 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
996 asms.
997 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
998
068a6274
JM
9992015-03-11 Joseph Myers <joseph@codesourcery.com>
1000
1001 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
1002 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
1003 abort.
1004 (_FP_FMA): Likewise.
1005 (_FP_DIV): Likewise.
1006
d3821ab0
RM
10072015-03-10 Roland McGrath <roland@hack.frob.com>
1008
44a6213c
RM
1009 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
1010 with 0 in that case.
1011 * Makefile (summarize-tests): New canned sequence, factored out of
1012 commands for targets tests and xtests. Display summary lines that
1013 don't start with PASS: or XFAIL: rather than ones that do start with
1014 ERROR: or FAIL:. Make the commands fail if any summary lines fail
1015 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
1016 do start with ERROR: or FAIL:.
1017 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
1018 (except for [$(build-shared) = yes]).
1019 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
1020 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
1021 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
1022 * nptl/Makefile: Revert 2015-03-04 changes.
1023 [$(CXX) empty] (tests-unsupported): New variable.
1024 * debug/Makefile: Likewise.
1025
d3821ab0
RM
1026 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
1027 gnulib file. Replace __attribute with __attribute__ throughout.
1028
85ca85ae
CD
10292015-03-10 Carlos O'Donell <carlos@redhat.com>
1030
1031 * sysdeps/hppa/fpu/libm-test-ulps: Update.
1032
6411f81d
JM
10332015-03-10 Joseph Myers <joseph@codesourcery.com>
1034
1035 [BZ #18104]
1036 * math/auto-libm-test-in: Add another test of pow.
1037 * math/auto-libm-test-out: Regenerated.
1038
d421868b
AZ
10392015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1040
1041 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
1042 $(config-cflags-nofma).
1043
a2f8be9c
JM
10442015-03-10 Joseph Myers <joseph@codesourcery.com>
1045
1046 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
1047 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
1048 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
1049 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
1050 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
1051 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
1052 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
1053 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
1054 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
1055 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
1056 Add comment on closing #endif.
1057
01d032e0
PP
10582015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1059
1060 * posix/wordexp.c (CHAR_IN_SET): New macro.
1061 (parse_param): Use it.
1062
d439bc56
AZ
10632015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1064
1065 * sysdeps/powerpc/fpu/libm-test-ulps: update.
1066
5f85a4bf
PP
10672015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1068
1069 [BZ #18043]
1070 * posix/wordexp.c (parse_param): Fix buffer overflow.
1071 * posix/wordexp-test.c (test_case): Add test case.
1072
f8ba70e9
PP
10732015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1074
1075 [BZ #18042]
1076 * posix/wordexp.c (parse_backtick): Fix off-by-one.
1077 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
1078
36103ba2
PP
10792015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
1080
1081 [BZ #18043]
1082 * posix/wordexp-test.c (test_case): Add test for BZ #18043
1083 (do_bz18043): Delete.
1084 (at_page_end): New.
1085 (testit): Refactor to have words at the edge of unreadable page.
1086
18d26750
PP
10872015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
1088
1089 [BZ #16734]
1090 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
1091 Cleanup read-only streams as well.
1092 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
1093
9f95dc5d
ST
10942015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
1095
1096 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
1097 <bits/libc-lockP.h>
1098
b838844b
JM
10992015-03-07 Joseph Myers <joseph@codesourcery.com>
1100
1101 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
1102 on [__KERNEL__].
1103 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
1104 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
1105 * soft-fp/op-common.h (_FP_DECL): Likewise.
1106
e0ed2fb4
L
11072015-03-06 H.J. Lu <hongjiu.lu@intel.com>
1108
1109 * elf/ifuncdep2.c (global): Replace
1110 __attribute__((visibility("protected"))) with
1111 asm (".protected global").
1112 * elf/ifuncmod1.c (global): Likewise.
1113 * elf/ifuncmod5.c (global): Likewise.
1114
fa9dda64
JM
11152015-03-06 Joseph Myers <joseph@codesourcery.com>
1116
1117 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
1118 <asm/sfp-machine.h> instead of <sfp-machine.h>.
1119
4acc27ed
RM
11202015-03-06 Roland McGrath <roland@hack.frob.com>
1121
1122 * manual/install.texi (Configuring and compiling):
1123 Document test-wrapper-env-only.
1124 * INSTALL: Regenerated.
1125
895c30cb
PP
11262015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
1127
1128 [BZ #18043]
1129 * posix/wordexp.c (parse_param): Fix buffer overflow.
1130 * posix/wordexp-test.c (do_bz18043): Add test case.
1131
5df56c7e
VB
11322015-03-06 Vincent Bernat <vincent@bernat.im>
1133
1134 * time/tst-strptime2.c (do_test): Ensure failing tests are
1135 reported correctly.
1136 * time/tst-strptime3.c (do_test): Likewise.
1137
1cdf2ea1
ST
11382015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
1139
1140 Fix aio_error thread-safety.
1cdf2ea1
ST
1141 * sysdeps/pthread/aio_error.c: New file
1142 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
1143 synchronization.
1144
d176a41a
FW
11452015-03-06 Florian Weimer <fweimer@redhat.com>
1146
1147 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
1148 (group_number, vfprintf): Use it.
1597b744
FW
1149 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
1150 (JUMP, REF): Use it.
1151 (WORK_BUFFER_SIZE): New enum constant.
1152 (process_arg, vfprintf): Use it.
d176a41a 1153
7e7af349
RJ
11542015-03-06 Rical Jasan <ricaljasan@pacific.net>
1155
1156 * manual/errno.texi (Error Messages): Complete example function
1157 by adding missing #define.
1158 (program_invocation_name): Add statement indicating GNU
1159 extension and reference which header file declares the variable.
1160 (program_invocation_short_name): Likewise.
1161
4ca8ddfb
MF
11622015-03-06 Mike Frysinger <vapier@gentoo.org>
1163
1164 * manual/errno.texi (Error Messages): Delete strerror ISO C89
1165 compatibility note.
1166
9162c01d
RM
11672015-03-05 Roland McGrath <roland@hack.frob.com>
1168
1169 * Makeconfig (test-wrapper-env-only): New variable.
1170 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
1171 then use that with $(test-wrapper-env-only) rather than using
1172 $(test-wrapper-env) $(run-program-env) $($*-ENV).
1173
209826bc
L
11742015-03-05 H.J. Lu <hongjiu.lu@intel.com>
1175
1176 [BZ #18082]
1177 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
1178 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
1179 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
1180 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
1181 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
1182 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
1183 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
1184 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
1185 Likewise.
1186 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
1187 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
1188 Likewise.
1189 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
1190 Likewise.
1191 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
1192 Likewise.
1193 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
1194 Likewise.
1195 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
1196 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
1197 Likewise.
1198 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
1199 Likewise.
1200 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
1201 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
1202
2cfe32bc
RM
12032015-03-04 Roland McGrath <roland@hack.frob.com>
1204
8bff5aab
RM
1205 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
1206 (ETH_ALEN): New macro.
1207 (struct ether_addr): Use it for length of ether_addr_octet.
1208
2752f338
RM
1209 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
1210 (setdb): Don't call __nss_configure_lookup for "rpc".
1211 (do_test): Don't call test_rpc.
1212 (output_rpcent, test_rpc): Functions moved ...
1213 * sunrpc/test-rpcent.c: ... to this new file.
1214 * sunrpc/Makefile (tests): Add it.
1215
2cfe32bc
RM
1216 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
1217 __xpg_sigpause.
1218 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
1219 * nptl/tst-signal6.c: Likewise.
1220 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
1221 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
1222
e4693aa7
RM
1223 * configure.ac (libc_cv_cxx_link_ok): New check.
1224 Reset CXX to empty if it fails to link.
1225 * configure: Regenerated.
1226 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
1227 bug-atexit3-lib only if $(CXX) is nonempty.
1228 * nptl/Makefile (tests): Likewise for tst-cancel24.
1229 (tests, tests-static): Likewise for tst-cancel24-static.
1230 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
1231 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
e27176ee
RM
1232 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
1233 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
e4693aa7 1234
8e2e833a
AS
12352015-03-04 Andreas Schwab <schwab@suse.de>
1236
1237 [BZ #17631]
1238 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
1239 for non-GCC compilers.
1240 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
1241 Likewise.
1242
85b29045
AZ
12432015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
1244
1245 [BZ #17776]
1246 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
1247 integer before bitwise and assembly operations.
1248 (feclearexcept): Likewise.
1249 * math/test-fenvinline.c: New file.
1250 * math/Makefile: Add test-fenvinline test.
1251
a0af371c
AM
12522015-03-03 Alan Modra <amodra@gmail.com>
1253
1254 [BZ #16512]
1255 * scripts/localplt.awk: Strip off symbol version.
1256 * NEWS: Mention bug fix.
1257
47465629
RM
12582015-03-02 Roland McGrath <roland@hack.frob.com>
1259
1260 * sysdeps/pthread/timer_routines.c
1261 (timer_free_list, thread_free_list, thread_active_list): Make static.
1262
6d08b022
JM
12632015-03-02 Joseph Myers <joseph@codesourcery.com>
1264
1265 [BZ #17779]
1266 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1267 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1268 Undefine.
1269 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1270 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1271 Likewise.
1272 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1273 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
1274 Likewise.
1275
c2c6d39f
PP
12762015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
1277
1278 [BZ #18036]
1279 * posix/fnmatch_loop.c (END): Detect invalid pattern.
1280 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
1281
e8b6be00
AS
12822015-03-02 Andreas Schwab <schwab@suse.de>
1283
1284 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
1285 variable name.
1286
1a2d98af
FW
12872015-03-02 Florian Weimer <fweimer@redhat.com>
1288
1289 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
1290 Return error status.
1291
e7f07af5
AO
12922015-02-27 Alexandre Oliva <aoliva@redhat.com>
1293
1294 [BZ #15969]
1295 * locale/findlocale.c (_nl_find_locale): Introduce const
1296 version of loc_name and drop unsafe type casts.
1297
c7b19ca9
RM
12982015-02-27 Roland McGrath <roland@hack.frob.com>
1299
1300 * dlfcn/tststatic2.c (main): Converted to ...
1301 (do_test): ... this.
1302 (TEST_FUNCTION): New macro.
1303 Include test-skeleton.c.
1304
ef4ad06f
L
13052015-02-27 H.J. Lu <hongjiu.lu@intel.com>
1306
1307 [BZ #17711]
1308 * elf/Makefile (tests): Add vismain only if PIE is enabled.
1309 (tests-pie): Add vismain.
1310 (CFLAGS-vismain.c): New.
1311 * elf/vismain.c: Add comments for PIE requirement.
1312
2ca725c5
JM
13132015-02-27 Joseph Myers <joseph@codesourcery.com>
1314
1315 [BZ #18046]
1316 [BZ #18047]
1317 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
1318 0x1p-56L as threshold for just returning the argument.
1319 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
1320 0x1p-32L as threshold for just returning the argument.
1321 * math/auto-libm-test-in: Add more tests of atanh.
1322 * math/auto-libm-test-out: Regenerated.
1323 * sysdeps/i386/fpu/libm-test-ulps: Update.
1324 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
1325
af96be34
WD
13262015-02-27 Wilco Dijkstra wdijkstr@arm.com
1327
1328 * string/bcopy.c (bcopy): Call memmove for performance.
1329
ddcf6798
WD
13302015-02-27 Wilco Dijkstra wdijkstr@arm.com
1331
1332 * string/bzero.c (__bzero): Call memset for performance.
1333
49f476f4
JDA
13342015-02-27 John David Anglin <dave.anglin@bell.net>
1335
b42e14ff 1336 [BZ #18068]
49f476f4
JDA
1337 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
1338 to 00100000.
1339
f8ab5d38
JM
13402015-02-27 Joseph Myers <joseph@codesourcery.com>
1341
1342 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
1343
380bd0fd
JM
13442015-02-26 Joseph Myers <joseph@codesourcery.com>
1345
31331a07
JM
1346 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
1347 (__kernel_standard): Use CSTR macro when setting exc.name.
1348 * sysdeps/ieee754/Makefile [$(subdir) = math]
1349 (CFLAGS-k_standard.c): Remove variable.
1350
09220e66
JM
1351 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
1352 setting p and q from "else if" to "else".
1353 (qzero): Likewise.
1354 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
1355 (qone): Likewise.
1356 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
1357 (qzerof): Likewise.
1358 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
1359 (qonef): Likewise.
1360 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
1361 (qzero): Likewise.
1362 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
1363 (qone): Likewise.
1364
1d9ab20c
JM
1365 [BZ #18038]
1366 [BZ #18039]
1367 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
1368 return pi/2 for arguments below 0x1p-113L.
1369 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
1370 return pi/2 for arguments below 0x1p-106L.
1371 * math/auto-libm-test-in: Add more tests of acos.
1372 * math/auto-libm-test-out: Regenerated.
1373
ec0ce0d3
JM
1374 [BZ #16351]
1375 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
1376 (MO): New macro.
1377 (__ieee754_asin): Force underflow exception for results with small
1378 absolute value.
1379 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
1380 (MO): New macro.
1381 (__ieee754_asinf): Force underflow exception for results with
1382 small absolute value.
1383 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
1384 (__ieee754_asin): Force underflow exception for results with small
1385 absolute value.
1386 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
1387 (__ieee754_asinf): Force underflow exception for results with
1388 small absolute value.
1389 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
1390 (__ieee754_asinl): Force underflow exception for results with
1391 small absolute value.
1392 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
1393 (__ieee754_asinl): Force underflow exception for results with
1394 small absolute value.
1395 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
1396 (__ieee754_asinl): Force underflow exception for results with
1397 small absolute value.
1398 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
1399 Include <math.h>.
1400 * math/auto-libm-test-in: Do not mark underflow exceptions as
1401 possibly missing for bug 16351.
1402 * math/auto-libm-test-out: Regenerated.
1403
380bd0fd
JM
1404 [BZ #18030]
1405 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
1406 of power of 2 down when low part has opposite sign.
1407 * math/libm-test.inc (logb_test_data): Add more tests.
1408
4a28f4d5
AS
14092015-02-26 Andreas Schwab <schwab@suse.de>
1410
1411 [BZ #18032]
1412 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
1413 over collating symbol inside a bracket expression. Minor cleanup.
1414 * posix/tst-fnmatch3.c (do_test): Add test case.
1415
524ae9ea
JM
14162015-02-26 Joseph Myers <joseph@codesourcery.com>
1417
1418 [BZ #18029]
1419 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
1420 Adjust exponent of power of 2 down when low part has opposite
1421 sign.
1422 * math/libm-test.inc (ilogb_test_data): Add more tests.
1423
23d43090
AO
14242015-02-26 Alexandre Oliva <aoliva@redhat.com>
1425
1426 [BZ #15969]
1427 * locale/findlocale.c (_nl_find_locale): Fix constness error in
1428 the previous change.
0d822a01
AO
1429
1430 [BZ #15969]
1431 * locale/findlocale.c (_nl_find_locale): Retry archive search
1432 after alias expansion.
1433
d19df6ac
RM
14342015-02-25 Roland McGrath <roland@hack.frob.com>
1435
ca681b7b
RM
1436 * iconv/tst-iconv3.c (main): Converted to ...
1437 (do_test): ... this.
1438 (TEST_FUNCTION): New macro.
1439 Include test-skeleton.c.
1440
fd1f2f1c
RM
1441 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
1442 (convert): Make function static.
1443 (test_unalign): Likewise. Add const to argument pointee types.
1444 (main): Replace with static function do_test.
1445 Print "Succeeded." only if RET is zero.
1446 (TEST_FUNCTION): New macro.
1447 Include test-skeleton.c.
1448
d19df6ac
RM
1449 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
1450 returns a null pointer.
1451
115e0de7
AZ
14522015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1453
1454 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
1455 to __memcpy_ppc only for static builds.
1456
137cef7d
JM
14572015-02-25 Joseph Myers <joseph@codesourcery.com>
1458
1459 [BZ #18020]
1460 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
1461 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
1462 * math/auto-libm-test-in: Add more tests of asinh.
1463 * math/auto-libm-test-out: Regenerated.
1464 * sysdeps/i386/fpu/libm-test-ulps: Update.
1465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1466
cb43bb0d
CW
14672015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
1468
1469 [BZ #15850]
1470 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
1471 and ip6_mtuinfo definitions here.
1472 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
1473 in this define too. Update comment.
1474
9be1052b
BS
14752015-02-24 Benno Schulenberg <bensberg@justemail.net>
1476
1477 * elf/sprof.c (load_shobj): Tweak error message to match others.
1478
6807b1db
KE
14792015-02-24 Kevin Easton <kevin@guarana.org>
1480
1481 [BZ #16145] (partial fix)
1482 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
1483 to reduce lock contention.
1484
b433df00
ML
14852015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
1486
1487 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
1488 (struct timex): Update time comment.
1489 (ADJ_SETOFFSET): Define.
1490
440169d6
JM
14912015-02-24 Joseph Myers <joseph@codesourcery.com>
1492
1493 [BZ #18019]
1494 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
1495 2**56 not 2**28 as threshold for log (2x) formula.
1496 * math/auto-libm-test-in: Add more tests of acosh.
1497 * math/auto-libm-test-out: Regenerated.
1498 * sysdeps/i386/fpu/libm-test-ulps: Update.
1499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1500
ba7d2c54
MF
15012015-02-24 Mike Frysinger <vapier@gentoo.org>
1502
1503 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
1504 parenthesis around the buf assignment.
1505 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
1506
9438b237
JM
15072015-02-24 Joseph Myers <joseph@codesourcery.com>
1508
1509 [BZ #16783]
1510 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
1511 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
1512 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
1513 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1514 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
1515 * math/libm-test.inc (scalb_test_data): Add more tests.
1516
6909d276
PP
15172015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
1518
1519 [BZ #17916]
1520 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
1521 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
1522
65f6f938
ER
15232015-02-24 Eric Rannaud <e@nanocritical.com>
1524
1525 [BZ #17523]
1526 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
1527 * io/bits/fcntl2.h (open): Use it.
1528 (openat): Likewise.
1529 * io/open.c (__libc_open): Likewise.
1530 * io/open64.c (__libc_open64): Likewise.
1531 * io/open64_2.c (__open64_2): Likewise.
1532 * io/open_2.c (__open_2): Likewise.
1533 * io/openat.c (__openat): Likewise.
1534 * io/openat64.c (__openat64): Likewise.
1535 * io/openat64_2.c (__openat64_2): Likewise.
1536 * io/openat_2.c (__openat_2): Likewise.
1537 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
1538 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
1539 * sysdeps/posix/open64.c (__libc_open64): Likewise.
1540 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
1541 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
1542 (__open_nocancel): Likewise.
1543 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
1544 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
1545 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
1546
3e3002ff
SP
15472015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1548
1549 [BZ #14841]
1550 * resolv/gethnamaddr.c (getanswer): Skip logging if
1551 RES_USE_DNSSEC is set.
1552 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1553
9813dd58
MF
15542015-02-24 Mike Frysinger <vapier@gentoo.org>
1555
1556 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
1557
7b1ec6a0
AO
15582015-02-23 Alexandre Oliva <aoliva@redhat.com>
1559
1560 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1561 201304L, for Unicode 7.
1562
d49499c1
L
15632015-02-23 H.J. Lu <hongjiu.lu@intel.com>
1564
1565 [BZ #17836]
1566 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
1567 shared library. Add gmon-start.os otherwise.
1568 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
1569 $(objpfx)gmon-start.os if builing shared library.
1570 ($(objpfx)g$(static-start-installed-name)): Likewise.
1571
51225803
AS
15722015-02-23 Andreas Schwab <schwab@suse.de>
1573
1574 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
1575
bdf1ff05
PP
15762015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
1577
1578 [BZ #17269]
1579 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
1580 (enlarge_userbuf): Likewise.
1581
95296112
CLT
15822015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
1583
1584 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
1585 * math/atest-exp.c (TIMEOUT): Adjust to 200.
1586 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
1587 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
1588
e4a399dc
JM
15892015-02-20 Joseph Myers <joseph@codesourcery.com>
1590
1591 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
1592 expression inside statement expression.
1593
7133957f
SL
15942015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
1595
1596 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
1597 <sysdeps/nptl/lowlevellock.h> and remove macros and
1598 functions that are now defined there.
1599 (SYS_futex): Remove.
1600 (lll_compare_and_swap): Remove.
1601 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
1602
40176158
JM
16032015-02-19 Joseph Myers <joseph@codesourcery.com>
1604
1605 [BZ #17999]
1606 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
1607 instead of scandirat.
1608 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
1609 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
1610 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
1611 __scandirat.
1612 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
1613 (__scandirat): Declare. Use libc_hidden_proto.
1614 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
1615 Remove variable.
1616 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
1617
4629c866
JM
16182015-02-18 Joseph Myers <joseph@codesourcery.com>
1619
1620 [BZ #15319]
1621 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
1622 (MO): New macro.
1623 (__ieee754_atan2): For results with small absolute value, force
1624 underflow exception and remove excess range and precision from
1625 return value.
1626 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
1627 (MO): New macro.
1628 (__ieee754_atan2f): For results with small absolute value, force
1629 underflow exception and remove excess range and precision from
1630 return value.
1631 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
1632 (MO): New macro.
1633 (__atan): For results with small absolute value, force underflow
1634 exception and remove excess range and precision from return value.
1635 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
1636 (MO): New macro.
1637 (__atanf): For results with small absolute value, force underflow
1638 exception and remove excess range and precision from return value.
1639 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
1640 <math.h>.
1641 (__ieee754_atan2): Force underflow exception for results with
1642 small absolute value.
1643 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
1644 <math_private.h>.
1645 (atan): Force underflow exception for results with small absolute
1646 value.
1647 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
1648 (__atanf): Force underflow exception for results with small
1649 absolute value.
1650 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
1651 <math.h>.
1652 (__atanl): Force underflow exception for results with small
1653 absolute value.
1654 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
1655 (__atanl): Force underflow exception for results with small
1656 absolute value.
1657 * sysdeps/x86/fpu/bits/mathinline.h
1658 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
1659 (__ieee754_atan2): Only define inline for long double.
1660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
1661 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
1662 * math/auto-libm-test-in: Do not mark underflow exceptions as
1663 possibly missing for bug 15319. Add more tests of atan2.
1664 * math/auto-libm-test-out: Regenerated.
1665 * math/libm-test.inc (casin_test_data): Do not mark underflow
1666 exceptions as possibly missing for bug 15319.
1667 (casinh_test_data): Likewise.
1668 * sysdeps/i386/fpu/libm-test-ulps: Update.
1669
9ee16d8b
SE
16702015-02-18 Steve Ellcey <sellcey@imgtec.com>
1671
1672 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
1673 * sysdeps/mips/bits/endian.h: Fix comments.
1674
4ffb1771
JM
16752015-02-18 Joseph Myers <joseph@codesourcery.com>
1676
1677 [BZ #17996]
1678 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
1679 (hdestroy_r): Likewise.
1680 (hsearch_r): Likewise.
1681 (__hcreate_r): Declare and use libc_hidden_proto.
1682 (__hdestroy_r): Likewise.
1683 (__hsearch_r): Likewise.
1684 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
1685 (hcreate): Call __hcreate_r instead of hcreate_r.
1686 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
1687 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
1688 as weak alias of __hcreate_r.
1689 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
1690 __hdestroy_r.
1691 (hsearch_r): Rename to __hsearch_r and define as weak alias of
1692 __hsearch_r.
1693 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
1694 Remove variable.
1695 (test-xfail-XPG4/search.h/linknamespace): Likewise.
1696 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
1697 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
1698 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
1699
94c5a52a
SP
17002015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1701
1702 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
1703 arena_lock into a single arena_get.
1704
8a35c3fe
CD
17052015-02-17 Carlos O'Donell <carlos@redhat.com>
1706
1707 * dl-reloc.c: Inlucde libc-internal.h.
1708 (_dl_try_allocate_static_tls): Call ALIGN_UP.
1709 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
1710 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
1711 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
1712 (grow_heap): Likewise.
1713 * malloc/malloc.c: Include libc-internal.h.
1714 (do_check_malloc): Call powerof2.
1715 (sysmalloc): Use pagesize. Call ALIGN_UP.
1716 (systrim): Use pagesize.
1717 (mremap_chunk): Use pagesize. Call ALIGN_UP.
1718 (__libc_valloc): Use pagesize.
1719 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
1720
1a2325c0
JM
17212015-02-17 Joseph Myers <joseph@codesourcery.com>
1722
1723 [BZ #17991]
1724 * include/sys/resource.h (__getrlimit64): Declare. Use
1725 libc_hidden_proto.
1726 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
1727 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
1728 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
1729 getrlimit64.
1730 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
1731 __getrlimit64.
1732 [!getrlimit64] (getrlimit64): Define as weak alias of
1733 __getrlimit64. Use libc_hidden_weak.
1734 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
1735 using __getrlimit64 not __new_getrlimit64.
1736 (__GI_getrlimit64): Likewise.
1737 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
1738 Likewise.
1739 (__GI_getrlimit64): Likewise.
1740 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
1741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
1742 (getrlimit): Add __getrlimit64 alias.
1743 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
1744 Likewise.
1745 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
1746 Remove variable.
1747 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
1748 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
1749
8ae4bb5a
PP
17502015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
1751
1752 * libio/fileops.c: Add missing sys/mman.h
1753 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
1754
18a218b7
JM
17552015-02-17 Joseph Myers <joseph@codesourcery.com>
1756
1757 * manual/math.texi (Errors in Math Functions): Clarify goals
1758 regarding inexact and underflow exceptions.
1759
e72ad0ef
SE
17602015-02-17 Steve Ellcey <sellcey@imgtec.com>
1761
1762 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
1763 * sysdeps/mips/memset.S: Ditto.
1764
2caa4099
SE
17652015-02-17 Steve Ellcey <sellcey@imgtec.com>
1766
1767 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
1768
f20bfc9b
SL
17692015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
1770
1771 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
1772 (__v1longjmp): Remove versioned symbol.
1773 (__v1siglongjmp): Remove alias and versioned symbol.
1774 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
1775 (__v2siglongjmp): Likewise.
1776
71c06b69
TR
17772015-02-16 Torvald Riegel <triegel@redhat.com>
1778
1779 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
1780
a9a05adb
MF
17812015-02-16 Mike Frysinger <vapier@gentoo.org>
1782
1783 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
1784
ce8fc784
JM
17852015-02-16 Joseph Myers <joseph@codesourcery.com>
1786
1787 [BZ #17987]
1788 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
1789 zero result does not depend on the sign resulting from
1790 subtraction.
1791 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1792 Likewise.
1793 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1794 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1795 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1796 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1797 * math/libm-test.inc (remquo_test_data): Add more tests.
1798
0d7036bd
PE
17992015-02-16 Paul Eggert <eggert@cs.ucla.edu>
1800
1801 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
1802 Problem reported by J William Piggott.
1803
86c56b16
JM
18042015-02-16 Joseph Myers <joseph@codesourcery.com>
1805
a820f9b3
JM
1806 [BZ #17978]
1807 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
1808 products 4 * y and 2 * y where those would overflow.
1809 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1810 Likewise.
1811 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
1812 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
1813 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
1814 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
1815 * math/libm-test.inc (remquo_test_data): Add more tests.
1816
be802953
JM
1817 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
1818
e5e72fe9
JM
1819 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
1820 [defined _COMPILING_NEWLIB].
1821 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
1822 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
1823
86c56b16
JM
1824 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
1825 [!defined __mips_isa_rev || __mips_isa_rev < 6].
1826
35264d14
TR
18272015-02-16 Torvald Riegel <triegel@redhat.com>
1828
1829 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
1830 acquired.
1831
6f49e32a
MF
18322015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
1833
1834 [BZ #17792]
1835 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
1836 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
1837 HOST_STACK_END_ADDR): Likewise.
1838
e525154e
SE
18392015-02-13 Steve Ellcey <sellcey@imgtec.com>
1840
1841 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
1842 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
1843 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
1844
4ab770b7
RM
18452015-02-13 Roland McGrath <roland@hack.frob.com>
1846
1847 * sysdeps/generic/c++-types.data: New file.
1848 * sysdeps/generic/ld.abilist: New file.
1849 * sysdeps/generic/libBrokenLocale.abilist: New file.
1850 * sysdeps/generic/libanl.abilist: New file.
1851 * sysdeps/generic/libc.abilist: New file.
1852 * sysdeps/generic/libcrypt.abilist: New file.
1853 * sysdeps/generic/libdl.abilist: New file.
1854 * sysdeps/generic/libm.abilist: New file.
1855 * sysdeps/generic/libpthread.abilist: New file.
1856 * sysdeps/generic/libresolv.abilist: New file.
1857 * sysdeps/generic/librt.abilist: New file.
1858
d9afe48d
JM
18592015-02-13 Joseph Myers <joseph@codesourcery.com>
1860
1861 [BZ #17569]
1862 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
1863 Compute absolute value of x as modified by fmod, not original
1864 value of x.
1865 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
1866 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
1867 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
1868 RUN_TEST_ffI_f1_mod8.
1869 (remquo_test_data): Add more tests.
1870
3846188b
RM
18712015-02-13 Roland McGrath <roland@hack.frob.com>
1872
1873 * sysdeps/init_array/pt-crti.S: New file.
1874
95c26233
JM
18752015-02-13 Joseph Myers <joseph@codesourcery.com>
1876
1877 [BZ #17967]
1878 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
1879 __builtin_fmaf instead of relying on contraction of a * b + c.
1880
3f293d61
WP
18812015-02-12 J William Piggott <elseifthen@gmx.com>
1882
1883 [BZ #17969]
1884 * manual/time.texi: correct the zoneinfo path in the TZ Variable
1885 node.
1886
e8bd5286
JM
18872015-02-12 Joseph Myers <joseph@codesourcery.com>
1888
1889 [BZ #17964]
1890 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
1891 __builtin_fma instead of relying on contraction of a * b + c.
1892
04f5a636
RM
18932015-02-12 Roland McGrath <roland@hack.frob.com>
1894
96a15749
RM
1895 * Makeconfig (ASFLAGS): Add -Werror=undef.
1896 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
1897 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
1898 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
1899
04f5a636
RM
1900 * Makeconfig (after-link): New variable.
1901 (+link-pie, +link-pie-tests): Use it.
1902 (+link-static, +link-static-tests): Likewise.
1903 (+link, +link-tests): Likewise.
1904 * Makerules (build-module, build-module-asneeded): Likewise.
1905 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
1906 Likewise.
1907 * elf/Makefile ($(objpfx)ld.so): Likewise.
1908
87a629c5
RS
19092015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
1910
1911 [BZ #17965]
1912 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
1913 both struct timeval and struct timespec.
1914
03d95bd4
JM
19152015-02-12 Joseph Myers <joseph@codesourcery.com>
1916
1917 [BZ #16560]
1918 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
1919 and redefine.
1920 (__ieee754_exp2l): Do not multiply small fractional parts by
1921 M_LN2l.
1922 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
1923 small argument.
1924 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
1925 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
1926 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
1927 * math/auto-libm-test-in: Add more tests of exp2.
1928 * math/auto-libm-test-out: Regenerated.
1929
98408b95
RS
19302015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1931
1932 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
1933 unaligned path.
1934
6f741503
AZ
19352015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1936
1937 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
1938 little endian.
1939
2868e070
AS
19402015-02-12 Andreas Schwab <schwab@suse.de>
1941
1942 [BZ #15790]
1943 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
1944 Filter out elision flags from value returned in kind.
1945 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
1946 * nptl/tst-pthread-mutexattr.c: New file.
1947
ebf27d12
ST
19482015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
1949
1950 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
1951 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
1952 into gnu-gnu, and update comment to refer to abi-tags.
1953
d435569c
JM
19542015-02-11 Joseph Myers <joseph@codesourcery.com>
1955
1956 [BZ #15467]
1957 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
1958 (__sincos): Set errno to EDOM for infinite argument.
1959 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
1960 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
1961 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
1962 (__sincosl): Set errno to EDOM for infinite argument.
1963 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
1964 (__sincosl): Set errno to EDOM for infinite argument.
1965 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
1966 (__sincosl): Set errno to EDOM for infinite argument.
1967 * math/libm-test.inc (sincos_test_data): Test errno setting.
1968
d35273f2
LH
19692015-02-11 Leonhard Holz <leonhard.holz@web.de>
1970
1971 * string/strxfrm_l.c: Remove #define STRCMP.
1972 * string/strcoll_l.c: Remove #define STRLEN.
1973 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
1974 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
1975
306bc0d1
JM
19762015-02-10 Joseph Myers <joseph@codesourcery.com>
1977
1978 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
1979 * sysdeps/mips/mips32/sfp-machine.h: ... here.
1980 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
1981 * sysdeps/mips/mips64/Makefile: ... here.
1982 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
1983 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
1984 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
1985 * sysdeps/mips/mips64/sfp-machine.h: ... here.
1986 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
1987 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
1988 * sysdeps/mips/mips64/n64/Implies: Likewise.
1989
92b67e8d
RM
19902015-02-10 Roland McGrath <roland@hack.frob.com>
1991
1992 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
1993 <sys/time.h>, <string.h>, and <errno.h>.
1994 (dest_offset, dest_address, value, zero): Remove unused variables.
1995 (ldouble): Remove typedef.
1996 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
1997 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
1998 1). Fix code style.
1999 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
2000 (check): Function removed.
2001 (CHECK): New macro.
2002 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
2003 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
2004 Don't call set_sigaction_FP and remove_sigaction_FP here.
2005 (ldouble_test): Just use 'long double' as macro argument, no need for
2006 the 'ldouble' typedef.
2007 (do_test): Set up SIGFPE handler at start, using plain signal rather
2008 than sigaction. Fix code style.
2009
132a1328
EF
20102015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
2011
2012 [BZ #17949]
2013 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
2014 jump label.
2015
3001e54c
AZ
20162015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2017
bc0cdc49
AZ
2018 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
2019 * sysdeps/powerpc/powerpc32/configure: Regenerated.
2020
83658961
AZ
2021 * sysdeps/powerpc/configure.ac: Remove file.
2022 * sysdeps/powerpc/configure: Likewise.
2023
10169938
AZ
2024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2025 [sysdep_routines]: Remove wordcopy-power6 object.
2026 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
2027 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
2028 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
2029 (__memmove_ppc32): Likewise.
2030 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
2031 file.
2032 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
2033 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
2034 Remove preprocessor.
2035
8548a53d
AZ
2036 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2037 [sysdep_routines]: Remove wide chars objects.
2038 [wcsmbs]: New rule for wide char objects.
2039
b2692114
AZ
2040 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2041 Remove wordcopy-power6 obejct.
2042 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
2043 Use local call for wordcopy and memcpy symbols.
2044 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
2045 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
2046 implementation for loader.
2047 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
2048
18e270aa
AZ
2049 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2050 Remove wordcopy-power7 object.
2051 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
2052 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
2053 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
2054 (_wordcopy_fwd_dest_aligned): Likewise.
2055 (_wordcopy_bwd_aligned): Likewise.
2056 (_wordcopy_bwd_dest_aligned): Likewise.
2057
6f0993a6
AZ
2058 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
2059 Rewrite to call __memmove_ppc instead of include default
2060 implementation.
2061
3001e54c
AZ
2062 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2063 Remove wide chars objects.
2064 [wcsmbs]: New rule for wide char objects.
2065
59b61c82
AS
20662015-02-09 Andreas Schwab <schwab@suse.de>
2067
2068 [BZ #17912]
2069 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
2070 in terms of __O_DIRECTORY.
2071
ebd7aede
ST
20722015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
2073
2074 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
2075 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
2076 call PTR_MANGLE.
2077 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
2078 PTR_DEMANGLE.
ebd7aede 2079
3999d26e
PE
20802015-02-07 Paul Eggert <eggert@cs.ucla.edu>
2081
2082 Add ersatz _Static_assert on older C hosts
2083 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
2084 pre-C11 C platform that is not known to support _Static_assert.
2085
e9a5bc1c
ST
20862015-02-07 Richard Braun <rbraun@sceen.net>
2087
2088 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
2089 sigstate.
e86c5b64 2090 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 2091
e2049d17
ST
20922015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
2093
2094 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
2095 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
2096 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
2097 instead of int.
2098 * misc/fchflags.c (fchflags): Likewise.
2099 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
2100 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
2101 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
2102 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
2103 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
2104 Declare macros.
2105 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
2106 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
2107 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
2108 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
2109 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
2110 45.
a9a002fb
ST
2111 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
2112 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
2113 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
2114 MACH_RCV_TIMED_OUT.
f96ec27a
ST
2115 * hurd/hurd/signal.h (_hurd_self_sigstate,
2116 _hurd_critical_section_lock, _hurd_critical_section_unlock):
2117 Explicit casts from void *.
4fc81a77 2118 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 2119 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 2120
f05826f0
ST
2121 [BZ #4719]
2122 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
2123 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
2124 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
2125 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
2126 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
2127 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
2128
a5eb23de
ST
2129 [BZ #17944]
2130 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
2131 duplicates ADDR->sun_path with sockaddr LEN limitation.
2132 * sysdeps/mach/hurd/connect.c: Include <string.h>
2133 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
2134 * sysdeps/mach/hurd/sendmsg.c: Likewise.
2135 * sysdeps/mach/hurd/sendto.c: Likewise.
2136 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
2137 implementing it by hand.
2138
ac9e0e5e
RM
21392015-02-06 Roland McGrath <roland@hack.frob.com>
2140
f8d1bb4c
RM
2141 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
2142 Use sfi_breg on ldr.
2143 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
2144 Likewise.
2145
022f4812
RM
2146 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
2147 it's defined.
2148 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
2149 Test SIGSETXID only if it's defined.
2150
1ac074e6
RM
2151 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
2152
f50ad78b
RM
2153 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
2154 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
2155
9e7265f4
RM
2156 * nptl/tst-align2.c: Moved ...
2157 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
2158 * nptl/Makefile (tests): Remove tst-align2.
2159 * sysdeps/unix/sysv/linux/Makefile
2160 [$(subdir) = nptl] (tests): Add tst-align-clone.
2161 * nptl/tst-getpid1.c: Moved ...
2162 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
2163 * nptl/tst-getpid2.c: Moved ...
2164 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
2165 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
2166 * sysdeps/unix/sysv/linux/Makefile
2167 [$(subdir) = nptl] (tests): ... here.
2168 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
2169 * sysdeps/unix/sysv/linux/Makefile
2170 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
2171
62ad2abc
RM
2172 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
2173 Drop trailing \n from perror argument. Use return rather than exit.
2174
cfa69b0b
RM
2175 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
2176 on [SA_SIGINFO].
2177 * nptl/tst-cancel21.c (do_test): Likewise.
2178 * debug/tst-backtrace6.c: Include <signal.h> first thing.
2179 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
2180 [!SA_SIGINFO]: Make it a stub test.
2181
82727806
RM
2182 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
2183 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
2184
da3a1594
RM
2185 * posix/tst-getlogin.c: Move to ...
2186 * login/tst-getlogin.c: ... here.
2187 * posix/Makefile (tests): Move tst-getlogin to ...
2188 * login/Makefile (tests): ... here.
2189
b65c0ff9
RM
2190 * libio/tst-atime.c (do_test): Move local variables SV and E
2191 inside [ST_NOATIME] conditional.
2192
56606ab3
RM
2193 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
2194
ebf7d6ee
RM
2195 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
2196
ca0e0675
RM
2197 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
2198 (wait_code): New function replaces macro.
2199 Call nanosleep rather than syscall.
2200
8c28bbc6
RM
2201 * nptl/pt-system.c: Rewritten. Put everything under
2202 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2203 Use IFUNC to redirect when possible.
2204
ec2a88b3
RM
2205 * nptl/pt-longjmp.c: Rewritten. Put everything under
2206 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2207 Use IFUNC to redirect when possible.
2208
beff1d13
RM
2209 * nptl/pt-fork.c: Rewritten. Put everything under
2210 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
2211 Use IFUNC to redirect when possible.
2212 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
2213
ea02c6b8
RM
2214 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
2215 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
2216 unconditionally nowadays. This included the only reference to
2217 __vdso_clock_gettime that appears outside libc proper.
2218 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
2219 Remove version set (containing only __vdso_clock_gettime).
2220 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
2221 Add attribute_hidden.
2222 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
2223 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
2224 libc_hidden_data_def.
2225 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
2226 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
2227
a1309c2b
RM
2228 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
2229 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
2230 setrpcent, and getrpcport to ...
2231 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
2232 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
2233 getrpcbynumber_r, and getrpcent_r to ...
2234 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
2235 * inet/getrpcbyname.c: Moved ...
2236 * sunrpc/getrpcbyname.c: ... here.
2237 * inet/getrpcbyname_r.c: Moved ...
2238 * sunrpc/getrpcbyname_r.c: ... here.
2239 * inet/getrpcbynumber.c: Moved ...
2240 * sunrpc/getrpcbynumber.c: ... here.
2241 * inet/getrpcbynumber_r.c: Moved ...
2242 * sunrpc/getrpcbynumber_r.c: ... here.
2243 * inet/getrpcent.c: Moved ...
2244 * sunrpc/getrpcent.c: ... here.
2245 * inet/getrpcent_r.c: Moved ...
2246 * sunrpc/getrpcent_r.c: ... here.
2247 * inet/Makefile (routines): Move those to ...
2248 * sunrpc/Makefile (routines): ... here.
2249 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
2250 the $(subdirs) list.
2251 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
2252 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
2253 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
2254 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
2255
ac9e0e5e
RM
2256 * elf/Makefile (routines): Include $(all-dl-routines), not just
2257 $(dl-routines).
2258 (rtld-routines): Likewise. Use = rather than :=.
2259 * sysdeps/aarch64/Makefile [$(subdir) = elf]
2260 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
2261 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
2262 * sysdeps/arm/Makefile: Likewise.
2263 * sysdeps/i386/Makefile: Likewise.
2264 * sysdeps/x86_64/Makefile: Likewise.
2265 * sysdeps/hppa/Makefile [$(subdir) = elf]
2266 (sysdep_routines, sysdep-rtld-routines): Don't add
2267 $(sysdep-dl-routines) to these.
2268 * sysdeps/ia64/Makefile: Likewise.
2269 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
2270 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
2271 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
2272 Don't add dl-static to these; sysdep-dl-routines alone is enough.
2273 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
2274 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
2275 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
2276 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
2277 * sysdeps/powerpc/Makefile [$(subdir) = elf]
2278 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
2279 these; sysdep-dl-routines alone is enough.
2280
639e42eb
JM
22812015-02-06 Joseph Myers <joseph@codesourcery.com>
2282
1c7a4a51
JM
2283 [BZ #17932]
2284 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
2285 where multiplication results in zero and third argument is finite
2286 and nonzero.
2287 * math/auto-libm-test-in: Add more tests of fma.
2288 * math/auto-libm-test-out: Regenerated.
2289
61f006c1
JM
2290 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
2291 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
2292 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
2293 (_FP_CMP_EQ): Likewise.
2294 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
2295
639e42eb
JM
2296 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
2297 extra argument CHECK_NAN. Redefine as wrapper around
2298 _FP_EXTEND_CNAN.
2299
3c0c543b
CD
23002015-02-06 Carlos O'Donell <carlos@systemhalted.org>
2301
4e42b5b8
CD
2302 * version.h (RELEASE): Set to "stable".
2303 (VERSION): Set to "2.21"
2304 * include/features.h (__GLIBC_MINOR__): Set to 21.
2305
3c0c543b
CD
2306 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
2307
5bd80bfe 23082015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 2309 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
2310
2311 [BZ #16618]
2312 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
2313 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
2314 size in bytes. Store needed elements in wpmax. Use needed size
2315 in bytes for extend_alloca.
2316
3f823f48
CD
23172015-02-05 Carlos O'Donell <carlos@systemhalted.org>
2318
04cb913d
CD
2319 * manual/install.texi: Latest tested versions are GCC 4.9.2,
2320 binutls 2.25, and texinfo 5.2.
2321 * INSTALL: Regenerate.
2322 * sysdeps/nios2/configure: Regenerate.
2323 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
2324 * manual/contrib.texi: Update.
2325 * po/be.po: Update.
2326 * po/bg.po: Update.
2327 * po/ca.po: Update.
2328 * po/cs.po: Update.
2329 * po/da.po: Update.
2330 * po/de.po: Update.
2331 * po/el.po: Update.
2332 * po/eo.po: Update.
2333 * po/es.po: Update.
2334 * po/fi.po: Update.
2335 * po/fr.po: Update.
2336 * po/gl.po: Update.
2337 * po/hr.po: Update.
2338 * po/hu.po: Update.
2339 * po/ia.po: Update.
2340 * po/id.po: Update.
2341 * po/it.po: Update.
2342 * po/ja.po: Update.
2343 * po/ko.po: Update.
2344 * po/lt.po: Update.
2345 * po/nb.po: Update.
2346 * po/nl.po: Update.
2347 * po/pl.po: Update.
2348 * po/pt_BR.po: Update.
2349 * po/ru.po: Update.
2350 * po/rw.po: Update.
2351 * po/sk.po: Update.
2352 * po/sl.po: Update.
2353 * po/sv.po: Update.
2354 * po/tr.po: Update.
2355 * po/uk.po: Update.
2356 * po/vi.po: Update.
2357 * po/zh_CN.po: Update.
2358 * po/zh_TW.po: Update.
2359
3f823f48
CD
2360 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
2361 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
2362 * sysdeps/hppa/dl-irel.h: Remove #warning.
2363 * sysdeps/hppa/entry.h: Provide prototype for
2364 __canonicalize_funcptr_for_compare and cast argument.
2365 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
2366 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
2367 * sysdeps/hppa/sotruss-lib.c: New file.
2368 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
2369 (atomic_compare_and_exchange_val_acq): Use __typeof__.
2370 (atomic_compare_and_exchange_bool_acq): Likewise.
2371 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
2372 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
2373
2374 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
2375 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
2376 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
2377
34c56048
CLT
23782015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
2379
2380 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
2381 called function in non-PIC case.
2382
d4abeca5
DM
23832015-01-31 David S. Miller <davem@davemloft.net>
2384
edac0a60
DM
2385 * sysdeps/sparc/sparc32/bits/atomic.h
2386 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
2387 unlock not after it.
2388 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
2389 volatile register usage warnings from the compiler.
2390
d4abeca5
DM
2391 * sysdeps/sparc/nptl/sem_init.c: Delete.
2392 * sysdeps/sparc/nptl/sem_post.c: Delete.
2393 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
2394 * sysdeps/sparc/nptl/sem_wait.c: Delete.
2395 * sysdeps/sparc/sparc32/sem_init.c: New file.
2396 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
2397 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
2398 padding explicitly initialized.
2399 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
2400 padding for in-semaphore spinlock.
2401 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
2402 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
2403 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
2404 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
2405 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
2406 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
2407 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
2408 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
2409 version.
2410 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
2411 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
2412
5f3d0b78
L
24132015-01-30 H.J. Lu <hongjiu.lu@intel.com>
2414
2415 [BZ #17801]
2416 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
2417 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
2418 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
2419 New.
2420 (index_AVX_Fast_Unaligned_Load): Likewise.
2421 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
2422 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
2423 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
2424 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
2425 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
2426 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
2427 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
2428 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
2429 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
2430
b658fdd8
AS
24312015-01-29 Andreas Schwab <schwab@suse.de>
2432
2433 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
2434
3cb26316
SP
24352015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
2436
2437 [BZ #17892]
2438 * nscd/nscd_stat.c (send_stats): Initialize DATA.
2439
527de9e4
MS
24402015-01-28 Martin Sebor <msebor@redhat.com>
2441
2442 * math/README.libm-test: Clarify. Add "How to read the test output."
2443
06991eb8
CM
24442015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
2445
2446 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
2447 Define to 0.
2448
df341342
JM
24492015-01-28 Joseph Myers <joseph@codesourcery.com>
2450
2451 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
2452 (__HAVE_64B_ATOMICS): Define to 0.
2453
08cee2a4
AZ
24542015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2455
d4d0ecb2
AZ
2456 [BZ #17885]
2457 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
2458 value to set as new flag.
2459
08cee2a4
AZ
2460 [BZ #16576]
2461 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
2462 and use _ARCH_PPCSQ instead.
2463 (__ieee754_sqrt): Likewise.
2464 (__ieee754_sqrtf): Likewise.
2465 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
2466 _ARCH_PPCSQ is defined.
2467 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
2468 fsqrt instruction.
2469 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
2470 _ARCH_PPCSQ is defined.
2471 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
2472 fsqrts instruction.
2473 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
2474
5fe8e359
AK
24752015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
2476
2477 * iconv/loop.c: Suppress array out of bound warning caused by GCC
2478 bug (GCC BZ #64739).
2479
24bb7432
AS
24802015-01-25 Andreas Schwab <schwab@linux-m68k.org>
2481
fa20da31
AS
2482 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
2483 Mark _retval as used.
2484 (lll_futex_wake_unlock): Likewise.
2485 (lll_futex_timed_wait_requeue_pi): Likewise.
2486
45819cbc
AS
2487 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2488 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
2489 register variables.
2490
403cc231
AS
2491 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
2492 libm_hidden_def.
2493
24bb7432
AS
2494 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
2495 (__bswap_64): Mark as __always_inline.
2496
9317ea65
B
24972015-01-25 Bram <bug_rh@spam.wizbit.be>
2498
2499 [BZ #15378]
2500 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
2501 when none of the search directories exist.
2502
0e87343e
AZ
25032015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
2504
bea58013
AZ
2505 [BZ #17869]
2506 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
2507 power8 in .machine directive.
2508
0e87343e
AZ
2509 [BZ #17868]
2510 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
2511 set dependency from opd value.
2512
ede0236c
L
25132015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2514
2515 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
2516 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
2517 architecture.
ede0236c 2518
22971c35
L
25192015-01-23 H.J. Lu <hongjiu.lu@intel.com>
2520
2521 [BZ #17870]
2522 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
2523 with uint64_t.
2524 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
2525 (uint64_t) 1.
e0da28a1 2526 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
2527 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
2528 Replace 1UL with (uint64_t) 1.
2529 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
2530 int with uint64_t.
2531
da5bf245
RM
25322015-01-23 Roland McGrath <roland@hack.frob.com>
2533
2ec2d703
RM
2534 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
2535 (if_freenameindex): Likewise.
2536
da5bf245
RM
2537 * resource/getrlimit64.c: Add missing libc_hidden_def.
2538
d7423856
JM
25392015-01-22 Joseph Myers <joseph@codesourcery.com>
2540
2541 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
2542 __label__.
2543 (_FP_FMA): Likewise.
2544 (_FP_TO_INT_ROUND): Likewise.
2545 (_FP_FROM_INT): Likewise.
2546
6b2ba95b
AZ
25472015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2548
2549 [BZ #16418]
2550 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
2551 Make code racy and cancel safe.
2552
ccdb048d
CD
25532015-01-21 Carlos O'Donell <carlos@redhat.com>
2554
191220b3
CD
2555 * sysdeps/arm/unwind-resume.h: Fix copyright year.
2556 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
2557 attribution.
2558
0897c551
CD
2559 * pwd/tst-getpw.c: Rewrite.
2560
ccdb048d
CD
2561 [BZ #17702]
2562 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
2563 (modules-names): Add moddummy1 and moddummy2.
2564 ($(objpfx)tst-rec-dlopen): Define.
2565 * dlfcn/moddummy1.c: New file.
2566 * dlfcn/moddummy2.c: New file.
2567 * dlfcn/tst-rec-dlopen.c: New file.
2568 * elf/dl-cache.c (_dl_load_cache_lookup):
2569 Return char*. Copy result with alloca/strcpy/strdup.
2570 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
2571 returns char*. Free cached. If not saving realname
2572 free cached.
2573 * elf/dl-open.c (dl_open_worker): Do not assert that
2574 _r_debug->r_state is RT_CONSISTENT.
2575 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
2576 returns char*.
2577
042e1521
CD
25782015-01-21 Torvald Riegel <triegel@redhat.com>
2579 Carlos O'Donell <carlos@redhat.com>
2580
2581 [BZ #12674]
2582 * nptl/sem_waitcommon.c: New file.
2583 * nptl/sem_wait.c: Include sem_waitcommon.c.
2584 (__sem_wait_cleanup, do_futex_wait): Remove.
2585 (__new_sem_wait): Adapt.
2586 (__new_sem_trywait): New function.
2587 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
2588 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
2589 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
2590 (sem_timedwait): Adapt.
2591 * nptl/sem_post.c (__new_sem_post): Adapt.
2592 (futex_wake): New function.
2593 (__old_sem_post): Add release MO fence.
2594 * nptl/sem_open.c (sem_open): Adapt.
2595 * nptl/sem_init.c (__new_sem_init): Adapt.
2596 (futex_private_if_supported): New function.
2597 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
2598 (__old_sem_getvalue): Add using previous code.
2599 * sysdeps/nptl/internaltypes.h: Adapt.
2600 * nptl/tst-sem13.c (do_test): Adapt.
2601 * nptl/tst-sem11.c (main): Adapt.
2602 * nptl/sem_trywait.c: Remove.
2603 * nptl/DESIGN-sem.txt: Remove.
2604 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
2605 (gen-as-const-headers): Remove structsem.sym.
2606 * nptl/structsem.sym: Remove.
2607 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
2608 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
2609 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
2610 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
2611 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
2612 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
2613 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
2614 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
2615 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
2616 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
2617 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
2618 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
2619 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
2620 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
2621 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
2622 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
2623 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
2624 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
2625 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
2626 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
2627 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
2628 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
2629
fe0e85af
CD
26302015-01-20 Carlos O'Donell <carlos@redhat.com>
2631
a8db092e
CD
2632 * INSTALL: Regenerated.
2633
fe0e85af
CD
2634 * po/libc.pot: Regenerated.
2635
522e6ee3
CLT
26362015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
2637 Sandra Loosemore <sandra@codesourcery.com>
2638 Andrew Jenner <andrew@codesourcery.com>
2639 Joseph Myers <joseph@codesourcery.com>
2640 Nathan Sidwell <nathan@codesourcery.com>
2641
2642 * NEWS: Mention new Nios II port.
2643 * sysdeps/nios2/Implies: New file.
2644 * sysdeps/nios2/Makefile: New file.
2645 * sysdeps/nios2/Subdirs: New file.
2646 * sysdeps/nios2/Versions: New file.
2647 * sysdeps/nios2/__longjmp.S: New file.
2648 * sysdeps/nios2/abort-instr.h: New file.
2649 * sysdeps/nios2/backtrace.c: New file.
2650 * sysdeps/nios2/bits/endian.h: New file.
2651 * sysdeps/nios2/bits/fenv.h: New file.
2652 * sysdeps/nios2/bits/link.h: New file.
2653 * sysdeps/nios2/bits/setjmp.h: New file.
2654 * sysdeps/nios2/bsd-_setjmp.S: New file.
2655 * sysdeps/nios2/bsd-setjmp.S: New file.
2656 * sysdeps/nios2/configure: New generated file.
2657 * sysdeps/nios2/configure.ac: New file.
2658 * sysdeps/nios2/crti.S: New file.
2659 * sysdeps/nios2/crtn.S: New file.
2660 * sysdeps/nios2/dl-init.c: New file.
2661 * sysdeps/nios2/dl-machine.h: New file.
2662 * sysdeps/nios2/dl-sysdep.h: New file.
2663 * sysdeps/nios2/dl-tls.h: New file.
2664 * sysdeps/nios2/dl-trampoline.S: New file.
2665 * sysdeps/nios2/gccframe.h: New file.
2666 * sysdeps/nios2/gmp-mparam.h: New file.
2667 * sysdeps/nios2/jmpbuf-offsets.h: New file.
2668 * sysdeps/nios2/jmpbuf-unwind.h: New file.
2669 * sysdeps/nios2/ldsodefs.h: New file.
2670 * sysdeps/nios2/libc-tls.c: New file.
2671 * sysdeps/nios2/libm-test-ulps: New file.
2672 * sysdeps/nios2/machine-gmon.h: New file.
2673 * sysdeps/nios2/math-tests.h: New file.
2674 * sysdeps/nios2/math_private.h: New file.
2675 * sysdeps/nios2/memusage.h: New file.
2676 * sysdeps/nios2/nptl/Makefile: New file.
2677 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
2678 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
2679 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
2680 * sysdeps/nios2/nptl/pthreaddef.h: New file.
2681 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
2682 * sysdeps/nios2/nptl/tls.h: New file.
2683 * sysdeps/nios2/preconfigure: New file.
2684 * sysdeps/nios2/s_fma.c: New file.
2685 * sysdeps/nios2/s_fmaf.c: New file.
2686 * sysdeps/nios2/setjmp.S: New file.
2687 * sysdeps/nios2/sfp-machine.h: New file.
2688 * sysdeps/nios2/sotruss-lib.c: New file.
2689 * sysdeps/nios2/stackguard-macros.h: New file.
2690 * sysdeps/nios2/stackinfo.h: New file.
2691 * sysdeps/nios2/start.S: New file.
2692 * sysdeps/nios2/sysdep.h: New file.
2693 * sysdeps/nios2/tls-macros.h: New file.
2694 * sysdeps/nios2/tst-audit.h: New file.
2695 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
2696 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
2697 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
2698 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
2699 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
2700 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
2701 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
2702 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
2703 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
2704 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
2705 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
2706 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
2707 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
2708 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
2709 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
2710 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
2711 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
2712 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
2713 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
2714 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
2715 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
2716 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
2717 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
2718 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
2719 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
2720 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
2721 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
2722 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
2723 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
2724 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
2725 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
2726 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
2727 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
2728 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
2729 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
2730 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
2731 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
2732 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
2733 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
2734 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
2735 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
2736 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
2737 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
2738 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
2739
026eb207
SL
27402015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2741
2742 [BZ #17844]
2743 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
2744 (getutent): Use weak_alias in non SHARED case
2745 and default_symbol_version in SHARED case.
2746 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
2747 (getutent_r, pututline): Likewise.
2748 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
2749 (getutid): Likewise.
2750 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
2751 (getutid_r): Likewise.
2752 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
2753 (getutline): Likewise.
2754 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
2755 (getutline_r): Likewise.
2756 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
2757 (updwtmp): Likewise.
2758
1d532483
SL
27592015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2760
2761 [BZ #17848]
2762 * sysdeps/s390/s390-32/memcmp.S
2763 (memcmp_g5): Rename to __memcmp_g5.
2764 * sysdeps/s390/s390-32/memcpy.S
2765 (memcpy_g5): Rename to __memcpy_g5.
2766 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2767 (memcpy_mvcle) Rename to __memcpy_mvcle.
2768 * sysdeps/s390/s390-32/memset.S
2769 (memset_g5): Rename to __memset_g5.
2770 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
2771 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2772 and use prefixed functions.
2773 * sysdeps/s390/s390-32/multiarch/memcmp.S
2774 (memcmp_z196): Rename to __memcmp_z196.
2775 (memcmp_z10): Rename to __memcmp_z10.
2776 (memcmp): Set alias to __memcmp_g5.
2777 (bcmp): Set alias to __memcmp_g5.
2778 * sysdeps/s390/s390-32/multiarch/memcpy.S
2779 (memcpy_z196): Rename to __memcpy_z196.
2780 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2781 (memcpy_z10): Rename to __memcpy_z10.
2782 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2783 (memcpy): Set alias to __memcpy_g5.
2784 * sysdeps/s390/s390-32/multiarch/memset.S
2785 (memset_z196): Rename to __memset_z196.
2786 Jump to __memset_mvcle instead of memset_mvcle.
2787 (memset_z10): Rename to __memset_z10.
2788 Jump to __memset_mvcle instead of memset_mvcle.
2789 (memset_mvcle) Rename to __memset_mvcle.
2790 (memset): Set alias to __memset_g5.
2791 * sysdeps/s390/s390-64/memcmp.S
2792 (memcmp_z900): Rename to __memcmp_z900.
2793 * sysdeps/s390/s390-64/memcpy.S
2794 (memcpy_z900): Rename to __memcpy_z900.
2795 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2796 (memcpy_mvcle) Rename to __memcpy_mvcle.
2797 * sysdeps/s390/s390-64/memset.S
2798 (memset_z900): Rename to __memset_z900.
2799 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
2800 (IFUNC_RESOLVE): Prefix ifunc-resolve function
2801 and use prefixed functions.
2802 * sysdeps/s390/s390-64/multiarch/memcmp.S
2803 (memcmp_z196): Rename to __memcmp_z196.
2804 (memcmp_z10): Rename to __memcmp_z10.
2805 (memcmp): Set alias to __memcmp_z900.
2806 (bcmp): Set alias to __memcmp_z900.
2807 * sysdeps/s390/s390-64/multiarch/memcpy.S
2808 (memcpy_z196): Rename to __memcpy_z196.
2809 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2810 (memcpy_z10): Rename to __memcpy_z10.
2811 Jump to __memcpy_mvcle instead of memcpy_mvcle.
2812 (memcpy): Set alias to __memcpy_z900.
2813 * sysdeps/s390/s390-64/multiarch/memset.S
2814 (memset_z196): Rename to __memset_z196.
2815 Jump to __memset_mvcle instead of memset_mvcle.
2816 (memset_z10): Rename to __memset_z10.
2817 Jump to __memset_mvcle instead of memset_mvcle.
2818 (memset_mvcle) Rename to __memset_mvcle.
2819 (memset): Set alias to __memset_z900.
2820
53fbd169
JM
28212015-01-14 Joseph Myers <joseph@codesourcery.com>
2822
2823 [BZ #17748]
2824 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
2825 __fesetenv instead of fesetenv.
2826
d639a363
SP
28272015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
2828
2829 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
2830 macro.
2831
d3b00f46
AZ
28322015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2833
ce6615c9
AZ
2834 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
2835 regression on LE.
2836
d3b00f46
AZ
2837 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
2838 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
2839 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
2840 strncmp-power8 object.
2841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2842 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
2843 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
2844 * NEWS: Update.
2845
72607db0
RS
28462015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2847 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2848
2849 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
2850 trailing byte check.
2851
54dc5461
DM
28522015-01-13 David S. Miller <davem@davemloft.net>
2853
2854 * include/signal.h (__sigreturn): Guard with __USE_MISC.
2855
1c6e6f23
RM
28562015-01-13 Roland McGrath <roland@hack.frob.com>
2857
2858 * login/logout.c (logout): Use memset rather than bzero.
2859 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
2860 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
2861 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
2862 (_gethtbyaddr): Likewise.
2863 * locale/programs/simple-hash.c (bcopy): Macro removed.
2864
96d6fd6c
AZ
28652015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2866
8bedcb5f
AZ
2867 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2868 Add strcmp-power8 object.
2869 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2870 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
2871 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
2872 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
2873 __strcmp_power8 implementation.
2874 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
2875 * NEWS: Update.
2876
f06a4faf
AZ
2877 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2878 Add strncpy-power8 and stpncpy-power8 objects.
2879 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2880 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
2881 implementations.
2882 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
2883 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
2884 __stpncpy_power8 implementation.
2885 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
2886 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
2887 __strncpy_power8 implementation.
2888 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
2889 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
2890 * NEWS: Update.
2891
9f2f36e5
AZ
2892 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
2893 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
2894 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
2895
96d6fd6c 2896 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
2897 strncat-power8 object.
2898 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
2899 __strcat_power8 implementation.
2900 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2901 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
2902 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
2903 optimized strcat for power8.
2904
2905 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
2906 strcpy-power8 and stpcpy-power8 objects.
2907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2908 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
2909 implementations.
2910 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
2911 multiarch stpcpy implementation for POWER8.
2912 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
2913 multiarch strcpy implementation for POWER8.
2914 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
2915 __strcpy_power8 function.
2916 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
2917 stpcpy for POWER8.
2918 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
2919 strcpy for POWER8.
2920 * NEWS: Update.
2921
0f9e5854
LH
29222015-01-13 Leonhard Holz <leonhard.holz@web.de>
2923
2924 [BZ #16009]
2925 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
2926 weights and rules. Use do_xfrm_cached if data fits in cache,
2927 do_xfrm otherwise. Moved former main loop to...
2928 * (do_xfrm_cached): New function.
2929 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
2930 find_idx, find_position and stack_push.
2931 * (find_idx): New function.
2932 * (find_position): Likewise.
2933 * localedata/sort-test.sh: Added test run for do_xfrm.
2934 * localedata/xfrm-test.c (main): Added command line option
2935 -nocache to run the test with strings that are too large for
2936 the STRXFRM cache.
2937
c60ec0e0
TR
29382015-01-13 Torvald Riegel <triegel@redhat.com>
2939
2940 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
2941 variable to lll_futex_wake call, not the value itself.
2942
34e93d6c
JM
29432015-01-12 Joseph Myers <joseph@codesourcery.com>
2944
5a9e4c09
JM
2945 [BZ #17803]
2946 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
2947 twom64. Adjust value to 0x1p-64L.
2948 (__scalblnl): Only return standard underflowing result for K <=
2949 -64 not K <= -63; adjust exponent for underflowing result by 64
2950 not 63.
2951 * math/libm-test.inc (scalbn_test_data): Add more tests.
2952 (scalbln_test_data): Likewise.
2953
34e93d6c
JM
2954 [BZ #17834]
2955 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
2956 0x1p63L.
2957 (__scalblnl): Get new exponent of adjusted subnormal value from ES
2958 not HX.
2959 * math/libm-test.inc (scalbn_test_data): Add more tests.
2960 (scalbln_test_data): Likewise.
2961
ca677d3c
AZ
29622015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2963 Stefani Seibold <stefani@seibold.net>
2964
2965 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
2966 (sysdep_routines): Add dl-vdso here, ...
2967 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
2968 (sysdep_routines): ... not here.
2969 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
2970 fallback when vDSO is not presented.
2971 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
2972 Define with libc_hidden_proto/libc_hidden_data_def definitions.
2973 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
2974 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
2975 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
2976 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
2977 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
2978 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
2979 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
2980 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
2981 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
2982 fallback configurable symbol when vDSO is not available.
2983 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
2984 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
2985 be able to redefine fallback symbol when vDSO is not available.
2986 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
2987 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
2988
49a9f6ab 29892015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 2990
56cf2763
AZ
2991 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
2992 (TLS_INIT_TP): Add tm_capable initialization.
2993 (TLS_DEFINE_INIT_TP): Likewise.
2994 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
2995 TCB.
2996 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
2997 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
2998 calculation.
2999 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
3000 transactoion is lock elision is built and TCB tm_capable is set.
3001 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
3002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
3003 (INTERNAL_SYSCALL_NCS): Likewise.
3004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
3005 (INTERNAL_SYSCALL_NCS): Likewise.
3006 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
3007
4b45943a
AZ
3008 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
3009 for powerpc.
3010 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3011 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
3012 and remove it for 32 bits case.
3013 [pthread_rwlock_t] (__rwelision): New field for lock elision.
3014 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
3015 initialization.
3016 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
3017 Disable lock elision with rdlocks if elision is not available.
3018
8d2c0a59
AZ
3019 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
3020 (sysdep_routines): Add lock elision objects.
3021 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
3022 [pthread_mutex_t] (__spins): Rework to add lock elision field.
3023 [pthread_mutex_t] (__elision): Add field.
3024 [__PTHREAD_SPINS]: Adjust to init lock elision field.
3025 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
3026 elision definitions for powerpc.
3027 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
3028 implementation of lock elision for powerpc.
3029 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
3030 implementation of timed lock elision for powerpc.
3031 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
3032 implementation of trylock with lock elision for powerpc.
3033 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
3034 implementaion of unlock for lock elision for powerpc.
3035 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
3036 automatic enable lock elision for mutexes.
3037 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
3038 transaction execution definitions for powerpc.
3039 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
3040 definitions.
3041 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
3042 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
3043 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
3044 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
3045 * NEWS: Update.
3046
bc0ed9f7
RM
30472015-01-09 Roland McGrath <roland@hack.frob.com>
3048
3049 * sysdeps/posix/shm-directory.c: Use <> rather than ""
3050 for #include of <shm-directory.h>.
3051
585d9c18
CLT
30522015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
3053
3054 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
3055 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
3056
aee6626c
MF
30572015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
3058
3059 [BZ #17791]
3060 * NEWS: Mention bug fix.
3061 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
3062 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
3063 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
3064
9e560f48
TR
30652015-01-09 Torvald Riegel <triegel@redhat.com>
3066
3067 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
3068
e1cfbd0c
TR
30692015-01-09 Torvald Riegel <triegel@redhat.com>
3070
3071 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
3072
cf71e44f
DH
30732015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3074
3075 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
3076 pointer and cast to uintptr_t.
3077
b360ee62
DH
30782015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3079
3080 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
3081 removed.
3082 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
3083
caff764e
DH
30842015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
3085
3086 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
3087 of 0.
3088
59ff172f
RM
30892015-01-08 Roland McGrath <roland@hack.frob.com>
3090
c97d27f1
RM
3091 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
3092 <nptl/pthreadP.h> instead.
3093 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
3094
08734ccd
RM
3095 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
3096 already defined.
3097 [__SIGRTMIN] (init): Function removed.
3098 [__SIGRTMIN] (initialized): Variable removed.
3099 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
3100 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
3101 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
3102 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
3103 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
3104 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
3105 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
3106 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
3107 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
3108 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
3109 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
3110 * sysdeps/nptl/allocrtsig.c: New file.
3111 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
3112 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
3113 * sysdeps/generic/testrtsig.h: File removed.
3114
7b052e33
RM
3115 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
3116 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
3117
cc40d25e
RM
3118 * nptl/nptl-init.c (pthread_functions): Conditionalize
3119 .ptr__nptl_setxid initialization on [SIGSETXID].
3120
9287adf0
RM
3121 * sysdeps/nptl/sys/procfs.h: New file.
3122 * nptl_db/Makefile (headers): Add it.
3123 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
3124
59ff172f
RM
3125 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
3126 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
3127 * nptl/pthread_attr_setaffinity.c: Include it.
3128 * nptl/pthread_setattr_default_np.c: Likewise.
3129 * nptl/check-cpuset.h: New file.
3130
b9205857
RH
31312015-01-08 Richard Henderson <rth@redhat.com>
3132
3133 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
3134 (CFLAGS-tst-execstack-prog.c): Likewise.
3135 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
3136
1a0a8d15
CLT
31372015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
3138 Sandra Loosemore <sandra@codesourcery.com>
3139 Andrew Jenner <andrew@codesourcery.com>
3140 Joseph Myers <joseph@codesourcery.com>
3141 Nathan Sidwell <nathan@codesourcery.com>
3142
3143 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
3144 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
3145 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
3146 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
3147 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
3148 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
3149 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
3150 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
3151 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
3152 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
3153 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
3154 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
3155 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
3156 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
3157 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
3158 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
3159 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
3160
dd6e8af6
AZ
31612015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3162
3163 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
3164 timespec struct member in syscall macro.
3165 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
3166 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
3167 first timeval struct member in syscall macro.
3168 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
3169
8116321f
JM
31702015-01-07 Joseph Myers <joseph@codesourcery.com>
3171
3172 [BZ #17748]
3173 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
3174 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
3175 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
3176 __feupdateenv and define as weak alias of __feupdateenv. Use
3177 libm_hidden_weak.
3178 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
3179 libm_hidden_def.
3180 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
3181 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
3182 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3183 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
3184 libm_hidden_def.
3185 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
3186 __feupdateenv and define as weak alias of __feupdateenv. Use
3187 libm_hidden_weak.
3188 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
3189 libm_hidden_def.
3190 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
3191 __feupdateenv and define as weak alias of __feupdateenv. Use
3192 libm_hidden_weak.
3193 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
3194 libm_hidden_def.
3195 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3196 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3197 (__feupdateenv): Likewise.
3198 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
3199 __feupdateenv and define as weak alias of __feupdateenv. Use
3200 libm_hidden_weak.
3201 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3202 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
3203 libm_hidden_def.
3204 * sysdeps/tile/math_private.h (__feupdateenv): New inline
3205 function.
3206 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
3207 libm_hidden_def.
3208 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
3209 __feupdateenv instead of feupdateenv.
3210 (default_libc_feupdateenv_test): Likewise.
3211 (libc_feresetround_ctx): Likewise.
3212
882dfe18
AZ
32132015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3214
3215 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
3216 prototype.
3217
39a12f8d
CM
32182015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
3219
3220 * posix/regcomp.c (parse_bracket_exp): Initialize type to
3221 COLL_SYM in a couple of places to avoid uninitialized variable
3222 wanings on tilegx gcc 4.8.2.
3223
dc400d7b
RE
32242015-01-07 Richard Earnshaw <rearnsha@arm.com>
3225
3226 * sysdeps/aarch64/strcpy.S: New file.
3227 * sysdeps/aarch64/stpcpy.S: New file.
3228 * NEWS: Updated.
3229
ec582ca0
RE
32302015-01-07 Richard Earnshaw <rearnsha@arm.com>
3231
3232 * sysdeps/aarch64/strrchr.S: New file.
3233 * NEWS: Updated.
3234
d5b1c5ed
EB
32352015-01-07 Eric Biggers <ebiggers3@gmail.com>
3236
3237 [BZ #17658]
3238 * stdlib/setenv.c: Fix memory leak when setting large,
3239 duplicate string.
3240
fb87ee96
VN
32412015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
3242
60f046a8 3243 [BZ #17273]
fb87ee96
VN
3244 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
3245 and tabs from buffer before parsing fstab entry.
3246 * misc/tst-mntent.c (main): Add test for mount entry with
3247 trailing spaces and tabs.
3248
cd42798a
JM
32492015-01-06 Joseph Myers <joseph@codesourcery.com>
3250
01238691
JM
3251 [BZ #17748]
3252 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
3253 * math/fesetround.c (fesetround): Rename to __fesetround and
3254 define as weak alias of __fesetround. Use libm_hidden_weak.
3255 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
3256 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
3257 * sysdeps/arm/fesetround.c (fesetround): Likewise.
3258 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
3259 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
3260 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
3261 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
3262 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
3263 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
3264 __fesetround_inline.
3265 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
3266 __fesetround_inline instead of __fesetround.
3267 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
3268 __fesetround and define as weak alias of __fesetround. Use
3269 libm_hidden_weak. Call __fesetround_inline instead of
3270 __fesetround.
3271 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
3272 __fesetround and define as weak alias of __fesetround. Use
3273 libm_hidden_weak.
3274 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
3275 Likewise.
3276 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
3277 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
3278 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
3279 * sysdeps/tile/math_private.h (__fesetround): New inline function.
3280 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
3281 __fesetround and define as weak alias of __fesetround. Use
3282 libm_hidden_weak.
3283 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
3284 __fesetround instead of fesetround.
3285 (default_libc_feholdexcept_setround): Likewise.
3286 (libc_feholdsetround_ctx): Likewise.
3287 (libc_feholdsetround_noex_ctx): Likewise.
3288
cd42798a
JM
3289 [BZ #17748]
3290 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
3291 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
3292 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3293 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3294 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3295 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
3296 define as weak alias of __fesetenv. Use libm_hidden_weak.
3297 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
3298 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3299 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3300 define as weak alias of __fesetenv. Use libm_hidden_weak.
3301 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3302 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3303 define as weak alias of __fesetenv. Use libm_hidden_weak.
3304 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
3305 libm_hidden_def.
3306 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
3307 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
3308 Likewise.
3309 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
3310 define as weak alias of __fesetenv. Use libm_hidden_weak.
3311 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
3312 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
3313 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
3314 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
3315 and define as weak alias of __fesetenv. Use libm_hidden_weak.
3316 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
3317 __fesetenv instead of fesetenv.
3318 (libc_feresetround_noex_ctx): Likewise.
3319 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3320 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
3321 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3322 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3323 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3324 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3325 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
3326 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
3327 (__feupdateenv): Likewise.
3328 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3329 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3330 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3331 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
3332
38949026
AJ
33332015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3334
1cf98e27 3335 [BZ #17806]
38949026
AJ
3336 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
3337 addresses have been freed.
3338
5fe55e9c
AJ
33392015-01-06 Aurelien Jarno <aurelien@aurel32.net>
3340
3341 * resolv/res_init.c (__res_vinit): Improve comments about nserv
3342 and nservall.
3343
dc8ab018
OB
33442015-01-06 Ondřej Bílka <neleai@seznam.cz>
3345
3346 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
3347 Clean up check_pf allocation pattern. addresses
3348
14bb4e57
AZ
33492015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3350
3351 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
3352 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
3353 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
3354 * nptl/pthread_exit.c (__pthread_exit): Likewise.
3355 * nptl/pthread_join.c (pthread_join): Likewise.
3356 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
3357 * sysdeps/posix/waitid.c (__waitid): Likewise.
3358 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
3359 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
3360 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
3361 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
3362 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
3363 Likewise.
3364 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
3365 (__libc_pread64): Likewise.
3366 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
3367 (__libc_pwrite): Likewise.
3368 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
3369 (__libc_pwrite64): Likewsie.
3370 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
3371 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
3372 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
3373 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
3374 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
3375 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
3376 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
3377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
3378 Likewise.
3379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
3380 (__libc_pread64): Likewise.
3381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
3382 Likewise.
3383 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
3384 (__libc_pwrite64): Likewise.
3385 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
3386 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
3387 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
3388 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3389 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
3390 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
3391 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
3392 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
3393 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
3394 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
3395 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
3396 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
3397 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
3398 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
3399 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
3400 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
3401 Likewise.
3402
10a5e112
AS
34032015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3404
3405 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
3406 (CFLAGS-test-double.c): Likewise.
3407 (CFLAGS-test-ldouble.c): Likewise.
3408 (CPPFLAGS-test-ifloat.c): Likewise.
3409 (CPPFLAGS-test-idouble.c): Likewise.
3410 (CPPFLAGS-test-ildoubl.c): Likewise.
3411 (CFLAGS-test-test-fenv.c): Remove variable.
3412 (CFLAGS-test-misc.c): Likewise.
3413
57ada0e7
L
34142015-01-06 H.J. Lu <hongjiu.lu@intel.com>
3415
3416 [BZ #17797]
3417 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
3418 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
3419 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
3420 CLOCKS_PER_SEC == 1000000.
3421 * time/clocktest.c (main): Replace %ld with %jd and cast to
3422 intmax_t.
3423
46abb64d
RM
34242015-01-05 Roland McGrath <roland@hack.frob.com>
3425
3426 * sysdeps/generic/unwind-resume.h: New file.
3427 * sysdeps/gnu/unwind-resume.c: Include it.
3428 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
3429 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
3430 argument list.
3431 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
3432 global rather than static.
3433 (_Unwind_Resume): Update user.
3434 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
3435 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
3436 rather than static. Add __attribute__ ((cold)).
3437 (_Unwind_Resume, __gcc_personality_v0): Update callers.
3438 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
3439 * sysdeps/arm/arm-unwind-resume.S: New file.
3440 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
3441 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
3442 * sysdeps/arm/Makefile [$(subdir) = csu]
3443 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
3444 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
3445 Add rt-arm-unwind-resume.
3446 [$(subdir) = nptl]
3447 (libpthread-sysdep_routines, libpthread-shared-only-routines):
3448 Add pt-arm-unwind-resume.
3449 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
3450 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
3451
ef9faf13
JM
34522015-01-05 Joseph Myers <joseph@codesourcery.com>
3453
3454 [BZ #17748]
3455 * include/fenv.h (__feholdexcept): Declare. Use
3456 libm_hidden_proto.
3457 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
3458 define as weak alias of __feholdexcept. Use libm_hidden_weak.
3459 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3460 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
3461 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
3462 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
3463 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
3464 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3465 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
3466 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
3467 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3468 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
3469 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
3470 (feholdexcept): Likewise.
3471 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
3472 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
3473 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
3474 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
3475 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
3476 __feholdexcept instead of feholdexcept.
3477 (default_libc_feholdexcept_setround): Likewise.
3478
295a453e
SE
34792015-01-05 Steve Ellcey <sellcey@imgtec.com>
3480
3481 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
3482 to avoid using stl/str to align destination.
3483
882c4b9f
SE
34842015-01-05 Steve Ellcey <sellcey@imgtec.com>
3485
3486 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
3487
ac4c11f5
JM
34882015-01-05 Joseph Myers <joseph@codesourcery.com>
3489
3490 [BZ #17796]
3491 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
3492 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
3493 Define as weak alias not strong alias.
3494
03403e30
SE
34952015-01-05 Steve Ellcey <sellcey@imgtec.com>
3496
3497 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
3498 bltzal with addiupc.
3499 (RTLD_START): Ditto.
3500
1dca195e
CM
35012015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
3502
00b8b9ba
SP
3503 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
3504 for __vdso_* functions in declarations.
3505 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
3506 definitions.
3507 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
3508 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 3509
1dca195e
CM
3510 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
3511 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
3512 function with cast from llround().
3513 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
3514 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
3515 Define.
3516
a287953a
JM
35172015-01-05 Joseph Myers <joseph@codesourcery.com>
3518
ab70da77
JM
3519 [BZ #17793]
3520 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
3521 Define as weak alias not strong alias.
3522
b8986484
JM
3523 [BZ #17635]
3524 * ctype/ctype-c99.c: New file. isblank implementation moved from
3525 ...
3526 * ctype/ctype-extn.c: ... here.
3527 (__isblank_l): Move to ...
3528 * ctype/ctype-c99_l.c: ... here. New file.
3529 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
3530 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
3531 Remove variable.
3532 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
3533 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
3534 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
3535 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
3536 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
3537
a287953a
JM
3538 [BZ #17777]
3539 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
3540 (posix_fadvise64): Define as weak alias not strong alias.
3541 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
3542 (posix_fallocate64): Likewise.
3543 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
3544 Remove variable.
3545 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
3546 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
3547 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
3548 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
3549 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
3550
b1efe3bb
MF
35512015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
3552
3553 [BZ #16191]
3554 * NEWS: Mention bug fix.
3555 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
3556 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
3557 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
3558 (HOST_STACK_END_ADDR): Likewise.
3559
9706dc5f
JM
35602015-01-02 Joseph Myers <joseph@codesourcery.com>
3561
b93c2205
JM
3562 [BZ #17748]
3563 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
3564 * math/fegetround.c (fegetround): Rename to __fegetround and
3565 define as weak alias of __fegetround. Use libm_hidden_weak.
3566 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
3567 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
3568 * sysdeps/arm/fegetround.c (fegetround): Likewise.
3569 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
3570 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
3571 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
3572 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
3573 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
3574 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
3575 Undefine after rather than before function definition; use
3576 parentheses around function name in definition.
3577 (__fegetround): Also undefine macro after function definition.
3578 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
3579 __fegetround and define as weak alias of __fegetround. Use
3580 libm_hidden_weak. Do not undefine as macro.
3581 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
3582 Likewise.
3583 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
3584 __fegetround and define as weak alias of __fegetround. Use
3585 libm_hidden_weak.
3586 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
3587 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
3588 * sysdeps/tile/math_private.h (__fegetround): New inline function.
3589 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
3590 __fegetround and define as weak alias of __fegetround. Use
3591 libm_hidden_weak.
3592 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
3593 __fegetround instead of fegetround.
3594
253a59cc
JM
3595 [BZ #17782]
3596 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
3597 Condition macro definition on [__USE_MISC].
3598
27dae011
JM
3599 [BZ #17781]
3600 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
3601 (struct sigaction): Change type of sa_flags field to int.
3602
172019c0
JM
3603 [BZ #17780]
3604 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
3605 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
3606 __glibc_reserved0.
3607
522ad1d6
JM
3608 * nptl/version.c (banner): Use single year in copyright notice.
3609
9706dc5f
JM
3610 * NEWS: Update copyright dates.
3611 * catgets/gencat.c (print_version): Likewise.
3612 * csu/version.c (banner): Likewise.
3613 * debug/catchsegv.sh: Likewise.
3614 * debug/pcprofiledump.c (print_version): Likewise.
3615 * debug/xtrace.sh (do_version): Likewise.
3616 * elf/ldconfig.c (print_version): Likewise.
3617 * elf/ldd.bash.in: Likewise.
3618 * elf/pldd.c (print_version): Likewise.
3619 * elf/sotruss.sh: Likewise.
3620 * elf/sprof.c (print_version): Likewise.
3621 * iconv/iconv_prog.c (print_version): Likewise.
3622 * iconv/iconvconfig.c (print_version): Likewise.
3623 * locale/programs/locale.c (print_version): Likewise.
3624 * locale/programs/localedef.c (print_version): Likewise.
3625 * login/programs/pt_chown.c (print_version): Likewise.
3626 * malloc/memusage.sh (do_version): Likewise.
3627 * malloc/memusagestat.c (print_version): Likewise.
3628 * malloc/mtrace.pl: Likewise.
3629 * manual/libc.texinfo: Likewise.
3630 * nptl/version.c (banner): Likewise.
3631 * nscd/nscd.c (print_version): Likewise.
3632 * nss/getent.c (print_version): Likewise.
3633 * nss/makedb.c (print_version): Likewise.
3634 * posix/getconf.c (main): Likewise.
3635 * scripts/test-installation.pl: Likewise.
3636 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
3637
b8607aac
WN
36382015-01-02 Will Newton <will.newton@linaro.org>
3639
3640 * sysdeps/arm/armv7/configure: Removed.
3641 * sysdeps/arm/armv7/configure.ac: Likewise.
3642
b168057a
JM
36432015-01-02 Joseph Myers <joseph@codesourcery.com>
3644
3645 * All files with FSF copyright notices: Update copyright dates
3646 using scripts/update-copyrights.
3647 * intl/plural.c: Regenerated.
3648 * locale/programs/charmap-kw.h: Likewise.
3649 * locale/programs/locfile-kw.h: Likewise.
3650
b217c15f
SP
36512015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
3652
3653 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
3654
73a268c7
JM
36552014-12-31 Joseph Myers <joseph@codesourcery.com>
3656
3657 [BZ #17748]
3658 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
3659 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
3660 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3661 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3662 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3663 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
3664 define as weak alias of __fegetenv. Use libm_hidden_weak.
3665 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
3666 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3667 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3668 define as weak alias of __fegetenv. Use libm_hidden_weak.
3669 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3670 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3671 define as weak alias of __fegetenv. Use libm_hidden_weak.
3672 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
3673 libm_hidden_def.
3674 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
3675 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
3676 Likewise.
3677 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
3678 define as weak alias of __fegetenv. Use libm_hidden_weak.
3679 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
3680 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
3681 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
3682 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
3683 and define as weak alias of __fegetenv. Use libm_hidden_weak.
3684 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
3685 __fegetenv instead of fegetenv.
3686 (libc_feholdsetround_noex_ctx): Likewise.
3687
0bd95672
MF
36882014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
3689
3690 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
3691 (Elf_MIPS_ABIFlags_v0): New structure.
3692 (EF_MIPS_FP64): Define.
3693 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
3694 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
3695 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
3696 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
3697 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
3698 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
3699 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
3700 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
3701 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
3702 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
3703 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
3704 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
3705 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
3706 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
3707 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
3708 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
3709 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
3710 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
3711 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
3712 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
3713 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
3714 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
3715 field.
3716 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
3717 EF_MIPS_FP64.
3718 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
3719 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
3720 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
3721 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
3722 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
3723 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
3724 * sysdeps/mips/tst-abi-interlink.c: Likewise.
3725 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
3726 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
3727 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
3728 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
3729 record the current FP ABI extension.
3730 (mips-mode-switch): Define to show if kernel headers support mode
3731 switching.
3732 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
3733 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
3734 supported SYSV ABI version to 3.
3735 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
3736 feature.
3737
f59ad976
RS
37382014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3739 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3740
3741 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
3742 path.
3743 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
3744
4a3d3999
JM
37452014-12-31 Joseph Myers <joseph@codesourcery.com>
3746
3747 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
3748 __fegetround and redefine to call __fegetround. Remove condition
3749 on [!__NO_MATH_INLINES].
3750 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
3751 function.
3752 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
3753 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
3754 Remove macro.
3755 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
3756 instead of <fenv_libc.h>.
3757 (__llrintl): Call fegetround instead of __fegetround.
3758 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
3759 instead of <fenv_libc.h>.
3760 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
3761 (__lrintl): Call fegetround instead of __fegetround.
3762 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
3763 instead of <fenv_libc.h>.
3764 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
3765 (__rintl): Call fegetround instead of __fegetround.
3766
195f3afc
SP
37672014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3768
3769 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
3770 arrays.
3771
7062bd42
L
37722014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3773
3774 [BZ #17775]
3775 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
3776 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
3777 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
3778
07256e18
AS
37792014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3780
3781 * sysdeps/i386/tls-macros.h: Include <features.h>.
3782 (TLS_LE): Use non-PIC version for GCC >= 5.0.
3783 (TLS_IE): Likewise.
3784 (TLS_LD): Likewise.
3785 (TLS_GD): Likewise.
3786 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
3787 define for GCC >= 5.0.
3788
1ff950ad
CM
37892014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
3790
3791 * math/test-fenv.c (test_single_exception, set_single_exc,
3792 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
3793 feexcp_mask_test, feenable_test, fe_single_test): Add
3794 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
3795 case where they are not used.
3796 * math/libm-test.inc: Likewise.
3797 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
3798 unused in the absence of FP rounding/exception support.
3799 * stdio-common/tst-printf-round.c: Likewise.
3800 * stdlib/tst-strtod-round.c: Likewise.
3801 * stdlib/tst-strtod-underflow.c: Likewise.
3802
0747f818
JM
38032014-12-30 Joseph Myers <joseph@codesourcery.com>
3804
3805 [BZ #17723]
3806 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
3807 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
3808 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3809 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3810 libm_hidden_weak.
3811 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
3812 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3813 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
3814 libm_hidden_def.
3815 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3816 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3817 libm_hidden_weak.
3818 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
3819 Likewise.
3820 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
3821 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3822 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3823 libm_hidden_weak.
3824 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3825 libm_hidden_def.
3826 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
3827 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
3828 (__feraiseexcept): Likewise.
3829 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
3830 __feraiseexcept and define as weak alias of __feraiseexcept. Use
3831 libm_hidden_weak.
3832 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
3833 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
3834 libm_hidden_def.
3835 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
3836 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
3837 Use libm_hidden_def.
3838 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
3839 libm_hidden_def.
3840 (feraiseexcept): Define as weak not strong alias. Use
3841 libm_hidden_weak.
3842 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
3843 New inline function. Factored out of ...
3844 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
3845 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
3846 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
3847 feraiseexcept.
3848 * math/w_acos.c (__acos): Likewise.
3849 * math/w_asin.c (__asin): Likewise.
3850 * math/w_ilogb.c (__ilogb): Likewise.
3851 * math/w_j0.c (y0): Likewise.
3852 * math/w_j1.c (y1): Likewise.
3853 * math/w_jn.c (yn): Likewise.
3854 * math/w_log.c (__log): Likewise.
3855 * math/w_log10.c (__log10): Likewise.
3856 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
3857 * sysdeps/aarch64/fpu/math_private.h
3858 (libc_feupdateenv_test_aarch64): Likewise.
3859 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
3860 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
3861 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
3862 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
3863 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
3864 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
3865 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
3866 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
3867 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
3868 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
3869
8d2b2763
L
38702014-12-30 H.J. Lu <hongjiu.lu@intel.com>
3871
3872 [BZ #17732]
3873 * io/test-utime.c (main): Replace %ld with %jd and cast to
3874 intmax_t.
41fad830 3875 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
3876 * nptl/tst-mutex5.c: Include <stdint.h>.
3877 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
3878 * posix/tst-regex.c (run_test): Likewise.
3879 (run_test_backwards): Likewise.
5d619de4
L
3880 * rt/tst-clock.c: Include <stdint.h>.
3881 (clock_test): Replace %ld with %jd and cast to intmax_t.
3882 * rt/tst-cpuclock1.c: Include <stdint.h>.
3883 (do_test): Replace %lu with %ju and cast to uintmax_t.
3884 * rt/tst-cpuclock2.c: Include <stdint.h>.
3885 (do_test): Replace %lu with %ju and cast to uintmax_t.
3886 * rt/tst-mqueue1.c: Include <stdint.h>.
3887 (check_attrs): Replace %ld with %jd and cast to intmax_t.
3888 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
3889 intmax_t.
3890 * rt/tst-mqueue4.c (do_test): Likewise.
3891 * rt/tst-timer4.c: Include <stdint.h>.
3892 (check_ts): Replace %ld with %jd and cast to intmax_t.
3893 (do_test): Likewise.
ad86fbc3
L
3894 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
3895 and cast to intmax_t.
37f46900 3896 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
3897 * time/clocktest.c (main): Likewise.
3898 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 3899 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 3900
8b4416d8
AS
39012014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
3902 H.J. Lu <hongjiu.lu@intel.com>
3903
3904 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
3905 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
3906 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
3907 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
3908 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
3909 version if bit_Fast_Unaligned_Load is set.
3910 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3911 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3912 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3913 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3914 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3915 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3916 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
3917 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
3918 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
3919 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
3920 to 4.
3921 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
3922 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
3923 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
3924 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
3925
e47b8d3b
CM
39262014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
3927
6d6d7fde
CM
3928 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
3929 instead of #if to avoid a Wundef warning.
3930 * stdlib/tst-limits.c (do_test): Likewise.
3931
cd2c37c9
CM
3932 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
3933 parallel other exception macros.
3934 (fegetenv): Convert from macro to extern inline so that it applies
3935 retroactively to inline functions already seen by the compiler.
3936 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
3937
e47b8d3b
CM
3938 * posix/Makefile (before-compile): Use $(objpfx) for
3939 posix-conf-vars-def.h.
3940
4a6aca7b
SP
39412014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
3942
7910c2ae
SP
3943 * posix/getconf.c (main): Use size_t for type of I.
3944 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
3945 NSPEC.
3946
50cbbaa9
SP
3947 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
3948 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
3949 * posix/posix-envs.def: Likewise.
3950 * sysdeps/posix/sysconf.c: Likewise.
3951 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
3952 (specs): Remove array.
3953 * scripts/gen-posix-conf-vars.awk: Support generation of specs
3954 array.
3955
3b566046
SP
3956 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
3957 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
3958 (__sysconf): Use CONF_IS_* macros.
3959
4a6aca7b
SP
3960 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
3961 ($(objpfx)posix-conf-vars-def.h): New target.
3962 * posix/posix-conf-vars.list: New file.
3963 * posix/posix-conf-vars.h: New file.
3964 * posix/confstr.c: Include posix-conf-vars.h.
3965 (confstr): Use CONF_IS_* macros.
3966 * posix/posix-envs.def: Include posix-conf-vars.h. Use
3967 CONF_IS_* macros.
3968 * scripts/gen-posix-conf-vars.awk: New file.
3969
7c1395a7
CM
39702014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
3971
0025b4cc
CM
3972 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
3973 fegetround): Add no-op macros to avoid linknamespace issues.
3974
d8aaf74b
CM
3975 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
3976 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
3977
5d24aa60
CM
3978 * sysdeps/unix/sysv/linux/tile/sysdep.h
3979 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
3980 assembly-specific section to avoid a redefinition warning.
3981
7c1395a7
CM
3982 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
3983 long before casting to pointer to avoid a cast warning.
3984
3c87c616
CM
39852014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
3986
3987 * sysdeps/tile/tilegx/Implies: New file.
3988
f559d8cf
RE
39892014-12-23 Richard Earnshaw <rearnsha@arm.com>
3990
3991 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
3992
7d81e8d6
FW
39932014-12-23 Florian Weimer <fweimer@redhat.com>
3994
3995 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
3996
90aa3d09
JM
39972014-12-22 Joseph Myers <joseph@codesourcery.com>
3998
3999 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
4000 not define.
4001 * sysdeps/unix/sysv/linux/utimes.c: Do not include
4002 <kernel-features.h>.
4003 (__utimes) [__NR_utimes]: Make code unconditional.
4004 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
4005 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4006 (__ASSUME_UTIMES): Do not undefine.
4007 * sysdeps/unix/sysv/linux/tile/kernel-features.h
4008 (__ASSUME_UTIMES): Likewise.
4009 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4010 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
4011 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
4012 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
4013
4c0c0e2a
SE
40142014-12-22 Steve Ellcey <sellcey@imgtec.com>
4015
4016 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
4017
0dacd7a3
CM
40182014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
4019
b638f96a
CM
4020 [BZ #17747]
4021 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
4022 alias to weak alias for j0l, y0l.
4023 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
4024 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
4025
0dacd7a3
CM
4026 [BZ #17746]
4027 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
4028 conversion.
4029
528479c4
SE
40302014-12-22 Steve Ellcey <sellcey@imgtec.com>
4031
4032 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
4033 to zero if not already defined.
4034
f56f9124
JM
40352014-12-22 Joseph Myers <joseph@codesourcery.com>
4036
4037 [BZ #17724]
4038 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
4039 (__kernel_standard_f): Remove. Moved to k_standardf.c.
4040 (__kernel_standard_l): Remove. Moved to k_standardl.c with
4041 (char *) casts added.
4042 * sysdeps/ieee754/k_standardf.c: New file.
4043 * sysdeps/ieee754/k_standardl.c: Likewise.
4044 * math/Makefile (libm-support): Remove k_standard.
4045 (libm-calls): Add k_standard.
4046
8622d556
WD
40472014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4048
4049 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
4050 Optimize to avoid an unnecessary FPCR read.
4051
f3806bdb
WD
40522014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4053
4054 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
4055 Optimize to reduce FPCR/FPSR accesses.
4056
9b47df58
WD
40572014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4058
4059 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
4060 Call libc_fetestexcept_aarch64.
4061
97be3cac
WD
40622014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
4063
4064 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
4065 Call libc_fesetround_aarch64.
4066
935ab817
JM
40672014-12-22 Joseph Myers <joseph@codesourcery.com>
4068
4069 [BZ #17733]
4070 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
4071 (__bind): Do not define as weak alias.
4072 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
4073 define.
4074 (__getsockname): Do not define as weak alias.
4075
cc8623f1
WN
40762014-12-22 Will Newton <will.newton@linaro.org>
4077
4078 * manual/install.texi: Document that we require bison 2.7
4079 or above.
4080 * INSTALL: Regenerate.
4081 * configure.ac: Use AC_CHECK_PROG_VER instead of
4082 AC_PATH_PROG when checking for bison and check for
4083 version 2.7 or above.
4084 * configure: Regenerate.
4085
a19ca65a
CM
40862014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
4087
92901170 4088 [BZ #17745]
e969965a
CM
4089 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
4090 * sysdeps/tile/ffsll.c (ffsll): To here.
4091
a19ca65a
CM
4092 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
4093
050f7298
L
40942014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4095
4096 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
4097 if not defined.
4098 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
4099 definition.
4100 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4101 hidden ___tls_get_addr.
4102 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
4103 hidden __tls_get_addr.
4104 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
4105 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
4106 Likewise.
4107
6df5547e
AS
41082014-12-21 Andreas Schwab <schwab@linux-m68k.org>
4109
4110 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
4111 _dl_init call.
4112
7432d613
L
41132014-12-21 H.J. Lu <hongjiu.lu@intel.com>
4114
4115 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
4116 from "call _dl_init@PLT".
4117 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 4118
98fe149e
AK
41192014-12-21 Anders Kaseorg <andersk@mit.edu>
4120
4121 * manual/search.texi: (Array Sort Function): Clarify stable sorting
4122 guarantees.
4123
d12455f5
CM
41242014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
4125
4126 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
4127
95dee05f
CM
41282014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4129
92901170 4130 [BZ #17744]
95dee05f
CM
4131 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
4132 strnlen.
4133
2ef4b74a
SE
41342014-12-19 Steve Ellcey <sellcey@imgtec.com>
4135
4136 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
4137 of multu on MIPSr6.
4138 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
4139 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
4140 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
4141 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
4142 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
4143
41442014-12-19 Steve Ellcey <sellcey@imgtec.com>
4145
4146 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
4147 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
4148 (PTR_SUBU): Use subu for mips32r6/mips64r6.
4149 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 4150 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
4151 mips32r6/mips64r6.
4152 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
4153
3eb38795
OB
41542014-12-19 Ondřej Bílka <neleai@seznam.cz>
4155
4156 * string/strncat.c (STRNCAT): Simplify implementation.
4157
6d4188dd
DM
41582014-12-19 David S. Miller <davem@davemloft.net>
4159
0d4ba8be
DM
4160 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
4161 access the quad as both a long double and as a series of 4 words.
4162
6d4188dd
DM
4163 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
4164 link_map->l_info array access.
4165
4ef91cdc
CM
41662014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
4167
804c54f7
CM
4168 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
4169
4ef91cdc
CM
4170 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
4171 * math/atest-exp2.c (TIMEOUT): Likewise.
4172 * math/atest-sincos.c (TIMEOUT): Likewise.
4173
afd176d6
L
41742014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4175
4176 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
4177 -Wno-error with -fno-builtin-lround.
4178
a4a43a90
TR
41792014-12-19 Torvald Riegel <triegel@redhat.com>
4180
4181 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
4182 Contains futex constants and functions moved over from ...
4183 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
4184 <lowlevellock-futex.h>.
4185 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4186 (lll_timedwait_tid): Add comments and parentheses around macro
4187 arguments.
4188
76f71081
TR
41892014-12-19 Torvald Riegel <triegel@redhat.com>
4190
4191 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
4192 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
4193 (__lll_private_flag): Remove.
4194 (lll_futex_wait): Likewise.
4195 (lll_futex_timed_wait): Likewise.
4196 (lll_futex_wake): Likewise.
4197 (lll_futex_requeue): Likewise.
4198 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
4199 (__lll_timedwait_tid): Spell out argument names.
4200 (lll_timedwait_tid): Add comments and parentheses around macro
4201 arguments.
4202 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
4203 LLL_SHARED and LLL_PRIVATE usable from assembly code.
4204
6b814909
TR
42052014-12-19 Torvald Riegel <triegel@redhat.com>
4206
4207 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
4208 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4209 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4210 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
4211 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
4212 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
4213 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
4214 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
4215 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
4216 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
4217 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
4218 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
4219 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
4220 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
4221 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
4222 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
4223 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
4224 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
4225 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
4226
9cd4d4ab
L
42272014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4228
4229 * sysdeps/x86_64/x32/Makefile: New file.
4230
c9c1a2d0
L
42312014-12-19 H.J. Lu <hongjiu.lu@intel.com>
4232
4233 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
4234 1L with (mp_limb_t) 1.
4235
af102d95
RM
42362014-12-17 Roland McGrath <roland@hack.frob.com>
4237
dd690454
RM
4238 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
4239 * nptl/libc_pthread_init.c: ... here.
4240 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
4241 * nptl/register-atfork.c: ... here.
4242
74eb826c
RM
4243 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
4244 Use pthread_sigmask rather than INTERNAL_SYSCALL.
4245 Use assert_perror to check its return value.
4246 (__gai_create_helper_thread): Likewise.
4247
c9ce306b
RM
4248 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
4249
af102d95
RM
4250 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
4251
8ac5a76a
JM
42522014-12-17 Joseph Myers <joseph@codesourcery.com>
4253
ea41469b
JM
4254 [BZ #17725]
4255 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
4256 __profil_counter.
4257 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
4258 Likewise.
4259 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
4260 Likewise.
4261 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
4262 Likewise.
4263 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
4264 (profil_counter): Likewise.
4265 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
4266 (profil_counter): Likewise.
4267 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
4268 Likewise.
4269 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
4270 Likewise.
4271 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
4272 (profil_counter): Likewise.
4273 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
4274 Likewise.
4275 [!__profil_counter] (profil_counter): Define as weak alias of
4276 __profil_counter.
4277 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
4278 (profil_counter): Rename to __profil_counter.
4279 [!__profil_counter] (profil_counter): Define as weak alias of
4280 __profil_counter.
4281 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
4282 (profil_counter): Rename to __profil_counter.
4283 [!__profil_counter] (profil_counter): Define as weak alias of
4284 __profil_counter.
4285 * sysdeps/posix/profil.c: Update comment referring to
4286 profil_counter.
4287 (__profil): Use __profil_counter instead of profil_counter.
4288 * sysdeps/posix/sprofil.c (profil_counter): Rename to
4289 __profil_counter. Use __profil_counter_ushort and
4290 __profil_counter_uint in definitions.
4291 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
4292 instead of profil_counter_uint and profil_counter_ushort.
4293
8ac5a76a
JM
4294 [BZ #17722]
4295 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
4296 define as weak alias of __inet_makeaddr.
4297 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
4298 as weak alias of __inet_addr.
4299 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
4300 as weak alias of __inet_pton. Use libc_hidden_weak.
4301 * include/arpa/inet.h (__inet_pton): Declare. Use
4302 libc_hidden_proto.
4303 (inet_makeaddr): Don't use libc_hidden_proto.
4304 (__inet_makeaddr): Declare. Use libc_hidden_proto.
4305 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
4306 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
4307 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
4308 Remove variable.
4309 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4310 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4311
66ce3cb1
SE
43122014-12-17 Steve Ellcey <sellcey@imgtec.com>
4313
4314 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
4315
d22ce01b
SL
43162014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4317
4318 * stdio-common/bug-vfprintf-nargs.c (do_test):
4319 Cast value to intptr_t to avoid format warning
4320 for usage with PRIdPTR printing macro.
4321
eca2772b
SL
43222014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
4323
4324 * libio/tst-widetext.c (do_test):
4325 Use format type %td instead of %Zd for ptrdiff_t
4326 in order to avoid format warning.
4327
bdf079da
AS
43282014-12-17 Andreas Schwab <schwab@suse.de>
4329
4330 * nscd/mem.c (gc): Add size_t cast to match printf format.
4331
3eb5d2fc
RM
43322014-12-16 Roland McGrath <roland@hack.frob.com>
4333
4334 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
4335 (init): Apply PTR_MANGLE to pointers before storing them.
4336 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
4337 before using them.
4338
d003ada2
JM
43392014-12-16 Joseph Myers <joseph@codesourcery.com>
4340
380292ba
JM
4341 [BZ #17719]
4342 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
4343 define as weak alias of __memrchr.
4344 (__memrchr): Do not define as strong alias of memrchr.
4345 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
4346 Remove variable.
4347 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4348 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4349 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4350
9a44d530
JM
4351 [BZ #17717]
4352 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
4353 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
4354 (if_indextoname): Rename to __if_indextoname and define as weak
4355 alias of __if_indextoname. Use libc_hidden_weak.
4356 (if_freenameindex): Rename to __if_freenameindex and define as
4357 weak alias of __if_freenameindex.
4358 (if_nameindex): Rename to __if_nameindex and define as weak alias
4359 of __if_nameindex.
4360 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
4361 __if_nametoindex and define as weak alias of __if_nametoindex.
4362 Use libc_hidden_weak.
4363 (if_freenameindex): Rename to __if_freenameindex and define as
4364 weak alias of __if_freenameindex.
4365 (if_nameindex): Rename to __if_nameindex and define as weak alias
4366 of __if_nameindex.
4367 (if_indextoname): Rename to __if_indextoname and define as weak
4368 alias of __if_indextoname. Use libc_hidden_weak.
4369 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
4370 __if_nametoindex and define as weak alias of __if_nametoindex.
4371 Use libc_hidden_weak.
4372 (if_freenameindex): Rename to __if_freenameindex and define as
4373 weak alias of __if_freenameindex. Use libc_hidden_weak.
4374 (if_nameindex_netlink): Use __if_freenameindex instead of
4375 if_freenameindex.
4376 (if_nameindex): Rename to __if_nameindex and define as weak alias
4377 of __if_nameindex. Use libc_hidden_weak.
4378 (if_indextoname): Rename to __if_indextoname and define as weak
4379 alias of __if_indextoname. Use libc_hidden_weak.
4380 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
4381 libc_hidden_proto.
4382 [!_ISOMAC] (__if_freenameindex): Likewise.
4383 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
4384 if_nametoindex.
4385 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
4386 variable.
4387 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4388 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4389 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4390 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4391 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4392 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4393 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4394
d003ada2
JM
4395 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
4396 Remove variable.
4397 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4398 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4399
a0d424ef
SP
44002014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4401
0cd85520
SP
4402 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
4403 subscript above bounds'
4404
a0d424ef
SP
4405 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
4406 bounds.
4407
0e426475
AS
44082014-12-16 Arjun Shankar <arjun.is@lostca.se>
4409
8b460906
AS
4410 * libio/tst-fopenloc.c: Use test-skeleton.c.
4411
fa13e15b
AS
4412 * stdlib/tst-bsearch.c: Use test-skeleton.c.
4413 (entry): Rename to ITEM.
4414 (do_test, comp): Adjust.
4415
0e426475
AS
4416 * stdio-common/tst-fseek.c: Use test-skeleton.c.
4417
4f646bce
TR
44182014-12-16 Torvald Riegel <triegel@redhat.com>
4419
4420 * string/tester.c: Include <libc-internal.h>.
4421 (test_memset): Ignore -Wmemset-transposed-args.
4422
a07c4427
TR
44232014-12-16 Torvald Riegel <triegel@redhat.com>
4424
4425 * misc/tst-mntent2.c (do_test): Fix warning.
4426
1469f466
TR
44272014-12-16 Torvald Riegel <triegel@redhat.com>
4428
4429 * elf/tst-unique4lib.cc(a): Mark as used.
4430
11e3417a
FW
44312014-12-16 Florian Weimer <fweimer@redhat.com>
4432
4433 [BZ #17630]
4434 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
4435 names.
4436
ae61fc7b
AM
44372014-12-16 Allan McRae <allan@archlinux.org>
4438
4439 * stdio-common/Makefile (tests): Re-add bug26.
4440
363a9899
OB
44412014-12-15 Ondřej Bílka <neleai@seznam.cz>
4442
4443 [BZ #17657]
4444 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
4445 static array.
4446
d52c62df
TR
44472014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
4448
4449 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
4450 (__lll_lock_wait): Likewise.
4451 (__lll_timedlock_wait): Likewise.
4452 (__lll_timedwait_tid): Likewise.
4453 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
4454 (__lll_robust_timedlock_wait): Likewise.
4455 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
4456 (lll_cond_trylock): Likewise.
4457 (__lll_lock): Likewise.
4458 (__lll_robust_lock): Likewise.
4459 (__lll_cond_lock): Likewise.
4460 (lll_robust_cond_lock): Likewise.
4461 (__lll_timedlock): Likewise.
4462 (__lll_robust_timedlock): Likewise.
4463 (__lll_unlock): Likewise.
4464 (__lll_robust_unlock): Likewise.
4465 (lll_wait_tid): Likewise.
4466 (lll_timedwait_tid): Likewise.
4467
045a6bcd
TR
44682014-12-15 Torvald Riegel <triegel@redhat.com>
4469
4470 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
4471
7f786dc1
TR
44722014-12-15 Torvald Riegel <triegel@redhat.com>
4473
4474 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
4475
e7e21cba
AZ
44762014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4477
4478 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
4479 * stdio-common/tst-sprintf.c: Likewise.
4480
bc89c0fc
TR
44812014-12-15 Torvald Riegel <triegel@redhat.com>
4482
4483 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
4484
a5357b7c
JL
44852014-12-15 Jeff Law <law@redhat.com>
4486
4487 [BZ #16617]
4488 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
4489 on the heap. (CVE-2012-3406)
4490 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
4491 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
4492 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
4493
3a12c70f
WN
44942014-12-15 Will Newton <will.newton@linaro.org>
4495
4496 * manual/install.texi: Bump required version of texinfo
4497 to 4.7 from 4.5.
4498 * INSTALL: Regenerated.
4499 * configure.ac: Check for makeinfo version 4.7 and above.
4500 * configure: Regenerated.
4501
e4f639e4
RM
45022014-12-12 Roland McGrath <roland@hack.frob.com>
4503
4504 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
4505 PREFIX, string constant to insert between directory and name.
4506 * sysdeps/posix/shm_open.c: Update caller.
4507 * sysdeps/posix/shm_unlink.c: Likewise.
4508 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
4509 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
4510 (SEM_SHM_PREFIX): New macro.
4511 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
4512 [$(have-thread-library) = no].
4513 * nptl/Makefile (libpthread-routines): Add shm-directory.
4514 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
4515 * sysdeps/nptl/shm-directory.h: New file.
4516 * sysdeps/posix/shm-directory.c
4517 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
4518 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
4519 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
4520 INTERNAL_SYSCALL.
4521 (__where_is_shmfs): Function removed.
4522 (mountpoint, defaultmount, defaultdir, __namedsem_once):
4523 Variables removed.
4524 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
4525 Use SHM_GET_NAME.
4526 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
4527
4528 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
4529 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
4530 unconditional for use inside libpthread.
4531 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
4532
439c43f6
RM
45332014-12-12 Roland McGrath <roland@hack.frob.com>
4534
c76d1ff5
RM
4535 * nptl/pthread_getaffinity.c: New file.
4536 * nptl/pthread_setaffinity.c: New file.
4537 * nptl/pthread_getname.c: New file.
4538 * nptl/pthread_setname.c: New file.
4539
439c43f6
RM
4540 * nptl/pthread_create.c (START_THREAD_DEFN)
4541 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
4542
48e435cd
SL
45432014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4544 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4545
4546 * resolv/res_send.c (send_vc): Disable warning resplen may
4547 be used uninitialized.
4548
9d9c0019
SL
45492014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
4550
4551 * nptl/tst-mutex6.c
4552 (ATTR_NULL): New define checks ATTR against NULL.
4553 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
4554 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
4555
9173840b
JL
45562014-12-11 James Lemke <jwlemke@codesourcery.com>
4557
4558 [BZ #17581]
4559 * malloc/hooks.c
4560 (mem2mem_check): Revert my previous change.
4561 (malloc_check_get_size): Revert my previous change.
4562 (mem2chunk_check): Revert my previous change.
4563
78e21c5d
RM
45642014-12-11 Roland McGrath <roland@hack.frob.com>
4565
4566 * sysdeps/posix/shm-directory.c: New file.
4567 * sysdeps/posix/shm-directory.h: New file.
4568 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
4569 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
4570 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
4571 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
4572 Transmute EPERM to EACCES.
4573 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
4574 from ...
4575 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
4576 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
4577
f82c43af
KK
45782014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4579
4580 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
4581 pointer and cast to uintptr_t.
4582 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
4583 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
4584 Add cast to avoid warning.
4585 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
4586
fc00cf7b
JM
45872014-12-11 Joseph Myers <joseph@codesourcery.com>
4588
4589 * nptl/semaphore.h: Move to ...
4590 * sysdeps/pthread/semaphore.h: ... here.
4591 * Makefile (installed-headers): Change nptl/semaphore.h to
4592 sysdeps/pthread/semaphore.h.
4593
1c4053db
RM
45942014-12-11 Roland McGrath <roland@hack.frob.com>
4595
73b0c1a1
RM
4596 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
4597 generated error format strings.
4598
1c4053db
RM
4599 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
4600 -Wformat-extra-args warnings for scanf formats.
4601 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
4602 test of zero-length format (duh).
4603 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
4604 corner-case scanf format test.
4605 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
4606 generated fprintf format string.
4607 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
4608 corner-case sprintf format tests.
4609 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
4610 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
4611 -Wformat-extra-args warnings throughout.
4612 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
4613 (CFLAGS-scanf4.c): Likewise.
4614 (CFLAGS-scanf7.c): Likewise.
4615 (CFLAGS-tst-sprintf.c): Likewise.
4616 (CFLAGS-tst-printf.c): Likewise.
4617 (CFLAGS-tst-printfsz.c): Likewise.
4618
47d51f4f
JM
46192014-12-11 Joseph Myers <joseph@codesourcery.com>
4620
a1edbf3c
JM
4621 * include/cpio.h: New file.
4622 * include/fmtmsg.h: Likewise.
4623
47d51f4f
JM
4624 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
4625 corresponding format argument to size_t.
4626 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
4627 arguments.
4628 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
4629 corresponding format argument to size_t.
4630 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
4631 arguments.
4632 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
4633 corresponding format argument to size_t.
4634 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
4635 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
4636 (CFLAGS-tst-mbswcs2.c): Likewise.
4637 (CFLAGS-tst-mbswcs3.c): Likewise.
4638 (CFLAGS-tst-mbswcs4.c): Likewise.
4639 (CFLAGS-tst-mbswcs5.c): Likewise.
4640 (CFLAGS-tst-trans.c): Likewise
4641
e9813cfb
RM
46422014-12-11 Roland McGrath <roland@hack.frob.com>
4643
4644 * posix/regexbug1.c (main): Use "%s" format with regerror results,
4645 rather than assuming they won't contain any '%'s.
4646
f627ca82
CM
46472014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
4648
4649 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
4650 inhibit_loop_to_libcall to avoid recursive calls.
4651 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
4652 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
4653
7f296942
AZ
46542014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
4655
4656 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
4657 prototype.
4658
d0276e18
SE
46592014-12-11 Steve Ellcey <sellcey@imgtec.com>
4660
4661 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
4662 integer value instead of boolean.
4663
fc56e970
SE
46642014-12-11 Steve Ellcey <sellcey@imgtec.com>
4665
4666 * malloc/malloc.c: Fix powerof2 check.
4667
40e53917
SL
46682014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4669
4670 * locale/programs/locfile.h (maybe_swap_uint32):
4671 Remove inline and add unused attribute.
4672
1ea166df
SL
46732014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
4674
9d9c0019 4675 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
4676 Truncating assembler expression to a .long expression.
4677
acf869f4
AS
46782014-12-11 Andreas Schwab <schwab@suse.de>
4679
4680 * elf/rtld.c (struct map_args): Constify str member.
4681 (do_preload): Constify fname argument.
4682
9d969099
AZ
46832014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4684
4685 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
4686 constants definition.
4687
da5bcaa4
AS
46882014-12-11 Andreas Schwab <schwab@suse.de>
4689
b0a3c164
AS
4690 [BZ #16657]
4691 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
4692 FORCE_ELISION instead of DO_ELISION.
4693 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
4694 Remove.
4695 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
4696 Likewise.
4697
da5bcaa4
AS
4698 * iconvdata/gconv-modules: Remove duplicate entry.
4699
6d248857
WN
47002014-12-11 Will Newton <will.newton@linaro.org>
4701
4702 Merge gettext 0.19.3 into intl/.
4703
4704 This involves a number of cosmetic changes to comments
4705 and ANSI function definitions and prototypes throughout
4706 all the files. The gettext copyright header is used but
4707 with the date ranges taken from the glibc copy.
4708
4709 * NEWS: Add gettext merge to 2.21.
4710 * intl/bindtextdom.c: Switch to gettext copyright.
4711 Use ANSI definitions and prototypes.
4712 Use gl_* locking primitives rather than __libc_* ones.
4713 Use __builtin_expect rather than __glibc_likely/unlikely.
4714 * intl/dcgettext.c: Switch to gettext copyright.
4715 Use ANSI definitions and prototypes.
4716 * intl/dcigettext.c: Switch to gettext copyright.
4717 Use ANSI definitions and prototypes.
4718 (INTDIV0_RAISES_SIGFPE): New define.
4719 Use gl_* locking primitives rather than __libc_* ones.
4720 Include eval-plural.h instead of plural-eval.c.
4721 Use __builtin_expect rather than __glibc_likely/unlikely.
4722 * intl/dcngettext.c: Switch to gettext copyright.
4723 Use ANSI definitions and prototypes.
4724 * intl/dgettext.c: Likewise.
4725 * intl/dngettext.c: Likewise.
4726 * intl/plural-eval.c: Renamed to...
4727 * intl/eval-plural.h: ...this.
4728 * intl/explodename.c: Switch to gettext copyright.
4729 Use ANSI definitions and prototypes.
4730 (_nl_explode_name): Use strchr instead of __rawmemchr.
4731 * intl/finddomain.c: Switch to gettext copyright.
4732 Use ANSI definitions and prototypes.
4733 Use gl_* locking primitives rather than __libc_* ones.
4734 (_nl_find_domain): Use malloc rather than alloca for
4735 allocation of temporary locale name.
4736 * intl/gettext.c: Switch to gettext copyright.
4737 Use ANSI definitions and prototypes.
4738 * intl/gettextP.h: Switch to gettext copyright.
4739 Use ANSI definitions and prototypes.
4740 Use gl_* locking primitives rather than __libc_* ones.
4741 * intl/gmo.h: Switch to gettext copyright.
4742 (struct sysdep_string): Move struct segment_pair outside of
4743 struct definition.
4744 * intl/hash-string.c: Use ANSI definitions and prototypes.
4745 * intl/hash-string.h: Switch to gettext copyright.
4746 Use ANSI definitions and prototypes.
4747 * intl/l10nflist.c: Switch to gettext copyright.
4748 Use ANSI definitions and prototypes.
4749 (_nl_normalize_codeset): Avoid integer overflow.
4750 * intl/loadinfo.h: Switch to gettext copyright.
4751 Use ANSI definitions and prototypes.
4752 (LIBINTL_DLL_EXPORTED): New define.
4753 (PATH_SEPARATOR): New define.
4754 * intl/loadmsgcat.c: Switch to gettext copyright.
4755 * intl/localealias.c: Switch to gettext copyright.
4756 Use ANSI definitions and prototypes.
4757 (_nl_expand_alias): Use PATH_SEPARATOR.
4758 * intl/ngettext.c: Switch to gettext copyright.
4759 Use ANSI definitions and prototypes.
4760 * intl/plural-exp.c: Likewise.
4761 * intl/plural-exp.h: Switch to gettext copyright.
4762 Use ANSI definitions and prototypes.
4763 (struct expression): Move definition of enum operator outside
4764 of struct definition.
4765 * intl/plural.c: Regenerate.
4766 * intl/plural.y: Switch to gettext copyright.
4767 Use ANSI definitions and prototypes.
4768 Port to bison 3.0.
4769 * intl/textdomain.c: Switch to gettext copyright.
4770 Use ANSI definitions and prototypes.
4771 Use gl_* locking primitives rather than __libc_* ones.
4772
48c43298
SE
47732014-12-10 Steve Ellcey <sellcey@imgtec.com>
4774
4775 * debug/warning-nop.c: Add used atrribute.
4776
2b89bce9
JM
47772014-12-10 Joseph Myers <joseph@codesourcery.com>
4778
c153ac9f
JM
4779 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
4780
2b89bce9
JM
4781 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
4782 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
4783 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
4784
2cfbdb9a
JM
47852014-12-10 Joseph Myers <joseph@codesourcery.com>
4786 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4787
4788 [BZ #17634]
4789 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
4790 Undefine after defining function. Define as weak alias of
4791 __wcschr. Use libc_hidden_weak.
4792 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
4793 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
4794 (libc_hidden_def): Also define __GI___wcschr alias.
4795 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
4796 __wcschr and define as weak alias of __wcschr.
4797 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
4798 __wcschr.
4799 [!WCSCHR] (DEFAULT_WCSCHR): Define.
4800 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
4801 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
4802 libc_hidden_weak. Do not use libc_hidden_def.
4803 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
4804 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
4805 __GI___wcschr alias.
4806 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
4807 [IS_IN (libc)] (wcschr): Define as macro expanding to
4808 __redirect_wcschr.
4809 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
4810 [IS_IN (libc)] (__wcschr_power6): Likewise.
4811 [IS_IN (libc)] (__wcschr_power7): Likewise.
4812 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
4813 instead of wcschr.
4814 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
4815 __libc_wcschr.
4816 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
4817 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
4818 __wcschr and define as weak alias of __wcschr. Use
4819 libc_hidden_builtin_def.
4820 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
4821 as weak alias of __wcschr. Use libc_hidden_weak.
4822 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
4823 wcschr.
4824 * time/era.c (_nl_init_era_entries): Likewise.
4825 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
4826 variable.
4827 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4828 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4829
1b8bf351
JM
48302014-12-10 Joseph Myers <joseph@codesourcery.com>
4831
4832 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
4833 format for long int variable.
4834
f5f46d51
AK
48352014-12-10 Anders Kaseorg <andersk@MIT.EDU>
4836
4837 [BZ #10672]
07008f7d 4838 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
4839 qsort stable.
4840
217a74a8
AS
48412014-12-10 Andreas Schwab <schwab@suse.de>
4842
4843 [BZ #12847]
4844 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
4845 user-controlled locks.
4846
aa76a5c7
RE
48472014-12-10 Richard Earnshaw <rearnsha@arm.com>
4848
4849 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
4850 register.
4851
2084e7ca
JM
48522014-12-10 Joseph Myers <joseph@codesourcery.com>
4853
a4ecc9eb
JM
4854 * configure.ac (--disable-werror): New configure option.
4855 (enable_werror): New AC_SUBST.
4856 * configure: Regenerated.
4857 * config.make.in (enable-werror): New variable.
4858 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
4859 -Wno-error=undef.
4860 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
4861 * manual/install.texi (Configuring and compiling): Document
4862 --disable-werror.
4863 * INSTALL: Regenerated.
4864 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
4865 (CFLAGS-tst-chk2.c): Likewise.
4866 (CFLAGS-tst-chk3.c): Likewise.
4867 (CFLAGS-tst-chk4.cc): Likewise.
4868 (CFLAGS-tst-chk5.cc): Likewise.
4869 (CFLAGS-tst-chk6.cc): Likewise.
4870 (CFLAGS-tst-lfschk1.c): Likewise.
4871 (CFLAGS-tst-lfschk2.c): Likewise.
4872 (CFLAGS-tst-lfschk3.c): Likewise.
4873 (CFLAGS-tst-lfschk4.cc): Likewise.
4874 (CFLAGS-tst-lfschk5.cc): Likewise.
4875 (CFLAGS-tst-lfschk6.cc): Likewise.
4876
0f88636c
JM
4877 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
4878 (main): Disable -Wdeprecated-declarations around calls to
4879 register_printf_function.
4880
c81e9deb
JM
4881 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
4882 (do_test): Disable -Wdiv-by-zero around some calls to
4883 fwrite_unlocked and fread_unlocked.
4884
2084e7ca
JM
4885 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
4886 (DIAG_POP_NEEDS_COMMENT): Likewise.
4887 (_DIAG_STR1): Likewise.
4888 (_DIAG_STR): Likewise.
4889 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
4890 * stdio-common/bug21.c: Include <libc-internal.h>.
4891 (do_test): Disable -Wformat around call to sscanf.
4892 * stdio-common/scanf14.c: Include <libc-internal.h>.
4893 (main): Disable -Wformat around some calls to scanf functions.
4894
df7ecc6b
TR
48952014-12-09 Torvald Riegel <triegel@redhat.com>
4896
4897 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
4898
2aa3862e
AZ
48992014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4900
4901 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
4902 stack variable alignment.
4903
c5c2b7c3
JM
49042014-12-06 Joseph Myers <joseph@codesourcery.com>
4905
4906 [BZ #17682]
4907 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
4908 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
4909 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
4910 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
4911 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
4912 __getrlimit instead of getrlimit.
4913 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
4914 __gettimeofday instead of gettimeofday.
4915 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
4916 Likewise.
4917 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
4918 Likewise.
4919 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
4920 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
4921 Remove variable.
4922 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4923 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4924
9752c3cd
AZ
49252014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4926
4927 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
4928 for wide-character tests.
4929
4bee4cd9
RM
49302014-12-04 Roland McGrath <roland@hack.frob.com>
4931
4932 * io/openat64.c: #include <libc-internal.h>
4933 (__openat64): Prototypify. Use ignore_value on MODE.
4934 * io/openat.c: Likewise.
4935 * misc/reboot.c: #include <libc-internal.h>
4936 (reboot): Prototypify. Use ignore_value on HOWTO.
4937 * misc/ptrace.c: #include <libc-internal.h>
4938 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
4939
84dbedb6
JM
49402014-12-04 Joseph Myers <joseph@codesourcery.com>
4941
4942 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
4943 XPG4, UNIX98 and XOPEN2K.
4944 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
4945 Remove variable.
4946 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4947
b7a3e1c4 49482014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 4949
af50dfc1 4950 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
4951 * libio/iofopen.c: Likewise.
4952 * libio/wfileops.c: Likewise.
4953
fe8b4d98
SP
4954 [BZ #17653]
4955 * libio/fileops.c (_IO_new_file_underflow): Unset cached
4956 offset on EOF.
4957 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
4958 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
4959 (fgets_func): Function pointer to fgets and fgetws.
4960 (do_ftell_test): Add test to verify ftell value after read
4961 EOF.
4962 (do_test): Set fgets_func.
4963
61b4f792
SP
4964 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
4965 O_TRUNC flag for w and w+ modes.
4966 (do_rewind_test): Likewise.
4967 (do_ftell_test): Likewise.
4968 (do_write_test): Likewise.
4969
be349d70
SP
4970 [BZ #17647]
4971 * libio/fileops.c (do_ftell): Seek only when there are
4972 unflushed writes.
4973 * libio/wfileops.c (do_ftell_wide): Likewise.
4974 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
4975 test case.
4976 (do_one_test): Call it.
4977
e3d6dba5
JM
49782014-12-03 Joseph Myers <joseph@codesourcery.com>
4979
4980 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
4981 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
4982 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
4983 Remove variable.
4984 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4985 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4986 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4987
7f994279
JM
49882014-12-02 Joseph Myers <joseph@codesourcery.com>
4989
28a91e8f
JM
4990 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
4991 Remove variable.
4992 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4993
7f994279
JM
4994 [BZ #17668]
4995 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
4996 as weak alias of __getifaddrs. Use libc_hidden_weak.
4997 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
4998 __freeifaddrs. Use libc_hidden_weak.
4999 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
5000 define as weak alias of __getifaddrs. Use libc_hidden_weak.
5001 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5002 __freeifaddrs. Use libc_hidden_weak.
5003 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
5004 __getifaddrs and define as weak alias of __getifaddrs. Use
5005 libc_hidden_weak.
5006 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
5007 __freeifaddrs. Use libc_hidden_weak.
5008 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
5009 Remove variable.
5010 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5011 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5012
bbe4c142
PJ
50132014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
5014
5015 [BZ #17601]
5016 * sysdeps/mips/start.S (__start): Use indirect jump to call
5017 __libc_start_main.
5018
66cadc05
JM
50192014-12-02 Joseph Myers <joseph@codesourcery.com>
5020
909e16d9
JM
5021 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
5022
4e0b9016
JM
5023 * nptl/tst-mutex1.c: Include <stdbool.h>.
5024 [!ATTR] (ATTR_NULL): New macro.
5025 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
5026 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
5027 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
5028
b1aff6a4
JM
5029 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
5030 to char *.
5031
266865c0
JM
5032 [BZ #17665]
5033 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
5034 Change conditional to [__USE_MISC].
5035
84e5e756
JM
5036 [BZ #17664]
5037 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
5038 fgets_unlocked.
5039 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
5040 __fgets_unlocked.
5041 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
5042 fgets_unlocked.
5043 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
5044 Remove variable.
5045 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5046 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5047 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5048 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5049 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5050 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5051 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5052 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5053 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5054
66cadc05
JM
5055 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
5056
2e8a2de2 50572014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
5058
5059 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5060 Remove strpbrk objects.
5061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5062 (__libc_ifunc_impl_list): Remove strpbrk implementation.
5063 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
5064 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
5065 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
5066 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
5067
bb2542e0
AZ
5068 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5069 Remove strcspn objects.
5070 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5071 (__libc_ifunc_impl_list): Remove strcspn implementation.
5072 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
5073 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
5074 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
5075 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
5076
5077 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
5078 Remove strspn objetcs.
5079 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5080 (__libc_ifunc_impl_list): Remove strspn implementation.
5081 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
5082 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5083 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
5084 * sysdeps/powerpc/powerpc64/strspn.S: New file.
5085
08f1e1d2
JL
50862014-12-01 James Lemke <jwlemke@codesourcery.com>
5087
5088 [BZ #17581]
5089 * malloc/hooks.c
5090 (mem2mem_check): Add a terminator to the chain of checking blocks.
5091 (malloc_check_get_size): Use it here.
5092 (mem2chunk_check): Ditto.
5093
a8a7d7d2
RS
50942014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5095
5096 * sysdeps/powerpc/powerpc64/strtok.S: New file.
5097 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
5098
97114a38
CD
50992014-11-29 Carlos O'Donell <carlos@redhat.com>
5100
c8dc1727
CD
5101 * bits/ioctl-types.h: Indent preprocessor directives correctly.
5102
6d03458e
CD
5103 * nptl/nptl-init.c: Include libc-internal.h.
5104 (__pthread_initialize_minimal_internal): Use ROUND_UP.
5105
97114a38
CD
5106 * elf/ldconfig.c (search_dir): Expand comment.
5107
0e7e69ba
JM
51082014-11-29 Joseph Myers <joseph@codesourcery.com>
5109
5110 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
5111 variable.
5112 (linknamespace-symlist-stdlibs-tests): Likewise.
5113 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
5114 instead of $(objpfx)symlist-stdlibs.
5115 (linknamespace-libs-isoc): New variable.
5116 (linknamespace-libs): Use $(linknamespace-libs-isoc).
5117 (linknamespace-libs-ISO): New variable.
5118 (linknamespace-libs-ISO99): Likewise.
5119 (linknamespace-libs-ISO11): Likewise.
5120 (linknamespace-libs-XPG3): Likewise.
5121 (linknamespace-libs-XPG4): Likewise.
5122 (linknamespace-libs-POSIX): Likewise.
5123 (linknamespace-libs-UNIX98): Likewise.
5124 (linknamespace-libs-XOPEN2K): Likewise.
5125 (linknamespace-libs-POSIX2008): Likewise.
5126 (linknamespace-libs-XOPEN2K8): Likewise.
5127 ($(objpfx)symlist-stdlibs): Replace by
5128 $(linknamespace-symlist-stdlibs-tests). Use
5129 $(linknamespace-libs-$*) as set of libraries.
5130 ($(linknamespace-header-tests)): Update dependencies. Use
5131 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
5132 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
5133 * conform/linknamespace.pl: Remove comment about considering
5134 definitions of symbols from irrelevant libraries.
5135
d8dd0080
L
51362014-11-28 H.J. Lu <hongjiu.lu@intel.com>
5137
5138 [BZ #13862]
5139 * elf/dl-tls.c: Include <atomic.h>.
5140 (oom): Remove #ifdef SHARED/#endif.
5141 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
5142 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
5143 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
5144 big enough.
5145 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
5146 * nptl/Makefile (tests): Add tst-stack4.
5147 (modules-names): Add tst-stack4mod.
5148 ($(objpfx)tst-stack4): New.
5149 (tst-stack4mod.sos): Likewise.
5150 ($(objpfx)tst-stack4.out): Likewise.
5151 ($(tst-stack4mod.sos)): Likewise.
5152 (clean): Likewise.
5153 * nptl/tst-stack4.c: New file.
5154 * nptl/tst-stack4mod.c: Likewise.
5155
167da422
B
51562014-11-27 J. Brown <jb999@gmx.de>
5157
5158 * sysdeps/x86/bits/string.h: Add recent CPUs.
5159
9114625b
JM
51602014-11-27 Joseph Myers <joseph@codesourcery.com>
5161
6b5189eb
JM
5162 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
5163 sigblock.
5164
49051f8e
JM
5165 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
5166 feof.
5167
9114625b
JM
5168 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
5169 variable.
5170
e7300fef
SL
51712014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
5172
5173 * nscd/connections.c: Include libc-internal.h because of macro
5174 usage ignore_value.
5175
1721f0a4
SP
51762014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5177
5178 * string/bits/string3.h (__warn_memset_zero_len): Don't
5179 declare for gcc newer than 5.0.
5180 (memset): Don't test for zero-length __LEN for gcc newer than
5181 5.0.
5182
be970916
JM
51832014-11-27 Joseph Myers <joseph@codesourcery.com>
5184
d88548f4
JM
5185 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
5186 size_t for %zu format.
5187
be970916
JM
5188 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
5189 difference, not %ju.
5190
3b20fd5c
JM
51912014-11-26 Joseph Myers <joseph@codesourcery.com>
5192
8915eace
JM
5193 * include/libc-internal.h (ignore_value): New macro.
5194 * nscd/connections.c (restart): Wrap calls to setuid and setgid
5195 with ignore_value.
5196
f1a5a0e3
JM
5197 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
5198 definition.
5199
59ef1715
JM
5200 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
5201 pthread_cleanup_push to void *.
5202
a6f3079b
JM
5203 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
5204 Undefine.
5205
706688aa
JM
5206 [BZ #16619]
5207 [BZ #16740]
5208 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
5209 instead of 1L << 52.
5210
12da14a5
JM
5211 * libio/bug-rewind.c (do_test): Check fwscanf return values.
5212 * libio/bug-rewind2.c (do_test): Likewise.
5213
bd5dadac
JM
5214 * debug/test-stpcpy_chk-ifunc.c: Remove file.
5215 * debug/test-strcpy_chk-ifunc.c: Likewise.
5216 * wcsmbs/test-wcschr-ifunc.c: Likewise.
5217 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
5218 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
5219 * wcsmbs/test-wcslen-ifunc.c: Likewise.
5220 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
5221 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
5222 * Rules [$(multi-arch) = no] (tests): Do not filter out
5223 $(tests-ifunc).
5224 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
5225 * debug/Makefile (tests-ifunc): Remove variable.
5226 (tests): Do not add $(tests-ifunc).
5227 * wcsmbs/Makefile (tests-ifunc): Remove variable.
5228 (tests): Do not add $(tests-ifunc).
5229 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
5230 [TEST_IFUNC]: Remove conditionals.
5231 * string/test-string.h (TEST_IFUNC): Remove macro.
5232 [TEST_IFUNC]: Remove conditionals.
5233
3b20fd5c
JM
5234 * string/test-strchr.c [!WIDE] (L): New macro.
5235 [WIDE] (L): Likewise.
5236 (check1): Use CHAR instead of char. Use L on string and character
5237 constants.
5238
704f7947
AZ
52392014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
5240
5241 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
5242 tests.
5243 * sysdeps/powerpc/bits/atomic.h
5244 (__arch_atomic_exchange_and_add_32_acq): Add definition.
5245 (__arch_atomic_exchange_and_add_32_rel): Likewise.
5246 (atomic_exchange_and_add_acq): Likewise.
5247 (atomic_exchange_and_add_rel): Likewise.
5248 * sysdeps/powerpc/powerpc32/bits/atomic.h
5249 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5250 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5251 * sysdeps/powerpc/powerpc64/bits/atomic.h
5252 (__arch_atomic_exchange_and_add_64_acq): Add definition.
5253 (__arch_atomic_exchange_and_add_64_rel): Likewise.
5254
cdcb42d7
TR
52552014-11-26 Torvald Riegel <triegel@redhat.com>
5256
5257 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
5258 Change synchronization of __sched_fifo_min_prio and
5259 __sched_fifo_max_prio.
5260 * nptl/pthread_mutexattr_getprioceiling.c
5261 (pthread_mutexattr_getprioceiling): Likewise.
5262 * nptl/pthread_mutexattr_setprioceiling.c
5263 (pthread_mutexattr_setprioceiling): Likewise.
5264 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
5265 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
5266 Likewise.
5267
c82f5c0c
JM
52682014-11-26 Joseph Myers <joseph@codesourcery.com>
5269
5270 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
5271 void.
5272
439e1ad6
JM
52732014-11-25 Joseph Myers <joseph@codesourcery.com>
5274
5275 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
5276 third argument const.
5277
b1eda10e
PE
52782014-11-25 Paul Eggert <eggert@cs.ucla.edu>
5279
5280 fnmatch: work around GCC compiler warning bug with uninit var
5281 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
5282 This works around a bug with x86-64 GCC 4.9.2 and earlier
5283 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
5284 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
5285 used uninitialized in this function [-Wmaybe-uninitialized]".
5286
bde2667a
JM
52872014-11-25 Joseph Myers <joseph@codesourcery.com>
5288
5289 * posix/bug-regex31.c (main): Return RES not 0.
5290
5fbb5691
AB
52912014-11-25 Anton Blanchard <anton@samba.org>
5292
5293 * sysdeps/powerpc/bits/atomic.h
5294 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
5295
467fec0b
BM
52962014-11-24 Sterling Augustine <saugustine@google.com>
5297
5298 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
5299
e9ff8efb
RC
53002014-11-24 Ryan Cumming <etaoins@gmail.com>
5301
5302 [BZ #17608]
5303 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
5304
9744496f
JM
53052014-11-24 Joseph Myers <joseph@codesourcery.com>
5306
5307 [BZ #17633]
5308 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
5309 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
5310 variable.
5311 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5312 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5313
6423d475
WD
53142014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
5315
5316 * string/strncpy.c (strncpy): Improve performance by using memset.
5317
53182014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
5319
5320 * string/strcpy.c (strcpy):
5321 Improve performance by using strlen and memcpy.
5322
5d178c37
LH
53232014-11-24 Leonhard Holz <leonhard.holz@web.de>
5324
5325 * string/strcoll_l.c (get_next_seq): __always_inline.
5326 * string/strcoll_l.c (do_compare): __always_inline.
5327
279bc5b3
SP
53282014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
5329
7a9ebfa1
SP
5330 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
5331 defined.
5332 * include/mqueue.h: Likewise.
5333 * include/stdlib.h: Likewise.
5334
4f41c682
SP
5335 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
5336 (get_null_defines): Adjust.
5337 * sunrpc/Makefile: Adjust comment.
5338 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
5339 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
5340 (CFLAGS-interp.c): Likewise.
5341 (CFLAGS-ldconfig.c): Likewise.
5342 (CPPFLAGS-.os): Likewise.
5343 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5344 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5345 * extra-modules.mk (extra-modules.mk): Likewise.
5346 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
5347 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
5348 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
5349 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
5350 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
5351 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
5352 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
5353 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
5354 * iconvdata/Makefile (CPPFLAGS): Likewise.
5355 (cpp-srcs-left): Add libof for all iconvdata routines.
5356 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
5357 * include/assert.h: Likewise.
5358 * include/ctype.h: Likewise.
5359 * include/errno.h: Likewise.
5360 * include/libc-symbols.h: Likewise.
5361 * include/math.h: Likewise.
5362 * include/netdb.h: Likewise.
5363 * include/resolv.h: Likewise.
5364 * include/stdio.h: Likewise.
5365 * include/stdlib.h: Likewise.
5366 * include/string.h: Likewise.
5367 * include/sys/stat.h: Likewise.
5368 * include/wctype.h: Likewise.
5369 * intl/l10nflist.c: Likewise.
5370 * libidn/idn-stub.c: Likewise.
5371 * libio/libioP.h: Likewise.
5372 * nptl/libc_multiple_threads.c: Likewise.
5373 * nptl/pthreadP.h: Likewise.
5374 * posix/regex_internal.h: Likewise.
5375 * resolv/res_hconf.c: Likewise.
5376 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
5377 * sysdeps/arm/memmove.S: Likewise.
5378 * sysdeps/arm/sysdep.h: Likewise.
5379 * sysdeps/generic/_itoa.h: Likewise.
5380 * sysdeps/generic/symbol-hacks.h: Likewise.
5381 * sysdeps/gnu/errlist.awk: Likewise.
5382 * sysdeps/gnu/errlist.c: Likewise.
5383 * sysdeps/i386/i586/memcpy.S: Likewise.
5384 * sysdeps/i386/i586/memset.S: Likewise.
5385 * sysdeps/i386/i686/memcpy.S: Likewise.
5386 * sysdeps/i386/i686/memmove.S: Likewise.
5387 * sysdeps/i386/i686/mempcpy.S: Likewise.
5388 * sysdeps/i386/i686/memset.S: Likewise.
5389 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
5390 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
5391 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
5392 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
5393 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
5394 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
5395 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
5396 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
5397 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
5398 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
5399 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
5400 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
5401 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
5402 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
5403 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
5404 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
5405 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
5406 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
5407 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
5408 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
5409 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
5410 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
5411 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
5412 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
5413 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
5414 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
5415 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
5416 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
5417 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
5418 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
5419 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
5420 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
5421 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
5422 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
5423 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
5424 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
5425 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
5426 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
5427 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
5428 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
5429 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
5430 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
5431 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
5432 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
5433 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
5434 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
5435 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
5436 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
5437 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
5438 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
5439 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
5440 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
5441 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
5442 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
5443 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
5444 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
5445 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
5446 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
5447 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
5448 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
5449 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
5450 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
5451 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
5452 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5453 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5454 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
5455 * sysdeps/posix/closedir.c: Likewise.
5456 * sysdeps/posix/opendir.c: Likewise.
5457 * sysdeps/posix/readdir.c: Likewise.
5458 * sysdeps/posix/rewinddir.c: Likewise.
5459 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
5460 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
5461 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
5462 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
5463 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
5464 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
5465 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
5466 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
5467 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5468 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
5469 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5470 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5471 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5472 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
5473 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
5474 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
5475 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5476 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5477 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
5478 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
5479 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5480 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
5481 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
5482 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5483 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
5484 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
5485 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
5486 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5487 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5488 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
5489 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
5490 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
5491 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
5492 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
5493 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
5494 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
5495 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
5496 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
5497 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
5498 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
5499 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
5500 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
5501 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5502 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5503 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
5504 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
5505 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
5506 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5507 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
5508 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5509 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
5510 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5511 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
5512 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5513 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5514 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
5515 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
5516 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5517 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5518 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
5519 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5520 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5521 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
5522 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5523 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
5524 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5525 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
5526 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
5527 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
5528 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
5529 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5530 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5531 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
5532 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5533 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5534 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
5535 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
5536 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5537 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
5538 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
5539 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5540 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5541 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
5542 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
5543 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
5544 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
5545 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
5546 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
5547 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
5548 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5549 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
5550 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
5551 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
5552 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
5553 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
5554 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
5555 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
5556 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
5557 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
5558 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
5559 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
5560 * sysdeps/unix/alpha/sysdep.S: Likewise.
5561 * sysdeps/unix/alpha/sysdep.h: Likewise.
5562 * sysdeps/unix/make-syscalls.sh: Likewise.
5563 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5564 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5565 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5566 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
5567 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5568 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
5569 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
5570 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5571 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5572 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
5573 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5574 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5575 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5576 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5577 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5578 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
5579 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5580 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5581 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5582 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5583 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
5584 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5585 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5586 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5587 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5588 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5589 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5592 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
5593 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5594 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5595 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
5596 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5597 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
5598 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5599 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
5600 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5601 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
5602 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
5603 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5604 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5605 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5606 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5607 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5608 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5610 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5611 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5612 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5613 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5614 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5615 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5616 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5617 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
5618 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5619 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5621 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
5622 * sysdeps/x86_64/memcpy.S: Likewise.
5623 * sysdeps/x86_64/memmove.c: Likewise.
5624 * sysdeps/x86_64/memset.S: Likewise.
5625 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
5626 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
5627 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
5628 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
5629 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5630 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
5631 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
5632 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
5633 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
5634 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5635 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
5636 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
5637 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
5638 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5639 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5640 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
5641 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5642 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
5643 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
5644 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
5645 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
5646 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5647 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
5648 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
5649 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
5650 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
5651 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
5652 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
5653 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
5654 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
5655 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
5656 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
5657 * sysdeps/x86_64/strcmp.S: Likewise.
5658
76ca86a5
SP
5659 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
5660
a3848485
SP
5661 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
5662 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
5663 * elf/rtld-Rules: Likewise.
5664 * elf/setup-vdso.h: Likewise.
5665 * include/assert.h: Likewise.
5666 * include/bits/stdlib-float.h: Likewise.
5667 * include/errno.h: Likewise.
5668 * include/sys/stat.h: Likewise.
5669 * include/unistd.h: Likewise.
5670 * sysdeps/aarch64/setjmp.S: Likewise.
5671 * sysdeps/alpha/setjmp.S: Likewise.
5672 * sysdeps/arm/__longjmp.S: Likewise.
5673 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
5674 * sysdeps/arm/setjmp.S: Likewise.
5675 * sysdeps/arm/sysdep.h: Likewise.
5676 * sysdeps/generic/_itoa.h: Likewise.
5677 * sysdeps/generic/dl-sysdep.h: Likewise.
5678 * sysdeps/generic/ldsodefs.h: Likewise.
5679 * sysdeps/i386/dl-tls.h: Likewise.
5680 * sysdeps/i386/setjmp.S: Likewise.
5681 * sysdeps/m68k/setjmp.c: Likewise.
5682 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
5683 * sysdeps/mach/hurd/opendir.c: Likewise.
5684 * sysdeps/posix/getcwd.c: Likewise.
5685 * sysdeps/posix/opendir.c: Likewise.
5686 * sysdeps/posix/profil.c: Likewise.
5687 * sysdeps/powerpc/dl-procinfo.h: Likewise.
5688 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
5689 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
5690 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
5691 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5692 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
5693 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5694 * sysdeps/s390/dl-tls.h: Likewise.
5695 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5696 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5697 * sysdeps/sh/sh3/setjmp.S: Likewise.
5698 * sysdeps/sh/sh4/setjmp.S: Likewise.
5699 * sysdeps/unix/alpha/sysdep.h: Likewise.
5700 * sysdeps/unix/arm/sysdep.S: Likewise.
5701 * sysdeps/unix/i386/sysdep.S: Likewise.
5702 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5703 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
5704 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5705 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5706 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5707 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
5708 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5709 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5710 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
5711 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
5712 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
5713 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5714 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5717 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5718 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5719 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5720 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5721 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5722 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5723 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5724 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5725 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5726 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5727 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5728 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5729 * sysdeps/unix/x86_64/sysdep.S: Likewise.
5730 * sysdeps/x86_64/setjmp.S: Likewise.
5731
a109996e
SP
5732 * include/math.h: Use IS_IN instead of IS_IN_libm.
5733 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
5734 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
5735 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
5736 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
5737 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
5738 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
5739 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
5740 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
5741 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5742 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
5743 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
5744 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
5745 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
5746 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
5747 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
5748 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
5749 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
5750 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
5751 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
5752 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
5753 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
5754 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
5755 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
5756 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
5757 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
5758 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
5759 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
5760 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
5761 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
5762 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
5763 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
5764 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
5765 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5766 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
5767 Likewise.
5768 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5769 Likewise.
5770 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
5771 Likewise.
5772 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
5773 Likewise.
5774 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
5775 Likewise.
5776 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
5777 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
5778 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
5779 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
5780 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
5781 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
5782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
5783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
5787 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
5788 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
5789 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5790 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5791 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
5792 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5793 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5794 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
5795 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
5796 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
5797 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
5798 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
5799 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
5800 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
5801 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
5802 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
5803
ce9f10f7
SP
5804 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
5805 * nptl/pthreadP.h: Likewise.
5806 * nptl_db/structs.def: Likewise.
5807 * sysdeps/arm/sysdep.h: Likewise.
5808 * sysdeps/nptl/bits/libc-lock.h: Likewise.
5809 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
5810 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
5811 * sysdeps/unix/alpha/sysdep.h: Likewise.
5812 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5813 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5814 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5815 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5816 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5817 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5818 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5819 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5820 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5821 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5822 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5823 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5824 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5825 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
5827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
5828 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5829 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5830 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5831 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5832 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5833 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5834 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5835 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5836 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
5837 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5838
016afc75
SP
5839 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
5840 * nptl/pthreadP.h: Likewise.
5841 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
5842 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
5843 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
5844 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
5845 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
5846 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
5847 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5848 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
5849 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
5850 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
5851 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
5852 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
5853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
5854 Likewise.
5855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
5856 Likewise.
5857 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
5858 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
5859 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
5860 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
5861 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
5862 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
5863 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
5864 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
5865
9b42a0b3
SP
5866 * dlfcn/dladdr.c: Use IS_IN.
5867 * dlfcn/dladdr1.c: Likewise.
5868 * dlfcn/dlclose.c: Likewise.
5869 * dlfcn/dlerror.c: Likewise.
5870 * dlfcn/dlinfo.c: Likewise.
5871 * dlfcn/dlmopen.c: Likewise.
5872 * dlfcn/dlopen.c: Likewise.
5873 * dlfcn/dlsym.c: Likewise.
5874 * dlfcn/dlvsym.c: Likewise.
5875
85f36372
SP
5876 * include/ifaddrs.h: Use IS_IN.
5877 * inet/check_pf.c: Likewise.
5878 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
5879 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
5880
fb6784e3
SP
5881 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
5882 IS_IN_ldconfig.
5883 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
5884 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
5885
2886d2d1
SP
5886 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
5887 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
5888 IS_IN (libc).
5889
9a484857
SP
5890 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
5891
a10178bd
SP
5892 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
5893 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
5894 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
5895 * include/libc-symbols.h (IS_IN_LIB): New macro.
5896 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
5897 * include/netdb.h: Likewise.
5898 * include/stap-probe.h: Remove all uses of IN_LIB.
5899
279bc5b3
SP
5900 * Makeconfig (module-cppflags-real): Define MODULE_NAME
5901 instead of IN_MODULE.
5902 * include/libc-symbols.h (IN_MODULE): Define using
5903 MODULE_NAME.
5904 (PASTE_NAME, PASTE_NAME1): New macros.
5905 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
5906 of IN_LIB.
5907 (STAP_PROBE_ASM): Likewise.
5908
e0cfa510
ST
59092014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
5910
5911 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
5912 __mach_init in dlopened libc.
5913
34d97d87
MF
59142014-11-22 Mike Frysinger <vapier@gentoo.org>
5915
5916 * sysdeps/arm/preconfigure.ac: Delete EABI check.
5917 * sysdeps/arm/preconfigure: Regenerate.
5918
33cd1f74
RM
59192014-11-21 Roland McGrath <roland@hack.frob.com>
5920
5921 * nptl/pthread_create.c (__pthread_create_2_1): Set
5922 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
5923 when copying values from IATTR into PD.
5924
8c230039
WN
59252014-11-21 Will Newton <will.newton@linaro.org>
5926 Andrew Pinski <andrew.pinski@caviumnetworks.com>
5927
6d3db89b
AP
5928 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
5929 Refactor inline-asm. Also add comment.
5930
01194ba1
WN
5931 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
5932 ElfW macro instead of hardcoded Elf64 types.
5933 (la_aarch64_gnu_pltenter): Likewise.
5934 * sysdeps/aarch64/dl-machine.h
5935 (elf_machine_runtime_setup): Use ElfW(Addr).
5936
8c230039
WN
5937 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
5938 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
5939 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
5940 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
5941 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
5942 (R_AARCH64_TLS_DTPMOD64): Rename to ..
5943 (R_AARCH64_TLS_DTPMOD): This.
5944 (R_AARCH64_TLS_DTPREL64): Rename to ...
5945 (R_AARCH64_TLS_DTPREL): This.
5946 (R_AARCH64_TLS_TPREL64): Rename to ...
5947 (R_AARCH64_TLS_TPREL): This.
5948 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
5949 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
5950 R_AARCH64_TLS_TPREL64.
5951 (elf_machine_rela): Likewise.
5952
0d79fa53
TR
59532014-11-21 Torvald Riegel <triegel@redhat.com>
5954
5955 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
5956 by setting it to 0. 64b atomics are not supported currently.
5957
b59d114b
AO
59582014-11-21 Alexandre Oliva <aoliva@redhat.com>
5959
5960 [BZ #16469]
5961 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
5962 search domain names.
5963
f3d945d5
AO
59642014-11-21 Alexandre Oliva <aoliva@redhat.com>
5965
5966 [BZ #16469]
5967 * NEWS: Update.
5968 * resolv/res_query.c (__libc_res_nquerydomain): Retain
5969 trailing dot.
5970 * posix/tst-getaddrinfo5.c: New.
5971 * posix/Makefile (tests): Add it.
5972
49698902
AO
59732014-11-21 Alexandre Oliva <aoliva@redhat.com>
5974
5975 [BZ #14498]
5976 * NEWS: Fixed.
5977 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
5978 after parsing line but before break_if_match.
5979 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
5980 if there is a protocol mismatch.
5981
81959214
MS
59822014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
5983
5984 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
5985 because the potential race is on the user-supplied stream.
5986
7729e0e9
AO
59872014-11-21 Alexandre Oliva <aoliva@redhat.com>
5988
5989 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
5990 string literal if not passed a buffer.
5991 * manual/job.texi (ctermid): Update reasoning, note deviation
5992 from posix, suggest mtasurace when not passed a buffer, for
5993 future non-preliminary safety notes.
5994
a4ea5e28
AO
59952014-11-21 Alexandre Oliva <aoliva@redhat.com>
5996
5997 * manual/users.texi (cuserid): Fix MT-Safety note for the case
5998 of not passing it a buffer.
5999 Reported by Peng Haitao.
6000
a2b581cb
AO
60012014-11-21 Alexandre Oliva <aoliva@redhat.com>
6002
6003 * manual/Makefile ($(objpfx)stamp-summary): Require
6004 check-safety.sh to pass.
6005 * manual/check-safety.sh: Wish for verification that every
6006 @deftypefn and @deftypefun is followed by a @safety remark.
6007
f214ff74
RM
60082014-11-20 Roland McGrath <roland@hack.frob.com>
6009
7f0dfae0
RM
6010 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
6011
2f531bbb
RM
6012 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
6013 PTHREAD_CANCEL_ASYNCHRONOUS.
6014 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
6015 send SIGCANCEL.
6016
f214ff74
RM
6017 * nptl/default-sched.h: New file.
6018 * sysdeps/unix/sysv/linux/default-sched.h: New file.
6019 * nptl/pthread_create.c: Include it.
6020 (__pthread_create_2_1): Use collect_default_sched instead of making
6021 Linux syscalls here directly.
6022
e37c91d4
TR
60232014-11-20 Torvald Riegel <triegel@redhat.com>
6024
6025 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
6026 __pthread_once): Use C11 atomics.
6027
1eccfecd
TR
60282014-11-20 Torvald Riegel <triegel@redhat.com>
6029
6030 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
6031
ff871426
TR
60322014-11-20 Torvald Riegel <triegel@redhat.com>
6033
6034 * include/atomic.h (__atomic_link_error, __atomic_check_size,
6035 atomic_thread_fence_acquire, atomic_thread_fence_release,
6036 atomic_thread_fence_seq_cst, atomic_load_relaxed,
6037 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
6038 atomic_compare_exchange_weak_relaxed,
6039 atomic_compare_exchange_weak_acquire,
6040 atomic_compare_exchange_weak_release,
6041 atomic_exchange_acquire, atomic_exchange_release,
6042 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
6043 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
6044 atomic_fetch_and_acquire,
6045 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
6046
1ea339b6
TR
60472014-11-20 Torvald Riegel <triegel@redhat.com>
6048
6049 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
6050 USE_ATOMIC_COMPILER_BUILTINS): Define.
6051 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
6052 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6053 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
6054 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6055 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
6056 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6057 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
6058 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6059 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
6060 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6061 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
6062 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6063 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
6064 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6065 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
6066 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6067 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6068 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6069 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6070 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6071 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
6072 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6073 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
6074 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6075 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
6076 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6077 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
6078 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6079 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
6080 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6081 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
6082 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6083 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
6084 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6085 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
6086 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6087 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
6088 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6089 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
6090 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
6091
cbd463e2
RM
60922014-11-19 Roland McGrath <roland@hack.frob.com>
6093
d960211f
RM
6094 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
6095 the sched_priority value here. It was already checked when the user
6096 called pthread_attr_setschedparam.
6097
cbd463e2
RM
6098 * nptl/tst-bad-schedattr.c: New file.
6099 * nptl/Makefile (tests): Add it.
6100
a39208bd
CD
61012014-11-19 Carlos O'Donell <carlos@redhat.com>
6102 Florian Weimer <fweimer@redhat.com>
6103 Joseph Myers <joseph@codesourcery.com>
6104 Adam Conrad <adconrad@0c3.net>
6105 Andreas Schwab <schwab@suse.de>
6106 Brooks <bmoses@google.com>
6107
6108 [BZ #17625]
6109 * wordexp-test.c (__dso_handle): Add prototype.
6110 (__register_atfork): Likewise.
6111 (__app_register_atfork): New function.
6112 (registered_forks): New global.
6113 (register_fork): New function.
6114 (test_case): Add 3 new tests for WRDE_CMDSUB.
6115 (main): Call __app_register_atfork.
6116 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
6117 fork count is non-zero fail the test.
6118 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
6119 is set.
6120 (parse_dollars): Remove check for WRDE_NOCMD.
6121 (parse_dquote): Likewise.
6122
9cd47470
SP
61232014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6124
130ac68c
SP
6125 * Makeconfig (built-modules): List non-library modules to be
6126 built.
6127 (module-cppflags): Include libc-modules.h for
6128 everything except shlib-versions.v.i.
6129 (CPPFLAGS): Use it.
6130 (before-compile): Add libc-modules.h.
6131 ($(common-objpfx)libc-modules.h,
6132 $(common-objpfx)libc-modules.stmp): New targets.
6133 (common-generated): Add libc-modules.h and libc-modules.stmp.
6134 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
6135 * include/libc-symbols.h: Don't include libc-modules.h.
6136 * include/libc-modules.h: Remove file.
6137 * scripts/gen-libc-modules.awk: New script to generate
6138 libc-modules.h.
6139 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
6140 Depend on libc-modules.stmp.
6141
286663c3
SP
6142 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
6143
9cd47470
SP
6144 * Makeconfig (in-module): Get value of libof set for the
6145 translation unit.
6146 (CPPFLAGS): Use $(in-module).
6147 * Makerules: Don't suffix routine names for nonlib.
6148 * include/libc-modules.h: New file.
6149 * include/libc-symbols.h: Include libc-modules.h
6150 (IS_IN): New macro to replace IS_IN_* macros.
6151 * elf/Makefile: Set libof-* for each routine.
6152 * elf/rtld-Rules: Likewise.
6153 * extra-modules.mk: Likewise.
6154 * iconv/Makefile: Likewise.
6155 * iconvdata/Makefile: Likewise.
6156 * locale/Makefile: Likewise.
6157 * malloc/Makefile: Likewise.
6158 * nss/Makefile: Likewise.
6159 * sysdeps/gnu/Makefile: Likewise.
6160 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
6161 * sysdeps/unix/sysv/linux/Makefile: Likewise.
6162 * sysdeps/s390/s390-64/Makefile: Likewise.
6163 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
6164 CPPFLAGS for nscd instead of nonlib.
6165
32fed10f
RM
61662014-11-18 Roland McGrath <roland@hack.frob.com>
6167
d71035bd
RM
6168 * nptl/createthread.c: New file.
6169
6540b991
RM
6170 * nptl/createthread.c: Moved ...
6171 * sysdeps/unix/sysv/linux/createthread.c: ... here.
6172
32fed10f
RM
6173 * nptl/createthread.c: Add proper top-line comment.
6174 (do_clone): Folded into ...
6175 (create_thread): ... here. Take new arguments STOPPED_START and
6176 THREAD_RAN. Always set PD->stopped_start to something here. Don't
6177 increment __nptl_threads, do event-reporting logic, do
6178 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
6179 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
6180 resource cleanup if sched_setaffinity or sched_setscheduler fails,
6181 just send SIGCANCEL.
6182 * nptl/pthread_create.c: Forward-declare create_thread before
6183 including createthread.c.
6184 (start_thread): Use new macro START_THREAD_DEFN to replace defining
6185 declaration, and new macro START_THREAD_SELF to replace argument.
6186 Remove return statement.
6187 (report_thread_creation): New function.
6188 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
6189 synchronization logic, and __nptl_nthreads increment here, around
6190 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
6191 PD->parent_cancelhandling here, before create_thread. When
6192 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
6193 __deallocate_stack, and ENOMEM translation here.
6194
107a5bf0
JM
61952014-11-18 Joseph Myers <joseph@codesourcery.com>
6196
6197 [BZ #17616]
6198 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
6199 (mptwo): Rename to __mptwo.
6200 (__inv): Use __mptwo instead of mptwo.
6201 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
6202 (mptwo): Rename to __mptwo.
6203 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
6204 of mpone and __mptwo instead of mptwo.
6205 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
6206 instead of mpone.
6207 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
6208 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
6209 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
6210 of mpone and __mptwo instead of mptwo.
6211 (__mpranred): Use __mpone instead of mpone.
6212 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
6213 variable.
6214 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6215 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6216 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6217 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6218 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6219 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6220 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6221 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6222 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6223 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6224 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6225 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6226 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6227 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6228 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6229 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6230 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6231 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6232 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6233
3b679ab3
TV
62342014-11-18 Tom de Vries <tom@codesoucery.com>
6235
6236 * manual/signal.texi (Primitives Interrupted by Signals): In section,
6237 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
6238
62392014-11-17 Richard Henderson <rth@redhat.com>
6240
6241 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
6242 (_FP_PACK_RAW_2): Remove.
6243 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
6244 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
6245 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
6246 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
6247 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
6248 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
6249 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
6250 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
6251 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
6252 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
6253 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
6254 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
6255 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
6256 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
6257 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
6258 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
6259
0781a777
RM
62602014-11-14 Roland McGrath <roland@hack.frob.com>
6261
6262 * signal/signal.h [__USE_MISC]
6263 (struct sigvec): Remove type.
6264 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
6265 (sigvec): Remove declaration.
6266 * sysdeps/posix/sigvec.c: Moved ...
6267 * signal/sigvec.c: ... here, replacing old file.
6268 (struct sigvec): New type, copied from old signal.h definition.
6269 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
6270 (__sigvec): Convert definition to prototype.
6271 (sigvec): Replace weak_alias with compat_symbol.
6272 * signal/Versions (libc: GLIBC_2.21): New version set.
6273 * include/signal.h: Remove __sigvec declaration.
6274 * sysdeps/unix/bsd/sigvec.c: Remove file.
6275 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
6276 * manual/signal.texi (BSD Handler): Remove subsection.
6277 Move siginterrupt up to ...
6278 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
6279 (Blocking in BSD): Fold subsection into its parent.
6280 * NEWS: Mention sigvec removal.
6281
a4733812
JM
62822014-11-14 Joseph Myers <joseph@codesourcery.com>
6283
5ae4fe60
JM
6284 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
6285 (DLA_FMS): Make definition conditional only on [__FMA4__].
6286 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
6287 definition.
6288
6a0dd472
JM
6289 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
6290 Make definition conditional only on [PROF].
6291 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
6292 definition.
6293 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
6294 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
6295
a4733812
JM
6296 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
6297 !__GNUC__].
6298 * include/signal.h (__sigpause): Move declaration above call to
6299 libc_hidden_proto.
6300 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
6301 variable.
6302 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6303 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6304
cf7246dd
DM
63052014-11-14 David S. Miller <davem@davemloft.net>
6306
6307 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
6308 Define before including <string/memcpy.c> and <string/mempcpy.c>.
6309
c1b0aadc
JM
63102014-11-14 Joseph Myers <joseph@codesourcery.com>
6311
4863355a
JM
6312 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
6313 * configure: Regenerated.
6314 * manual/install.texi (Tools for Compilation): Document a
6315 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
6316 compiler verified to work.
6317 * INSTALL: Regenerated.
6318
c1b0aadc
JM
6319 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
6320 redeclare with asm name.
6321 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
6322 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
6323 including <string.h>.
6324 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6325 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
6326 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6327 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
6328 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6329 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
6330 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
6331
2a1cfd94
JM
63322014-11-13 Joseph Myers <joseph@codesourcery.com>
6333
bf438382
JM
6334 * stdlib/strtol.c (__strtol): Use prototype definition.
6335
2a1cfd94
JM
6336 [BZ #17594]
6337 * stdlib/strtol.c (SYM__): New macro.
6338 (SYM__1): Likewise.
6339 (__strtol): Likewise.
6340 (strtol): Rename to __strtol and define as weak alias of
6341 __strtol. Use libc_hidden_weak.
6342
20ed0d26
SL
63432014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6344
6345 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
6346 Use numbered labels in inline assembly.
6347
53244a4e
SL
63482014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6349
6350 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
6351 Add setjmp LIBC_PROBE.
6352 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
6353 Likewise.
6354 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
6355 Add longjmp, longjmp_target LIBC_PROBE.
6356 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
6357 Likewise.
6358
47df8251
SL
63592014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6360
6361 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6362 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
6363 to get rid of unused variable warning.
6364
618cebef
SL
63652014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
6366
6367 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
6368 Check for unwind_backtrace == NULL only in SHARED case.
6369 (__backchain_backtrace): Compile only in SHARED case.
6370 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
6371 Likewise.
6372 (__backchain_backtrace): Declare as static.
6373
c6aab2cb
RM
63742014-11-12 Roland McGrath <roland@hack.frob.com>
6375
6376 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
6377 (__libc_multiple_threads_ptr): Variable moved ...
6378 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
6379
5a6fa4d7
JM
63802014-11-12 Joseph Myers <joseph@codesourcery.com>
6381
24f4f825
JM
6382 * conform/GlibcConform.pm: New file.
6383 * conform/conformtest.pl: Use GlibcConform module.
6384 * conform/linknamespace.pl: New file.
6385 * conform/list-header-symbols.pl: Likewise.
6386 * conform/Makefile (linknamespace-symlists-base): New variable.
6387 (linknamespace-symlists-tests): Likewise.
6388 (linknamespace-header-base): Likewise.
6389 (linknamespace-header-tests): Likewise.
6390 (tests-special): Add new tests.
6391 ($(linknamespace-symlists-tests)): New rule.
6392 (linknamespace-libs): New variable.
6393 ($(objpfx)symlist-stdlibs): New rule.
6394 ($(linknamespace-header-tests)): Likewise.
6395 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
6396 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
6397 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
6398 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
6399 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
6400 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
6401 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
6402 (test-xfail-ISO/math.h/linknamespace): Likewise.
6403 (test-xfail-ISO/signal.h/linknamespace): Likewise.
6404 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
6405 (test-xfail-ISO/time.h/linknamespace): Likewise.
6406 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
6407 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
6408 (test-xfail-ISO99/math.h/linknamespace): Likewise.
6409 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
6410 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
6411 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
6412 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
6413 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
6414 (test-xfail-ISO11/math.h/linknamespace): Likewise.
6415 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
6416 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
6417 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
6418 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
6419 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
6420 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
6421 (test-xfail-XPG3/math.h/linknamespace): Likewise.
6422 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
6423 (test-xfail-XPG3/search.h/linknamespace): Likewise.
6424 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
6425 (test-xfail-XPG3/time.h/linknamespace): Likewise.
6426 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
6427 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
6428 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
6429 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
6430 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
6431 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
6432 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
6433 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
6434 (test-xfail-XPG4/math.h/linknamespace): Likewise.
6435 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
6436 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
6437 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
6438 (test-xfail-XPG4/search.h/linknamespace): Likewise.
6439 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
6440 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
6441 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
6442 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
6443 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
6444 (test-xfail-XPG4/time.h/linknamespace): Likewise.
6445 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
6446 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
6447 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
6448 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
6449 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
6450 (test-xfail-POSIX/math.h/linknamespace): Likewise.
6451 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
6452 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
6453 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
6454 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
6455 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
6456 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
6457 (test-xfail-POSIX/time.h/linknamespace): Likewise.
6458 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
6459 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
6460 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
6461 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
6462 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
6463 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
6464 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
6465 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
6466 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
6467 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
6468 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
6469 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
6470 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
6471 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
6472 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
6473 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
6474 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
6475 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
6476 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
6477 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
6478 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
6479 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
6480 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
6481 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
6482 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
6483 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
6484 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
6485 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
6486 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
6487 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
6488 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
6489 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
6490 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
6491 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
6492 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
6493 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
6494 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
6495 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
6496 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
6497 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
6498 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
6499 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
6500 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
6501 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
6502 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
6503 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
6504 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
6505 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
6506 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
6507 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
6508 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
6509 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
6510 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
6511 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
6512 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
6513 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
6514 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
6515 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
6516 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
6517 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
6518 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
6519 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
6520 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
6521 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
6522 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
6523 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
6524 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
6525 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
6526 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
6527 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
6528 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
6529 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
6530 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
6531 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
6532 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
6533 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
6534 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
6535 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
6536 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
6537 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
6538 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
6539 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
6540 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
6541 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
6542 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
6543 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
6544 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
6545 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
6546 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
6547 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
6548 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
6549 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
6550 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
6551 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
6552 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
6553 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
6554 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
6555 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
6556
cc67478e
JM
6557 [BZ #17589]
6558 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
6559 of fgets_unlocked.
6560
9975e3d3
JM
6561 [BZ #17585]
6562 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
6563 (memmem): Rename to __memmem and define as weak alias of
6564 __memmem. Use libc_hidden_weak.
6565 (__memmem): Use libc_hidden_def.
6566 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
6567 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
6568 memmem.
6569
c4eae752
JM
6570 [BZ #17582]
6571 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
6572 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
6573 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
6574 and define as weak alias of __fgets_unlocked. Use
6575 libc_hidden_weak.
6576 (__fgets_unlocked): Use libc_hidden_def.
6577 * include/stdio.h (__fgets_unlocked): Declare. Use
6578 libc_hidden_proto.
6579 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
6580 __fgets_unlocked instead of fgets_unlocked.
6581 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
6582 (GET_NPROCS_CONF_PARSER): Likewise.
6583 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
6584 (GET_NPROCS_CONF_PARSER): Likewise.
6585
01cad84e
JM
6586 [BZ #17574]
6587 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
6588 weak alias of __wmemset. Use libc_hidden_weak.
6589 (__wmemset): Use libc_hidden_def.
6590 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
6591 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
6592 of wmemset.
6593
939da411
JM
6594 [BZ #17573]
6595 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
6596 with asm name __mempcpy.
6597 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
6598
293d9a41
JM
6599 [BZ #17572]
6600 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
6601 and define as weak alias of __rawmemchr.
6602 (__rawmemchr): Do not define as strong alias of rawmemchr.
6603
bef8fd60
JM
6604 [BZ #17571]
6605 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
6606 alias of __qsort_r.
6607 (qsort): Call __qsort_r instead of qsort_r.
6608 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
6609 (__qsort_r): Declare. Call libc_hidden_proto.
6610 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
6611 instead of qsort_r.
6612 * nscd/gai.c (__qsort_r): Define to qsort_r.
6613 * posix/tst-rfc3484.c (__qsort_r): Likewise.
6614 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
6615 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
6616
c52ff39e
JM
6617 [BZ #17570]
6618 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
6619 define as weak alias of __malloc_info.
6620
2f5c1b00
JM
6621 [BZ #17584]
6622 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
6623 as weak alias of __rewinddir. Don't use libc_hidden_def.
6624 (__rewinddir): Use libc_hidden_def.
6625 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
6626 as weak alias of __rewinddir. Don't use libc_hidden_def.
6627 (__rewinddir): Use libc_hidden_def.
6628 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
6629 weak alias of __rewinddir. Don't use libc_hidden_def.
6630 (__rewinddir): Use libc_hidden_def.
6631 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
6632 (__rewinddir): Use libc_hidden_proto.
6633 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
6634 rewinddir.
6635 (__getcwd): Use __rewinddir instead of rewinddir.
6636
5a6fa4d7
JM
6637 [BZ #17583]
6638 * libio/fileno.c (fileno): Rename to __fileno and define as weak
6639 alias of __fileno. Use libc_hidden_weak.
6640 (__fileno): Use libc_hidden_def.
6641 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
6642 * libio/ftello.c (ftello): Rename to __ftello and define as weak
6643 alias of __ftello.
6644 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
6645 __ftello.
6646 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
6647 (__fread_unlocked): Define as strong alias of _IO_fread. Use
6648 libc_hidden_def.
6649 (fread_unlocked): Don't use libc_hidden_ver.
6650 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
6651 and define as weak alias of __fread_unlocked. Don't use
6652 libc_hidden_def.
6653 (__fread_unlocked): Use libc_hidden_def.
6654 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
6655 (ftello): Don't use libc_hidden_proto.
6656 (__ftello): Declare. Use libc_hidden_proto.
6657 (fread_unlocked): Don't use libc_hidden_proto.
6658 (__fread_unlocked): Declare. Use libc_hidden_proto.
6659 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
6660 and __ftello instead of fileno, fread_unlocked and ftello.
6661
2581b98e
SP
66622012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6663
6664 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
6665 GOT12.
6666 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
6667 Likewise.
6668 (_dl_start_user): Likewise.
6669 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
6670
533bb7c2
SP
66712014-11-12 Carlos O'Donell <carlos@redhat.com>
6672 Siddhesh Poyarekar <siddhesh@redhat.com>
6673
6674 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
6675 Move argv and envp down instead of moving argc up.
6676 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
6677
fffa1cf8
LH
66782014-11-12 Leonhard Holz <leonhard.holz@web.de>
6679
6680 [BZ #17506]
6681 * test-skeleton.c (main): Return successful if one of
6682 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
6683 * string/tst-strcoll-overflow.c: Define expected status.
6684
fb89b46d
TU
66852014-11-12 Tatiana Udalova <t.udalova@samsung.com>
6686
6687 [BZ #17475]
6688 * locale/iso-639.def: Define Bhili and Tulu language codes.
6689
5c40c3ba
AH
66902014-11-11 Alan Hayward <alan.hayward@arm.com>
6691
6692 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
6693
b17fe01b 66942014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
6695
6696 [BZ #17555]
6697 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
6698
bd805071
AS
66992014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
6700
6701 * configure.ac: Updated check of minimal required version to
6702 2.22.
6703 * manual/install.texi (Tools for Compilation): Updated version
6704 number.
6705 * configure: Regenerated.
6706 * INSTALL: Likewise.
6707
1400983e
AS
67082014-11-07 Andreas Schwab <schwab@linux-m68k.org>
6709
6710 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
6711 __tls_get_addr.
6712
2c46a66a
JM
67132014-11-07 Joseph Myers <joseph@codesourcery.com>
6714
6715 * include/sys/wait.h (__libc_waitpid): Remove declaration.
6716 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
6717 (__waitpid): Don't define as alias. Use libc_hidden_def not
6718 libc_hidden_weak.
6719 (waitpid): Define as alias of __waitpid.
6720 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
6721 __waitpid.
6722 (__waitpid): Don't define as alias. Use libc_hidden_def not
6723 libc_hidden_weak.
6724 (waitpid): Define as alias of __waitpid.
6725 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
6726 __libc_waitpid alias.
6727 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
6728 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
6729 Likewise.
6730 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
6731 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
6732 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
6733 alias.
6734 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
6735 __waitpid.
6736 (__waitpid): Don't define as alias. Use libc_hidden_def not
6737 libc_hidden_weak.
6738 (waitpid): Define as alias of __waitpid.
6739
da53d6db
CD
67402014-11-06 Carlos O'Donell <carlos@redhat.com>
6741
a2887bdb
CD
6742 * manual/llio.texi: Add comment that write safety has been
6743 fixed in Linux.
6744
da53d6db
CD
6745 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
6746 (localplt-build-dso): Add elf/ld.so.
6747 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
6748 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
6749 and free for ld.so.
6750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
6751 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
6752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
6753 Likewise.
6754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
6755 Likewise.
6756 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
6757 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
6758 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
6759 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
6760 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
6761 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
6762 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
6763 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
6764 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
6765 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
6766 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
6767
9cf27b8d
JM
67682014-11-05 Joseph Myers <joseph@codesourcery.com>
6769
6770 [BZ #14132]
6771 * include/libc-symbols.h (INTUSE): Remove macro.
6772 (INTDEF): Likewise.
6773 (INTVARDEF): Likewise.
6774 (_INTVARDEF): Likewise.
6775 (INTDEF2): Likewise.
6776 (INTVARDEF2): Likewise.
6777 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
6778 rtld_hidden_def instead of INTVARDEF.
6779 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
6780 (_dl_starting_up_internal): Remove declaration.
6781 (_dl_starting_up): Use rtld_hidden_proto.
6782 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
6783 declaration.
6784 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
6785 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
6786 _dl_starting_up.
6787 * elf/dl-writev.h (_dl_writev): Likewise.
6788 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
6789 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
6790 _dl_starting_up_internal.
6791
af83568d
AZ
67922014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6793
6794 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
6795 test-skeleton.c.
6796
b01ee67c
WN
67972014-11-05 Will Newton <will.newton@linaro.org>
6798
6799 * benchtests/Makefile: (bench-malloc): Add malloc thread
6800 scalability benchmark.
6801 * benchtests/bench-malloc-threads.c: New file.
6802
be9d4ccc
RE
68032014-11-05 Richard Earnshaw <rearnsha@arm.com>
6804
6805 * sysdeps/aarch64/strchrnul.S: New file.
6806
7110166d
AZ
68072014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6808
6809 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
6810 definition.
6811 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
6812 Likwise.
6813 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
6814 Likewise.
6815 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
6816 Likewise.
6817 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
6818 Likewise.
6819 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
6820 Likewise.
6821
68222014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
6823
6824 * catgets/test-gencat.c: Use test-skeleton.c.
6825 * catgets/tst-catgets.c: Likewise.
6826 * csu/tst-empty.c: Likewise.
6827 * elf/tst-audit2.c: Likewise.
6828 * elf/tst-global1.c: Likewise.
6829 * elf/tst-pathopt.c: Likewise.
6830 * elf/tst-piemod1.c: Likewise.
6831 * elf/tst-tls10.c: Likewise.
6832 * elf/tst-tls11.c: Likewise.
6833 * elf/tst-tls12.c: Likewise.
6834 * gnulib/tst-gcc.c: Likewise.
6835 * iconvdata/tst-e2big.c: Likewise.
6836 * iconvdata/tst-loading.c: Likewise.
6837 * iconv/tst-iconv1.c: Likewise.
6838 * iconv/tst-iconv2.c: Likewise.
6839 * inet/test-inet6_opt.c: Likewise.
6840 * inet/tst-gethnm.c: Likewise.
6841 * inet/tst-network.c: Likewise.
6842 * inet/tst-ntoa.c: Likewise.
6843 * intl/tst-codeset.c: Likewise.
6844 * intl/tst-gettext2.c: Likewise.
6845 * intl/tst-gettext3.c: Likewise.
6846 * intl/tst-ngettext.c: Likewise.
6847 * intl/tst-translit.c: Likewise.
6848 * io/test-stat.c: Likewise.
6849 * libio/test-fmemopen.c: Likewise.
6850 * libio/tst-freopen.c: Likewise.
6851 * libio/tst-sscanf.c: Likewise.
6852 * libio/tst-ungetwc1.c: Likewise.
6853 * libio/tst-ungetwc2.c: Likewise.
6854 * libio/tst-widetext.c: Likewise.
6855 * localedata/tst-ctype.c: Likewise.
6856 * localedata/tst-digits.c: Likewise.
6857 * localedata/tst-leaks.c: Likewise.
6858 * localedata/tst-mbswcs1.c: Likewise.
6859 * localedata/tst-mbswcs2.c: Likewise.
6860 * localedata/tst-mbswcs3.c: Likewise.
6861 * localedata/tst-mbswcs4.c: Likewise.
6862 * localedata/tst-mbswcs5.c: Likewise.
6863 * localedata/tst-setlocale.c: Likewise.
6864 * localedata/tst-trans.c: Likewise.
6865 * localedata/tst-wctype.c: Likewise.
6866 * localedata/tst-xlocale1.c: Likewise.
6867 * login/tst-grantpt.c: Likewise.
6868 * malloc/tst-calloc.c: Likewise.
6869 * malloc/tst-malloc.c: Likewise.
6870 * malloc/tst-mallocstate.c: Likewise.
6871 * malloc/tst-mcheck.c: Likewise.
6872 * malloc/tst-mtrace.c: Likewise.
6873 * malloc/tst-obstack.c: Likewise.
6874 * math/atest-exp2.c: Likewise.
6875 * math/atest-exp.c: Likewise.
6876 * math/atest-sincos.c: Likewise.
6877 * math/test-matherr.c: Likewise.
6878 * math/test-misc.c: Likewise.
6879 * math/test-powl.c: Likewise.
6880 * math/tst-definitions.c: Likewise.
6881 * misc/tst-dirname.c: Likewise.
6882 * misc/tst-efgcvt.c: Likewise.
6883 * misc/tst-fdset.c: Likewise.
6884 * misc/tst-hsearch.c: Likewise.
6885 * misc/tst-mntent2.c: Likewise.
6886 * nptl/tst-sem7.c: Likewise.
6887 * nptl/tst-sem8.c: Likewise.
6888 * nptl/tst-sem9.c: Likewise.
6889 * nss/test-netdb.c: Likewise.
6890 * posix/tst-fnmatch.c: Likewise.
6891 * posix/tst-getlogin.c: Likewise.
6892 * posix/tst-gnuglob.c: Likewise.
6893 * posix/tst-mmap.c: Likewise.
6894 * pwd/tst-getpw.c: Likewise.
6895 * resolv/tst-inet_ntop.c: Likewise.
6896 * rt/tst-timer.c: Likewise.
6897 * stdio-common/test-fseek.c: Likewise.
6898 * stdio-common/test-popen.c: Likewise.
6899 * stdio-common/test-vfprintf.c: Likewise.
6900 * stdio-common/tst-cookie.c: Likewise.
6901 * stdio-common/tst-fileno.c: Likewise.
6902 * stdio-common/tst-gets.c: Likewise.
6903 * stdio-common/tst-obprintf.c: Likewise.
6904 * stdio-common/tst-perror.c: Likewise.
6905 * stdio-common/tst-sprintf2.c: Likewise.
6906 * stdio-common/tst-sprintf3.c: Likewise.
6907 * stdio-common/tst-sprintf.c: Likewise.
6908 * stdio-common/tst-swprintf.c: Likewise.
6909 * stdio-common/tst-tmpnam.c: Likewise.
6910 * stdio-common/tst-unbputc.c: Likewise.
6911 * stdio-common/tst-wc-printf.c: Likewise.
6912 * stdlib/tst-environ.c: Likewise.
6913 * stdlib/tst-fmtmsg.c: Likewise.
6914 * stdlib/tst-limits.c: Likewise.
6915 * stdlib/tst-rand48-2.c: Likewise.
6916 * stdlib/tst-rand48.c: Likewise.
6917 * stdlib/tst-random2.c: Likewise.
6918 * stdlib/tst-random.c: Likewise.
6919 * stdlib/tst-strtol.c: Likewise.
6920 * stdlib/tst-strtoll.c: Likewise.
6921 * stdlib/tst-tls-atexit.c: Likewise.
6922 * stdlib/tst-xpg-basename.c: Likewise.
6923 * string/test-ffs.c: Likewise.
6924 * string/tst-bswap.c: Likewise.
6925 * string/tst-inlcall.c: Likewise.
6926 * string/tst-strtok.c: Likewise.
6927 * string/tst-strxfrm.c: Likewise.
6928 * sysdeps/x86_64/tst-audit10.c: Likewise.
6929 * sysdeps/x86_64/tst-audit3.c: Likewise.
6930 * sysdeps/x86_64/tst-audit4.c: Likewise.
6931 * sysdeps/x86_64/tst-audit5.c: Likewise.
6932 * time/tst-ftime_l.c: Likewise.
6933 * time/tst-getdate.c: Likewise.
6934 * time/tst-mktime3.c: Likewise.
6935 * time/tst-mktime.c: Likewise.
6936 * time/tst-posixtz.c: Likewise.
6937 * time/tst-strptime2.c: Likewise.
6938 * time/tst-strptime3.c: Likewise.
6939 * wcsmbs/tst-btowc.c: Likewise.
6940 * wcsmbs/tst-mbrtowc.c: Likewise.
6941 * wcsmbs/tst-mbsrtowcs.c: Likewise.
6942 * wcsmbs/tst-wchar-h.c: Likewise.
6943 * wcsmbs/tst-wcpncpy.c: Likewise.
6944 * wcsmbs/tst-wcrtomb.c: Likewise.
6945 * wcsmbs/tst-wcsnlen.c: Likewise.
6946 * wcsmbs/tst-wcstof.c: Likewise.
6947
2004e7fb
JM
69482014-11-04 Joseph Myers <joseph@codesourcery.com>
6949
ab97ee8f
JM
6950 [BZ #14132]
6951 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
6952 INTDEF.
6953 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
6954 declaration.
6955 (_dl_mcount): Use rtld_hidden_proto.
6956 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
6957 _dl_mcount.
6958 * elf/rtld.c (_rtld_global_ro): Likewise.
6959
c5684fdb
JM
6960 [BZ #14132]
6961 * elf/dl-init.c (_dl_init): Don't use INTDEF.
6962 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
6963 of _dl_init_internal.
6964 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
6965 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
6966 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
6967 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
6968 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
6969 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
6970 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
6971 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
6972 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
6973 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
6974 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
6975 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
6976 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
6977 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
6978 * sysdeps/tile/dl-start.S (_start): Likewise.
6979 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
6980 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
6981
4243cbea
JM
6982 [BZ #14132]
6983 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
6984 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
6985 (rtld_progname): Make macro definition unconditional.
6986 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
6987 INTDEF.
6988 (dlmopen_doit): Do not use INTUSE with _dl_argv.
6989 (dl_main): Likewise.
6990 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
6991 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
6992 instead of _dl_argv_internal.
6993 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
6994 __GI__dl_argv instead of INTUSE(_dl_argv).
6995 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
6996 __GI__dl_argv instead of _dl_argv_internal.
6997
2004e7fb
JM
6998 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
6999 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
7000 macro.
7001 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
7002 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
7003 New macro.
7004 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
7005 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
7006 macro.
7007 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
7008 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
7009
97827bfc
AS
70102014-11-04 Andreas Schwab <schwab@suse.de>
7011
7012 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
7013
5e4df284
AZ
70142014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7015
7016 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
7017 mtvsrd instruction in binary form.
7018
04b76b5a
AS
70192014-11-03 Andreas Schwab <schwab@suse.de>
7020
7021 [BZ #17522]
7022 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
7023 for less than MB_LEN_MAX use a local buffer of that size.
7024 * libio/tst-fputws.c: New file.
7025 * libio/Makefile (tests): Add tst-fputws.
7026
4c6da7da
JM
70272014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
7028
7029 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
7030 the size of the fpu_fr.fpu_dregs[] array.
7031
1679ba8e
JM
70322014-11-01 Joseph Myers <joseph@codesourcery.com>
7033
7034 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
7035 (__nanosleep): Do not define as alias.
7036 (nanosleep): Define as alias of __nanosleep.
7037 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
7038 __libc_nanosleep name.
7039
2626c183
JM
70402014-10-31 Joseph Myers <joseph@codesourcery.com>
7041
7042 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
7043 install.texi in comment.
7044
7f981fc2
TR
70452014-10-31 Torvald Riegel <triegel@redhat.com>
7046
7047 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
7048 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
7049 ... add here and use lwsync or sync ...
7050 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
7051 ... and add here using lwsync.
7052
d6f373d2
MF
70532014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
7054
7055 * elf/dl-machine-reject-phdr.h: New file.
7056 * elf/dl-load.c: #include that.
7057 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
7058 if that returned true.
7059
67c37987
RM
70602014-10-31 Roland McGrath <roland@hack.frob.com>
7061
7062 [BZ #17496]
7063 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
7064 gen-as-const-headers chunk. Add a big scare comment after the last
7065 safe place to touch before-compile.
7066
94a42455 70672014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 7068
f3f5d895
JM
7069 * manual/install.texi (Tools for Compilation): Update autoconf
7070 version requirements.
7071 * INSTALL: Regenerated.
7072
f62ff286
JM
7073 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
7074 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
7075 (__libc_pselect): Likewise.
94a42455
JM
7076
7077 [BZ #14138]
7078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7082
ff9dbdc0
TR
70832014-10-31 Torvald Riegel <triegel@redhat.com>
7084
7085 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
7086 correct barrier instruction.
7087 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
7088 Likewise.
7089 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
7090 Likewise.
7091
b4f66884
RM
70922014-10-30 Roland McGrath <roland@hack.frob.com>
7093
7094 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
7095 after defining inlines. Instead, just use parens to defeat macro
7096 expansion of __isctype in its declaration.
7097
e19c95fd
JM
70982014-10-30 Joseph Myers <joseph@codesourcery.com>
7099
7100 * include/sys/uio.h (__libc_readv): Remove declaration.
7101 (__libc_writev): Likewise.
7102 * misc/readv.c (__libc_readv): Rename to __readv.
7103 (__readv): Do not define as alias.
7104 (readv): Define as alias of __readv.
7105 * misc/writev.c (__libc_writev): Rename to __writev.
7106 (__writev): Do not define as alias.
7107 (writev): Define as alias of __writev.
7108 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
7109 (__readv): Do not define as alias.
7110 (readv): Define unconditionally as alias of __readv.
7111 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
7112 (__writev): Do not define as alias.
7113 (writev): Define unconditionally as alias of __writev.
7114 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
7115 name.
7116 (writev): Do not define __libc_writev name.
7117
65b00b6c
RM
71182014-10-30 Roland McGrath <roland@hack.frob.com>
7119
7120 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
7121 (convert_charseq): New function, broken out of ...
7122 (use_from_charmap): ... here. Call it.
7123 (use_to_charmap): Use convert_charseq and free instead of duplicating
7124 its code with a variable-length stack struct.
7125
d4e157aa
JM
71262014-10-30 Joseph Myers <joseph@codesourcery.com>
7127
7128 * include/fcntl.h (__libc_creat): Remove declaration.
7129 * io/creat.c (__libc_creat): Rename to creat.
7130 (creat): Do not define as alias.
7131 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
7132 of creat instead of __libc_creat.
7133 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
7134 to creat.
7135 (creat): Do not define as alias.
7136 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
7137 __libc_creat.
7138 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
7139 __libc_creat name.
7140 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
7141 Likewise.
7142
0c6891a0
CD
71432014-10-29 Carlos O'Donell <carlos@redhat.com>
7144
7145 * manual/llio.texi: Add comments discussing why write() may be
7146 considered MT-unsafe on Linux.
7147
cc00cece
CD
71482014-10-28 Carlos O'Donell <carlos@redhat.com>
7149
7150 * dl-load.c (local_strdup): Remove.
7151 (expand_dynamic_string_token): Use __strdup.
7152 (decompose_rpath): Likewise.
7153 (_dl_map_object): Likewise.
7154
51e623f2
JM
71552014-10-28 Joseph Myers <joseph@codesourcery.com>
7156
7157 [BZ #14132]
7158 * sysdeps/generic/unwind-dw2-fde.c
7159 (__register_frame_info_bases_internal): Do not declare.
7160 (__register_frame_info_table_bases_internal): Likewise.
7161 (__deregister_frame_info_bases_internal): Likewise.
7162 (__register_frame_info_bases): Declare and use hidden_proto before
7163 definition. Use hidden_def instead of INTDEF.
7164 (__register_frame_info_table_bases): Likewise.
7165 (__deregister_frame_info_bases): Likewise.
7166 (__register_frame_info): Do not use INTUSE.
7167 (__register_frame): Likewise.
7168 (__register_frame_info_table): Likewise.
7169 (__register_frame_table): Likewise.
7170 (__deregister_frame_info): Likewise.
7171 (__deregister_frame): Likewise.
7172
03d41216
GC
71732014-10-27 Gratian Crisan <gratian.crisan@ni.com>
7174
7175 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7176 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
7177 not undefine.
7178 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
7179 Likewise.
7180 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
7181 Likewise.
7182
a4b3624d
JM
71832014-10-27 Joseph Myers <joseph@codesourcery.com>
7184
7185 [BZ #14138]
7186 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
7187 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
7188 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
7189 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
7190 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
7191 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
7192 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
7193 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
7194 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
7195 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
7196 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
7197 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
7198 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
7199 syscall.
7200 (setfsuid): Likewise.
7201 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
7202 (setfsuid): Likewise.
7203 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
7204 (setfsuid): Likewise.
7205 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
7206 Likewise.
7207 (setfsuid): Likewise.
7208 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
7209 (setfsuid): Likewise.
7210 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
7211 Likewise.
7212 (setfsuid): Likewise.
7213
3574f2fd
AS
72142014-10-27 Andreas Schwab <schwab@suse.de>
7215
7216 [BZ #17501]
7217 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
7218 check for Slow_SSE4_2 feature bit.
7219 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
7220 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
7221 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
7222 Likewise. Fix check for Fast_Unaligned_Load feature bit.
7223
70996a37
RM
72242014-10-24 Roland McGrath <roland@hack.frob.com>
7225
461a7b1e
RM
7226 * configure.ac: Validate compiler version with a empirical test of
7227 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
7228 $CC -v output.
7229 * configure: Regenerated.
7230
70996a37
RM
7231 * inet/htons.c (htons): Prototypify.
7232 * inet/htonl.c (htonl): Likewise.
7233
e80514b5
WD
72342014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7235
7236 * string/strncat.c (strncat): Improve performance by using strlen.
7237
6e46de42
WD
72382014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7239
7240 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
7241
6a9ad2fa
WD
72422014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7243
7244 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
7245 Call libc_fetestexcept_aarch64.
7246
1c8810ed
WD
72472014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7248
7249 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
7250 Call libc_feholdexcept_aarch64.
7251
8b1af712
WD
72522014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7253
7254 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
7255 Call get_rounding_mode.
7256
a7b00c11
WD
72572014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7258
7259 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
7260 Simplify logic.
7261
3a84f1a6
WD
72622014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
7263
7264 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
7265 Simplify logic.
7266
48eb7a94
JM
72672014-10-24 Joseph Myers <joseph@codesourcery.com>
7268
c8bc4038
JM
7269 [BZ #14138]
7270 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
7271 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
7272 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
7273 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
7274 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
7275 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
7276 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
7277 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
7278 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
7279 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
7280 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7281 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
7282 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
7283 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
7284 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
7285 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
7286 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
7287 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
7288 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
7289 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
7290 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
7291 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
7292 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
7293 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
7294 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
7295 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
7296 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
7297 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
7298 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
7299 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
7300 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
7301 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
7302 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
7303 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
7304 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
7305 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
7306 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
7307 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
7308 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
7309 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
7310 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
7311 syscall.
7312 (geteuid): Likewise.
7313 (getgid): Likewise.
7314 (getuid): Likewise.
7315 (getresgid): Likewise.
7316 (getresuid): Likewise.
7317 (getgroups): Likewise.
7318 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
7319 (geteuid): Likewise.
7320 (getgid): Likewise.
7321 (getuid): Likewise.
7322 (getresgid): Likewise.
7323 (getresuid): Likewise.
7324 (getgroups): Likewise.
7325 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
7326 (geteuid): Likewise.
7327 (getgid): Likewise.
7328 (getuid): Likewise.
7329 (getresgid): Likewise.
7330 (getresuid): Likewise.
7331 (getgroups): Likewise.
7332 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
7333 Likewise.
7334 (geteuid): Likewise.
7335 (getgid): Likewise.
7336 (getuid): Likewise.
7337 (getresgid): Likewise.
7338 (getresuid): Likewise.
7339 (getgroups): Likewise.
7340 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
7341 (geteuid): Likewise.
7342 (getgid): Likewise.
7343 (getuid): Likewise.
7344 (getresgid): Likewise.
7345 (getresuid): Likewise.
7346 (getgroups): Likewise.
7347 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
7348 Likewise.
7349 (geteuid): Likewise.
7350 (getgid): Likewise.
7351 (getuid): Likewise.
7352 (getgroups): Likewise.
7353
48eb7a94
JM
7354 [BZ #14138]
7355 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
7356 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
7357 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
7358 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
7359 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
7360 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
7361 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
7362 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
7363 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
7364 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
7365 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
7366 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
7367 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
7368 __chown.
7369 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
7370 (lchown): Likewise.
7371 (fchown): Likewise.
7372 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
7373 Likewise.
7374 (lchown): Likewise.
7375 (fchown): Likewise.
7376 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
7377 (lchown): Likewise.
7378 (fchown): Likewise.
7379 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
7380 Likewise.
7381 (lchown): Likewise.
7382 (fchown): Likewise.
7383
ea9a7c8b
WD
73842014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7385
7386 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
7387 Simplify logic.
7388
e226de33
WD
73892014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7390
7391 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7392 Cleanup logic.
7393
6e3d8ed3
WD
73942014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7395
7396 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
7397 Remove unused include.
7398
eb04247d
WD
73992014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
7400
7401 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
7402 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
7403 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
7404 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
7405
13d84554
CD
74062014-10-23 Carlos O'Donell <carlos@systemhalted.org>
7407 Helge Deller <deller@gmx.de>
7408
7409 [BZ #17508]
7410 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
7411 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
7412 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
7413
15f9c5df
JM
74142014-10-23 Joseph Myers <joseph@codesourcery.com>
7415
7416 [BZ #14132]
7417 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
7418 Remove macro definition.
7419 (__ashrdi3_v_glibc20): Likewise.
7420 (__lshrdi3_v_glibc20): Likewise.
7421 (__cmpdi2_v_glibc20): Likewise.
7422 (__ucmpdi2_v_glibc20): Likewise.
7423 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
7424 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7425 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7426 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7427 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7428 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
7429
c6dfed24
RM
74302014-10-22 Roland McGrath <roland@hack.frob.com>
7431
7432 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
7433 old GNU extension [0] syntax.
7434 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
7435 alloca rather than an array member with variable length.
7436 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
7437 * nscd/nscd.c (invalidate_db): New function, broken out of ...
7438 (parse_opt): ... here. Likewise use alloca there.
7439 Validate the -i argument before checking for rootness.
7440 (send_shutdown): New function, broken out of ...
7441 (parse_opt): ... here.
7442
8c2b1ed8
RM
74432014-10-22 Roland McGrath <roland@hack.frob.com>
7444
7445 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
7446 macro to get at the _rt_local_ro field.
7447 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
7448 ([PIC] case) or _dl_hwcap ([!PIC] case).
7449 * sysdeps/arm/setjmp.S: Likewise.
7450
7451 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
7452 * sysdeps/arm/configure.ac: New check to define it.
7453 * sysdeps/arm/configure: Regenerated.
7454 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
7455 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
7456 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
7457 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
7458 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
7459 Use move/movt pair instead of a load.
7460 (LDST_GLOBAL): Macro removed.
7461 (LDR_GLOBAL): New macro replaces it.
7462 (LDR_HIDDEN): New macro.
7463 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
7464 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
7465
7466 * setjmp/tst-setjmp-static.c: New file.
7467 * setjmp/Makefile (tests): Add it.
7468 (tests-static): New variable.
7469
b5af9297
MR
74702014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
7471
7472 [BZ #17485]
7473 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
7474
a13d0d74
JM
74752014-10-21 Joseph Myers <joseph@codesourcery.com>
7476
7477 [BZ #14132]
7478 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
7479
f05e73f6
RM
74802014-10-21 Roland McGrath <roland@hack.frob.com>
7481
7482 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
7483
6ab1d1ea
RM
74842014-10-20 Roland McGrath <roland@hack.frob.com>
7485
7486 * io/fts.c (dirent_not_directory): New function.
7487 (fts_build): Call it.
7488
ab49e763
RM
74892014-10-20 Roland McGrath <roland@hack.frob.com>
7490
e436eb79
RM
7491 * nptl/version.c (__nptl_main): Use normal __write rather than
7492 INTERNAL_SYSCALL.
7493 (banner): Update copyright years.
7494
6af246cf
RM
7495 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
7496 gettimeofday.
7497 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
7498 * nptl/pthread_cond_timedwait.c: Likewise.
7499 * nptl/pthread_mutex_timedlock.c: Likewise.
7500 * nptl/sem_timedwait.c: Likewise.
7501
ab49e763
RM
7502 * sysdeps/nptl/bits/libc-lock.h
7503 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
7504 (__libc_lock_init_recursive): Return void, not 0.
7505 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
7506 (__libc_rwlock_init): Likewise.
7507 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
7508
f50277c1
TR
75092014-10-20 Torvald Riegel <triegel@redhat.com>
7510
7511 [BZ #15215]
7512 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
7513 (__pthread_once_slow): ... here.
7514 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
7515 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
7516
63668b70
TR
75172014-10-20 Torvald Riegel <triegel@redhat.com>
7518
7519 [BZ #15215]
7520 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
7521 __PTHREAD_ONCE_FORK_GEN_INCR): New.
7522 * sysdeps/nptl/fork.c (__libc_fork): Use them.
7523 * nptl/pthread_once.c (__pthread_once): Likewise.
7524 Update comments.
7525
42b7f5d4
JM
75262014-10-20 Joseph Myers <joseph@codesourcery.com>
7527
7528 [BZ #14138]
7529 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
7530 name.
7531 (writev): Use __libc_writev as strong name.
7532 * sysdeps/unix/sysv/linux/readv.c: Remove file.
7533 * sysdeps/unix/sysv/linux/writev.c: Likewise.
7534
b0643088
RM
75352014-10-17 Roland McGrath <roland@hack.frob.com>
7536
114c4e09
RM
7537 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
7538
674b8978
RM
7539 * sysdeps/i386/nptl/tls.h
7540 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
7541 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
7542 New macros.
7543 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
7544 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
7545 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
7546 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
7547 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
7548 Call CHECK_THREAD_SYSINFO instead of doing an assert.
7549
184ee940
RM
7550 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
7551 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
7552 on [__NR_futex].
7553 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
7554 broken out of ...
7555 (__pthread_mutex_init): ... here. Call it.
7556 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
7557 Conditionalize PI cases on [__NR_futex].
7558 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7559 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
7560 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7561
327ae257
RM
7562 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
7563 conditional on [SIGSETXID].
7564 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
7565 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
7566 is defined. Likewise for SIGSETXID.
7567 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
7568 Conditionalize definitions on [SIGSETXID].
7569 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
7570 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
7571 unblocking on [SIGCANCEL].
7572
b0643088
RM
7573 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
7574 [__NR_set_robust_list].
7575
33cc770b
SP
75762014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7577
7578 * string/strcoll_l.c (get_next_seq): Fix up formatting.
7579 (do_compare): Likewise.
7580
0742aef6
LH
75812014-10-17 Leonhard Holz <leonhard.holz@web.de>
7582
7583 [BZ #15884]
7584 * string/strcoll_l.c: Don't include stdio.h.
7585 (coll_seq): Remove members idxarr and rulearr.
7586 (get_next_seq_cached): Remove function.
7587 (get_next_seq): Likewise.
7588 (get_next_seq_nocache): Rename to get_next_seq.
7589 (do_compare): Remove function.
7590 (do_compare_nocache): Rename to do_compare.
7591 (STRCOLL): Remove weight and rules cache.
7592
ee54ce44
RM
75932014-10-16 Roland McGrath <roland@hack.frob.com>
7594
7595 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
7596 * sysdeps/arm/sfp-machine.h: ... to here.
7597 * sysdeps/arm/Implies: Remove arm/soft-fp.
7598
a75d3b02
JM
75992014-10-14 Joseph Myers <joseph@codesourcery.com>
7600
7601 * conform/data/sys/utsname.h-data (*_t): Allow.
7602 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
7603 [POSIX] (WEXITED): Do not expect constant.
7604 [POSIX] (WSTOPPED): Likewise.
7605 [POSIX] (WNOHANG): Likewise.
7606 [POSIX] (WNOWAIT): Likewise.
7607 [POSIX] (siginfo_t): Do not expect type or elements.
7608 [POSIX] (pid_t): Do not expect type.
7609 [POSIX] (signal.h): Do not allow header.
7610 [POSIX] (sys/resource.h): Likewise.
7611 [POSIX] (si_*): Do not allow pattern.
7612 [POSIX] (W*): Likewise.
7613 [POSIX] (P_*): Likewise.
7614 [POSIX] (BUS_*): Likewise.
7615 [POSIX] (CLD_*): Likewise.
7616 [POSIX] (FPE_*): Likewise.
7617 [POSIX] (ILL_*): Likewise.
7618 [POSIX] (POLL_*): Likewise.
7619 [POSIX] (SEGV_*): Likewise.
7620 [POSIX] (SI_*): Likewise.
7621 [POSIX] (TRAP_*): Likewise.
7622 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
7623 variable.
7624
fda389c8
SP
76252014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
7626
7627 [BZ #12926]
7628 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
7629 infinite loop when __recvmsg returns 0.
7630
6bc6bd3b
JM
76312014-10-10 Joseph Myers <joseph@codesourcery.com>
7632
fcb32af1
JM
7633 * CANCEL-FCT-WAIVE: Remove file.
7634 * CANCEL-FILE-WAIVE: Likewise.
7635
6bc6bd3b
JM
7636 [BZ #14132]
7637 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
7638 instead of INTVARDEF.
7639 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7640 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
7641 rtld_hidden_data_def instead of INTVARDEF.
7642 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
7643 * elf/dl-deps.c (expand_dst): Likewise.
7644 * elf/dl-load.c (_dl_dst_count): Likewise.
7645 (_dl_dst_substitute): Likewise.
7646 (decompose_rpath): Likewise.
7647 (_dl_init_paths): Likewise.
7648 (open_path): Likewise.
7649 (_dl_map_object): Likewise.
7650 * elf/rtld.c (dl_main): Likewise.
7651 (process_dl_audit): Likewise.
7652 (process_envvars): Likewise.
7653 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
7654 Remove declaration.
7655 (__libc_enable_secure): Use rtld_hidden_proto.
7656
b8c80a7e
KS
76572014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7658
7659 * elf/dl-load.c
7660 (add_path): New function broken out of _dl_rtld_di_serinfo.
7661 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
7662
ff12c11f
JM
76632014-10-09 Joseph Myers <joseph@codesourcery.com>
7664
5c0508a3
JM
7665 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
7666 parentheses around macro arguments.
7667 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
7668 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
7669 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
7670 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
7671 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
7672 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7673 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7674 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
7675 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
7676 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
7677 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
7678 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
7679 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
7680 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
7681 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
7682 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
7683 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
7684 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
7685 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
7686 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
7687 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
7688 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
7689 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
7690 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
7691 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
7692 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
7693 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
7694 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
7695 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
7696 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
7697 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
7698 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
7699 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
7700 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
7701 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
7702 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
7703 Likewise.
7704 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
7705 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7706 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7707 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
7708 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
7709 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
7710 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
7711 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
7712 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
7713 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
7714 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
7715 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
7716 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
7717 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
7718 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
7719 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
7720 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
7721 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
7722 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
7723 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
7724 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
7725 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
7726 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
7727 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
7728 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
7729 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
7730 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
7731 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
7732 (_FP_FRAC_SRS_1): Likewise.
7733 (_FP_FRAC_CLZ_1): Likewise.
7734 (_FP_MUL_MEAT_1_imm): Likewise.
7735 (_FP_MUL_MEAT_1_wide): Likewise.
7736 (_FP_MUL_MEAT_1_hard): Likewise.
7737 (_FP_SQRT_MEAT_1): Likewise.
7738 (_FP_FRAC_ASSEMBLE_1): Likewise.
7739 (_FP_FRAC_DISASSEMBLE_1): Likewise.
7740 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
7741 (__FP_CLZ_2): Likewise.
7742 (_FP_MUL_MEAT_2_wide): Likewise.
7743 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
7744 (_FP_MUL_MEAT_2_gmp): Likewise.
7745 (_FP_MUL_MEAT_2_120_240_double): Likewise.
7746 (_FP_SQRT_MEAT_2): Likewise.
7747 (_FP_FRAC_ASSEMBLE_2): Likewise.
7748 (_FP_FRAC_DISASSEMBLE_2): Likewise.
7749 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
7750 (_FP_FRAC_CLZ_4): Likewise.
7751 (_FP_MUL_MEAT_4_wide): Likewise.
7752 (_FP_MUL_MEAT_4_gmp): Likewise.
7753 (_FP_SQRT_MEAT_4): Likewise.
7754 (_FP_FRAC_ASSEMBLE_4): Likewise.
7755 (_FP_FRAC_DISASSEMBLE_4): Likewise.
7756 * soft-fp/op-common.h (_FP_CMP): Likewise.
7757 (_FP_CMP_EQ): Likewise.
7758 (_FP_CMP_UNORD): Likewise.
7759 (_FP_TO_INT): Likewise.
7760 (_FP_FROM_INT): Likewise.
7761 [!__FP_CLZ] (__FP_CLZ): Likewise.
7762 (_FP_DIV_HELP_imm): Likewise.
7763 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
7764 Likewise.
7765 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
7766 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
7767 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
7768 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
7769 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
7770 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7771 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7772 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
7773 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
7774 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
7775 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
7776 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
7777 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
7778 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
7779 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
7780 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
7781 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
7782 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
7783 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
7784 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
7785 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
7786 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
7787 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
7788 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
7789 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
7790 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
7791 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
7792 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
7793 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
7794 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
7795 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
7796 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
7797 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
7798 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
7799 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
7800 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
7801 (FP_UNPACK_RAW_SP): Likewise.
7802 (FP_PACK_RAW_S): Likewise.
7803 (FP_PACK_RAW_SP): Likewise.
7804 (FP_UNPACK_S): Likewise.
7805 (FP_UNPACK_SP): Likewise.
7806 (FP_UNPACK_SEMIRAW_S): Likewise.
7807 (FP_UNPACK_SEMIRAW_SP): Likewise.
7808 (FP_PACK_S): Likewise.
7809 (FP_PACK_SP): Likewise.
7810 (FP_PACK_SEMIRAW_S): Likewise.
7811 (FP_PACK_SEMIRAW_SP): Likewise.
7812 (_FP_SQRT_MEAT_S): Likewise.
7813 (FP_CMP_S): Likewise.
7814 (FP_CMP_EQ_S): Likewise.
7815 (FP_CMP_UNORD_S): Likewise.
7816 (FP_TO_INT_S): Likewise.
7817 (FP_FROM_INT_S): Likewise.
7818
a736ec37
JM
7819 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
7820
ff12c11f
JM
7821 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
7822 (FP_EX_INVALID_IMZ): Likewise.
7823 (FP_EX_INVALID_IMZ_FMA): Likewise.
7824 (FP_EX_INVALID_ISI): Likewise.
7825 (FP_EX_INVALID_ZDZ): Likewise.
7826 (FP_EX_INVALID_IDI): Likewise.
7827 (FP_EX_INVALID_SQRT): Likewise.
7828 (FP_EX_INVALID_CVI): Likewise.
7829 (FP_EX_INVALID_VC): Likewise.
7830 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
7831 "invalid" exceptions.
7832 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
7833 (_FP_ADD_INTERNAL): Likewise.
7834 (_FP_MUL): Likewise.
7835 (_FP_FMA): Likewise.
7836 (_FP_DIV): Likewise.
7837 (_FP_CMP_CHECK_NAN): Likewise.
7838 (_FP_SQRT): Likewise.
7839 (_FP_TO_INT): Likewise.
7840 (FP_EXTEND): Likewise.
7841
b6dcfe8c
AM
78422014-10-09 Allan McRae <allan@archlinux.org>
7843
7844 * po/fr.po: Update French translation from translation project.
7845
2d6a47ba
JM
78462014-10-09 Joseph Myers <joseph@codesourcery.com>
7847
cb831245
JM
7848 [BZ #14132]
7849 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
7850 of INTDEF.
7851 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
7852 (__cxa_atexit): Use libc_hidden_proto.
7853 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
7854
5deeb190
JM
7855 [BZ #14132]
7856 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
7857 declaration.
7858 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
7859 [!_ISOMAC] (__iswspace_l_internal): Likewise.
7860 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
7861 [!_ISOMAC] (__iswctype_internal): Likewise.
7862 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
7863 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
7864 alias.
7865 (fcntl): Remove __fcntl_internal alias.
7866 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
7867 __connect_internal alias.
7868 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
7869 Likewise.
7870
454ac701
JM
7871 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
7872 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
7873 FP_DENORM_ZERO.
7874 (_FP_CHECK_FLUSH_ZERO): New macro.
7875 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
7876 (_FP_CMP): Likewise.
7877 (_FP_CMP_EQ): Likewise.
7878 (_FP_TO_INT): Do not set inexact for subnormal arguments if
7879 FP_DENORM_ZERO.
7880 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
7881 (FP_TRUNC): Likewise.
7882
0022e688
JM
7883 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
7884 treated as invalid conversion, not as normal exponent.
7885
73e28d9c
JM
7886 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
7887 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
7888 (_FP_CMP_EQ): Likewise.
7889 (_FP_CMP_UNORD): Likewise.
7890 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
7891 (FP_CMP_EQ_D): Likewise.
7892 (FP_CMP_UNORD_D): Likewise.
7893 * soft-fp/extended.h (FP_CMP_E): Likewise.
7894 (FP_CMP_EQ_E): Likewise.
7895 (FP_CMP_UNORD_E): Likewise.
7896 * soft-fp/quad.h (FP_CMP_Q): Likewise.
7897 (FP_CMP_EQ_Q): Likewise.
7898 (FP_CMP_UNORD_Q): Likewise.
7899 * soft-fp/single.h (FP_CMP_S): Likewise.
7900 (FP_CMP_EQ_S): Likewise.
7901 (FP_CMP_UNORD_S): Likewise.
7902 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
7903 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
7904 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
7905 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
7906 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
7907 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
7908 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
7909 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
7910 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
7911 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
7912 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
7913 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
7914 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
7915 to FP_CMP_Q.
7916 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
7917 FP_CMP_Q.
7918 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
7919 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
7920 FP_CMP_EQ_Q.
7921 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
7922 FP_CMP_Q.
7923 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
7924 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
7925 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
7926 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
7927 FP_CMP_EQ_Q.
7928 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
7929 FP_CMP_Q.
7930 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
7931 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
7932 FP_CMP_EQ_Q.
7933 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
7934 FP_CMP_Q.
7935 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
7936 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
7937 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
7938 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
7939 FP_CMP_EQ_Q.
7940
43059f42
JM
7941 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
7942 a subnormal result, set the underflow exception if trapping on
7943 underflow is enabled.
7944 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
7945 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
7946 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
7947 redefine to 0.
7948 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
7949 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7950 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
7951 * soft-fp/extendxftf2.c (__extendxftf2): Use
7952 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
7953
2d6a47ba
JM
7954 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
7955 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
7956 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7957 FP_HANDLE_EXCEPTIONS.
7958 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
7959 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7960 FP_HANDLE_EXCEPTIONS.
7961 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
7962 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7963 FP_HANDLE_EXCEPTIONS.
7964 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
7965 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
7966 FP_HANDLE_EXCEPTIONS.
7967
620f462e
JM
79682014-10-08 Joseph Myers <joseph@codesourcery.com>
7969
7970 [BZ #14132]
7971 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
7972 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
7973 use INTUSE.
7974 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
7975 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
7976 Remove alias.
7977 (__adjtimex): Define using libc_hidden_ver.
7978 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
7979 Remove declaration.
7980 (ntp_gettime): Call __adjtimex directly.
7981 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
7982 Remove declaration.
7983 (ntp_gettimex): Call __adjtimex directly.
7984 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
7985 __adjtimex_internal alias.
7986
c763c5d2
RM
79872014-10-08 Roland McGrath <roland@hack.frob.com>
7988
7989 [BZ #17460]
7990 * nscd/nscd.c (more_help): Rewrite list of tables collection
7991 using xstrdup and asprintf.
7992
7993 * nscd/nscd_conf.c: Remove local xstrdup declaration.
7994
7b8fb2b8
RM
79952014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
7996 Roland McGrath <roland@hack.frob.com>
7997
7998 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
7999 (do_lookup_unique): ... local function 'enter' here; update callers.
8000
abb280f7
JM
80012014-10-06 Joseph Myers <joseph@codesourcery.com>
8002
f7b42517
JM
8003 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
8004 compat_symbol calls on [SHARED].
8005 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
8006 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
8007 Remove.
8008 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8009 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
8010 (oldsetrlimit): Remove.
8011 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8013 (lchown): New syscall entry.
8014 (oldsetrlimit): Remove.
8015 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8016 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
8017 (oldsetrlimit): Remove.
8018 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
8019
abb280f7
JM
8020 [BZ #14138]
8021 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
8022 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
8023 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
8024 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
8025 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8026 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
8027 (fchown): Likewise.
8028 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
8029 (fchown): Likewise.
8030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
8031 Likewise.
8032
47d46237
AZ
80332014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8034
8035 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
8036 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
8037 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
8038 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
8039 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
8040 Likewise.
8041 (__old_sem_post): Likewise.
8042
80432014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 8044
845a7343
CM
8045 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
8046 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
8047 HAVE_CLOCK_GETTIME_VSYSCALL macros.
8048 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
8049 Use INLINE_VSYSCALL macro.
8050 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
8051 __vdso_clock_gettime.
8052 * sysdeps/unix/sysv/linux/tile/init-first.c
8053 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
8054 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
8055 __vdso_clock_gettime.
8056
83d641ef
CM
8057 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
8058 to set up frame more cleanly.
8059
d9cd52e6
CM
8060 * sysdeps/tile/memcmp.c: New file.
8061
4b68ea11
CM
8062 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
8063
c86f7b80
CM
8064 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
8065 * sysdeps/tile/tilegx/strcasestr.c: New file.
8066 * sysdeps/tile/tilegx/strnlen.c: New file.
8067 * sysdeps/tile/tilegx/strstr.c: New file.
8068
1c4c1a6f
CM
8069 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
8070
99d86ea3
AS
80712014-10-06 Arjun Shankar <arjun.is@lostca.se>
8072
8073 * nptl/tst-setuid3.c: Write errors to stdout.
8074
06210a44
KS
80752014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8076
8077 * elf/dl-deps.c
8078 (preload): New functions broken out of _dl_map_object_deps.
8079 (_dl_map_object_deps): Remove a nested function. Update call sites.
8080
6268f532
JM
80812014-10-01 Joseph Myers <joseph@codesourcery.com>
8082
8083 [BZ #14138]
8084 * sysdeps/unix/sysv/linux/execve.c: Remove file.
8085 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
8086
b925285f
SE
80872014-10-01 Steve Ellcey <sellcey@mips.com>
8088
8089 * sysdeps/mips/strcmp.S: New.
8090
754a15c6
JM
80912014-09-30 Joseph Myers <joseph@codesourcery.com>
8092
8093 [BZ #14138]
8094 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
8095 (linkat): Likewise.
8096 (mkdirat): Likewise.
8097 (readlinkat): Likewise.
8098 (renameat): Likewise.
8099 (symlinkat): Likewise.
8100 (unlinkat): Likewise.
8101 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
8102 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
8103 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
8104 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
8105 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
8106 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
8107 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
8108
85bb81c9
WN
81092014-09-30 Will Newton <will.newton@linaro.org>
8110
dc6fe23b
WN
8111 * math/math.h: Define long double math functions if
8112 _LIBC_TEST is defined.
8113 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
8114
85bb81c9
WN
8115 * localedata/Makefile: Move assignment to tests-special
8116 into an ifdef testing run-built-tests.
8117 * timezone/Makefile: Likewise.
8118
b7e02da4
JM
81192014-09-29 Joseph Myers <joseph@codesourcery.com>
8120
8121 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
8122 with $(BASH) not $(SHELL).
8123
62058ce6
CD
81242014-09-29 Carlos O'Donell <carlos@redhat.com>
8125 Matthew LeGendre <legendre1@llnl.gov>
8126
8127 [BZ #17411]
8128 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
8129 l_reloc_result.
8130
8e257a29
KS
81312014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8132
8133 * stdio-common/printf_fp.c
8134 (hack_digit): New function, broken out of ...
8135 (__printf_fp): ... local function here. Update call sites.
8136 hack_digit now takes an additional parameter that is a pointer
8137 to a struct of the referenced locals. Those locals moved inside
8138 the struct and references updated.
8139
f4a58f0d
L
81402014-09-29 H.J. Lu <hongjiu.lu@intel.com>
8141
8142 * aclocal.m4: Require autoconf 2.69.
8143 * configure: Regenerated.
8144 * sysdeps/aarch64/configure: Likewise.
8145 * sysdeps/alpha/configure: Likewise.
8146 * sysdeps/arm/armv7/configure: Likewise.
8147 * sysdeps/arm/configure: Likewise.
8148 * sysdeps/ia64/configure: Likewise.
8149 * sysdeps/mach/configure: Likewise.
8150 * sysdeps/mips/configure: Likewise.
8151 * sysdeps/s390/configure: Likewise.
8152 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
8153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
8154
8155 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
8156 file.
8157 * sysdeps/ia64/configure.ac: Likewise.
8158
93ae1eba
JM
81592014-09-26 Joseph Myers <joseph@codesourcery.com>
8160
1810d3ab
JM
8161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
8162 specify symbol version for ld.so. Do not include entry for
8163 libpthread.
8164 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8165 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8166 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8167
93ae1eba
JM
8168 [BZ #14171]
8169 * Makeconfig [$(build-shared) = yes]
8170 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
8171 makefiles.
8172 [$(build-shared) = yes && $(soversions.mk-done) = t]
8173 ($(common-objpfx)gnu/lib-names.h): Remove rule.
8174 [$(build-shared) = yes && $(soversions.mk-done) = t]
8175 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
8176 to Makerules.
8177 [$(build-shared) = yes && $(soversions.mk-done) = t]
8178 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
8179 here.
8180 [$(build-shared) = yes && $(soversions.mk-done) = t]
8181 (common-generated): Don't append gnu/lib-names.h and
8182 gnu/lib-names.stmp here.
8183 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
8184 (lib-names-h-abi): New variable.
8185 [$(build-shared) = yes && $(soversions.mk-done) = t]
8186 (lib-names-stmp-abi): Likewise.
8187 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8188 abi-variants] (before-compile): Append
8189 $(common-objpfx)$(lib-names-h-abi).
8190 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8191 abi-variants] (common-generated): Append gnu/lib-names.h.
8192 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8193 abi-variants] (install-others-nosubdir): Depend on
8194 $(inst_includedir)/$(lib-names-h-abi).
8195 [$(build-shared) = yes && $(soversions.mk-done) = t &&
8196 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
8197 [$(build-shared) = yes && $(soversions.mk-done) = t]
8198 ($(common-objpfx)$(lib-names-h-abi)): New rule.
8199 [$(build-shared) = yes && $(soversions.mk-done) = t]
8200 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
8201 [$(build-shared) = yes && $(soversions.mk-done) = t]
8202 (common-generated): Append $(lib-names-h-abi) and
8203 $(lib-names-stmp-abi).
8204 * scripts/lib-names.awk: Do not handle multi being set.
8205 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
8206 Remove variable.
8207 (abi-lp64_be-ld-soname): Likewise.
8208 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
8209 Likewise.
8210 (abi-hard-ld-soname): Likewise.
8211 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
8212 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
8213 Remove variable.
8214 (abi-o32_hard-ld-soname): Likewise.
8215 (abi-o32_soft_2008-ld-soname): Likewise.
8216 (abi-o32_hard_2008-ld-soname): Likewise.
8217 (abi-n32_soft-ld-soname): Likewise.
8218 (abi-n32_hard-ld-soname): Likewise.
8219 (abi-n32_soft_2008-ld-soname): Likewise.
8220 (abi-n32_hard_2008-ld-soname): Likewise.
8221 (abi-n64_soft-ld-soname): Likewise.
8222 (abi-n64_hard-ld-soname): Likewise.
8223 (abi-n64_soft_2008-ld-soname): Likewise.
8224 (abi-n64_hard_2008-ld-soname): Likewise.
8225 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
8226 Likewise.
8227 (abi-64-v2-ld-soname): Likewise.
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
8229 ld.so entries.
8230 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
8231 variable.
8232 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
8233 entry.
8234 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
8235 variable.
8236 (abi-64-ld-soname): Likewise.
8237 (abi-x32-ld-soname): Likewise.
8238 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
8239 entry.
8240 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8241
68870f12
JM
82422014-09-23 Joseph Myers <joseph@codesourcery.com>
8243
8244 [BZ #14138]
8245 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
8246 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
8247 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
8248 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
8249 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
8250 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
8251 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
8252 syscall entry for GLIBC_2.2 symbol version.
8253 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
8254 Likewise.
8255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
8256 (setrlimit): Likewise.
8257 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
8258 Likewise.
8259
ea58f202
WN
82602014-09-23 Will Newton <will.newton@linaro.org>
8261
8262 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
8263 _LINUX_ARM_SYSDEP_H include guard too.
8264 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
8265 define.
8266
69eb9a18
RV
82672014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
8268
8269 * sysdeps/unix/sysv/linux/eventfd.c:
8270 Make first argument unsigned.
8271 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
8272 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
8273
20e5a5f7
OB
82742014-09-20 Ondřej Bílka <neleai@seznam.cz>
8275
8276 * socket/recvmmsg.c (recvmmsg): Drop const argument.
8277 * socket/sys/socket.h: Likewise
8278 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
8279
d3c827e7
AK
82802014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8281
8282 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
8283
fe1cc35a
AS
82842014-09-17 Arjun Shankar <arjun.is@lostca.se>
8285
8286 * time/tst-ftime.c: New test.
8287 * time/Makefile (tests): Add tst-ftime.
8288
4e8afe69
JM
82892014-09-17 Joseph Myers <joseph@codesourcery.com>
8290
c4fe3ea7
JM
8291 * soft-fp/extended.h: Fix comment formatting.
8292 * soft-fp/op-1.h: Likewise.
8293 * soft-fp/op-2.h: Likewise.
8294 * soft-fp/op-4.h: Likewise.
8295 * soft-fp/op-8.h: Likewise.
8296 * soft-fp/op-common.h: Likewise.
8297 * soft-fp/soft-fp.h: Likewise.
8298
4e8afe69
JM
8299 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
8300
af296fcd
JM
83012014-09-16 Joseph Myers <joseph@codesourcery.com>
8302
8303 [BZ #6652]
8304 * Makeconfig (soversions-default-setname): Remove variable.
8305 ($(common-objpfx)soversions.i): Don't pass default_setname to
8306 soversions.awk.
8307 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
8308 oldest_abi to abi-versions.awk.
8309 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
8310 * config.make.in (oldest-abi): Remove variable.
8311 * configure.ac (--enable-oldest-abi): Remove configure option.
8312 * configure: Regenerated.
8313 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
8314 text.
8315 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
8316 * scripts/soversions.awk: Do not handle default_setname variable.
8317 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
8318 variable.
8319 * sysdeps/mach/hurd/configure: Regenerated.
8320 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
8321 variable.
8322 * sysdeps/unix/sysv/linux/configure: Regenerated.
8323
545583d6
SP
83242014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8325
d330b980
SP
8326 * elf/Makefile (CFLAGS-interp.c): Remove.
8327 ($(elf-objpfx)runtime-linker.h): Generate header with linker
8328 path string.
8329 * elf/interp.c: Include generated runtime-linker.h
8330
02657da2
SP
8331 * Makerules (lib%.so): Don't include $(+interp) in
8332 prerequisites.
8333 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
8334 * dlfcn/eval.c: Remove file.
8335
653b1080
SP
8336 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
8337 macros.
8338
602f80ec
SP
8339 [BZ #17266]
8340 * misc/sys/cdefs.h: Define __extern_always_inline for clang
8341 4.2 and newer.
8342
545583d6
SP
8343 [BZ #17370]
8344 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
8345
884ddc50
SP
83462014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8347 Jakub Jelinek <jakub@redhat.com>
8348
8349 [BZ #17266]
8350 * libio/stdio.h: Check definition of __fortify_function
8351 instead of __extern_always_inline to include bits/stdio2.h.
8352 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
8353 check if __extern_always_inline is defined.
8354 [__USE_MISC || __USE_XOPEN]: Likewise.
8355 [__USE_ISOC99] Likewise.
8356 * misc/sys/cdefs.h (__fortify_function): Define only if
8357 __extern_always_inline is defined.
8358 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
8359 __extern_always_inline and __extern_inline only for g++-4.3
8360 and newer or a compatible gcc.
8361
a7b87268
AS
83622014-09-15 Andreas Schwab <schwab@linux-m68k.org>
8363
8364 [BZ #17371]
8365 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
8366 last change to handle zero prefix length.
8367
3f41521d
SP
83682014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8369
61fe374a
SP
8370 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
8371 _SC_REGEX_VERSION.
8372
3f41521d
SP
8373 * posix/getconf.c (vars): Add _POSIX_IPV6 and
8374 _POSIX_RAW_SOCKETS.
8375
d8f879ee
AM
83762014-09-13 Allan McRae <allan@archlinux.org>
8377
8378 * po/ru.po: Update Russian translation from translation project.
8379
c079afb7
RM
83802014-09-12 Roland McGrath <roland@hack.frob.com>
8381
a62b3c15
RM
8382 * locale/programs/locale.c (show_locale_vars): Inline local function
8383 into its sole call site. Clean up some style nits.
8384 (print_item): New function, broken out of ...
8385 (show_info): ... local function here. Clean up style nits.
8386
d7e49b19
RM
8387 * locale/programs/ld-ctype.c (set_one_default): New function, broken
8388 out of ...
8389 (set_class_defaults): ... local function set_default here.
8390 Define set_default as a macro locally to pass constant parameters.
8391 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
8392 rather than a shared local.
8393
c079afb7
RM
8394 * stdlib/rpmatch.c (try): New function, broken out of ...
8395 (rpmatch): ... local function here. Also, prototypify definition.
8396
0bd72468
JM
83972014-09-12 Joseph Myers <joseph@codesourcery.com>
8398
ba90e050
JM
8399 * scripts/soversions.awk: Do not handle configuration names.
8400 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
8401 vendor and os variables to soversions.awk.
8402 * configure.ac: Do not modify gnu-* host_os.
8403 * configure: Regenerated
8404 * shlib-versions: Remove first column with configuration names.
8405 * nptl/shlib-versions: Likewise.
8406 * nptl_db/shlib-versions: Likewise.
8407 * sysdeps/hppa/shlib-versions: Likewise.
8408 * sysdeps/m68k/shlib-versions: Likewise.
8409 * sysdeps/mach/hurd/shlib-versions: Likewise.
8410 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
8411 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
8412 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
8413 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
8414 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
8415 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
8416 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
8417 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
8418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8419 Likewise.
8420 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8421 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8422 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8423 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8424 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8425 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
8426 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
8427 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
8428
73a39112
JM
8429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8430 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
8431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8432 Regenerated.
8433 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
8434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
8435 Condition symbol version definitions on [HAVE_ELFV2_ABI].
8436
c729e7c1
JM
8437 * shlib-versions: Remove OS-specific entries. Moved to files in
8438 sysdeps.
8439 * sysdeps/mach/hurd/shlib-versions: New file.
8440 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
8441
dc932a24
JM
8442 * nptl/shlib-versions: Remove architecture-specific entries.
8443 Moved to files in sysdeps.
8444 * shlib-versions: Likewise.
8445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
8446 file.
8447 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
8448 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
8449 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
8450 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
8451
0bd72468
JM
8452 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
8453 (UDP_NO_CHECK6_RX): Likewise.
8454
920238e0
SP
84552014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8456
8457 * sysdeps/posix/sysconf.c (__sysconf): Spell
8458 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
8459
ba7b4d29
FW
84602014-08-12 Florian Weimer <fweimer@redhat.com>
8461
8462 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
8463 loading.
8464 * iconv/Versions (__gconv_transliterate): Export for use from
8465 gconv modules.
8466 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
8467 (struct __gconv_trans_data, __gconv_trans_fct,
8468 __gconv_trans_context_fct, __gconv_trans_query_fct,
8469 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
8470 definitions.
8471 (struct __gconv_step_data): Remove __trans member.
8472 (__gconv_transliterate): Declaration moved from gconv_int.h. No
8473 longer hidden. Remove unused trans_data argument.
8474 * iconv/gconv_int.h (struct trans_struct): Remove definition.
8475 (__gconv_translit_find): Remove declaration.
8476 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
8477 prototype.
8478 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
8479 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
8480 trans_data argument. Add hidden definition.
8481 (__gconv_translit_find): Remove.
8482 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
8483 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
8484 * iconv/skeleton.c: Remove transliteration initialization.
8485 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
8486 __gconv_step_data initialization.
8487 * libio/iofwide.c (__libio_translit_): Remove.
8488 (_IO_fwide): Adjust struct __gconv_step_data initialization.
8489 * wcsmbs/btowc.c (__btowc): Likewise.
8490 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
8491 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
8492 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
8493 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
8494 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
8495 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
8496 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
8497 * wcsmbs/wctob.c (wctob): Likewise.
8498
5379aebd
SP
84992014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8500
8501 [BZ #16194]
8502 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
8503 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
8504 register usage.
8505 * sysdeps/x86/Makefile: Adjust.
8506
8c0ab919
RM
85072014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
8508 Roland McGrath <roland@hack.frob.com>
8509
8510 * locale/weight.h: Add include guard.
8511 (findidx): Make static rather than auto; take new parameters
8512 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
8513 * locale/weightwc.h: Likewise.
8514 * posix/fnmatch_loop.c
8515 (FCT): Change type of EXTRA from int32_t to wint_t.
8516 Don't include either header inside the function.
8517 Call FINDIDX rather than findidx, and pass new arguments.
8518 #undef FINDIDX at the end of the file.
8519 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
8520 FINDIDX before including fnmatch_loop.c for the non-wide version.
8521 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
8522 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
8523 for the wide version.
8524 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
8525 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
8526 Pass new arguments to findidx.
8527 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
8528 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
8529 Don't #include it inside the function. Pass new arguments to findidx.
8530 * posix/regex_internal.h
8531 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
8532 (re_string_elem_size_at): Don't #include it inside the function.
8533 Pass new arguments to findidx.
8534 * string/strcoll_l.c: #include WEIGHT_H at top level.
8535 (get_next_seq): Don't #include it inside the function.
8536 Pass new arguments to findidx.
8537 (get_next_seq_nocache): Likewise.
8538 * string/strxfrm_l.c: #include WEIGHT_H at top level.
8539 (STRXFRM): Don't #include it inside the function.
8540 Pass new arguments to findidx.
8541
52ffbdf2
FW
85422014-09-11 Florian Weimer <fweimer@redhat.com>
8543
8544 [BZ #17344]
8545 * malloc/malloc.c (unlink): Turn asserts into a call to
8546 malloc_printerr.
8547
984c0ea9
TL
85482014-09-11 Tim Lammens <tim.lammens@gmail.com>
8549
8550 [BZ #17370]
8551 * libio/wfileops (do_ftell_wide): Free OUT.
8552
3daee107
CM
85532014-09-10 Chris Metcalf <cmetcalf@tilera.com>
8554
8555 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
8556
58b930ae
SP
85572014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8558
8559 [BZ #17363]
8560 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
8561 group if the current group is empty.
8562
3b473fec
AZ
85632014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8564
71ae8647
AZ
8565 * benchtests/bench-memset.c (test_main): Add more test from size
8566 from 32 to 512 bytes.
8567 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8568 Add POWER8 memset object.
8569 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
8570 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
8571 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
8572 implementation.
8573 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
8574 Likewise.
8575 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
8576 multiarch POWER8 memset optimization.
8577 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
8578 POWER8 memset optimization.
8579
3b473fec
AZ
8580 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
8581 Remove bzero multiarch objects.
8582 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
8583 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
8584 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
8585 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
8586 Remove define.
8587 [__bzero]: Redefine to specific name.
8588 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
8589 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
8590 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
8591 define.
8592 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
8593 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
8594
e6fb9587
FW
85952014-09-10 Florian Weimer <fweimer@redhat.com>
8596
8597 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
8598 warnings into errors.
8599
8600 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
8601 __cxa_thread_atexit_impl prototype.
8602
9d3a350b
SE
86032014-09-09 Steve Ellcey <sellcey@mips.com>
8604
8605 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
8606 Fix capitalization of error message.
8607
0febba23
SE
86082014-09-09 Steve Ellcey <sellcey@mips.com>
8609
8610 * sysdeps/mips/preconfigure: Modify ABI tests.
8611
645a0e9c
CD
86122014-09-07 Carlos O'Donell <carlos@systemhalted.org>
8613
8614 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
8615
d83f0734
CD
86162014-09-07 Roland McGrath <roland@hack.frob.com>
8617 Carlos O'Donell <carlos@systemhalted.org>
8618
8619 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
8620 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
8621 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
8622 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
8623 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
8624 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
8625 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
8626 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
8627 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
8628 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
8629 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
8630 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
8631 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
8632 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
8633 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
8634 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
8635 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
8636 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
8637 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
8638 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
8639 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
8640 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
8641 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
8642 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
8643 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
8644 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
8645 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
8646 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
8647 Deconditionalize the code that was previously under [RESET_PID].
8648 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
8649 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
8650 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
8651 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
8652 include sysdep.h.
8653
21c83793
AM
86542014-09-08 Allan McRae <allan@archlinux.org>
8655
8656 * version.h (RELEASE): Set to "development".
8657 (VERSION): Set to "2.20.90"
8658
1cd9b65c
AM
86592014-09-07 Allan McRae <allan@archlinux.org
8660
b8079dd0
AM
8661 * version.h (RELEASE): Set to "stable".
8662 (VERSION): Set to "2.20"
8663 * include/features.h (__GLIBC_MINOR__): Set to 20.
8664
c46303ef
AM
8665 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
8666 Liebler.
8667
1cd9b65c
AM
8668 * po/ko.po: Update Korean translation from translation project.
8669
8622092d
CM
86702014-09-06 Chris Metcalf <cmetcalf@tilera.com>
8671
8672 [BZ #17354]
8673 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
8674 macro for handling signed relocations.
8675
41488498
FW
86762014-09-03 Florian Weimer <fweimer@redhat.com>
8677
8678 [BZ #17325]
8679 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
8680 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
8681 assert.
8682 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
8683 * iconvdata/ibm935.c (BODY): Likewise.
8684 * iconvdata/ibm937.c (BODY): Likewise.
8685 * iconvdata/ibm939.c (BODY): Likewise.
8686 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
8687 assert.
8688 * iconvdata/Makefile (iconv-test.out): Pass module list to test
8689 script.
8690 * iconvdata/run-iconv-test.sh: New test loop for checking for
8691 decoder crashers.
8692
a78b712d
KR
86932014-09-02 Khem Raj <raj.khem@gmail.com>
8694
8695 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
8696 libm_hidden_ver.
8697
cb08abc6
AM
86982014-09-01 Allan McRae <allan@archlinux.org>
8699
2c31e102
AM
8700 * po/eo.po: Update Esperanto translation from translation project.
8701
cb08abc6
AM
8702 * po/ca.po: Update Catalan translation from translation project.
8703
17a62de1
ST
87042014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8705
8706 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
8707 __proc_dostop call.
8708
9570bc53
MW
87092014-08-27 Mark Wielaard <mjw@redhat.com>
8710
8711 [BZ #17319]
8712 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
8713 to call set_thread_area instead of hand written asm.
8714 (__NR_set_thread_area): Removed define.
8715 (TLS_FLAG_WRITABLE): Likewise.
8716 (__ASSUME_SET_THREAD_AREA): Remove check.
8717 (TLS_EBX_ARG): Remove define.
8718 (TLS_LOAD_EBX): Likewise.
8719
b0f955c9
ST
87202014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
8721
8722 Simplify atomicity of socket creation in bind.
8723
8724 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
8725 looking up the name after linking the file.
8726
529bf515
AM
87272014-08-27 Allan McRae <allan@archlinux.org>
8728
8729 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8730
a1a6a401
FW
87312014-08-26 Florian Weimer <fweimer@redhat.com>
8732
8733 [BZ #17187]
8734 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
8735 trans_compare, open_translit, __gconv_translit_find):
8736 Remove module loading code.
8737
686ab290
AM
87382014-08-26 Allan McRae <allan@archlinux.org>
8739
e4e7cfd2
AM
8740 * po/vi.po: Update Vietnamese translation from translation project.
8741
6aa09f71
AM
8742 * po/uk.po: Update Ukrainian translation from translation project.
8743
edc0660e
AM
8744 * po/fr.po: Update French translation from translation project.
8745
7eea72ac
AM
8746 * po/ru.po: Update Russian translation from translation project.
8747
93c49eff
AM
8748 * po/pl.po: Update Polish translation from translation project.
8749
46acaf63
AM
8750 * po/cs.po: Update Czech translation from translation project.
8751
a9f5ce98
AM
8752 * po/de.po: Update German translation from translation project.
8753
373f2b78
AM
8754 * po/bg.po: Update Bulgarian translation from translation project.
8755
e7548bd8
AM
8756 * po/sv.po: Update Sweedish translation from translation project.
8757
c526bf4d
AM
8758 * po/nl.po: Update Dutch translation from translation project.
8759
686ab290
AM
8760 * po/es.po: Update Spanish translation from translation project.
8761
eb72478a
SP
87622014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8763
dd763fdb
SP
8764 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
8765
318c7a58
SP
8766 * catgets/Makefile (CPPFLAGS-gencat): Remove.
8767 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
8768 (CPPFLAGS-iconvconfig): Likewise.
8769 * timezone/Makefile (CPPFLAGS-zic): Likewise.
8770
eb72478a
SP
8771 * include/libc-symbols.h: Remove unnecessary check for
8772 NOT_IN_libc.
8773 * nptl/pthreadP.h: Likewise.
8774 * sysdeps/aarch64/setjmp.S: Likewise.
8775 * sysdeps/alpha/setjmp.S: Likewise.
8776 * sysdeps/arm/sysdep.h: Likewise.
8777 * sysdeps/i386/setjmp.S: Likewise.
8778 * sysdeps/m68k/setjmp.c: Likewise.
8779 * sysdeps/posix/getcwd.c: Likewise.
8780 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8781 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
8782 * sysdeps/s390/s390-32/setjmp.S: Likewise.
8783 * sysdeps/s390/s390-64/setjmp.S: Likewise.
8784 * sysdeps/sh/sh3/setjmp.S: Likewise.
8785 * sysdeps/sh/sh4/setjmp.S: Likewise.
8786 * sysdeps/unix/alpha/sysdep.h: Likewise.
8787 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
8788 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
8789 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
8790 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
8791 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
8792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
8794 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
8795 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
8796 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
8797 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
8798 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
8799 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
8800 * sysdeps/x86_64/setjmp.S: Likewise.
8801
d44a052c
JM
88022014-08-13 Joseph Myers <joseph@codesourcery.com>
8803
8804 [BZ #17263]
8805 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
8806 <stdint.h>.
8807 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
8808 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
8809
508ce3ac
SP
88102014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
8811
e44c8b0e
SP
8812 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
8813
508ce3ac
SP
8814 [BZ #17262]
8815 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
8816 and __x86_64__ when disabling x87 inline functions.
8817
b4acef1f
L
88182014-08-12 H.J. Lu <hongjiu.lu@intel.com>
8819
8820 [BZ #17259]
8821 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
8822 asm statement with __cpuid_count.
8823
61b1ef6e
MF
88242014-08-12 Mike Frysinger <vapier@gentoo.org>
8825
8826 * configure.ac: Change __ehdr_start code to dereference the struct.
8827 Run readelf on the output to look for relocations.
8828 * configure: Regenerated.
8829
898c62f4
JM
88302014-08-12 Joseph Myers <joseph@codesourcery.com>
8831
8832 [BZ #17261]
8833 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
8834 value to 0.
8835 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
8836
9a8a5720
RM
88372014-08-12 Roland McGrath <roland@hack.frob.com>
8838
8839 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
8840
4e75751c
BO
88412014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
8842
8843 [BZ #16892]
8844 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
8845 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
8846
bb2ce416
SA
88472014-08-12 Sean Anderson <seanga2@gmail.com>
8848
8849 * malloc/malloc.c: Fix typo in comment.
8850
7950a4ee
AM
88512014-08-09 Allan McRae <allan@archlinux.org>
8852
8853 * Regenerate libc.po.
8854
f469c49f
MF
88552014-08-08 Mike Frysinger <vapier@gentoo.org>
8856
8857 * intl/tst-gettext2.sh: Check every lang file for creation.
8858
656b84c2
WD
88592014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8860
8861 * sysdeps/aarch64/fpu/math_private.h
8862 (libc_feholdsetround_noex_aarch64_ctx): New function.
8863
538e9e45
W
88642014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
8865
8866 * sysdeps/arm/armv6/strcpy.S (strcpy):
8867 Fix performance issue in misaligned cases.
8868
d4795e4a
AZ
88692014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8870
8871 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
8872 Move definition from termios.h.
8873 (struct termio): Likewise.
8874 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8875 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8876 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8877 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8878 Likewise.
8879 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
8880 Move definition to ioctl-types.h
8881 (struct termio): Likewise.
8882 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
8883 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
8884 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
8885 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
8886 Likewise.
8887
64accb62
RH
88882014-08-05 Richard Henderson <rth@redhat.com>
8889
27bb6dc0
RH
8890 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
8891 exceptions.
8892 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
8893 Add fraiseexcpt.
8894 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
8895 Use __feraiseexcept.
8896 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
8897 Protect libm symbols with IS_IN_libm.
8898
64accb62
RH
8899 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
8900
e5292691
BO
89012014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
8902
8903 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
8904
5b4bd2d4
WN
89052014-08-04 Will Newton <will.newton@linaro.org>
8906
8907 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
8908 file.
8909
fcadaeef
MF
89102014-08-04 Mike Frysinger <vapier@gentoo.org>
8911
8912 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
8913 variants for each function.
8914
43a94c64
RM
89152014-08-04 Roland McGrath <roland@hack.frob.com>
8916
8917 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
8918 appended ...
8919 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
8920 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
8921 appended ...
8922 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
8923 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
8924 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
8925 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
8926 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
8927 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
8928 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
8929 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
8930 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
8931 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
8932 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
8933 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
8934 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
8935 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
8936 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
8937 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
8938 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
8939 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
8940 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
8941 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
8942 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
8943 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
8944 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
8945 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
8946 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
8947 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
8948 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
8949 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
8950 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
8951 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
8952 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
8953 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
8954 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
8955 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
8956 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
8957 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
8958 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
8959 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
8960 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
8961 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
8962 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
8963 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
8964 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
8965 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
8966 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
8967 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
8968 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
8969 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
8970 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
8971 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
8972 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
8973 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
8974 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
8975 Update #include.
8976 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
8977 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
8978
8f3c1fa4
RM
89792014-08-04 Roland McGrath <roland@hack.frob.com>
8980
8981 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
8982 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
8983 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
8984 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
8985 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
8986 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
8987
ca08746f
RM
89882014-08-04 Roland McGrath <roland@hack.frob.com>
8989
8990 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
8991 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
8992 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8993 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
8994
9c925ff9
RM
89952014-08-04 Roland McGrath <roland@hack.frob.com>
8996
8997 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
8998 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
8999 (__libc_vfork): Define function under this name.
9000 (__vfork): Define as an alias.
9001 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
9002 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
9003
e641054c
RM
90042014-08-04 Roland McGrath <roland@hack.frob.com>
9005
9006 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
9007 that was previously under [RESET_PID].
9008 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
9009
dacdc867
AS
90102014-08-04 Andreas Schwab <schwab@suse.de>
9011
9012 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
9013
41f725ff
MF
90142014-08-03 Mike Frysinger <vapier@gentoo.org>
9015
9016 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
9017 (main): Likewise.
9018
277cfb31
RM
90192014-08-01 Roland McGrath <roland@hack.frob.com>
9020
9021 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
9022
4896f049
RH
90232014-08-01 Richard Henderon <rth@redhat.com>
9024
9025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
9026 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
9027 typo in exact zero test.
9028 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
9029 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
9030 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
9031
6f64e7d7
RM
90322014-08-01 Roland McGrath <roland@hack.frob.com>
9033
9034 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
9035 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
9036 * sysdeps/arm/sysdep.h: ... here.
9037 [!__ASSEMBLER__]: Include <stdint.h>.
9038
3f3dd810
SP
90392014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9040
a476ac4b
SP
9041 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
9042 (HAVE_WCTYPE_H): Likewise.
9043 (HAVE_ISWCTYPE): Likewise.
9044 (ENABLE_NLS): Likewise.
9045 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
9046 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
9047
78dd658a
SP
9048 * posix/regex_internal.c: Check if DEBUG is defined and is
9049 set.
9050
3f3dd810
SP
9051 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
9052 (HAVE_MBSRTOWCS): Likewise.
9053 * posix/fnmatch.c: Include string.h unconditionally.
9054
95ee7fb1
SL
90552014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
9056
9057 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
9058 reversal.
9059
23fe486b
RM
90602014-07-31 Roland McGrath <roland@hack.frob.com>
9061
f61a113f
RM
9062 * sysdeps/generic/safe-fatal.h: New file.
9063 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
9064 * nptl/forward.c: Include it.
9065 (__pthread_unwind): Use __safe_fatal as default action, rather
9066 than a bogus use of INTERNAL_SYSCALL that could never work.
9067
9fe7e787
RM
9068 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
9069 * configure.ac (libc_cv_builtin_trap): New test.
9070 * configure: Regenerated.
9071 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
9072 (ABORT_INSTRUCTION): Define using __builtin_trap.
9073
23fe486b
RM
9074 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
9075 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
9076 * sysdeps/nptl/nptl-signals.h: New file.
9077 * nptl/pthreadP.h: Include <nptl-signals.h>.
9078
f349489e
SL
90792014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9080
9081 * sysdeps/s390/s390-64/utf16-utf32-z9.c
9082 (ONE_DIRECTION): Define.
9083 * sysdeps/s390/s390-64/utf8-utf16-z9.c
9084 (ONE_DIRECTION): Define.
9085 * sysdeps/s390/s390-64/utf8-utf32-z9.c
9086 (ONE_DIRECTION): Define.
9087
2f438e20
SL
90882014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
9089
9090 * sysdeps/s390/Makefile: Delete file.
9091 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
9092 * sysdeps/s390/__longjmp.c: Delete file.
9093 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
9094 Remove fields __flags and __reserved.
9095 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
9096 and add versioning.
9097 * sysdeps/s390/rtld-__longjmp.c: Delete file.
9098 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
9099 * sysdeps/s390/rtld-setjmp.S: Likewise.
9100 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
9101 * sysdeps/s390/s390-32/__longjmp.c: ... here.
9102 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
9103 * sysdeps/s390/s390-32/setjmp.S: ... here.
9104 Add versioning.
9105 (__sigsetjmp): Remove setting __flags field.
9106 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
9107 * sysdeps/s390/s390-64/__longjmp.c: ... here.
9108 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
9109 * sysdeps/s390/s390-64/setjmp.S: ... here.
9110 Add versioning.
9111 (__sigsetjmp): Remove setting __flags field.
9112 * sysdeps/s390/setjmp.S: Delete file.
9113 * sysdeps/s390/sigjmp.c: Likewise.
9114 * sysdeps/s390/v1-longjmp.c: Likewise.
9115 * sysdeps/s390/v1-setjmp.h: Likewise.
9116 * sysdeps/s390/v1-sigjmp.c: Likewise.
9117 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
9118 Remove v1-longjmp_chk.
9119 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
9120 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
9121 Include debug/longjmp_chk.c and add versioning.
9122 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
9123 Include nptl/pt-longjmp.c and add versioning.
9124 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
9125 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
9126 Include __longjmp.c.
9127 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
9128 Move to ...
9129 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
9130 (__getcontext): Remove setting __flags field.
9131 Add versioning.
9132 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9133 Don't restore upper high grps.
9134 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
9135 Likewise.
9136 (__swapcontext): Remove setting uc_flags field.
9137 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
9138 Delete file.
9139 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
9140 Include __longjmp.c.
9141 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
9142 Move to ...
9143 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
9144 (__getcontext): Remove setting __flags field.
9145 Add versioning.
9146 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
9147 (__swapcontext): Remove setting uc_flags field.
9148 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
9149 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
9150 Remove fields uc_high_gprs and __reserved.
9151 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
9152 New file with reverted content.
9153 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
9154 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
9155 Regenerated.
9156 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
9157 Regenerated.
9158
6c9578a2
AS
91592014-07-31 Andreas Schwab <schwab@suse.de>
9160
9161 * config.h.in (HAVE_IFUNC): Define to 0.
9162 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
9163 definedness.
9164
05f3633d
LM
91652014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
9166
9167 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9168 memmove-avx-unaligned, memcpy-avx-unaligned and
9169 mempcpy-avx-unaligned.
9170 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9171 Add tests for AVX memcpy functions.
9172 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
9173 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
9174 memcpy_chk.
9175 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
9176 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
9177 memmove_chk.
9178 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
9179 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
9180 mempcpy_chk.
9181 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
9182 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
9183 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
9184
a53fbd8e
AZ
91852013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9186
9187 [BZ #17213]
9188 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
9189 powerpc64le.
9190
0961f7e1
JL
91912014-07-29 Jeff Layton <jlayton@poochiereds.net>
9192
9193 [BZ #16839]
9194 * manual/llio.texi: Add section about open file description locks.
9195 * manual/examples/ofdlocks.c: Example of open file description
9196 lock usage.
9197 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
9198 F_OFD_SETLK, and F_OFD_SETLKW.
9199
cc5fb300
AM
92002014-07-23 Allan McRae <allan@archlinux.org>
9201
9202 * po/es.po: Update Spanish translation from translation project.
9203
23329dca
AS
92042014-07-18 Andreas Schwab <schwab@linux-m68k.org>
9205
9206 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
9207
9c82da17
MR
92082014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
9209
9210 [BZ #17078]
9211 * sysdeps/arm/dl-machine.h (elf_machine_rela)
9212 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
9213 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
9214
29c4f53e
JM
92152014-07-17 Joseph Myers <joseph@codesourcery.com>
9216
831b9896
JM
9217 [BZ #17088]
9218 * math/fesetenv.c (__fesetenv)
9219 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
9220 * math/feupdateenv.c (__feupdateenv)
9221 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
9222
b21c2d50
JM
9223 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
9224 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
9225 (__ASSUME_SOCKETCALL): Do not define.
9226
067764ef
JM
9227 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
9228 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
9229 (__ASSUME_SOCKETCALL): Do not define.
9230 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
9231 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9232 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9233 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
9234 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9235 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
9236 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9237 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9238
642530c1
JM
9239 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
9240 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
9241 (__ASSUME_SOCKETCALL): Do not define.
9242 (__ASSUME_IPC64): Define unconditionally.
9243 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9244 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9245 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
9246 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9247 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
9248 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9249 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
9250 Likewise.
9251
03f77315
JM
9252 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
9253 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
9254 (__ASSUME_SOCKETCALL): Do not define.
9255 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
9256 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9257 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9258 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
9259 (__ASSUME_REQUEUE_PI): Define unconditionally.
9260 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
9261 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
9262 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9263 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
9264 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9265 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9266
083b1f7c
JM
9267 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
9268 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
9269 (__ASSUME_SOCKETCALL): Do not define.
9270 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
9271 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9272 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9273 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
9274 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9275 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
9276
5be44ea6
JM
9277 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
9278 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
9279 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
9280 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
9281 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
9282 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
9283 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
9284 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
9285 (__ASSUME_GETCPU_SYSCALL): Likewise.
9286
d95ffd4c
JM
9287 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
9288 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
9289 cases for individual architectures.
9290 * sysdeps/gnu/configure: Regenerated.
9291 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
9292 LIBC_SLIBDIR_RTLDDIR.
9293 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
9294 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
9295 LIBC_SLIBDIR_RTLDDIR.
9296 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
9297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
9298 LIBC_SLIBDIR_RTLDDIR.
9299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
9300 Regenerated.
9301 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
9302 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
9303 file.
9304 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
9305 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
9306 file.
9307 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
9308 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
9309 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
9310 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
9311
29c4f53e
JM
9312 * sysdeps/aarch64/shlib-versions: Move to ...
9313 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
9314 * sysdeps/alpha/shlib-versions: Move to ...
9315 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
9316 * sysdeps/arm/shlib-versions: Move to ...
9317 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
9318 * sysdeps/hppa/shlib-versions: Move all contents except for
9319 libgcc_s entry to ...
9320 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
9321 entry from ...
9322 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
9323 * sysdeps/ia64/shlib-versions: Move to ...
9324 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
9325 entry from ...
9326 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
9327 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
9328 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
9329 * sysdeps/microblaze/shlib-versions: Move to ...
9330 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
9331 * sysdeps/mips/shlib-versions: Move to ...
9332 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
9333 entry from ...
9334 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
9335 * sysdeps/tile/shlib-versions: Move to ...
9336 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
9337 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
9338 from ...
9339 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
9340 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
9341 entry from ...
9342 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
9343
32bead5b
WN
93442014-07-17 Will Newton <will.newton@linaro.org>
9345
57977c4b
WN
9346 * sysdeps/arm/bits/atomic.h
9347 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
9348 (__arch_compare_and_exchange_bool_16_int): Likewise.
9349 (__arch_compare_and_exchange_bool_64_int): Likewise.
9350
32bead5b
WN
9351 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
9352 into an #else block.
9353
37fccd41
RM
93542014-07-16 Roland McGrath <roland@hack.frob.com>
9355
9356 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
9357 just Linux configurations. Test empirically that the compiler sets
9358 __ARM_EABI__, rather than using the tuple to decide.
9359 * sysdeps/arm/preconfigure: Regenerated.
9360 * sysdeps/unix/sysv/linux/arm/configure: File removed.
9361 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
9362 contents appended ...
9363 * sysdeps/arm/configure.ac: ... here.
9364 * sysdeps/arm/configure: Regenerated.
9365
b365f3ec
RM
93662014-07-15 Roland McGrath <roland@hack.frob.com>
9367
8badf496
RM
9368 * nptl/pthread_kill.c: New file.
9369 * nptl/pthread_sigmask.c: New file.
9370 * nptl/pthread_sigqueue.c: New file.
9371
3df6f22e
RM
9372 * sysdeps/nptl/lowlevellock.h: New file.
9373 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
9374 * sysdeps/nptl/lowlevellock-futex.h: New file.
9375
b365f3ec
RM
9376 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
9377 Remove dead declarations.
9378
f2fef657
L
93792014-07-14 H.J. Lu <hongjiu.lu@intel.com>
9380
9381 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
9382 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
9383 config-cflags-avx2.
9384 * sysdeps/x86_64/configure.ac: Likewise.
9385 * sysdeps/i386/configure: Regenerated.
9386 * sysdeps/x86_64/configure: Likewise.
9387 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
9388 memset-avx2 only if config-cflags-avx2 is yes.
9389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9390 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
9391 defined.
9392 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
9393 only if HAVE_AVX2_SUPPORT is defined.
9394 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9395
f6c44d47
AM
93962014-07-14 Alan Modra <amodra@gmail.com>
9397
9398 [BZ #17153]
9399 * elf/elf.h (DT_PPC64_NUM): Correct value.
9400 * NEWS: Add to fixed bug list.
9401
7ee03f00
JM
94022014-07-13 Jim Meyering <meyering@fb.com>
9403
9404 [BZ 17150]
9405 regex: don't deref NULL upon heap allocation failure
9406 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
9407 failure in one more place.
9408 To trigger the segfault, configure grep -with-included-regex,
9409 build it, and run these commands:
9410 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
9411
9d39d517
AS
94122014-07-13 Andreas Schwab <schwab@linux-m68k.org>
9413
9414 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
9415
a75b89b7
RH
94162014-07-11 Richard Henderson <rth@redhat.com>
9417
9418 * sysdeps/aarch64/libm-test-ulps: Update.
9419
771eb141
FW
94202014-07-10 Florian Weimer <fweimer@redhat.com>
9421
9422 [BZ #17135]
9423 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
9424 * nptl/allocatestack.c (__nptl_setxid_error): New function.
9425 (__nptl_setxid): Initialize error member. Call
9426 __nptl_setxid_error.
9427 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
9428 * nptl/descr.h (struct xid_command): Add error member.
9429 * nptl/tst-setuid3.c: New file.
9430 * nptl/Makefile (tests): Add it.
9431
bc1da176
AZ
94322014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9433
9434 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
9435 New define.
9436 (__lll_trylock): Use __lll_base_trylock.
9437 (__lll_cond_trylock): Likewise.
9438
887865fc
RM
94392014-07-10 Roland McGrath <roland@hack.frob.com>
9440
c0c6bac9
RM
9441 * nptl/pthread_create.c (start_thread): Use atomic_or and
9442 lll_futex_wake directly rather than lll_robust_dead.
9443 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9444 (lll_robust_dead): Macro removed.
6a42be57 9445 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
9446 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9447 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9448 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9449 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9450 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9451 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9452 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9453 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9454 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9455 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9456 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9457 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9458 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9459 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9460
887865fc
RM
9461 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
9462 Use atomic_compare_and_exchange_val_acq directly rather than
9463 lll_robust_trylock.
9464 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
9465 (__lll_robust_trylock, lll_robust_trylock): Removed.
9466 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
9467 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
9468 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
9469 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
9470 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
9471 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
9472 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
9473 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
9474 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
9475 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
9476 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
9477 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
9478 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
9479 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
9480
58536726
FW
94812014-07-02 Florian Weimer <fweimer@redhat.com>
9482
9483 * manual/locale.texi (Locale Names): New section documenting
9484 locale name syntax. Adjust menu and node chaining accordingly.
9485 (Choosing Locale): Reference Locale Names, Locale Categories.
9486 Mention setting LC_ALL=C. Reflect that name syntax is now
9487 documented.
9488 (Locale Categories): New section title. Reference Locale Names.
9489 LC_ALL is an environment variable, but not a category.
9490 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
9491 description, now in Locale Name. Reference that section. Locale
9492 name syntax is now documented.
9493
4e8f95a0
FW
94942014-07-02 Florian Weimer <fweimer@redhat.com>
9495
9496 [BZ #17137]
9497 * locale/findlocale.c (name_present, valid_locale_name): New
9498 functions.
9499 (_nl_find_locale): Use the loc_name variable to store name
9500 candidates. Call name_present and valid_locale_name to check and
9501 validate locale names. Return an error if the locale is invalid.
9502
d1836456
FW
95032014-07-02 Florian Weimer <fweimer@redhat.com>
9504
9505 * locale/setlocale.c (setlocale): Use strdup for allocating
9506 composite name copy.
9507
d69b7f5a
SP
95082014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
9509
888c679b
SP
9510 Sync up with gnulib.
9511 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
9512 [!_LIBC && ENABLE_NLS]: Include gettext.h.
9513 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
9514 and _GL_ARG_NONNULL.
9515 [USE_UNLOCKED_IO]: Include unlocked-io.h.
9516 [!_LIBC]: Include code for Windows and Cygwin.
9517 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
9518 Include prototype for int strerror_r.
9519 [!_LIBC] (is_open): New function.
9520 (flush_stdout): New function.
9521 (print_errno_message): Use it.
9522 (error): Likewise.
9523 (error_at_line): Likewise.
9524 (error_tail) Add function attribute macros. Use
9525 __builtin_expect.
9526
180e0e4b
SP
9527 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
9528
d22f1fe2
SP
9529 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
9530
12f2254b
SP
9531 * io/ftw.c: Include sys/param.h unconditionally.
9532
c3c7c360
SP
9533 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
9534
d62aa75a
SP
9535 [BZ #17125]
9536 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
9537 libc_freeres_ptr.
9538 (freecache): New function to free CACHE on exit.
9539
d69b7f5a
SP
9540 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
9541 initialization.
9542
5efe06a1
DM
95432014-07-09 David S. Miller <davem@davemloft.net>
9544
9545 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9546
7000d82e
DM
9547 * sysdeps/sparc/nptl/internaltypes.h: Delete.
9548 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
9549 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
9550 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
9551 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
9552 * sysdeps/sparc/nptl/sem_init.c: Likewise.
9553 * sysdeps/sparc/nptl/sem_post.c: Likewise.
9554 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
9555 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
9556 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
9557 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
9558 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
9559 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
9560
c213442d
AS
95612014-07-09 Andreas Schwab <schwab@suse.de>
9562
4a2552c3
AS
9563 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
9564 output.
9565 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
9566 (do_test): Likewise.
9567
c213442d
AS
9568 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
9569
82374e65
WN
95702014-07-09 Will Newton <will.newton@linaro.org>
9571
9572 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
9573 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
9574 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
9575 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
9576 * sysdeps/hppa/start.S (_start): Likewise.
9577
6680738a
SP
95782014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
9579
6ee3eab4
SP
9580 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
9581
6680738a
SP
9582 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
9583 defined.
9584
80b5c505
SP
95852014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9586
e35c53e3
SP
9587 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
9588 after checking that it is non-NULL.
9589
80b5c505
SP
9590 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
9591
91f4b564
AZ
95922014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9593
27b75f56
AZ
9594 * sysdeps/powerpc/memmove.c: Remove file.
9595 * sysdeps/powerpc/powerpc32/power4/memcopy.h
9596 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
9597 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
9598 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
9599 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
9600 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
9601 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
9602 string memmove instead of removed powerpc one.
9603
e7f95bb5
AZ
9604 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
9605 [weak_alias]: Fix compiler warning due trailing data.
9606 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
9607 [weak_alias]: Likewise.
9608 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
9609 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
9610
91f4b564
AZ
9611 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
9612 (__libc_ifunc_impl_list): Add memmove functions.
9613
7c33f1e5
SP
96142014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9615
9616 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
9617 Remove code.
9618 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
9619 Likewise
9620 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
9621 Likewise
9622 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
9623 Likewise
9624 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
9625 Likewise
9626 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
9627 Likewise
9628 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
9629 Likewise
9630 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
9631 Likewise
9632 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
9633 Likewise
9634 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
9635 Likewise
9636 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
9637 Likewise
9638 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
9639 Likewise
9640 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
9641 Likewise
9642 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
9643 Likewise
9644 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
9645 Likewise
9646 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
9647 Likewise
9648 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
9649 Likewise
9650
3f17b03b
AZ
96512014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9652
87868c24
AZ
9653 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
9654 to avoid alignment traps in non-cacheable memory.
9655 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9656
07aedd78
AZ
9657 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
9658 multiarch objects.
9659 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
9660 file: multiarch power7 memmove.
9661 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
9662 multiarch default memmove.
9663 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
9664 multiarch memove for powerpc32/power4.
9665
17762f66
AZ
9666 * string/bcopy.c: Use full path to include memmove.c.
9667 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
9668 multiarch objects.
9669 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
9670 bcopy for powerpc64.
9671 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
9672 bcopy for powerpc64.
9673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
9674 and memmove implementations.
9675 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
9676 optimized multiarch memmove for POWER7/powerpc64.
9677 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
9678 default multiarch memmove for powerpc64.
9679 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
9680 multiarch for powerpc64.
9681 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
9682 for POWER7/powerpc64.
9683 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
9684 memmove for POWER7/powerpc64.
9685
d6f68bbe
AZ
9686 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
9687 glibc default one.
9688
3f17b03b
AZ
9689 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
9690 __ELF_NATIVE_CLASS equal to 64.
9691
08192659
RM
96922014-07-07 Roland McGrath <roland@hack.frob.com>
9693
f4c4021b
RM
9694 * sysdeps/nptl/lowlevellock.h: File removed.
9695
f083450f
RM
9696 * NEWS: NPTL is no longer an add-on!
9697 * nptl/internaltypes.h: Moved ...
9698 * sysdeps/nptl/internaltypes.h: ... here.
9699 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
9700 * sysdeps/nptl/fork.c: Likewise.
9701 * sysdeps/nptl/gai_misc.h: Likewise.
9702 * sysdeps/nptl/librt-cancellation.c: Likewise.
9703 * sysdeps/nptl/jmp-unwind.c: Likewise.
9704 * sysdeps/nptl/setxid.h: Likewise.
9705 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
9706 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
9707 * sysdeps/unix/sysv/linux/arm/Implies: New file.
9708 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
9709 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
9710 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
9711 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
9712 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
9713 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
9714 * sysdeps/unix/sysv/linux/mips/Implies: New file.
9715 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
9716 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
9717 * sysdeps/unix/sysv/linux/sh/Implies: New file.
9718 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
9719 * sysdeps/unix/sysv/linux/tile/Implies: New file.
9720 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
9721 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
9722 * nptl/Makeconfig: Moved ...
9723 * sysdeps/nptl/Makeconfig: ... here.
9724 * nptl/configure: File removed.
9725 * nptl/ANNOUNCE: File removed.
9726 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
9727 * sysdeps/unix/sysv/linux/configure: Regenerated.
9728
08192659
RM
9729 * nptl/Makefile (routines): Add libc_pthread_init,
9730 libc_multiple_threads, register-atfork and unregister-atfork.
9731 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
9732 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
9733 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
9734 pthread-pi-defines.sym, structsem.sym.
9735 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
9736 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
9737 [$(subdir) = nptl] (tests): Add tst-setgetname.
9738 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
9739 * sysdeps/unix/sysv/linux/sigaction.c: Just include
9740 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
9741 [!LIBC_SIGACTION]: Remove aliases.
9742 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9743 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9744 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9745 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
9746 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9747 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
9748 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
9749 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
9750 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9751 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
9752 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
9753 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
9754 __libc_allocate_rtsig_private.
9755 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
9756 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
9757 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
9758 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
9759 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
9760 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
9761 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
9762 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
9763 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
9764 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
9765 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
9766 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
9767 * nptl/internaltypes.h: ... here.
9768 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
9769 * sysdeps/nptl/jmp-unwind.c: ... here.
9770 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
9771 * nptl/libc-lowlevellock.c: ... here.
9772 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
9773 * nptl/libc_multiple_threads.c: ... here.
9774 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
9775 * nptl/libc_pthread_init.c: ... here.
9776 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
9777 * nptl/lowlevelbarrier.sym: ... here.
9778 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
9779 * nptl/lowlevelcond.sym: ... here.
9780 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
9781 * nptl/lowlevellock.c: ... here.
9782 * nptl/lowlevellock.h: Moved ...
9783 * sysdeps/nptl/lowlevellock.h: ... here.
9784 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
9785 * nptl/lowlevelrobustlock.c: ... here.
9786 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
9787 * nptl/lowlevelrobustlock.sym: ... here.
9788 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
9789 * nptl/lowlevelrwlock.sym: ... here.
9790 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
9791 * nptl/pt-fork.c: ... here.
9792 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
9793 * nptl/pthread-pi-defines.sym: ... here.
9794 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
9795 * nptl/pthread_attr_getaffinity.c: ... here.
9796 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
9797 * nptl/pthread_attr_setaffinity.c: ... here.
9798 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
9799 * nptl/pthread_mutex_cond_lock.c: ... here.
9800 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
9801 Update #include.
9802 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
9803 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
9804 * nptl/pthread_once.c: ... here, replacing old file.
9805 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
9806 * nptl/pthread_yield.c: ... here.
9807 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
9808 * nptl/register-atfork.c: ... here.
9809 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
9810 * nptl/sem_post.c: ... here.
9811 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
9812 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
9813 * nptl/sem_timedwait.c: ... here.
9814 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
9815 * nptl/sem_trywait.c: ... here.
9816 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
9817 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
9818 * nptl/sem_wait.c: ... here.
9819 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
9820 * nptl/structsem.sym: ... here.
9821 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
9822 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
9823 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
9824 * nptl/unregister-atfork.c: ... here.
9825 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
9826 * nptl/unwindbuf.sym: ... here.
9827 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
9828 * sysdeps/nptl/fork.c: ... here.
9829 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
9830 * sysdeps/nptl/fork.h: ... here.
9831 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
9832 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
9833 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
9834 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
9835 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
9836 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
9837 * sysdeps/unix/sysv/linux/getpid.c: ... here.
9838 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
9839 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
9840 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
9841 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
9842 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
9843 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
9844 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
9845 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
9846 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
9847 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
9848 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
9849 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
9850 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
9851 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
9852 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
9853 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
9854 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
9855 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
9856 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
9857 * sysdeps/unix/sysv/linux/raise.c: ... here.
9858 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
9859 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
9860 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
9861 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
9862 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
9863 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
9864 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
9865 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
9866 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
9867 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
9868 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
9869 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
9870 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
9871 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
9872 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
9873
96baf6ff
SP
98742014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9875
9876 * sysdeps/generic/memcopy.h: Add comment for
9877 MEMCPY_OK_FOR_FWD_MEMMOVE.
9878
6b7b14b2
WN
98792014-07-04 Will Newton <will.newton@linaro.org>
9880
1570a72b
WN
9881 * string/memchr.c: Merge from gnulib.
9882 [_LIBC]: Remove conditionals.
9883 (__ptr_t): Remove define.
9884 (LONG_MAX_32_BITS): Likewise.
9885 (LONG_MAX): Likewise.
9886 (MEMCHR): Use ANSI prototype and optimize algorithm.
9887
6b7b14b2
WN
9888 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
9889
38851324
SP
98902014-07-03 Roland McGrath <roland@hack.frob.com>
9891
3d9eb57c
RM
9892 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
9893 (lll_futex_timed_wait_bitset): Fix syscall argument count.
9894
78b984ae
RM
9895 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
9896 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
9897 in a bare environment with no <stdlib.h> installed.
9898 * sysdeps/nptl/configure: Regenerated.
9899
2d5976a5
RM
9900 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
9901
c1f5acd4
RM
9902 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
9903 AC_EGREP_CPP for kernel header checks, so they only succeed if
9904 including <linux/version.h> actually works right.
9905 * sysdeps/unix/sysv/linux/configure: Regenerated.
9906
4d614fe5
RM
9907 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
9908 value so it's not diagnosed as unused.
9909
38851324
SP
9910 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
9911 thing) with "ifeq ($(subdir),rt)".
9912
b3ec00e5
RH
99132014-07-03 Richard Henderson <rth@redhat.com>
9914
69862e25
RH
9915 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
9916 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
9917 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
9918
d5e16ade
RH
9919 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
9920 (math_force_eval): New.
9921
ca7b945c
RH
9922 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
9923 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
9924
cd1175a3
RH
9925 * sysdeps/alpha/fpu/s_round.c: Remove file.
9926 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
9927
b3ec00e5
RH
9928 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
9929 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
9930 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
9931 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
9932 (_dl_start, print_statistics): Likewise.
9933 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
9934 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
9935
9936 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9937 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9938 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9939 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9940 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9941 (HP_SMALL_TIMING_AVAIL): Define.
9942 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9943 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9944 (HP_SMALL_TIMING_AVAIL): Define.
9945 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9946 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
9947
9948 * sysdeps/aarch64/hp-timing.h: New file.
9949
9950 * sysdeps/generic/hp-timing.h: Remove dead comment.
9951 * sysdeps/generic/hp-timing-common.h: New file.
9952 * sysdeps/alpha/hp-timing.h: Include it.
9953 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
9954 * sysdeps/i386/i686/hp-timing.h: Likewise.
9955 * sysdeps/ia64/hp-timing.h: Likewise.
9956 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
9957 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
9958 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
9959 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
9960 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
9961 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
9962 (hp_timing_t): New.
9963
9964 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
9965 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
9966 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
9967 * elf/rtld.c (_dl_start_final): Likewise.
9968 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
9969 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9970 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9971 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9972 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9973 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9974 (HP_TIMING_DIFF_INIT): Remove.
9975 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9976 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
9977 (HP_TIMING_DIFF_INIT): Remove.
9978 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
9979 * sysdeps/i386/i686/hp-timing.c: Remove file.
9980 * sysdeps/x86_64/hp-timing.c: Remove file.
9981 * sysdeps/ia64/hp-timing.c: Remove file.
9982 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
9983 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
9984 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
9985 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
9986
9987 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
9988 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
9989 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
9990 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9991 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
9992 (HP_TIMING_ACCUM): Remove.
9993 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9994 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
9995 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
9996
9997 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
9998 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
9999 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
10000 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
10001 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
10002 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10003 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
10004 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
10005
10006 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
10007
225f410f
MR
100082014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
10009
10010 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
10011
3247f285
SP
100122014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10013
10014 Sync up with gettext.
10015 * intl/loadmsgcat.c: Define O_BINARY if not defined.
10016 [_MSC_VER]: Include malloc.h
10017 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
10018 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
10019 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
10020 TEMP_FAILURE_RETRY. Cast return of alloca.
10021 [!_LIBC] Call gl_rwlock_init.
10022 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
10023
d12704c7
SP
100242014-07-02 Roland McGrath <roland@hack.frob.com>
10025
10026 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
10027 before checking its value.
10028
99f8dc92
SP
100292014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10030
05fdac77
SP
10031 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
10032
99f8dc92
SP
10033 * debug/memcpy_chk.c: Don't include pagecopy.h.
10034 * debug/mempcpy_chk.c: Likewise.
10035 * string/memcpy.c: Likewise.
10036 * string/memmove.c: Likewise.
10037 * sysdeps/powerpc/memmove.c: Likewise.
10038 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
10039 definition of PAGE_COPY_FWD_MAYBE here...
10040 * sysdeps/generic/pagecopy.h: ... from here.
10041 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
10042
bc8ea385
VR
100432014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10044 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10045
10046 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
10047 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
10048 optimizations.
10049 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10050 (__libc_ifunc_impl_list): Likewise.
10051 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
10052 multiarch strcat for PPC64.
10053 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
10054 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
10055
fe5f34e4
RM
100562014-07-02 Roland McGrath <roland@hack.frob.com>
10057
10058 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
10059
256aa665
SP
100602014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10061
d4eb8195
SP
10062 * intl/loadmsgcat.c: Remove declaration of
10063 get_sysdep_segment_value.
10064 (get_sysdep_segment_value): Use ISO C style.
10065 (_nl_load_domain): Use ISO C style. Get rid of redundant
10066 semicolon. Fix typo and formatting in comment.
10067 (_nl_unload_domain): Use ISO C style.
10068
256aa665
SP
10069 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
10070
b100f9aa
WN
100712014-07-02 Will Newton <will.newton@linaro.org>
10072
10073 * malloc/obstack.c: Merge from gnulib master.
10074 [HAVE_CONFIG_H]: Remove conditional code.
10075 [!_LIBC]: Include config.h.
10076 [!ELIDE_CODE]: Don't include inttypes.h, include
10077 stdint.h unconditionally.
10078 (print_and_abort): Mark as _Noreturn.
10079 (_obstack_allocated_p): Mark as __attribute_pure__.
10080 (obstack_free): Rename to __obstack_free.
10081 [!__attribute__]: Remove conditional code.
10082 * malloc/obstack.h: Merge from gnulib master.
10083 [__cplusplus]: Move conditional down.
10084 [!__attribute_pure__]: Define __attribute_pure__ here
10085 if it is not already defined.
10086 (_obstack_memory_used): Mark as __attribute_pure__.
10087 [!__obstack_free]: Define as obstack_free.
10088 [__GNUC__]: Remove check for ancient NeXT gcc.
10089
c4c41244
PE
100902014-07-02 Will Newton <will.newton@linaro.org>
10091 Paul Eggert <eggert@cs.ucla.edu>
10092
10093 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
10094
e1e041c4
SP
100952014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
10096
10097 * resolv/gethnamaddr.c: Add comment warning that the file is
10098 not maintained.
10099
ccf431ff
CD
101002014-07-01 Carlos O'Donell <carlos@redhat.com>
10101
d34570a6
CD
10102 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
10103 entries.
10104
ccf431ff
CD
10105 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
10106 entry for aio_cancel and aio_cancel64.
10107 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
10108 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
10109 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
10110 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
10111 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
10112 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
10113 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
10114 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
10115 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
10116 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
10117 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
10118 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
10119 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
10120
ca06321d
RM
101212014-07-01 Roland McGrath <roland@hack.frob.com>
10122
10123 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
10124 * nptl/pthread_mutex_lock.c: Likewise.
10125 * nptl/pthread_mutex_timedlock.c: Likewise.
10126 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
10127
a1ac3184
RH
101282014-07-01 Richard henderson <rth@redhat.com>
10129
631021e0
RH
10130 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
10131 (__isnan, __isnanl): Remove.
10132 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
10133
a1ac3184
RH
10134 * sysdeps/alpha/fpu/libm-test-ulps: Update.
10135
0c1d731f
SL
101362014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
10137
10138 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10139
76985d3e
SP
101402014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
10141
10142 * resolv/nss_dns/dns-host.c (getanswer_r)
10143 [MULTI_PTRS_ARE_ALIASES]: Remove code.
10144
b0cb3096
JM
101452014-07-01 Joseph Myers <joseph@codesourcery.com>
10146
10147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10148 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
10149 undefine.
10150 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
10151 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
10152
4d76cb39
RM
101532014-07-01 Roland McGrath <roland@hack.frob.com>
10154
10155 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
10156 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
10157
10158 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
10159 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
10160
10161 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
10162 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
10163 ... here.
10164 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
10165 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
10166
10167 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
10168 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
10169 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
10170 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
10171
10172 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
10173 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
10174 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
10175 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
10176 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
10177 Moved ...
10178 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
10179 ... here.
10180 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
10181 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
10182 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
10183 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
10184 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
10185 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
10186 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
10187 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
10188 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
10189 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
10190 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
10191 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
10192 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
10193 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
10194 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
10195 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
10196 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
10197 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
10198 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
10199 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
10200 ... here.
10201 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
10202 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
10203 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
10204 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
10205 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
10206 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
10207 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
10208 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
10209
0cdcad17
DH
102102014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
10211
10212 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
10213 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
10214 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
10215 Add sysdep.
10216
9b71d0e3
AZ
102172014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10218
10219 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10220
665390c2
JM
102212014-06-30 Joseph Myers <joseph@codesourcery.com>
10222
ae05a9d7
JM
10223 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
10224 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
10225
a7672a2f
JM
10226 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
10227
665390c2
JM
10228 * sysdeps/arm/libm-test-ulps: Regenerated.
10229
d7a05d07
MR
102302014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10231 Roland McGrath <roland@hack.frob.com>
10232
10233 * test-skeleton.c (signal_handler): Kill the whole process group
10234 before killing the child individually.
10235 (main): Report any failure on `setpgid'.
10236
46f1d8a6
RM
102372014-06-30 Roland McGrath <roland@hack.frob.com>
10238
10239 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
10240 from _TLS_H to _ARM_NPTL_TLS_H.
10241 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
10242 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
10243
9c37ec0b
JM
102442014-06-30 Joseph Myers <joseph@codesourcery.com>
10245
ce9c5b3e
JM
10246 [BZ #16539]
10247 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
10248 (__expm1l): Return argument unchanged when small but not
10249 subnormal.
10250
3a6e9887
JM
10251 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
10252 include macro name.
10253 (_FP_UNPACK_RAW_1_P): Likewise.
10254 (_FP_PACK_RAW_1): Likewise.
10255 (_FP_PACK_RAW_1_P): Likewise.
10256 (_FP_MUL_MEAT_1_wide): Likewise.
10257 (_FP_MUL_MEAT_DW_1_hard): Likewise.
10258 (_FP_MUL_MEAT_1_hard): Likewise.
10259 (_FP_DIV_MEAT_1_imm): Likewise.
10260 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
10261 (_FP_DIV_MEAT_1_udiv): Likewise.
10262 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
10263 (_FP_UNPACK_RAW_2): Likewise.
10264 (_FP_UNPACK_RAW_2_P): Likewise.
10265 (_FP_PACK_RAW_2): Likewise.
10266 (_FP_PACK_RAW_2_P): Likewise.
10267 (_FP_MUL_MEAT_DW_2_wide): Likewise.
10268 (_FP_MUL_MEAT_2_wide): Likewise.
10269 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
10270 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
10271 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
10272 (_FP_MUL_MEAT_2_gmp): Likewise.
10273 (_FP_DIV_MEAT_2_udiv): Likewise.
10274 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
10275 (_FP_FRAC_SRL_4): Likewise.
10276 (_FP_FRAC_SRST_4): Likewise.
10277 (_FP_FRAC_SRS_4): Likewise.
10278 (_FP_UNPACK_RAW_4): Likewise.
10279 (_FP_UNPACK_RAW_4_P): Likewise.
10280 (_FP_PACK_RAW_4): Likewise.
10281 (_FP_PACK_RAW_4_P): Likewise.
10282 (_FP_MUL_MEAT_DW_4_wide): Likewise.
10283 (_FP_MUL_MEAT_4_wide): Likewise.
10284 (_FP_MUL_MEAT_4_gmp): Likewise.
10285 (umul_ppppmnnn): Likewise.
10286 (_FP_DIV_MEAT_4_udiv): Likewise.
10287 (__FP_FRAC_ADD_4): Likewise.
10288 (__FP_FRAC_SUB_3): Likewise.
10289 (__FP_FRAC_SUB_4): Likewise.
10290 (__FP_FRAC_DEC_3): Likewise.
10291 (__FP_FRAC_DEC_4): Likewise.
10292 (__FP_FRAC_ADDI_4): Likewise.
10293 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
10294 (_FP_FRAC_SRL_8): Likewise.
10295 (_FP_FRAC_SRS_8): Likewise.
10296
9c37ec0b
JM
10297 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
10298 include macro name.
10299 (FP_UNPACK_RAW_EP): Likewise.
10300 (FP_PACK_RAW_E): Likewise.
10301 (FP_PACK_RAW_EP): Likewise.
10302 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
10303 (_FP_ISSIGNAN): Likewise.
10304 (_FP_ADD_INTERNAL): Likewise.
10305 (_FP_FMA): Likewise.
10306 (_FP_CMP): Likewise.
10307 (_FP_SQRT): Likewise.
10308 (_FP_TO_INT): Likewise.
10309 (_FP_FROM_INT): Likewise.
10310 (FP_EXTEND): Likewise.
10311 (_FP_DIV_MEAT_N_loop): Likewise.
10312
2125f674
MR
103132014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
10314
10315 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
10316 throughout.
10317
edea4028
JM
103182014-06-29 Joseph Myers <joseph@codesourcery.com>
10319
10320 [BZ #17097]
10321 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
10322 result with correct sign in case of exponents that produce
10323 overflow except for X very close to 1.
10324
dd0ba018
PE
103252014-06-28 Paul Eggert <eggert@cs.ucla.edu>
10326
10327 mktime: merge #if/#ifdef usage from glibc
10328 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
10329 as that works with both Glibc's and Gnulib's style.
10330 See thread starting at Siddhesh Poyarekar's bug report at:
10331 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
10332
64df73c2
SP
103332014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10334
10335 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
10336 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
10337 * sysdeps/tile/tilegx/memmove.c: Remove file.
10338
f1eafb41
JM
103392014-06-27 Joseph Myers <joseph@codesourcery.com>
10340
10341 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
10342 abi-name definition.
10343 * scripts/soversions.awk: Do not handle or generate ABI lines.
10344 * shlib-versions: Remove ABI entries.
10345 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
10346 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
10347
58eb0862
RM
103482014-06-27 Roland McGrath <roland@hack.frob.com>
10349
37caf178
RM
10350 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
10351 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
10352 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
10353 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
10354 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
10355 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
10356 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
10357 Moved ...
10358 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
10359 ... here.
10360 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
10361 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
10363 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
10364 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
10365 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
10366 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
10367 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
10368 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
10369 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
10370 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
10371 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
10372 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
10373 Moved ...
10374 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
10375 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
10376 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
10377 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
10378 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
10379 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
10380 Moved ...
10381 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
10382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
10383 Moved ...
10384 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
10385 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
10386 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
10387 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
10388 Moved ...
10389 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
10391 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
10392 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
10393 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
10394 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
10395 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
10396 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
10397 Moved ...
10398 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
10399 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
10400 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
10401 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
10402 Moved ...
10403 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
10404 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
10405 Moved ...
10406 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
10407 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
10408 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
10409 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
10410 Moved ...
10411 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
10412 ... here.
10413 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
10414 Identical file removed.
10415 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
10416 Moved ...
10417 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
10418 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
10419 Identical file removed.
10420 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
10421 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
10422 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
10423 Moved ...
10424 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
10425 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
10426 Identical file removed.
10427 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
10428 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
10429 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
10430 Identical file removed.
10431 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
10432 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
10433 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
10434 Identical file removed.
10435 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
10436 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
10437 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
10438 Identical file removed.
10439 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
10440 Moved ...
10441 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
10442 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
10443 Identical file removed.
10444 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
10445 Moved ...
10446 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
10447 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
10448 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
10449 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
10450 Identical file removed.
10451 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
10452 Moved ...
10453 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
10454 ... here.
10455 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
10456 Identical file removed.
10457 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
10458 Moved ...
10459 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
10460 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
10461 Identical file removed.
10462 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
10463 Moved ...
10464 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
10465 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
10466 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
10467 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
10468 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
10469 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
10470 Moved ...
10471 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
10472 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
10473 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
10474
58eb0862
RM
10475 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
10476 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
10477 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
10478 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
10479 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
10480
6f12d062
AS
104812014-06-27 Arjun Shankar <arjun.is@lostca.se>
10482
10483 [BZ #17092]
10484 * nscd/nscd.c (monitor_child): Return exit status of child
10485 instead of return value from wait syscall.
10486
be254932
JM
104872014-06-27 Joseph Myers <joseph@codesourcery.com>
10488
cb403c34
JM
10489 * configure.ac (libc_commonpagesize): Remove variable.
10490 (libc_relro_required): Likewise.
10491 (libc_cv_z_relro): Remove configure test.
10492 * configure: Regenerated.
10493 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
10494 variable.
10495 (libc_relro_required): Likewise.
10496 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
10497 (libc_relro_required): Likewise.
10498 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
10499 (libc_relro_required): Likewise.
10500 * sysdeps/arm/preconfigure: Regenerated.
10501 * sysdeps/ia64/preconfigure: Remove file.
10502 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
10503 variable.
10504 (libc_relro_required): Likewise.
10505
be254932
JM
10506 [BZ #16561]
10507 [BZ #16562]
10508 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
10509 (__ieee754_yn): Set FE_TONEAREST mode internally and then
10510 recompute overflowing results in original rounding mode.
10511 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
10512 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
10513 recompute overflowing results in original rounding mode.
10514 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
10515 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10516 recompute overflowing results in original rounding mode.
10517 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
10518 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10519 recompute overflowing results in original rounding mode.
10520 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
10521 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
10522 recompute overflowing results in original rounding mode.
10523 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
10524 (libc_feholdsetround_ctx): New macro.
10525 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
10526 * sysdeps/i386/fpu/libm-test-ulps: Update.
10527 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
10528
b351d85a
JM
105292014-06-26 Joseph Myers <joseph@codesourcery.com>
10530
10531 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
10532 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
10533 corresponding .cpsetup call.
10534
3cb4de47
RM
105352014-06-26 Roland McGrath <roland@hack.frob.com>
10536
10537 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
10538 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
10539 * sysdeps/arm/Makefile [$(subdir) = csu]
10540 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
10541 (static-only-routines): Add aeabi_read_tp here.
10542 (shared-only-routines): Add libc-aeabi_read_tp here.
10543 (CFLAGS-libc-start.c): Add -fexceptions here.
10544 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
10545 (sysdep_routines, static-only-routines, shared-only-routines):
10546 Don't add to these here.
10547 (CFLAGS-libc-start.c): Likewise.
10548
10549 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
10550 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10551 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
10552 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10553 * sysdeps/arm/Makefile [$(subdir) = rt]
10554 (librt-sysdep_routines, librt-shared-only-routines):
10555 Append rt-aeabi_unwind_cpp_pr1 here.
10556 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
10557 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
10558 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
10559 (libpthread-sysdep_routines, libpthread-shared-only-routines):
10560 Append nptl-aeabi_unwind_cpp_pr1 here.
10561 (tests): Filter out tst-cleanupx4 here.
10562 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
10563 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
10564 Don't do those here.
10565
354426bb
JM
105662014-06-26 Joseph Myers <joseph@codesourcery.com>
10567
10568 * scripts/list-sources.sh: Do not handle ports specially.
10569
28b0a8c9
RM
105702014-06-26 Roland McGrath <roland@hack.frob.com>
10571
a3dd035d
RM
10572 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
10573 * sysdeps/arm/feupdateenv.c: Likewise.
10574
28b0a8c9
RM
10575 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
10576
e66a8203
JM
105772014-06-26 Joseph Myers <joseph@codesourcery.com>
10578
10579 * manual/texinfo.tex: Update to version 2014-05-05.10 with
10580 trailing whitespace removed.
10581 * scripts/config.guess: Update to version 2014-03-23.
10582 * scripts/config.sub: Update to version 2014-05-01
10583 * scripts/install-sh: Update to version 2013-12-25.23.
10584 * scripts/move-if-change: Update from gnulib.
10585
74171115
SP
105862014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10587
b97c9ce5
SP
10588 * debug/memmove_chk.c: Remove pagecopy.h include.
10589
4000f892
SP
105902014-06-26 Paul Eggert <eggert@cs.ucla.edu>
10591
74171115
SP
10592 * time/mktime.c (leapyear): Remove inline keyword. The code is now
10593 identical to gnulib mktime.
10594
a8779c28
JM
105952014-06-26 Joseph Myers <joseph@codesourcery.com>
10596
e64708de
JM
10597 * configure.ac: Do not test for machine being rs6000. Do not test
10598 for powerpc*-*soft.
10599 * configure: Regenerated.
10600
6a9350c8 10601 [BZ #11505]
a8779c28
JM
10602 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
10603 test.
10604 * configure: Regenerated.
10605 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
10606 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
10607 Remove configure test.
10608 * sysdeps/arm/configure: Regenerated.
10609 * sysdeps/nptl/configure.ac: Do not check
10610 libc_cv_asm_cfi_directives.
10611 * sysdeps/nptl/configure: Regenerated.
10612 * sysdeps/x86_64/nptl/configure.ac: Remove file.
10613 * sysdeps/x86_64/nptl/configure: Remove generated file.
10614 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
10615 unconditional.
10616 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
10617
2aac0a86
SP
106182014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10619
059bf913
SP
10620 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
10621 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
10622 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
10623 it is defined.
10624
4cf5b6d0
SP
10625 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
10626 instead of whether it is defined.
10627 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
10628 * sysdeps/hppa/dl-machine.h: Likewise.
10629 * sysdeps/ia64/dl-machine.h: Likewise.
10630 * sysdeps/m68k/dl-machine.h: Likewise.
10631 * sysdeps/microblaze/dl-machine.h: Likewise.
10632 * sysdeps/mips/dl-machine.: Likewise.
10633 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
10634 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
10635 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
10636 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
10637 * sysdeps/sh/dl-machine.h: Likewise.
10638 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
10639 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
10640 * sysdeps/tile/dl-machine.h: Likewise.
10641 * sysdeps/x86_64/dl-machine.h: Likewise.
10642
2aac0a86
SP
10643 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
10644 code.
10645 (verify_persistent_db): Likewise.
10646
6ad2df0b
RM
106472014-06-26 Roland McGrath <roland@hack.frob.com>
10648
d8a483f3
RM
10649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
10650 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
10651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
10652 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
10653 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
10654 Moved ...
10655 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
10656 ... here.
10657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
10658 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
10659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
10660 Identical file removed.
10661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
10662 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
10663 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
10664 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
10665 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
10666 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
10667 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
10668 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
10669 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
10670 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
10671 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
10672 Moved ...
10673 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
10674 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
10675 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
10676 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
10677 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
10678 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
10679 Moved ...
10680 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
10681 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
10682 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
10683 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
10684 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
10685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
10686 Identical file removed.
10687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
10688 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
10689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
10690 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
10691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
10692 Moved ...
10693 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
10694 ... here.
10695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
10696 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
10697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
10698 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
10699 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
10700 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
10701 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
10702 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
10703 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
10704 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
10705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
10706 Moved ...
10707 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
10708 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
10709 Moved ...
10710 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
10711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
10712 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
10713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
10714 Moved ...
10715 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
10716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
10717 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
10718
52ae23b4
RM
10719 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
10720 folded into ...
10721 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
10722 * sysdeps/unix/sysv/linux/s390/Versions
10723 (libpthread: GLIBC_2.19): New version set.
10724 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
10725 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
10726 (librt: GLIBC_2.3.3): New version set.
10727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
10728 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
10729 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
10730 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
10731 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
10732 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
10733 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
10734 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
10735 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
10736 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
10737 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
10738 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
10739 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
10740 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
10741 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
10742 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
10743 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
10744 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
10745 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
10746 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
10747 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
10748 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
10749 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
10750 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
10751 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
10752 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
10753 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
10754 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
10755 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
10756 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
10757 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
10758 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
10759 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
10760 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
10761 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
10762 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
10763 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
10764 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
10765 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
10766 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
10767 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
10768 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
10769 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
10770 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
10771 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
10772
39507e4a
RM
10773 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
10774 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
10775 (__libc_vfork): Define the function under this name.
10776 [!NOT_IN_libc] (__vfork): Make this an alias.
10777 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10778 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
10779 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
10780 (__libc_vfork): Define the function under this name.
10781 [!NOT_IN_libc] (__vfork): Make this an alias.
10782 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
10783 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
10784 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
10785 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
10786 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
10787 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
10788
e549ee56
RM
10789 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
10790 code that was previously under [RESET_PID].
10791 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
10792 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
10793 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
10794
6ad2df0b
RM
10795 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
10796 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
10797 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
10798 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
10799 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
10800 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
10801 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
10802 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
10803 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
10804 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
10805 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
10806 Moved ...
10807 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
10808 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
10809 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
10810 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
10811 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
10812 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
10813 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
10814 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
10815 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
10816 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
10817 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
10818 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
10819 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
10820 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
10821 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
10822 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
10823 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
10824 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
10825 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
10826 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
10827 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
10828 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
10829 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
10830 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
10831 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
10832 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
10833 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
10834 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
10835 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
10836
7c1c1d8e
RM
108372014-06-25 Roland McGrath <roland@hack.frob.com>
10838
10839 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
10840 that was previously under [RESET_PID].
10841 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
10842
3e239be6
JM
108432014-06-25 Joseph Myers <joseph@codesourcery.com>
10844
74385da5
JM
10845 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
10846 not undefine and redefine.
10847 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
10848 [O_CLOEXEC]: Make code unconditional.
10849 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
10850 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
10851 <kernel-features.h>.
10852 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
10853 conditional variable definition.
10854 (shm_open) [O_CLOEXEC]: Make code unconditional.
10855 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
10856 code.
10857
c2570a0b
JM
10858 * configure.ac (USE_REGPARMS): Don't define here.
10859 * configure: Regenerated.
10860 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
10861 * sysdeps/i386/configure: Regenerated.
10862
11b076bb
JM
10863 * nptl/createthread.c: Don't include kernel-features.h.
10864 * nptl/pthread_cancel.c: Likewise.
10865 * nptl/pthread_condattr_setclock.c: Likewise.
10866 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
10867 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
10868 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
10869 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
10870 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
10871 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
10872 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
10873 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
10874 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
10875 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
10876 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
10877 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
10878 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
10879 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
10880 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
10881 * nscd/gai.c: Likewise.
10882 * nss/nss_db/db-open.c: Likewise.
10883 * sysdeps/generic/ldsodefs.h: Likewise.
10884 * sysdeps/sh/nptl/tls.h: Likewise.
10885 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
10886 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
10887 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
10888 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
10889 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
10890 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
10891 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
10892 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
10893 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
10894 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
10895 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
10896 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
10897 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
10898 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
10899 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
10900 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
10901 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
10902 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
10903 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
10904 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
10905 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
10906 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
10907 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
10908 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10909 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
10910 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
10911 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
10912 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10913 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
10914 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
10915 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
10916 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
10917 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
10918 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
10919 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
10920 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
10921 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
10922 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
10923 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
10924 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
10925 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10926 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
10927 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
10928 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10929 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
10930 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
10931 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
10932 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
10933 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
10934 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
10935 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
10936 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
10937 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
10938 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
10939 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
10940 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
10941 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
10942 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
10943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
10944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
10945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
10946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
10947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
10948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
10949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
10950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
10951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
10952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
10953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
10954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
10956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
10957 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
10958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
10959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
10960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
10961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
10962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
10963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
10964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
10965 * sysdeps/unix/sysv/linux/pread.c: Likewise.
10966 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
10967 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
10968 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
10969 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
10970 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
10971 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
10972 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
10973 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
10974 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
10975 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
10976 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
10977 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
10978 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
10979 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
10980 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
10981 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
10982 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
10983 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
10984 * sysdeps/unix/sysv/linux/system.c: Likewise.
10985 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
10986 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
10987 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
10988 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
10989 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10990 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
10991 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
10992
92072d57
JM
10993 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
10994 * configure: Regenerated.
10995 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
10996
3e239be6
JM
10997 * configure.ac (base_machine): Do not set specially for particular
10998 machines here.
10999 * configure: Regenerated.
11000 * sysdeps/powerpc/preconfigure: Move machine and base_machine
11001 settings from configure.ac.
11002 * sysdeps/i386/preconfigure: New file.
11003 * sysdeps/s390/preconfigure: Likewise.
11004 * sysdeps/sh/preconfigure: Likewise.
11005 * sysdeps/sparc/preconfigure: Likewise.
11006
06d50baa
RM
110072014-06-25 Roland McGrath <roland@hack.frob.com>
11008
74836003
RM
11009 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
11010 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
11011 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
11012 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
11013 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
11014 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
11015 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
11016 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
11017 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
11018 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
11019 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
11020 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
11021 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
11022 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
11023 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
11024 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
11025 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
11026 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
11027 * sysdeps/sparc/sparc64/Makefile: ... appended here.
11028
11029 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
11030 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
11031 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
11032 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
11033 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
11034 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
11035 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
11036 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
11037 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
11038 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
11039 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
11040 * sysdeps/sparc/sparc32/sem_post.c: ... here.
11041 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
11042 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
11043 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
11044 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
11045 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
11046 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
11047 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
11048 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
11049 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
11050 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
11051 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
11052 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
11053 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
11054 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
11055 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
11056 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
11057 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
11058 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
11059 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
11060 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
11061 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
11062 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
11063 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
11064 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
11065 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
11066 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
11067
06d50baa
RM
11068 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
11069 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
11070 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
11071 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
11072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
11073 Moved ...
11074 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
11075 ... here.
11076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
11077 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
11078 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
11079 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
11080 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
11081 Moved ...
11082 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
11083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
11084 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
11085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
11086 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
11087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
11088 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
11089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11090 Moved ...
11091 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
11092 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
11093 Moved ...
11094 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
11095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
11096 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
11097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
11098 Moved ...
11099 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
11100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
11101 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
11102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
11103 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
11104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
11105 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
11106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
11107 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
11108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
11109 Moved ...
11110 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
11111 ... here.
11112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
11113 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
11114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
11115 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
11116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
11117 Moved ...
11118 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
11119 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
11120 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
11121 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
11122 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
11123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
11124 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
11125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11126 Moved ...
11127 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
11128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
11129 Moved ...
11130 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
11131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
11132 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
11133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
11134 Moved ...
11135 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
11136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
11137 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
11138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
11139 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
11140
a4ccbc9b
JM
111412014-06-25 Joseph Myers <joseph@codesourcery.com>
11142
0828edbf
JM
11143 * timezone/checktab.awk: Update from tzcode 2014e.
11144 * timezone/private.h: Likewise.
11145 * timezone/tzfile.h: Likewise.
11146 * timezone/zdump.c: Likewise.
11147 * timezone/zic.c: Likewise.
11148
a4ccbc9b
JM
11149 * sysdeps/unix/sysv/linux/kernel-features.h
11150 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
11151 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
11152 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
11153 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
11154 Remove conditional code.
11155
9aea0cb8
WN
111562014-06-25 Will Newton <will.newton@linaro.org>
11157
11158 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
11159 (_dl_arm_cap_flags): Add HWCAP2 values.
11160 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
11161 (_DL_HWCAP_COUNT): Increase to 37.
11162 (_DL_HWCAP_LAST): New define.
11163 (_DL_HWCAP2_LAST): New define.
11164 (_dl_procinfo): Add support for printing
11165 AT_HWCAP2 entries.
11166 (_dl_string_hwcap): Use _dl_hwcap_string.
11167
6eaa65ce
AZ
111682014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11169
11170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11171
0f5b7185
JM
111722014-06-25 Joseph Myers <joseph@codesourcery.com>
11173
cfd2ea50
JM
11174 * README: Do not mention ports directory.
11175
cecf2ed4
JM
11176 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
11177 Remove macro.
11178 * sysdeps/unix/sysv/linux/futimes.c: Do not include
11179 <kernel-features.h>.
11180 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
11181 conditional variable definition.
11182 (__futimes): Update comment.
11183 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
11184 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
11185
a638de82
JM
11186 [BZ #16560]
11187 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
11188 arguments close to 0.
11189 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
11190 Likewise.
11191 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
11192 Likewise.
11193 * math/auto-libm-test-in: Add more tests of exp10.
11194 * math/auto-libm-test-out: Regenerated.
11195 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11196
0f5b7185
JM
11197 * sysdeps/unix/sysv/linux/kernel-features.h
11198 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
11199 * sysdeps/unix/sysv/linux/readv.c: Do not include
11200 <kernel-features.h>.
11201 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11202 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11203 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11204 unconditional.
11205 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11206 conditional code.
11207 * sysdeps/unix/sysv/linux/writev.c: Do not include
11208 <kernel-features.h>.
11209 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
11210 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
11211 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
11212 unconditional.
11213 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
11214 conditional code.
11215
c7aec4be
WN
112162014-06-25 Will Newton <will.newton@linaro.org>
11217
11218 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
11219 comment changes throughout the file. Remove checks
11220 for HAVE_*_H definitions that are not required.
11221 (__gen_tempname): Call abort if an unknown kind value is
11222 passed.
11223
c5241f95
AS
112242014-06-25 Andreas Schwab <schwab@suse.de>
11225
11226 [BZ #17086]
11227 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
11228 scalbln, scalblnf, scalblnl in libc.
11229
911422da
SP
112302014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
11231
11232 [BZ #17086]
11233 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
11234 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
11235 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
11236
0d749bbe
RM
112372014-06-24 Roland McGrath <roland@hack.frob.com>
11238
11239 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
11240 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
11241 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
11242 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
11243 Update #include.
11244 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
11245 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
11246 Update #include.
11247 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
11248 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
11249 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
11250 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
11251 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
11252 * sysdeps/x86/bits/pthreadtypes.h: ... here.
11253 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
11254 * sysdeps/x86/bits/semaphore.h: ... here.
11255 * sysdeps/x86/nptl/elide.h: Moved ...
11256 * sysdeps/x86/elide.h: ... here.
11257 * sysdeps/x86_64/nptl/Implies: File removed.
11258 * sysdeps/i386/nptl/Implies: File removed.
11259
0ea5d373
JM
112602014-06-24 Joseph Myers <joseph@codesourcery.com>
11261
4060283d
JM
11262 [BZ #16539]
11263 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
11264 return the argument for normal arguments with exponent below -64.
11265 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
11266 Likewise.
11267 * math/auto-libm-test-in: Add another test of expm1.
11268 * math/auto-libm-test-out: Regenerated.
11269
e7dd3c8c
JM
11270 [BZ #16287]
11271 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
11272 calling __erfcl for arguments at least 16.
11273 * math/auto-libm-test-in: Add more tests of erf.
11274 * math/auto-libm-test-out: Regenerated.
11275
0ea5d373
JM
11276 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
11277 individual architectures.
11278 * sysdeps/unix/sysv/linux/configure: Regenerated.
11279 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
11280 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
11281 * sysdeps/unix/sysv/linux/powerpc/configure.ac
11282 (ldd_rewrite_script): Define variable.
11283 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11284 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
11285 file.
11286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
11287 generated file.
11288 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
11289 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
11290 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
11291 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
11292 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
11293 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
11294 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
11295 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
11296
2307e126
SP
112972014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11298
11299 [BZ #17084]
11300 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
11301 Rename member __data.d to __data.__elision_data.
11302
c0a4ed77
W
113032014-06-24 Wilco <wdijkstr@arm.com>
11304
11305 * NEWS: Add 16918 to fixed bug list.
11306
b8c00573
W
113072014-06-24 Wilco <wdijkstr@arm.com>
11308
11309 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
11310
b5570d92
W
113112014-06-24 Wilco <wdijkstr@arm.com>
11312
11313 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
11314 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
11315 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
11316 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
11317 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
11318 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
11319 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
11320 Use _FPU_MASK_RM.
11321
947bdca2
W
113222014-06-24 Wilco <wdijkstr@arm.com>
11323
11324 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
11325
00f669ed
W
113262014-06-24 Wilco <wdijkstr@arm.com>
11327
11328 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
11329 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
11330 * sysdeps/arm/fesetround.c (fesetround): Remove space.
11331 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
11332
db59bad3
W
113332014-06-24 Wilco <wdijkstr@arm.com>
11334
11335 [BZ #16918]
11336 * sysdeps/arm/feupdateenv.c (feupdateenv):
11337 Rewrite to reduce FPSCR accesses and fix return value.
11338
001f7b77
W
113392014-06-24 Wilco <wdijkstr@arm.com>
11340
11341 * sysdeps/arm/fclrexcpt.c (feclearexcept):
11342 Optimize to avoid unnecessary FPSCR writes.
11343 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
11344 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
11345 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
11346 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
11347
4841e6a6
W
113482014-06-24 Wilco <wdijkstr@arm.com>
11349
11350 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
11351 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
11352 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
11353 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
11354 Call libc_fetestexcept_vfp.
11355 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
11356 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
11357 __SOFTFP__ ifdef so that they can be built for softfp.
11358
0813022c
SP
113592014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11360
08e5862f
SP
11361 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
11362 argument type signed char.
11363
0813022c
SP
11364 * Makerules (check-abi): Dump diff of symlist if the test
11365 fails.
11366
3fc7236a
RM
113672014-06-23 Roland McGrath <roland@hack.frob.com>
11368
aba8ef95
RM
11369 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
11370 using abort.
11371
3fc7236a
RM
11372 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11373 Remove unused variable ST.
11374
4da6db51
JM
113752014-06-23 Joseph Myers <joseph@codesourcery.com>
11376
4648909d
JM
11377 [BZ #16354]
11378 [BZ #17061]
11379 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
11380 small arguments before calling __expm1.
11381 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
11382 small arguments before calling __expm1f.
11383 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
11384 small arguments before calling __expm1l.
11385 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
11386 Likewise.
11387 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
11388 * math/auto-libm-test-in: Add more cosh tests. Do not allow
11389 spurious underflow for some cosh tests.
11390 * math/auto-libm-test-out: Regenerated.
11391 * sysdeps/i386/fpu/libm-test-ulps: Update.
11392
46a3d3c7
JM
11393 [BZ #17050]
11394 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
11395 (__ieee754_y1): Set errno if return value overflows.
11396 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
11397 (__ieee754_y1f): Set errno if return value overflows.
11398 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
11399 (__ieee754_y1l): Set errno if return value overflows.
11400 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
11401 (__ieee754_y1l): Set errno if return value overflows.
11402 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
11403 * math/auto-libm-test-out: Regenerated.
11404
863893ec
JM
11405 * math/gen-auto-libm-tests.c: Document use of
11406 ignore-zero-inf-sign.
11407 (input_flag_type): Add value flag_ignore_zero_inf_sign.
11408 (input_flags): Add ignore-zero-inf-sign.
11409 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
11410 * math/gen-libm-test.pl (generate_testfile): Handle
11411 ignore-zero-inf-sign.
11412 * math/auto-libm-test-in: Mark some cpow tests with
11413 ignore-zero-inf-sign and some with xfail-rounding.
11414 * math/auto-libm-test-out: Regenerated.
11415 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
11416 * sysdeps/i386/fpu/libm-test-ulps: Update.
11417 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11418
4da6db51
JM
11419 [BZ #16315]
11420 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
11421 overflowing or underflowing operations take place with sign of
11422 result.
11423 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
11424 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
11425 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
11426 (__ieee754_pow): Recompute overflowing and underflowing results in
11427 original rounding mode.
11428 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
11429 (__powl_helper): Allow negative argument X and scale negated value
11430 as needed. Avoid passing value outside [-1, 1] to f2xm1.
11431 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
11432 overflowing or underflowing operations take place with sign of
11433 result.
11434 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
11435 Include <math.h>.
11436 * math/auto-libm-test-in: Add more tests of pow.
11437 * math/auto-libm-test-out: Regenerated.
11438 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
11439 (pow_tonearest_test_data): Remove.
11440 (pow_test_tonearest): Likewise.
11441 (pow_towardzero_test_data): Likewise.
11442 (pow_test_towardzero): Likewise.
11443 (pow_downward_test_data): Likewise.
11444 (pow_test_downward): Likewise.
11445 (pow_upward_test_data): Likewise.
11446 (pow_test_upward): Likewise.
11447 (main): Don't call removed functions.
11448 * sysdeps/i386/fpu/libm-test-ulps: Update.
11449 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11450
5686b236
RM
114512014-06-23 Roland McGrath <roland@hack.frob.com>
11452
11453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
11454 Moved ...
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
11456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11457 Moved ...
11458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
11459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
11460 Moved ...
11461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
11462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
11463 Moved ...
11464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
11465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
11466 File removed.
11467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
11468 File removed.
11469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
11470 File removed.
11471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
11472 File removed.
11473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
11474 File removed.
11475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
11476 File removed.
11477 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
11478 File removed.
11479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11480 File removed.
11481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
11482 File removed.
11483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
11484 File removed.
11485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
11486 File removed.
11487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
11488 File removed.
11489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
11490 Moved ...
11491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
11492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
11493 Moved ...
11494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
11495 ... here.
11496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
11497 Moved ...
11498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
11499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
11500 Moved ...
11501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
11502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
11503 Moved ...
11504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
11505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
11506 Moved ...
11507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
11508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
11509 Moved ...
11510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
11511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
11512 Moved ...
11513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
11514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
11515 Moved ...
11516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
11517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
11518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
11519 ... here.
11520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
11521 Moved ...
11522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
11523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
11524 Moved ...
11525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11526 ... here.
11527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
11528 Moved ...
11529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11530 ... here.
11531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
11532 Moved ...
11533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
11534 ... here.
11535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
11536 Moved ...
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
11538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
11539 Moved ...
11540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
11542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
11544 Moved ...
11545 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
11546 ... here.
11547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
11548 Moved ...
11549 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
11550 ... here.
11551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
11552 Moved ...
11553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
11554 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
11555 Moved ...
11556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
11557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
11558 Moved ...
11559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
11560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11561 Moved ...
11562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
11563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
11564 Moved ...
11565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
11566 ... here.
11567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
11568 Moved ...
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
11570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
11571 Moved ...
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
11573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
11574 Moved ...
11575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
11577 Moved ...
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
11579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
11580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
11581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
11582 Moved ...
11583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
11584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
11585 Moved ...
11586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
11587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
11588 Moved ...
11589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11590 ... here.
11591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11592 Moved ...
11593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11594 ... here.
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
11596 Moved ...
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
11598 ... here.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
11600 Moved ...
11601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
11602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
11603 Moved ...
11604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
11606 Moved ...
11607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
11608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
11609 Moved ...
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
11611 ... here.
11612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
11613 Moved ...
11614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
11615 ... here.
11616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
11617 Moved ...
11618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
11619 ... here.
11620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
11621 Moved ...
11622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
11624 Moved ...
11625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
11626
e6d90d67
WD
116272014-06-23 Will Newton <will.newton@linaro.org>
11628 Wilco <wdijkstr@arm.com>
11629
11630 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
11631 implementation. Include get-rounding-mode.h.
11632 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
11633 [!libc_feholdsetround_noex_ctx]: Define
11634 libc_feholdsetround_noex_ctx.
11635 [!libc_feholdsetround_noexf_ctx]: Define
11636 libc_feholdsetround_noexf_ctx.
11637 [!libc_feholdsetround_noexl_ctx]: Define
11638 libc_feholdsetround_noexl_ctx.
11639 (libc_feholdsetround_ctx): New function.
11640 (libc_feresetround_ctx): New function.
11641 (libc_feholdsetround_noex_ctx): New function.
11642 (libc_feresetround_noex_ctx): New function.
11643
d42df555
RM
116442014-06-23 Roland McGrath <roland@hack.frob.com>
11645
88a46474
RM
11646 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
11647 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
11648 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
11649 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
11650 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
11651 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
11652
15bed472
RM
11653 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
11654 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
11655 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
11656 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
11657 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
11658 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
11659 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
11660 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
11661 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
11662 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
11663 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
11664 Moved ...
11665 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
11666 ... here.
11667 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
11668 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
11669 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
11670 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
11671 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
11672 Moved ...
11673 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
11674 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
11675 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
11676 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
11677 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
11678 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
11679 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
11680 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
11681 Moved ...
11682 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
11683 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
11684 Moved ...
11685 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
11686 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
11687 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
11688 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
11689 Moved ...
11690 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
11691 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
11692 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
11693 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
11694 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
11695 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
11696 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
11697 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
11698 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
11699 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
11700 Moved ...
11701 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
11702 ... here.
11703 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
11704 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
11705 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
11706 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
11707 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
11708 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
11709 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
11710 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
11711 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
11712 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
11713 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
11714 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
11715 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
11716 Moved ...
11717 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
11718 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
11719 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
11720 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
11721 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
11722 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
11723 Moved ...
11724 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
11725 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
11726 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
11727 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
11728 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
11729
d42df555
RM
11730 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
11731 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
11732 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
11733 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
11734 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
11735 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
11736 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
11737 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
11738 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
11739 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
11740 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
11741 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
11742 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
11743 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
11744 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
11745 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
11746 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
11747 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
11748 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
11749 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
11750 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
11751 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
11752 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
11753 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
11754 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
11755 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
11756 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
11757 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
11758
76e5216e
JM
117592014-06-23 Joseph Myers <joseph@codesourcery.com>
11760
11761 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
11762 (FALLOC_FL_COLLAPSE_RANGE): New macro.
11763 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
11764 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
11765 (IPV6_PMTUDISC_INTERFACE): Likewise.
11766 (IPV6_PMTUDISC_OMIT): Likewise.
11767
7a81cbcc
AS
117682014-06-23 Andreas Schwab <schwab@suse.de>
11769
11770 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
11771 Remove unused errout label.
11772
db224009
AZ
117732014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11774
11775 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
11776 macro: hardware supports Vector Crypto instructions.
11777
f393b4aa
WN
117782014-06-23 Will Newton <will.newton@linaro.org>
11779
cc7d0447
WN
11780 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
11781 rather than __builtin_expect.
11782
d6d06225
WN
11783 * elf/dl-lookup.c (undefined_msg): Remove variable.
11784 (_dl_lookup_symbol_x): Replace undefined_msg with string
11785 literal.
11786
f393b4aa
WN
11787 * elf/dl-lookup.c (do_lookup_unique): New function.
11788 (do_lookup_x): Move STB_GNU_UNIQUE handling code
11789 to a separate function.
11790
ac60763e
AS
117912014-06-23 Andreas Schwab <schwab@suse.de>
11792
11793 [BZ #17079]
11794 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
11795 before reading the next line.
11796
c5c13355
WN
117972014-06-23 Will Newton <will.newton@linaro.org>
11798
11799 * test-skeleton.c (signal_handler): Use printf and %m
11800 rather than perror. Use printf rather than fprintf to
11801 stderr. Use puts rather than fputs to stderr.
11802 (main): Likewise.
11803
bd3675f9
LC
118042014-06-22 Ludovic Courtès <ludo@gnu.org>
11805
11806 * nscd/nscd.c (thread_info_t): Remove typedef.
11807 (thread_info): Remove variable.
11808
d03efb2f
AM
118092014-06-21 Allan McRae <allan@archlinux.org>
11810
11811 * NEWS: Mention CVE-2014-4043.
11812
bc4a86fa
RM
118132014-06-20 Roland McGrath <roland@hack.frob.com>
11814
dc9a54f8
RM
11815 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
11816 * nptl/smp.h: ... here.
11817
bd7022c4
RM
11818 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
11819
26ffd5e6
RM
11820 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
11821 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
11822 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
11823 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
11824
93a6d082
RM
11825 * nptl/allocatestack.c: Include <stack-aliasing.h>.
11826 * nptl/stack-aliasing.h: New file.
11827 * sysdeps/i386/i686/stack-aliasing.h: New file.
11828 * sysdeps/i386/i686/nptl/Makefile: File removed.
11829 * sysdeps/x86_64/stack-aliasing.h: New file.
11830 * sysdeps/x86_64/nptl/Makefile
11831 (CFLAGS-pthread_create.c): Variable removed.
11832
bc4a86fa
RM
11833 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
11834 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
11835 old file.
11836 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
11837 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
11838 old file.
11839
2272ffc1
JM
118402014-06-21 Joseph Myers <joseph@codesourcery.com>
11841
11842 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11843 (__ASSUME_SIGFRAME_V2): Remove macro.
11844 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
11845 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
11846 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
11847 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
11848 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
11849 Declare as function. Remove conditional macro definitions.
11850 (__default_rt_sa_restorer): Likewise.
11851 (__default_sa_restorer_v1): Remove declaration.
11852 (__default_sa_restorer_v2): Likewise.
11853 (__default_rt_sa_restorer_v1): Likewise.
11854 (__default_rt_sa_restorer_v2): Likewise.
11855 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
11856 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
11857 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
11858
4b88139b
RM
118592014-06-20 Roland McGrath <roland@hack.frob.com>
11860
11861 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
11862 (libpthread-routines): Add sysdep.
11863 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
11864 * sysdeps/unix/sysv/linux/sparc/Versions
11865 (libpthread: GLIBC_2.3.3): New version set.
11866 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
11867 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
11868 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
11869 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
11870 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
11871 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
11872 Moved ...
11873 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
11874 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
11875 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
11876 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
11877 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
11878 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
11879 * sysdeps/sparc/nptl/sem_init.c: ... here.
11880 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
11881 * sysdeps/sparc/nptl/sem_post.c: ... here.
11882 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
11883 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
11884 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
11885 * sysdeps/sparc/nptl/sem_wait.c: ... here.
11886 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
11887 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
11888 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
11889 (libpthread-routines): Add cpu_relax.
11890 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
11891 File removed.
11892 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
11893 (librt: GLIBC_2.3.3): New version set.
11894 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
11895 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
11896 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
11897 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
11898 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
11899 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
11900 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
11901 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
11902 Moved ...
11903 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
11904 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
11905 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
11906 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
11907 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
11908 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
11909 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
11910 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
11911 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
11912 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
11913 Moved ...
11914 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
11915 Update #include.
11916 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
11917 Moved ...
11918 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
11919 Update #include.
11920 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
11921 Moved ...
11922 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
11923 Update #include.
11924 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
11925 Moved ...
11926 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
11927 Update #include.
11928 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
11929 Moved ...
11930 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
11931 Update #include.
11932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
11933 Moved ...
11934 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
11935 Update #include.
11936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
11937 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
11938 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
11939 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
11940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
11941 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
11942 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
11943 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
11944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
11945 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
11946 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
11947 Moved ...
11948 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
11949 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
11950 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
11951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
11952 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
11953
d7109027
JM
119542014-06-20 Joseph Myers <joseph@codesourcery.com>
11955
9bc6103d
JM
11956 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
11957 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
11958 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
11959 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
11960 * nscd/nscd.c: Likewise.
11961 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11962 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11963 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11964 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11965
d7109027
JM
11966 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
11967 <kernel-features.h>.
11968 (init_mq_netlink): Remove conditional have_sock_cloexec
11969 definitions. Remove code conditional on have_sock_cloexec < 0.
11970 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
11971 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
11972 * sysdeps/unix/sysv/linux/opensock.c: Do not include
11973 <kernel-features.h>.
11974 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
11975 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
11976
d92d8f8a
L
119772014-06-20 H.J. Lu <hongjiu.lu@intel.com>
11978
11979 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11980 Add tests for memset_chk and memset.
11981
11982 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
11983 with AVX2_Usable.
11984
4e6d2347
MR
119852014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
11986
257ce712
MR
11987 [BZ #16046]
11988 * elf/tst-dl-iter-static.c: New file.
11989 * elf/Makefile (tests-static): Add tst-dl-iter-static.
11990
4e6d2347
MR
11991 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
11992 error.
11993
a2a76afe
JM
119942014-06-20 Joseph Myers <joseph@codesourcery.com>
11995
7fd00f99
JM
11996 * sysdeps/unix/sysv/linux/kernel-features.h
11997 (__ASSUME_F_GETOWN_EX): Remove macro.
11998 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
11999 <kernel-features.h>.
12000 (miss_F_GETOWN_EX): Remove variable or macro.
12001 (do_fcntl): Do not check miss_F_GETOWN_EX.
12002 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
12003
4a103975
JM
12004 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
12005 Remove macro.
12006 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
12007 [!__ASSUME_AT_RANDOM]: Remove conditional code.
12008 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
12009
a2a76afe
JM
12010 * sysdeps/unix/sysv/linux/kernel-features.h
12011 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
12012 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
12013 [ADJ_OFFSET_SS_READ]: Make code unconditional.
12014 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
12015
90e5dd48
MR
120162014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
12017
12018 [BZ #17075]
12019 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
12020 Fix calculation of the symbol's value.
12021 * sysdeps/arm/tst-armtlsdescloc.c: New file.
12022 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
12023 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
12024 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
12025 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
12026 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
12027 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
12028 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
12029 (modules-names): Add `tst-armtlsdescmod',
12030 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
12031 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
12032 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12033 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
12034 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
12035 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
12036 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
12037 ($(objpfx)tst-armtlsdescloc): New dependency.
12038 ($(objpfx)tst-armtlsdescextnow): Likewise.
12039 ($(objpfx)tst-armtlsdescextlazy): Likewise.
12040 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
12041 TLS scheme support.
12042 * sysdeps/arm/configure: Regenerate.
12043
809fdf0d
JM
120442014-06-20 Joseph Myers <joseph@codesourcery.com>
12045
12046 * include/fcntl.h (__atfct_seterrno): Remove prototype.
12047 (__atfct_seterrno_2): Likewise.
12048 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
12049 <kernel-features.h>.
12050 (__ASSUME_ATFCTS): Do not undefine and redefine.
12051 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
12052 (__have_atfcts): Remove conditional definition.
12053 (__fxstatat([__NR_fstatat64]: Make code unconditional.
12054 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
12055 unreachable if [__ASSUME_ATFCTS].
12056 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
12057 not undefine and redefine.
12058 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
12059 <kernel-features.h>.
12060 (faccessat) [__NR_faccessat]: Make code unconditional.
12061 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
12062 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
12063 <kernel-features.h>.
12064 (fchmodat) [__NR_fchmodat]: Make code unconditional.
12065 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12066 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
12067 <kernel-features.h>.
12068 (fchownat) [__NR_fchownat]: Make code unconditional.
12069 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
12070 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
12071 <kernel-features.h>.
12072 (futimesat) [__NR_futimesat]: Make code unconditional.
12073 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
12074 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12075 <kernel-features.h>.
12076 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12077 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12078 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12079 <kernel-features.h>.
12080 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
12081 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12082 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
12083 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12084 <kernel-features.h>.
12085 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
12086 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12087 * sysdeps/unix/sysv/linux/linkat.c: Do not include
12088 <kernel-features.h>.
12089 (linkat) [__NR_linkat]: Make code unconditional.
12090 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12091 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
12092 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
12093 <kernel-features.h>.
12094 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
12095 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
12096 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
12097 <kernel-features.h>.
12098 (mkdirat) [__NR_mkdirat]: Make code unconditional.
12099 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
12100 * sysdeps/unix/sysv/linux/openat.c: Do not include
12101 <kernel-features.h>.
12102 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
12103 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
12104 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
12105 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
12106 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
12107 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
12108 <kernel-features.h>.
12109 (readlinkat) [__NR_readlinkat]: Make code unconditional.
12110 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
12111 result of INLINE_SYSCALL directly, not via int variable.
12112 * sysdeps/unix/sysv/linux/renameat.c: Do not include
12113 <kernel-features.h>.
12114 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
12115 (renameat) [__NR_renameat]: Make code unconditional.
12116 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
12117 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
12118 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
12119 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
12120 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
12121 (__ASSUME_ATFCTS): Do not undefine and redefine.
12122 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
12123 <kernel-features.h>.
12124 (symlinkat) [__NR_symlinkat]: Make code unconditional.
12125 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12126 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
12127 <kernel-features.h>.
12128 (unlinkat) [__NR_unlinkat]: Make code unconditional.
12129 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
12130 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
12131 (__ASSUME_ATFCTS): Do not undefine and redefine.
12132 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12133 <kernel-features.h>.
12134 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
12135 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
12136 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12137 <kernel-features.h>.
12138 (__xmknodat) [__NR_mknodat]: Make code unconditional.
12139 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
12140
224c6c51
L
121412014-06-20 H.J. Lu <hongjiu.lu@intel.com>
12142
12143 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
12144
aa6ec754
AS
121452014-06-20 Andreas Schwab <schwab@linux-m68k.org>
12146
12147 [BZ #17069]
12148 * posix/regcomp.c (parse_reg_exp): Deallocate partially
12149 constructed tree before returning error.
12150 * posix/bug-regexp36.c: Expand test case.
12151
d8c2869d
SL
121522014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
12153
3ef6b850
SL
12154 [BZ #6803]
12155 * math/libm-test.inc (scalbln_test_date):
12156 Add errno expectations.
12157 * math/w_scalblnf.c: New File.
12158 Add wrapper which checks for setting errno to ERANGE.
12159 Add weak_alias for corresponding scalbln function.
12160 * math/w_scalbln.c: Likewise.
12161 * math/w_scalblnl.c: Likewise.
12162 * math/Makefile (libm-calls): Add w_scalbln.
12163 * sysdeps/ieee754/flt-32/s_scalblnf.c:
12164 Remove weak_alias for corresponding scalbln function.
12165 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
12166 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
12167 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
12168 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12169 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
12170 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
12171 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
12172 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
12173 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
12174 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
12175 Remove long_double_symbol for scalblnl function in libm, libc.
12176 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
12177 Add wrapper which checks for setting errno to ERANGE.
12178 Add long_double_symbol for scalblnl function in libm, libc.
12179 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
12180 Remove long_double_symbol for scalblnl in libm.
12181 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
12182 Add wrapper which checks for setting errno to ERANGE.
12183 Add long_double_symbol for scalblnl function in libm.
12184 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
12185 Do not use wrapper because of own implementation.
12186
c8daec5c
L
121872014-06-19 H.J. Lu <hongjiu.lu@intel.com>
12188
12189 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
12190 3 bytes for __pad1 for x32.
12191 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
12192
5c74e47c
LM
121932014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
12194 H.J. Lu <hongjiu.lu@intel.com>
12195
12196 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
12197 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
12198 * sysdeps/x86_64/multiarch/memset.S: Likewise.
12199 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
12200 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
12201
4d43ef1e
AS
122022014-06-19 Andreas Schwab <schwab@linux-m68k.org>
12203
12204 [BZ #17069]
12205 * posix/regcomp.c (parse_expression): Deallocate partially
12206 constructed tree before returning error.
12207 * posix/Makefile.c (tests): Add bug-regex36.
12208 (generated): Add bug-regex36.mtrace.
12209 (tests-special): Add $(objpfx)bug-regex36-mem.out
12210 (bug-regex36-ENV): New variable.
12211 ($(objpfx)bug-regex36-mem.out): New rule.
12212 * posix/bug-regex36.c: New file.
12213
51a7380b
WN
122142014-06-19 Will Newton <will.newton@linaro.org>
12215
12216 * malloc/malloc.c (systrim): If extra is zero then return
12217 early.
12218
91b84fe5
SP
122192014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
12220
12221 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
12222
f940b965
RE
122232014-06-19 Richard Earnshaw <rearnsha@arm.com>
12224
12225 * sysdeps/aarch64/strchr.S: New file.
12226
4ba7a00f
JM
122272014-06-18 Joseph Myers <joseph@codesourcery.com>
12228
12229 [BZ #17022]
12230 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
12231 from arguments -2 or below.
12232 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12233 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
12234
b3a9f56b
AS
122352014-06-18 Andreas Schwab <schwab@suse.de>
12236
12237 [BZ #17062]
12238 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
12239 of a bracket expr not to run off the end of the string.
12240 * posix/Makefile (tests): Add tst-fnmatch3.
12241 * posix/tst-fnmatch3.c: New file.
12242
85d89278
JM
122432014-06-18 Joseph Myers <joseph@codesourcery.com>
12244
12245 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
12246 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12247 [$(cross-compiling) = no]: Likewise.
12248 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12249 [$(cross-compiling) = no]: Likewise.
12250
754c5a08
RS
122512014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12252
12253 [BZ #17031]
12254 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
12255 double, adjusted for any remainder from the high double.
12256 * math/libm-test.inc (nearbyint): Add tests.
12257 (rint): Likewise.
12258
556f529d
AZ
122592014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12260
12261 * nptl/sysdeps/powerpc/Makefile: Moved ...
12262 * sysdeps/powerpc/nptl/Makefile: ... here.
12263 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
12264 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
12265 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
12266 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
12267 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
12268 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
12269 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
12270 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
12271 * nptl/sysdeps/powerpc/tls.h: Moved ...
12272 * sysdeps/powerpc/nptl/tls.h: ... here.
12273
91c03c53
JM
122742014-06-16 Joseph Myers <joseph@codesourcery.com>
12275
12276 [BZ #16681]
12277 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
12278 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
12279 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
12280 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
12281 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
12282 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
12283 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
12284 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
12285 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
12286
a76e63c5
AS
122872014-06-17 Andreas Schwab <schwab@linux-m68k.org>
12288
12289 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
12290
f2f6d82f
AS
122912014-06-16 Andreas Schwab <schwab@linux-m68k.org>
12292
ea8a15f6
AS
12293 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
12294 defined operator.
12295
f2f6d82f
AS
12296 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
12297 $TIMEOUTFACTOR.
12298
a7291117
FW
122992014-06-16 Florian Weimer <fweimer@redhat.com>
12300
12301 [BZ #17058]
12302 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
12303 non-executed part of the test.
12304
3d7c00e3
AS
123052014-06-16 Andreas Schwab <schwab@suse.de>
12306
12307 * string/bits/string2.h (strdup, strndup): Update feature guard.
12308
6957fb31
DM
123092014-06-14 David S. Miller <davem@davemloft.net>
12310
12311 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12312
11b9e55b
AS
123132014-06-14 Andreas Schwab <schwab@linux-m68k.org>
12314
1d2a0492
AS
12315 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
12316 that was previously under [RESET_PID].
12317 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
12318
11b9e55b
AS
12319 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
12320 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
12321 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
12322 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12323 (__libc_vfork): New strong alias.
12324 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
12325
0f6901d0
AK
123262014-06-14 Andi Kleen <ak@linux.intel.com>
12327
12328 * sysdeps/generic/elide.h: New file.
12329
38bbbb9f
SL
123302014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
12331
12332 * Makefile (installed-headers): Adjust path of pthread.h header.
12333
45193bb8
RM
123342014-06-13 Roland McGrath <roland@hack.frob.com>
12335
9a25fd1e
RM
12336 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
12337 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
12338 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
12339 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
12340
4004f7e4
RM
12341 * nptl/sysdeps/s390/Makefile: Moved ...
12342 * sysdeps/s390/nptl/Makefile: ... here.
12343 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
12344 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
12345 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
12346 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
12347 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
12348 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
12349 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
12350 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
12351 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
12352 * sysdeps/s390/nptl/pthreaddef.h: ... here.
12353 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
12354 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
12355 * nptl/sysdeps/s390/tls.h: Moved ...
12356 * sysdeps/s390/nptl/tls.h: ... here.
12357
45193bb8
RM
12358 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
12359 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
12360
f6fdf533
DM
123612014-06-13 David S. Miller <davem@davemloft.net>
12362
12363 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
12364 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
12365 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
12366 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
12367 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
12368 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
12369 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
12370 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
12371 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
12372 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
12373 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
12374 Remove RESET_PID cpp guards.
12375 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
12376 Remove RESET_PID cpp guards.
12377 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
12378
f5d71e14
AS
123792014-06-13 Andreas Schwab <schwab@linux-m68k.org>
12380
12381 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
12382 __sp to uintptr_t.
12383
b7aa8caa
AK
123842014-06-13 Andi Kleen <ak@linux.intel.com>
12385
4b266200
AZ
12386 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
12387 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
12388 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
12389 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
12390 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
12391 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
12392 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
12393 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
12394 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
12395 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
12396 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
12397 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
12398 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
12399 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
12400 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
12401 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
12402 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
12403 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
12404 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
12405 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
12406
12407 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
12408 (pthread_rwlock_rdlock): Add elision.
12409 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
12410 (pthread_rwlock_wrlock): Add elision.
12411 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
12412 (pthread_rwlock_trywrlock): Add elision.
12413 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
12414 (pthread_rwlock_tryrdlock): Add elision.
12415 * nptl/pthread_rwlock_unlock.c: Include elide.h.
12416 (pthread_rwlock_tryrdlock): Add elision unlock.
12417 * nptl/sysdeps/pthread/pthread.h:
12418 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
12419 (PTHREAD_RWLOCK_INITIALIZER,
12420 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
12421 Handle new elision field.
12422 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
12423 * sysdeps/arm/nptl/bits/pthreadtypes.h
12424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12425 * sysdeps/sh/nptl/bits/pthreadtypes.h
12426 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12427 * sysdeps/tile/nptl/bits/pthreadtypes.h
12428 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12429 * sysdeps/a/nptl/bits/pthreadtypes.h
12430 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12431 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12432 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12433 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12434 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12435 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
12436 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12437 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12438 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12439 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12440 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12441 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12442 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12443 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12444 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12445 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
12446 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
12447 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
12448 (elision_init): Set try_xbegin to zero when no RTM.
12449 * sysdeps/x86/nptl/bits/pthreadtypes.h
12450 (pthread_rwlock_t): Change __pad1 to __rwelision.
12451 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 12452
a832bdd3
AK
124532014-06-13 Andi Kleen <ak@linux.intel.com>
12454
12455 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
12456 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
12457 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
12458 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
12459
995a46bb
MI
124602014-06-13 Meador Inge <meadori@codesourcery.com>
12461
12462 [BZ #16996]
03ed7738 12463 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
12464 that the cached result has been set before returning it.
12465
45262aee
RM
124662014-06-12 Roland McGrath <roland@hack.frob.com>
12467
febf6cc5
RM
12468 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
12469 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
12470 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
12471 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
12472 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
12473 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
12474
e2682246
RM
12475 * nptl/sysdeps/sparc/Makefile: Moved ...
12476 * sysdeps/sparc/nptl/Makefile: ... here.
12477 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
12478 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
12479 * nptl/sysdeps/sparc/tls.h: Moved ...
12480 * sysdeps/sparc/nptl/tls.h: ... here.
12481 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
12482 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
12483 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
12484 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
12485 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
12486 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
12487 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
12488 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
12489 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
12490 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
12491 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
12492 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
12493 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
12494 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
12495 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
12496 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
12497 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
12498 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
12499 Update #include.
12500 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
12501 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
12502 Update #include.
12503 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
12504 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
12505 Update #include.
12506 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
12507 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
12508 Update #include.
12509
b0725f43
RM
12510 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12511
b14368b8
RM
12512 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
12513 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
12514
c5620eb3
RM
12515 * sysdeps/pthread/posix-timer.h: Include <list.h>.
12516 (struct list_links): Type removed.
12517 (struct thread_node, struct timer_node): Replace struct list_links
12518 with struct list_head.
12519 (list_unlink_ip): Likewise.
12520 * sysdeps/pthread/timer_routines.c
12521 (timer_free_list, thread_free_list, thread_active_list): Likewise.
12522 (list_append, list_insbefore): Likewise.
12523 (list_init): Function removed.
12524 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
12525 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
12526 * sysdeps/pthread/Makefile: ... here, new file.
12527
12528 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
12529 * sysdeps/nptl/Implies: ... here.
12530 * sysdeps/unix/sysv/linux/Implies: Add nptl.
12531 * nptl/sysdeps/pthread/list.h: Moved ...
12532 * include/list.h: ... here.
12533 * nptl/sysdeps/pthread/createthread.c: Moved ...
12534 * nptl/createthread.c: ... here.
12535 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
12536 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
12537 * nptl/pt-longjmp.c: ... here.
12538 * nptl/sysdeps/pthread/Makefile: Moved ...
12539 * sysdeps/nptl/Makefile: ... here.
12540 * nptl/sysdeps/pthread/Subdirs: Moved ...
12541 * sysdeps/nptl/Subdirs: ... here.
12542 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
12543 * sysdeps/nptl/aio_misc.h: ... here.
12544 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
12545 * sysdeps/nptl/bits/libc-lock.h: ... here.
12546 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
12547 * sysdeps/nptl/bits/libc-lockP.h: ... here.
12548 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
12549 * sysdeps/nptl/bits/stdio-lock.h: ... here.
12550 * nptl/sysdeps/pthread/configure: Moved ...
12551 * sysdeps/nptl/configure: ... here.
12552 * nptl/sysdeps/pthread/configure.ac: Moved ...
12553 * sysdeps/nptl/configure.ac: ... here.
12554 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
12555 * sysdeps/nptl/gai_misc.h: ... here.
12556 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
12557 * sysdeps/nptl/librt-cancellation.c: ... here.
12558 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
12559 * sysdeps/nptl/malloc-machine.h: ... here.
12560 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
12561 * sysdeps/nptl/pthread-functions.h: ... here.
12562 * nptl/sysdeps/pthread/pthread.h: Moved ...
12563 * sysdeps/nptl/pthread.h: ... here.
12564 * nptl/sysdeps/pthread/setxid.h: Moved ...
12565 * sysdeps/nptl/setxid.h: ... here.
12566 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
12567 * sysdeps/nptl/sigfillset.c: ... here.
12568 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
12569 * sysdeps/nptl/tcb-offsets.h: ... here.
12570 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
12571 * sysdeps/nptl/tst-mqueue8x.c: ... here.
12572 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
12573 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
12574 * nptl/sysdeps/pthread/allocalim.h: Moved ...
12575 * sysdeps/pthread/allocalim.h: ... here.
12576 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
12577 * sysdeps/pthread/bits/sigthread.h: ... here.
12578 * nptl/sysdeps/pthread/flockfile.c: Moved ...
12579 * sysdeps/pthread/flockfile.c: ... here.
12580 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
12581 * sysdeps/pthread/ftrylockfile.c: ... here.
12582 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
12583 * sysdeps/pthread/funlockfile.c: ... here.
12584 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
12585 * sysdeps/pthread/posix-timer.h: ... here.
12586 * nptl/sysdeps/pthread/timer_create.c: Moved ...
12587 * sysdeps/pthread/timer_create.c: ... here.
12588 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
12589 * sysdeps/pthread/timer_delete.c: ... here.
12590 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
12591 * sysdeps/pthread/timer_getoverr.c: ... here.
12592 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
12593 * sysdeps/pthread/timer_gettime.c: ... here.
12594 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
12595 * sysdeps/pthread/timer_routines.c: ... here.
12596 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
12597 * sysdeps/pthread/timer_settime.c: ... here.
12598 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
12599 * sysdeps/pthread/tst-timer.c: ... here.
12600 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
12601 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
12602
e876b090
RM
12603 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
12604 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
12605
f6b07b3d
RM
12606 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
12607 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
12608 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
12609 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
12610 Update #include target.
12611 * nptl/sysdeps/i386/i686/Makefile: Moved ...
12612 * sysdeps/i386/i686/nptl/Makefile: ... here.
12613 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
12614 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
12615 Update #include target.
12616 * nptl/sysdeps/i386/i686/tls.h: Moved ...
12617 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
12618 * nptl/sysdeps/i386/Makefile: Moved ...
12619 * sysdeps/i386/nptl/Makefile: ... here.
12620 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
12621 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
12622 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
12623 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
12624 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
12625 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
12626 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
12627 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
12628 * sysdeps/i386/nptl/pthreaddef.h: ... here.
12629 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
12630 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
12631 * nptl/sysdeps/i386/tls.h: Moved ...
12632 * sysdeps/i386/nptl/tls.h: ... here.
12633
45262aee
RM
12634 * sysdeps/sh/Makefile [$(subdir) = csu]
12635 (gen-as-const-headers): Add tcb-offsets.sym.
12636 * nptl/sysdeps/sh/Makefile: File removed.
12637 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
12638 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
12639 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
12640 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
12641 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
12642 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
12643 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
12644 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
12645 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
12646 * sysdeps/sh/nptl/pthreaddef.h: ... here.
12647 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
12648 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
12649 * nptl/sysdeps/sh/tls.h: Moved ...
12650 * sysdeps/sh/nptl/tls.h: ... here.
12651 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
12652 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
12653 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
12654 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
12655 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
12656 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
12657 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
12658 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
12659 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
12660 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
12661 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
12662 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
12663 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
12664 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
12665 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
12666 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
12667 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
12668 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
12669 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
12670 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
12671 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
12672 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
12673 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
12674 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
12675 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
12676 Moved ...
12677 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
12678 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
12679 Moved ...
12680 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
12681 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
12682 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
12683 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
12684 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
12685 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
12686 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
12687 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
12688 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
12689 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
12690 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
12691 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
12692 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
12693 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
12694 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
12695 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
12696 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
12697 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
12698 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
12699
35a5e3e3
SL
127002014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
12701
12702 * posix/spawn_faction_addopen.c: Include string.h.
12703
14642b85
RM
127042014-06-11 Roland McGrath <roland@hack.frob.com>
12705
12706 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
12707 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
12708 * nptl/sysdeps/x86_64/Makefile: Moved ...
12709 * sysdeps/x86_64/nptl/Makefile: ... here.
12710 * nptl/sysdeps/x86_64/configure: Moved ...
12711 * sysdeps/x86_64/nptl/configure: ... here.
12712 * nptl/sysdeps/x86_64/configure.ac: Moved ...
12713 * sysdeps/x86_64/nptl/configure.ac: ... here.
12714 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
12715 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
12716 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
12717 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
12718 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
12719 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
12720 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
12721 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
12722 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
12723 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
12724 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
12725 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
12726 * nptl/sysdeps/x86_64/tls.h: Moved ...
12727 * sysdeps/x86_64/nptl/tls.h: ... here.
12728 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
12729 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
12730 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
12731 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
12732
12733 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
12734
31c44fea
AZ
127352014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12736
12737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12738
e81a4f9a
JM
127392014-06-11 Joseph Myers <joseph@codesourcery.com>
12740
12741 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
12742 type.
12743 [POSIX] (off_t): Likewise.
12744 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
12745 [POSIX] (S_ISBLK): Require macro.
12746 [POSIX] (S_ISCHR): Likewise.
12747 [POSIX] (S_ISDIR): Likewise.
12748 [POSIX] (S_ISFIFO): Likewise.
12749 [POSIX] (S_ISREG): Likewise.
12750 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
12751 optional-macro.
12752 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
12753 type.
12754 [POSIX] (time_t): Likewise.
12755 [POSIX] (timer_t): Likewise.
12756
89e435f3
FW
127572014-06-11 Florian Weimer <fweimer@redhat.com>
12758
12759 [BZ #17048]
12760 * posix/spawn_int.h (struct __spawn_action): Make the path string
12761 non-const to support deallocation.
12762 * posix/spawn_faction_addopen.c
12763 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
12764 * posix/spawn_faction_destroy.c
12765 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
12766 path in all spawn_do_open actions.
12767 * posix/tst-spawn.c (do_test): Exercise the copy operation in
12768 posix_spawn_file_actions_addopen.
12769
c3a2ebe1
CM
127702014-06-11 Chris Metcalf <cmetcalf@tilera.com>
12771
12772 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
12773 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
12774 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
12775 conditional code always true.
12776 (__libc_vfork): New alias.
12777
9503784a
RM
127782014-06-11 Roland McGrath <roland@hack.frob.com>
12779
c9cab3d2
RM
12780 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12781 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
12782
d3996c79
RM
12783 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
12784
ba5ec611
RM
12785 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12786 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
12787
f12b4814
RM
12788 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
12789 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
12790
9503784a
RM
12791 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
12792 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
12793
e23d3d26
VR
127942014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12795
12796 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
12797 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
12798 multiarch strcmp for PPC64.
12799 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
12800 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
12801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
12802 multiarch optimizations.
12803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12804 (__libc_ifunc_impl_list): Likewise.
12805
42b1161e
SP
128062014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12807
12808 * benchtests/scripts/validate_benchout.py: New script.
12809 * benchtests/Makefile (bench-func): Call it.
12810 * benchtests/scripts/benchout.schema.json: New file.
12811
2d0fc4dc
CM
128122014-06-10 Chris Metcalf <cmetcalf@tilera.com>
12813
4a594c34
AZ
12814 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
12815 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
12816 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
12817 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
12818 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
12819 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
12820 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
12821 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
12822 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
12823 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
12824 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
12825 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
12826 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
12827 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
12828 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
12829 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
12830 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 12831 Moved ...
4a594c34 12832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 12833 ... here.
4a594c34 12834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 12835 Moved ...
4a594c34
AZ
12836 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
12837 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 12838 Moved ...
4a594c34 12839 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 12840 ... here.
4a594c34 12841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 12842 Moved ...
4a594c34 12843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 12844 ... here.
4a594c34 12845 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 12846 Moved ...
4a594c34
AZ
12847 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
12848 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 12849 Moved ...
4a594c34 12850 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 12851 ... here.
4a594c34 12852 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 12853 Moved ...
4a594c34 12854 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 12855 ... here.
4a594c34 12856 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 12857 Moved ...
4a594c34
AZ
12858 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
12859 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 12860 Moved ...
4a594c34 12861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 12862 ... here.
4a594c34 12863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 12864 Moved ...
4a594c34 12865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 12866 ... here.
4a594c34 12867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 12868 Moved ...
4a594c34 12869 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 12870 ... here.
4a594c34 12871 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 12872 Moved ...
4a594c34
AZ
12873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
12874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 12875 Moved ...
4a594c34 12876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 12877 ... here.
4a594c34 12878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 12879 Moved ...
4a594c34 12880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 12881 ... here.
4a594c34 12882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 12883 Moved ...
4a594c34 12884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 12885 ... here.
4a594c34 12886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 12887 Moved ...
4a594c34
AZ
12888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
12889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 12890 Moved ...
4a594c34 12891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 12892 ... here.
4a594c34 12893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 12894 Moved ...
4a594c34 12895 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 12896 ... here.
4a594c34 12897 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 12898 Moved ...
4a594c34
AZ
12899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
12900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 12901 Moved ...
4a594c34 12902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 12903 ... here.
4a594c34 12904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 12905 Moved ...
4a594c34
AZ
12906 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
12907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 12908 Moved ...
4a594c34
AZ
12909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
12910 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 12911 Moved ...
4a594c34 12912 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 12913 ... here.
4a594c34 12914 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 12915 Moved ...
4a594c34 12916 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 12917 ... here.
4a594c34 12918 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 12919 Moved ...
4a594c34 12920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 12921 ... here.
4a594c34 12922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 12923 Moved ...
4a594c34
AZ
12924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
12925 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 12926 Moved ...
4a594c34 12927 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 12928 ... here.
4a594c34 12929 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 12930 Moved ...
4a594c34 12931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 12932 ... here.
4a594c34
AZ
12933 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
12934 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
12935 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
12936 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
12937 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 12938 Moved ...
4a594c34 12939 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 12940 ... here.
4a594c34
AZ
12941 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
12942 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
12943 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
12944 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
12945 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
12946 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
12947 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
12948 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
12949 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
12950 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
12951 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
12952 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
12953 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 12954 Moved ...
4a594c34
AZ
12955 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
12956 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 12957 Moved ...
4a594c34
AZ
12958 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
12959 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
12960 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
12961 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 12962 Moved ...
4a594c34
AZ
12963 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
12964 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
12965 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
12966 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
12967 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
12968 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
12969 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 12970
0570cfed
W
129712014-06-10 Wilco <wdijkstr@arm.com>
12972
12973 * math/test-fenv-return.c: New file.
12974 * math/Makefile: Add new test test-fenv-return.
12975
f8ba1b56
JM
129762014-06-10 Joseph Myers <joseph@codesourcery.com>
12977
12978 [BZ #17042]
12979 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
12980 when x - 1 is zero.
12981 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
12982 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
12983 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
12984 0.0L for an argument of 1.0L.
12985 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
12986 Likewise.
12987 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
12988 value when x - 1 is zero.
12989 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
12990 * sysdeps/i386/fpu/libm-test-ulps: Update.
12991 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12992
2c3520d9
BO
129932014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
12994
12995 [BZ #15119]
12996 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
12997
acaa4d24
RM
129982014-06-09 Roland McGrath <roland@hack.frob.com>
12999
13000 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
13001 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
13002
962b744d
RM
130032014-06-09 Roland McGrath <roland@hack.frob.com>
13004
d752f0cc
RM
13005 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13006 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
13007
34eda6d1
RM
13008 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13009 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
13010
50f0a637
RM
13011 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13012 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
13013
08f41f04
RM
13014 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
13015 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
13016
962b744d
RM
13017 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
13018 if not already defined.
13019 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
13020 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
13021 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
13022 (TLS_INIT_TP): Use it.
13023 (TLS_DEFINE_INIT_TP): New macro.
13024 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
13025
09f19b05
JM
130262014-06-09 Joseph Myers <joseph@codesourcery.com>
13027
13028 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
13029 constant.
13030 [POSIX] (IXANY): Likewise.
13031 [POSIX] (OLCUC): Likewise.
13032 [POSIX || POSIX2008] (CBAUD): Do not allow.
13033 [POSIX || POSIX2008] (DEFECHO): Likewise.
13034 [POSIX || POSIX2008] (ECHOCTL): Likewise.
13035 [POSIX || POSIX2008] (ECHOKE): Likewise.
13036 [POSIX || POSIX2008] (ECHOPRT): Likewise.
13037 [POSIX || POSIX2008] (EXTA): Likewise.
13038 [POSIX || POSIX2008] (EXTB): Likewise.
13039 [POSIX || POSIX2008] (FLUSHO): Likewise.
13040 [POSIX || POSIX2008] (LOBLK): Likewise.
13041 [POSIX || POSIX2008] (PENDIN): Likewise.
13042 [POSIX || POSIX2008] (SWTCH): Likewise.
13043 [POSIX || POSIX2008] (VDISCARD): Likewise.
13044 [POSIX || POSIX2008] (VDSUSP): Likewise.
13045 [POSIX || POSIX2008] (VLNEXT): Likewise.
13046 [POSIX || POSIX2008] (VREPRINT): Likewise.
13047 [POSIX || POSIX2008] (VSTATUS): Likewise.
13048 [POSIX || POSIX2008] (VWERASE): Likewise.
13049 (B*): Change to B[0123456789]*.
13050 * conform/data/time.h-data [POSIX || UNIX98]
13051 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
13052 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13053 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
13054 [POSIX] (tm_*): Do not allow.
13055
686554bf
JM
130562014-06-07 Joseph Myers <joseph@codesourcery.com>
13057
13058 * Makefile (install): Don't set LANGUAGE.
13059 * Makefile.in (install): Likewise.
13060 * assert/Makefile (test-assert-ENV): Remove variable.
13061 (test-assert-perr-ENV): Likewise.
13062 * elf/Makefile (neededtest4-ENV): Likewise.
13063 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13064 [$(cross-compiling) = no]: Don't set LANGUAGE.
13065 * io/ftwtest-sh (LANG): Remove variable.
13066 * libio/Makefile (tst-widetext-ENV): Likewise.
13067 * manual/install.texi (Running make install): Don't refer to
13068 environment settings for make install.
13069 * INSTALL: Regenerated.
13070 * nptl/tst-tls6.sh: Don't set LANG.
13071 * posix/globtest.sh (LANG): Remove variable.
13072 * string/Makefile (tester-ENV): Likewise.
13073 (inl-tester-ENV): Likewise.
13074 (noinl-tester-ENV): Likewise.
13075 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13076 [$(cross-compiling) = no]: Don't set LANGUAGE.
13077 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
13078 without explicit environment settings.
13079
68e6b6b1
RM
130802014-06-06 Roland McGrath <roland@hack.frob.com>
13081
13082 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
13083 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
13084 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
13085 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
13086
4d3ae034
CM
130872014-06-06 Chris Metcalf <cmetcalf@tilera.com>
13088
13089 * crypt/crypt-private.h [DOS]: Add some includes taken from the
13090 other files in the crypt directory.
13091 * crypt/crypt.c: Remove duplicate includes.
13092 * crypt/crypt-entry.c: Likewise.
13093 * crypt/crypt_util.c: Likewise.
13094
8540f6d2
JM
130952014-06-06 Joseph Myers <joseph@codesourcery.com>
13096
13097 * Makeconfig (run-program-env): New variable.
13098 (run-program-prefix-before-env): Likewise.
13099 (run-program-prefix-after-env): Likewise.
13100 (run-program-prefix): Define in terms of new variables.
13101 (built-program-cmd-before-env): New variable.
13102 (built-program-cmd-after-env): Likewise.
13103 (built-program-cmd): Define in terms of new variables.
13104 (test-program-prefix-before-env): New variable.
13105 (test-program-prefix-after-env): Likewise.
13106 (test-program-prefix): Define in terms of new variables.
13107 (test-program-cmd-before-env): New variable.
13108 (test-program-cmd-after-env): Likewise.
13109 (test-program-cmd): Define in terms of new variables.
13110 * Rules (make-test-out): Use $(run-program-env).
13111 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
13112 (help): Do not mention environment variables. Mention
13113 --timeoutfactor option.
13114 (timeoutfactor): New variable.
13115 (blacklist_exports): Remove function.
13116 (exports): Remove variable.
13117 (command): Do not include ${exports}.
13118 * manual/install.texi (Configuring and compiling): Do not mention
13119 test wrappers preserving environment variables. Mention that last
13120 assignment to a variable must take precedence.
13121 * INSTALL: Regenerated.
13122 * benchtests/Makefile (run-bench): Use $(run-program-env).
13123 * catgets/Makefile ($(objpfx)test1.cat): Use
13124 $(built-program-cmd-before-env), $(run-program-env) and
13125 $(built-program-cmd-after-env).
13126 ($(objpfx)test2.cat): Do not specify environment variables
13127 explicitly.
13128 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
13129 $(run-program-env) and $(built-program-cmd-after-env).
13130 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
13131 $(run-program-env) and $(test-program-cmd-after-env).
13132 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
13133 explicitly.
13134 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
13135 run_program_env and test_program_cmd_after_env arguments.
13136 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
13137 * elf/tst-pathopt.sh: Use run_program_env argument.
13138 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
13139 $(test-wrapper-env) and $(run-program-env).
13140 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
13141 run_program_env arguments.
13142 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
13143 * intl/Makefile ($(objpfx)tst-gettext.out): Use
13144 $(test-program-prefix-before-env), $(run-program-env) and
13145 $(test-program-prefix-after-env).
13146 ($(objpfx)tst-gettext2.out): Likewise.
13147 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
13148 run_program_env and test_program_prefix_after_env arguments.
13149 * intl/tst-gettext2.sh: Likewise.
13150 * intl/tst-gettext4.sh: Do not set environment variables
13151 explicitly.
13152 * intl/tst-gettext6.sh: Likewise.
13153 * intl/tst-translit.sh: Likewise.
13154 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
13155 $(test-program-prefix-before-env), $(run-program-env) and
13156 $(test-program-prefix-after-env).
13157 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
13158 run_program_env and test_program_prefix_after_env arguments.
13159 * math/Makefile (run-regen-ulps): Use $(run-program-env).
13160 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
13161 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
13162 explicitly with each use of ${test_wrapper_env}.
13163 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
13164 $(test-program-prefix-before-env), $(run-program-env) and
13165 $(test-program-prefix-after-env).
13166 * posix/tst-getconf.sh: Do not set environment variables
13167 explicitly.
13168 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
13169 run_program_env and test_program_prefix_after_env arguments.
13170 * stdio-common/tst-printf.sh: Do not set environment variables
13171 explicitly.
13172 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
13173 $(test-program-prefix-before-env), $(run-program-env) and
13174 $(test-program-prefix-after-env).
13175 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
13176 run_program_env and test_program_prefix_after_env arguments.
13177 Split $test calls into $test_pre and $test.
13178 * timezone/Makefile (build-testdata): Use
13179 $(built-program-cmd-before-env), $(run-program-env) and
13180 $(built-program-cmd-after-env).
13181
ed36bfa1
AZ
131822014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13183
13184 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
13185 strlen for non SHARED builds.
13186
fc75bf46
SP
131872014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13188
13189 * nptl/allocatestack.c (check_list): Inlined function...
13190 (__reclaim_stacks): ... here.
13191
d89b3d80
OB
131922014-06-05 Ondřej Bílka <neleai@seznam.cz>
13193
13194 [BZ #15698]
13195 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
13196 memory overrun.
13197
2bf18041
JM
131982014-06-05 Joseph Myers <joseph@codesourcery.com>
13199
13200 * Rules (make-test-out): Include
13201 LOCPATH=$(common-objpfx)localedata in default environment.
13202 * debug/Makefile (tst-chk1-ENV): Remove variable.
13203 (tst-chk2-ENV): Likewise.
13204 (tst-chk3-ENV): Likewise.
13205 (tst-chk4-ENV): Likewise.
13206 (tst-chk5-ENV): Likewise.
13207 (tst-chk6-ENV): Likewise.
13208 (tst-lfschk1-ENV): Likewise.
13209 (tst-lfschk2-ENV): Likewise.
13210 (tst-lfschk3-ENV): Likewise.
13211 (tst-lfschk4-ENV): Likewise.
13212 (tst-lfschk5-ENV): Likewise.
13213 (tst-lfschk6-ENV): Likewise.
13214 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
13215 (tst-iconv7-ENV): Likewise.
13216 * intl/Makefile (LOCPATH-ENV): Likewise.
13217 (tst-codeset-ENV): Likewise.
13218 (tst-gettext3-ENV): Likewise.
13219 (tst-gettext5-ENV): Likewise.
13220 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
13221 (tst-fopenloc-ENV): Likewise.
13222 (tst-fgetws-ENV): Remove variable.
13223 (tst-ungetwc1-ENV): Likewise.
13224 (tst-ungetwc2-ENV): Likewise.
13225 (bug-ungetwc2-ENV): Likewise.
13226 (tst-swscanf-ENV): Likewise.
13227 (bug-ftell-ENV): Likewise.
13228 (tst-fgetwc-ENV): Likewise.
13229 (tst-fseek-ENV): Likewise.
13230 (tst-ftell-partial-wide-ENV): Likewise.
13231 (tst-ftell-active-handler-ENV): Likewise.
13232 (tst-ftell-append-ENV): Likewise.
13233 * posix/Makefile (tst-fnmatch-ENV): Likewise.
13234 (tst-regexloc-ENV): Likewise.
13235 (bug-regex1-ENV): Likewise.
13236 (tst-regex-ENV): Likewise.
13237 (tst-regex2-ENV): Likewise.
13238 (bug-regex5-ENV): Likewise.
13239 (bug-regex6-ENV): Likewise.
13240 (bug-regex17-ENV): Likewise.
13241 (bug-regex18-ENV): Likewise.
13242 (bug-regex19-ENV): Likewise.
13243 (bug-regex20-ENV): Likewise.
13244 (bug-regex22-ENV): Likewise.
13245 (bug-regex23-ENV): Likewise.
13246 (bug-regex25-ENV): Likewise.
13247 (bug-regex26-ENV): Likewise.
13248 (bug-regex30-ENV): Likewise.
13249 (bug-regex32-ENV): Likewise.
13250 (bug-regex33-ENV): Likewise.
13251 (bug-regex34-ENV): Likewise.
13252 (bug-regex35-ENV): Likewise.
13253 (tst-rxspencer-ENV): Likewise.
13254 (tst-rxspencer-no-utf8-ENV): Likewise.
13255 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
13256 (tst-sscanf-ENV): Likewise.
13257 (tst-swprintf-ENV): Likewise.
13258 (tst-swscanf-ENV): Likewise.
13259 (test-vfprintf-ENV): Likewise.
13260 (scanf13-ENV): Likewise.
13261 (bug14-ENV): Likewise.
13262 (tst-grouping-ENV): Likewise.
13263 * stdlib/Makefile (tst-strtod-ENV): Likewise.
13264 (tst-strtod3-ENV): Likewise.
13265 (tst-strtod4-ENV): Likewise.
13266 (tst-strtod5-ENV): Likewise.
13267 (testmb2-ENV): Likewise./
13268 * string/Makefile (tst-strxfrm-ENV): Likewise.
13269 (tst-strxfrm2-ENV): Likewise.
13270 (bug-strcoll1-ENV): Likewise.
13271 (test-strcasecmp-ENV): Likewise.
13272 (test-strncasecmp-ENV): Likewise.
13273 * time/Makefile (tst-strptime-ENV): Likewise.
13274 (tst-ftime_l-ENV): Likewise.
13275 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
13276 (tst-mbrtowc-ENV): Likewise.
13277 (tst-wcrtomb-ENV): Likewise.
13278 (tst-mbrtowc2-ENV): Likewise.
13279 (tst-c16c32-1-ENV): Likewise.
13280 (tst-mbsnrtowcs-ENV): Likewise.
13281
cd1fb604
OB
132822014-06-05 Ondřej Bílka <neleai@seznam.cz>
13283
13284 * manual/resource.texi (How to get information about the memory
13285 subsystem?): Fix typo.
13286 Reported by Peon de la Parra Ivan <peon@keba.com>
13287
b42eca7d
GY
132882014-06-03 Guo Yixuan <culu.gyx@gmail.com>
13289
13290 [BZ #16882]
13291 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
13292 (pthread_spin_lock): Branch out of spin loop to proper location.
13293 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
13294 (pthread_spin_lock): Likewise.
13295
902b71f9
DM
13296 * nptl/tst-spin4.c: New test.
13297 * nptl/Makefile (tests): Add tst-spin4.
13298
f9d2d032
AS
132992014-06-03 Andreas Schwab <schwab@suse.de>
13300
13301 [BZ #15946]
13302 * resolv/res_send.c (send_dg): Reload file descriptor after
13303 calling reopen.
13304
cf7bfd28
SL
133052014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
13306
13307 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13308
111cc714
RH
133092014-06-03 Richard Henderson <rth@redhat.com>
13310
89b4bd6b
RH
13311 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
13312 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
13313 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
13314 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
13315 in the SAVE_PID block.
13316 (__libc_vfork): New alias.
71840409 13317 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 13318
111cc714
RH
13319 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
13320 child in registers, not on the stack. Remove RESET_PID conditionals.
13321 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
13322
ccc39911
MS
133232014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
13324
13325 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13326
693096cc
W
133272014-06-03 Wilco <wdijkstr@arm.com>
13328
13329 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
13330 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
13331 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13332 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
13333 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
13334 Likewise.
13335
0b4366bc
W
133362014-06-03 Wilco <wdijkstr@arm.com>
13337
13338 * sysdeps/aarch64/fpu/math_private.h
13339 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
13340 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
13341 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
13342 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
13343 Fix declarations.
13344
8747cd03
KS
133452014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13346
13347 * crypt/crypt-private.h: Include ufc-crypt.h.
13348 (__b64_from_24bit): Declare extern.
13349 * crypt/crypt_util.c(__b64_from_24bit): New function.
13350 (b64t): New static const variable.
13351 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
13352 (b64t): Remove variable.
13353 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
13354 * crypt/sha256-crypt.c: Include crypt-private.h.
13355 (b64t): Remove variable.
13356 (__sha256_crypt_r): Remove b64_from_24bit and replace
13357 with __b64_from_24bit.
13358 * crypt/sha512-crypt.c: Likewise.
13359
d936d379
RM
133602014-06-02 Roland McGrath <roland@hack.frob.com>
13361
13362 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
13363 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
13364 Label the code __libc_vfork rather than __vfork.
13365 [!NOT_IN_libc] (vfork): Define as weak alias.
13366 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
13367 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
13368 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
13369
9fa76613
SP
133702014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
13371
13372 * malloc/malloc.c (malloc_info): Fix format specifier for
13373 n_mmaps.
13374
a88dadbe
W
133752014-06-02 Wilco <wdijkstr@arm.com>
13376
13377 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
13378 FPCR write.
13379
c95b3011
W
133802014-06-02 Wilco <wdijkstr@arm.com>
13381
13382 [BZ #17009]
13383 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
13384 Rewrite to reduce FPCR/FPSR accesses.
13385
6b4d7a90
DM
133862014-06-01 David S. Miller <davem@davemloft.net>
13387
13388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13389
30f3d07c
DM
133902014-05-31 David S. Miller <davem@davemloft.net>
13391
13392 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
13393 to occur in round to nearest mode when |x| >= 2.0
13394
74f31c18
RH
133952014-05-30 Richard Henderson <rth@twiddle.net>
13396
f0712b54
RH
13397 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
13398 (PSEUDO_RET_NOERRNO): Remove.
13399 (ret): Don't redefine.
13400 (ret_NOERRNO): Define in terms of ret.
13401 (ret_ERRVAL): Likewise.
13402
74f31c18
RH
13403 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
13404 use of PSEUDO_RET; perform the error check directly.
13405
30477995
MM
134062014-05-30 Marko Myllynen <myllynen@redhat.com>
13407
13408 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
13409 with __int128_t.
13410
62a58816
SP
134112014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13412
13413 * malloc/malloc (malloc_info): Fix formatting.
13414
4d653a59
SP
134152014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13416 Roland McGrath <roland@hack.frob.com>
13417
13418 * malloc/malloc (malloc_info): Also print mmapped statistics.
13419
5190c17f
RM
134202014-05-30 Roland McGrath <roland@hack.frob.com>
13421
13422 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
13423 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
13424
987c0269
OB
134252014-05-30 Ondřej Bílka <neleai@seznam.cz>
13426
13427 * malloc/malloc.c (malloc_info): Inline mi_arena.
13428
af4e8ef9
RH
134292014-05-29 Richard Henderson <rth@twiddle.net>
13430
1670e207
RH
13431 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
13432 Remove comma before expanding ASM_ARGS_##nr.
13433 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
13434 Make _x0 a strict output; make _x8 a strict input; adjust expansion
13435 of ASM_ARGS_##nr.
13436 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
13437 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
13438 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
13439 (ASM_ARGS_1): Add leading comma.
13440
11a28aee
RH
13441 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
13442 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
13443 to __errno_location.
13444 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
13445 Remove the expected plt for __errno_location.
13446
a17e5ffb 13447 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 13448 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
13449 call to __read_tp.
13450
b5be4597
RH
13451 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13452 Always allocate 64 bytes of stack frame. Use ldp/stp to create
13453 it and break it down.
13454 (DOCARGS_0, DOCARGS_1): Do nothing.
13455 (DOCARGS_2): Update to store into the new stack frame.
13456 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
13457 (UNDOCARGS_1): Update to restore from the new stack frame.
13458 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
13459 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
13460
645d44ab
RH
13461 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13462 (SINGLE_THREAD_P): New parameter for result regno.
13463 (PSEUDO): Update to match; use cbz instead of beq.
13464
a8b4f04a
RH
13465 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13466 Use ENTRY to define the _nocancel entry point. Share the syscall
13467 and syscall error check paths with the cancel path.
13468 (PSEUDO_END): New.
13469
af4e8ef9
RH
13470 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
13471 whitespace; tabs before and after asm mnemonics.
13472
26b0d2e1
EW
134732014-05-29 Eric Wong <normalperson@yhbt.net>
13474
13475 [BZ #15132]
13476 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
13477 Call fstat64 or stat64 internally, depending on arguments passed.
13478 Replace stat buffer argument with file descriptor argument.
13479 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
13480 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
13481 Pass fd to __internal_statvfs instead of calling fstat64.
13482 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
13483 Pass fd to __internal_statvfs64 instead of calling fstat64.
13484 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
13485 Pass -1 to __internal_statvfs instead of calling stat64.
13486 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
13487 Pass -1 to __internal_statvfs64 instead of calling stat64.
13488
1efe2bd9
RM
134892014-05-28 Roland McGrath <roland@hack.frob.com>
13490
0d3b7a19
RM
13491 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
13492 that was previously under [RESET_PID].
13493 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
13494
1efe2bd9
RM
13495 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
13496 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
13497
a6bea3ca
RM
134982014-05-27 Roland McGrath <roland@hack.frob.com>
13499
30b6629e
RM
13500 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
13501
a6bea3ca
RM
13502 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
13503 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
13504
3dfb9a5c
OB
135052014-05-27 Ondřej Bílka <neleai@seznam.cz>
13506
13507 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
13508
774f9285
AS
135092014-05-27 Andreas Schwab <schwab@suse.de>
13510
13511 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
13512 TLS_INIT_TP macro.
13513 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
13514 * elf/rtld.c (init_tls, dl_main): Likewise.
13515 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
13516 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
13517 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
13518 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
13519 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
13520 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
13521 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
13522 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
13523 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
13524 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
13525 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
13526 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
13527 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
13528 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
13529 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
13530 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
13531 * sysdeps/generic/tls.h: Update description.
13532
36ffe739
WN
135332014-05-27 Will Newton <will.newton@linaro.org>
13534
13535 [BZ #16990]
13536 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
13537 and restore r2 rather than just restoring.
13538
2482ae43
SP
135392014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13540
13541 [BZ #16724]
13542 * libio/tst-ftell-append.c: New test case.
13543 * libio/Makefile (tests): Add test case.
13544 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
13545 append mode.
13546 * libio/wfileops.c (do_ftell_wide): Likewise.
13547
3d1024e8
AZ
135482014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13549
bab90016
AZ
13550 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13551
c7a8d667
AZ
13552 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
13553 ...
13554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
13555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
13556 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
13557 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
13558 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
13559 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
13560 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
13561 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
13562 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
13563 Moved ...
13564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
13565 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
13566 Moved ...
13567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
13568 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
13569 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
13570 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
13571 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
13572 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
13573 ...
13574 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
13575 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
13576 Moved ...
13577 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
13578 here.
13579 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
13580 ...
13581 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
13582 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
13583 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
13584
daee7851
AZ
13585 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
13586 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
13587 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
13588 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
13589
50a40819
AZ
13590 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
13591 merge into ...
13592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
13593 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
13594 ...
13595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
13596 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
13597 ...
13598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
13599 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13600 Moved ...
13601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
13602 here.
13603 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13604 Moved ...
13605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
13606 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13607 Moved ...
13608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
13609
8464c2a1
AZ
13610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
13611 conditional [RESET_PID].
13612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13613 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
13614 removed.
13615 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
13616 removed.
13617
3d1024e8
AZ
13618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
13619 <tcb-offsets.h>.
13620 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13621 (__libc_vfork): New strong alias.
13622 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
13623 removed.
13624 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
13625 Removed.
13626
13627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
13628 <tcb-offsets.h>.
13629 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
13630 (__libc_vfork): New strong alias.
13631 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
13632 removed.
13633 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
13634 removed.
13635
fdfd175d
CD
136362014-05-26 Carlos O'Donell <carlos@redhat.com>
13637
13638 * malloc/malloc.c (mi_arena): New function.
13639 (malloc_info): Remove nested function mi_arena. Call non-nosted
13640 function mi_arena.
13641
d298c416
AZ
136422014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13643
13644 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
13645 by insrwi.
13646 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
13647 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
13648 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
13649 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
13650 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
13651 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
13652 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
13653
b60ea6ff
AS
136542014-05-26 Andreas Schwab <schwab@suse.de>
13655
13656 [BZ #16984]
13657 * locale/programs/repertoire.c (repertoire_read): Add slash
13658 between I18NPATH element and file name.
13659 * locale/programs/locfile.c (locfile_read): Likewise.
13660
67365926
SL
136612014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13662
13663 * nptl/pthread_mutexattr_settype.c
13664 (__pthread_mutexattr_settype):
13665 Disable lock elision for PTHREAD_MUTEX_NORMAL.
13666
f8bdf1f0
SL
136672014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
13668
13669 * nptl/tst-mutex5 (do_test):
13670 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
13671
15eaf6ff
SP
136722014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13673
13674 * benchtests/README: Document 'init' directive.
13675 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
13676 BENCH_INIT.
13677 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
13678 (parse_file): Recognize 'init' directive.
13679
75f11331
KM
136802014-05-26 Kyle McMartin <kyle@redhat.com>
13681
13682 [BZ #16796]
13683 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
13684 alignment of struct pthread.
13685
c3ec475c
SP
136862014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
13687
13688 [BZ #16878]
13689 * nscd/netgroupcache.c (addgetnetgrentX): Look for
13690 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13691 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
13692 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
13693
82aab97c
RH
136942014-05-25 Richard Henderson <rth@twiddle.net>
13695
aa2f176d
RH
13696 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13697 (SINGLE_THREAD_P_PIC): Remove.
13698 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
13699 (SINGLE_THREAD_P_PIC): Remove.
13700
ca3cfa40
RH
13701 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
13702 branch to syscall error ...
13703 (PSEUDO): ... here.
13704 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
13705 from __local_syscall_error to .Lsyscall_error.
13706 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
13707 (SYSCALL_ERROR): Update label name.
13708
6e6c2d01
RH
13709 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13710 Do not use DOARGS/UNDOARGS.
13711 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
13712 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
13713 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
13714 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
13715 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
13716
c69abcee
RH
13717 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
13718 block comment.
13719
82aab97c
RH
13720 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
13721 define if !NOT_IN_libc.
13722 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
13723 define with non-default symbol versions.
13724
8820e3ac
RH
137252014-05-23 Richard Henderson <rth@twiddle.net>
13726
900e445f
RH
13727 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
13728 (vfork, __vfork): Define via compat_symbol.
13729
8820e3ac
RH
13730 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
13731 [!HAVE_IFUNC] (vfork_compat): Remove.
13732 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
13733
e59252a5
JM
137342014-05-23 Joseph Myers <joseph@codesourcery.com>
13735
13736 [BZ #16978]
13737 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
13738 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
13739 variable.
13740
132c7f5f
RH
137412014-05-23 Richard Henderson <rth@twiddle.net>
13742
bc89e962
RH
13743 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
13744 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
13745 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
13746 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
13747
13748 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
13749 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
13750 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
13751 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
13752 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
13753 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
13754 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
13755 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
13756 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
13757 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
13758 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
13759 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
13760 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
13761 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
13762 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
13763 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
13764 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
13765 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
13766 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
13767 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
13768 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
13769 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
13770 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
13771 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
13772 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
13773 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
13774 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
13775 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
13776 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
13777 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
13778 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
13779 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
13780 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
13781 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
13782 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
13783 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
13784 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
13785 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
13786 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
13787 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
13788 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
13789 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
13790 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
13791 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
13792 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
13793 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
13794 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
13795 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
13796 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
13797 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
13798 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
13799 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
13800 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
13801 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
13802 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
13803 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
13804
e2fa4bc2
RH
13805 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
13806 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
13807 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
13808 before exiting on error.
13809 (__libc_vfork): New strong alias.
13810 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
13811 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
13812
279b24e2
RH
13813 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
13814 that was previously under [RESET_PID].
13815 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
13816
132c7f5f
RH
13817 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
13818
b72592e7
JM
138192014-05-23 Joseph Myers <joseph@codesourcery.com>
13820
13821 [BZ #16977]
13822 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
13823 value when x - 1 is zero.
13824 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
13825 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
13826 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13827 0.0L for an argument of 1.0L.
13828 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
13829 Likewise.
13830 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
13831 value when x - 1 is zero.
13832 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
13833 * sysdeps/i386/fpu/libm-test-ulps: Update.
13834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13835
2302d679
RV
138362014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
13837
13838 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
13839 alphasort and versionsort.
13840
32999d63
AZ
138412014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13842
13843 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
13844 macro.
13845 [copysignf]: Likewise.
13846
019324d0
SP
138472014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13848
13849 * crypt/md5-crypt.c: Fix formatting.
13850
34fff5c2
KS
138512014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
13852
13853 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
13854 (b64_from_24bit): New function.
13855
3d2badac
AZ
138562014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13857
13858 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
13859 libc_hidden_builtin_def to ifunc.
13860 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13861 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
13862
f7bb179f 138632014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
13864
13865 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
13866 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
13867
4134b50d
JM
138682014-05-21 Joseph Myers <joseph@codesourcery.com>
13869
bb7d0337
JM
13870 * nscd/Depend (linuxthreads): Remove.
13871 (nptl): Add.
13872 * resolv/Depend (linuxthreads): Remove.
13873 * rt/Depend (linuxthreads): Remove.
13874
4134b50d
JM
13875 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
13876 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
13877 $(common-objpfx)elf/.
13878 (link-libc-before-gnulib): Likewise.
13879 (elfobjdir): Remove variable.
13880 * Makefile (install): Use $(elf-objpfx) instead of
13881 $(common-objpfx)elf/.
13882 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
13883 $(elfobjdir)/.
13884 (link-libc-deps): Likewise.
13885 ($(common-objpfx)libc.so): Likewise.
13886 ($(common-objpfx)linkobj/libc.so): Likewise.
13887 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
13888 instead of $(common-objpfx)elf/.
13889 (symbolic-link-list): Likewise.
13890 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
13891 [$(cross-compiling) = no]: Likewise.
13892 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
13893 $(elfobjdir)/.
13894 (static-gnulib-arch): Likewise.
13895 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
13896 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
13897 $(common-objpfx)elf/.
13898
3612eb8f
RH
138992014-05-21 Richard Henderson <rth@redhat.com>
13900
a6b3657b
RH
13901 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
13902 (SINGLE_THREAD_P): Use the correct width load. Fold
13903 into the ldr offset.
13904
3612eb8f
RH
13905 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
13906 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
13907
175cef41
JM
139082014-05-20 Joseph Myers <joseph@codesourcery.com>
13909
13910 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
13911 (libgcc_s_resume): Use __attribute_used__.
13912 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
13913 Likewise.
13914
e13bccd3
AZ
139152014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13916
13917 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
13918 optimization when used with float constants.
13919
7c112a38
AZ
13920 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13921
ae75a883
AJ
139222014-05-20 Aurelien Jarno <aurelien@aurel32.net>
13923
13924 [BZ #16915]
13925 * locale/nl_langinfo_l.c: Make direct reference to every
13926 _nl_current_CATEGORY symbol.
13927 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
13928 (tests-static): Add tst-langinfo-static.
13929 (tests-special): Add tst-langinfo-static.out.
13930 ($(objpfx)tst-langinfo.out): Redirect output.
13931 ($(objpfx)tst-langinfo-static.out): New.
13932 * localedata/tst-langinfo.sh: Send output to stdout.
13933 * localedata/tst-langinfo-static.c: New file.
13934
4406c41c
AJ
13935 [BZ #16965]
13936 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
13937 when the shift amount is modulo the limb size.
13938
4c0a1e63
RH
139392014-05-20 Richard Henderson <rth@redhat.com>
13940
de9d8f20
RH
13941 [BZ #16967]
13942 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
13943 Change type of sa_flags from unsigned int to int.
13944
4c0a1e63
RH
13945 [BZ #16966]
13946 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
13947
13948 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
13949
a60339aa
WN
139502014-05-20 Will Newton <will.newton@linaro.org>
13951
13952 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
13953 Test the return value of the system call in the nocancel case.
13954
7d05a816
YR
139552014-05-20 Will Newton <will.newton@linaro.org>
13956 Yvan Roux <yvan.roux@linaro.org>
13957
13958 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
13959 #include of asm/ptrace.h.
13960 (PTRACE_GET_THREAD_AREA): Remove #undef.
13961 (PTRACE_GETHBPREGS): Likewise.
13962 (PTRACE_SETHBPREGS): Likewise.
13963 (struct user_regs_struct): New structure.
13964 (struct user_fpsimd_struct): New structure.
13965 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
13966 #include of asm/ptrace.h and second #include of sys/user.h.
13967 (PTRACE_GET_THREAD_AREA): Remove #undef.
13968 (PTRACE_GETHBPREGS): Likewise.
13969 (PTRACE_SETHBPREGS): Likewise.
13970 (ELF_NGREG): Use new struct user_regs_struct.
13971 (elf_fpregset_t): Use new struct user_fpsimd_struct.
13972
af121e37
AZ
139732014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13974
13975 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
13976 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
13977
834caf06
JM
139782014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
13979
13980 [BZ #16958]
13981 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
13982 membar to avoid block loads/stores to overlap previous stores.
13983
e184a918
RH
139842014-05-17 Richard Henderson <rth@redhat.com>
13985
13986 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
13987 Create the __##syscall_name##_nocancel entry point.
13988 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
13989 Remove; let the sysdep-cancel.h code create it.
13990
f56c7a6a
DM
139912014-05-17 David S. Miller <davem@davemloft.net>
13992
13993 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
13994 Protect with __USE_GNU.
13995 (TIOCSET_TEMPT): Likewise.
13996 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
13997 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
13998 these are already provided in bits/ioctl-types.h
13999
f75616b2
RM
140002014-05-16 Roland McGrath <roland@hack.frob.com>
14001
3edeca86
RM
14002 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
14003 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
14004
f75616b2
RM
14005 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
14006 Use wait4 regardless of [__NR_waitpid].
14007
deb0f7f6
MR
140082014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
14009
14010 PR libgcc/60166
14011 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14012 (_FP_NANSIGN_Q): Set the quiet bit.
14013
79520f4b
JM
140142014-05-16 Joseph Myers <joseph@codesourcery.com>
14015
14016 * benchtests/Makefile
14017 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
14018 not $(common-objpfx)math/libm.so.
14019 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
14020 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
14021 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
14022 $(common-objpfx)dlfcn/libdl.so.
14023 ($(objpfx)tst-audit8): Depend on $(libm), not
14024 $(common-objpfx)math/libm.so.
14025 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
14026 not $(common-objpfx)dlfcn/libdl.so.
14027 * math/Makefile
14028 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
14029 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
14030 [$(build-shared) = yes].
14031 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
14032 $(common-objpfx)nptl/libpthread.so.
14033 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
14034 $(common-objpfx)math/libm.so$(libm.so-version) or
14035 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
14036 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
14037 $(common-objpfx)dlfcn/libdl.so.
14038 * setjmp/Makefile (link-libm): Remove variable.
14039 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
14040 * stdio-common/Makefile (link-libm): Remove variable.
14041 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
14042 * stdlib/Makefile (link-libm): Remove variable.
14043 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
14044 ($(objpfx)tst-strtod-round): Likewise.
14045 ($(objpfx)tst-tininess): Likewise.
14046 ($(objpfx)tst-strtod-underflow): Likewise.
14047 ($(objpfx)tst-strtod6): Likewise.
14048 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
14049 $(libdl), not $(common-objpfx)nptl/libpthread.so and
14050 $(common-objpfx)dlfcn/libdl.so.
14051
026b0fe4
AZ
140522014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14053
14054 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
14055 BSD terminal modes definitions.
14056
def4bcb2
RM
140572014-05-16 Roland McGrath <roland@hack.frob.com>
14058
fe39b021
RM
14059 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
14060 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
14061
1d1fc46e 14062 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
14063 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
14064 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
14065 Don't do #include_next.
14066 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
14067 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
14068 Don't do #include_next.
14069 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
14070 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
14071 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
14072 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
14073
c72399fb
AM
140742014-05-16 Allan McRae <allan@archlinux.org>
14075
d51d659d
AM
14076 * po/sv.po: Update Swedish translation from translation project.
14077
c72399fb
AM
14078 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
14079 in sed expression.
14080
d0583c40
AJ
140812014-05-16 Aurelien Jarno <aurelien@aurel32.net>
14082
14083 [BZ #16917]
14084 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
14085 errno if the TIOCGPTN ioctl fails with an error different than
14086 EINVAL.
14087 * login/tst-ptsname.c: New file.
14088 * login/Makefile (tests): Add tst-ptsname.
14089
d16e6ec7
AJ
14090 [BZ #16943]
14091 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
14092 and prlimit64.
14093
cf26a0cb
SP
140942014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
14095
14096 [BZ #16849]
14097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
14098 herrno to return EAI_AGAIN.
14099
5675da1e
RM
141002014-05-14 Roland McGrath <roland@hack.frob.com>
14101
a5d87b3d
RM
14102 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
14103 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
14104 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
14105 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
14106 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
14107 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
14108 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
14109 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
14110 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
14111 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
14112 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
14113 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
14114 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
14115 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
14116 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
14117 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
14118 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
14119 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
14120 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
14121 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
14122 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
14123 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
14124 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
14125 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
14126 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
14127 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
14128 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
14129 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
14130 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
14131 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
14132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
14133 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
14134 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
14135 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
14136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
14137 Moved ...
14138 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
14139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
14140 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
14141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
14142 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
14143 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
14144 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
14145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
14146 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
14147 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
14148 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
14149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
14150 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
14151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
14152 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
14153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
14154 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
14155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
14156 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
14157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
14158 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
14159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
14160 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
14161 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
14162 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
14163 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
14164 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
14165 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
14166 Moved ...
14167 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
14168 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
14169 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
14170 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
14171 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
14172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
14173 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
14174 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
14175 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
14176 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
14177 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
14178 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
14179 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
14180 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
14181 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
14182 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
14183 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
14184 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
14185 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
14186 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
14187 Moved ...
14188 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
14189 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
14190 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
14191
039890a6
RM
14192 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
14193 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
14194 (libpthread-sysdep_routines): Add elision-related stuff here instead.
14195 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
14196 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
14197 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
14198 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
14199 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
14200 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
14201 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
14202 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
14203 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
14204 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
14205 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
14206 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
14207 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
14208 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
14209 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
14210 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
14211 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
14212 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
14213 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
14214 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
14215 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
14216 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
14217 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
14218 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
14219 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
14220 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
14221 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
14222 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
14223
65c89320
RM
14224 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
14225 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
14226
348f8e8c
RM
14227 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
14228 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
14229 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
14230 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
14231 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
14232 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
14233 Moved ...
14234 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
14235 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
14236 Moved ...
14237 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
14238 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
14239 Moved ...
14240 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
14241 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
14242 Moved ...
14243 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
14244 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
14245 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
14246 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
14247 Moved ...
14248 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
14249 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
14250 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
14251 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
14252 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
14253 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
14254 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
14255 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
14256 Moved ...
14257 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
14258 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14259 Moved ...
14260 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
14261 ... here.
14262 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
14263 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
14264 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
14265 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
14266 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14267 Moved ...
14268 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
14269 ... here.
14270 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
14271 Moved ...
14272 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
14273 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
14274 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
14275 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
14276 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
14277 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
14278 Moved ...
14279 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
14280 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
14281 Moved ...
14282 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
14283 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
14284 Moved ...
14285 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
14286 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
14287 Moved ...
14288 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
14289 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
14290 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
14291 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
14292 Moved ...
14293 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
14294 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
14295 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
14296 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
14297 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
14298 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
14299 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
14300 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
14301 Moved ...
14302 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
14303 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14304 Moved ...
14305 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
14306 ... here.
14307 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
14308 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
14309 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
14310 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
14311 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14312 Moved ...
14313 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
14314 ... here.
14315 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
14316 Moved ...
14317 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
14318 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
14319 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
14320 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
14321 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
14322 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
14323 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
14324 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
14325 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
14326 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
14327 Moved ...
14328 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
14329 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
14330 Moved ...
14331 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
14332 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
14333 Moved ...
14334 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
14335 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
14336 Moved ...
14337 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
14338 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
14339 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
14340 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
14341 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
14342 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
14343 Moved ...
14344 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
14345 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
14346 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
14347 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
14348 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
14349 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
14350 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
14351 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
14352 Moved ...
14353 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
14354 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14355 Moved ...
14356 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
14357 ... here.
14358 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
14359 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
14360 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
14361 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
14362 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14363 Moved ...
14364 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
14365 ... here.
14366 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
14367 Moved ...
14368 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
14369 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
14370 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
14371 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
14372 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
14373 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
14374 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
14375 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
14376 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
14377 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
14378 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
14379
5085af05
RM
14380 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
14381 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
14382
708f0813
RM
14383 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
14384 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
14385
c96067bc
RM
14386 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
14387 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
14388 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
14389 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
14390 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
14391 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
14392 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
14393 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
14394 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
14395 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
14396 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
14397 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
14398 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
14399 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
14400 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
14401 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
14402 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
14403 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
14404 Moved ...
14405 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
14406 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
14407 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
14408 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
14409 Moved ...
14410 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
14411 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
14412 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
14413 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
14414 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
14415 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
14416 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
14417 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
14418 Moved ...
14419 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
14420 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
14421 Moved ...
14422 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
14423 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
14424 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
14425 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
14426 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
14427 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
14428 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
14429 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
14430 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
14431 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
14432 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
14433 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
14434 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
14435 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
14436 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
14437 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
14438 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
14439
ec136444
RM
14440 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
14441 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
14442 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
14443 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
14444 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
14445
2fbdf533
RM
14446 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
14447 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
14448 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
14449 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
14450 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
14451 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
14452 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
14453 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
14454 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
14455 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
14456
4c68138b
RM
14457 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
14458 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
14459
4eaae765
RM
14460 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
14461 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
14462 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
14463 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
14464 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
14465 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
14466 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
14467 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
14468 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
14469 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
14470 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
14471 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
14472 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
14473 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
14474 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
14475 Update #include.
14476 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
14477 Likewise.
14478 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
14479 Likewise.
14480 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
14481 Likewise.
14482 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
14483 Likewise.
14484 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
14485 Likewise.
14486 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
14487 Likewise.
14488 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
14489 Likewise.
14490 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
14491 Likewise.
14492 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
14493 Likewise.
4ef6befa
RM
14494 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
14495 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
14496 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
14497 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
14498 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
14499 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
14500 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
14501 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
14502 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
14503 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
14504 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
14505 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
14506 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
14507 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
14508 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 14509
941d7dfd
RM
14510 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
14511 that was previously under [RESET_PID].
14512 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14513 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
14514 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
14515
1b731c35
RM
14516 * sysdeps/i386/nptl/Implies: New file.
14517 * sysdeps/x86_64/nptl/Implies: New file.
14518 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
14519 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
14520 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
14521 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
14522
e2787137
RM
14523 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
14524 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14525 (__libc_vfork): New strong alias.
14526 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
14527 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
14528
14529 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
14530 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14531 (__libc_vfork): New strong alias.
14532 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
14533 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
14534
5675da1e
RM
14535 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
14536 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
14537 (__libc_vfork): New strong alias.
14538 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
14539 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
14540 * nptl/pt-vfork.c: New file.
14541 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
14542 (libpthread: GLIBC_2.20): New version set (empty).
14543
4f02e2b8
WN
145442014-05-14 Will Newton <will.newton@linaro.org>
14545
14546 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
14547 rather than #if.
14548
0bf061d3
JM
145492014-05-14 Joseph Myers <joseph@codesourcery.com>
14550
1a84c3d6
JM
14551 [BZ #16564]
14552 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
14553 arguments with exponent 65 or above.
14554 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
14555 arguments 0x1p113L or above.
14556 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
14557 to arguments 0x1p107L or above.
14558 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
14559 positive arguments with exponent 65 or above.
14560 * math/auto-libm-test-in: Add more tests of log1p.
14561 * math/auto-libm-test-out: Regenerated.
14562
01dbacd2
JM
14563 [BZ #16928]
14564 * math/s_cacos.c (__cacos): Ensure zero real part of result from
14565 non-finite arguments is +0.
14566 * math/s_cacosf.c (__cacosf): Likewise.
14567 * math/s_cacosl.c (__cacosl): Likewise.
14568 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
14569 * sysdeps/i386/fpu/libm-test-ulps: Update.
14570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14571
913d03c8
JM
14572 [BZ #16927]
14573 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
14574 value.
14575 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
14576 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
14577 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
14578 for explicit high bit of mantissa when testing for argument equal
14579 to 1.
14580 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
14581 * sysdeps/i386/fpu/libm-test-ulps: Update.
14582 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14583
0bf061d3
JM
14584 [BZ #16516]
14585 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
14586 (__erf): Scale by 16 instead of 8 in potentially underflowing
14587 case. Ensure exception if result actually underflows.
14588 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
14589 (__erff): Scale by 16 instead of 8 in potentially underflowing
14590 case. Ensure exception if result actually underflows.
14591 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
14592 (efx8): Remove variable.
14593 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14594 case. Ensure exception if result actually underflows.
14595 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
14596 (efx8): Remove variable.
14597 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14598 case. Ensure exception if result actually underflows.
14599 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
14600 (efx8): Remove variable.
14601 (__erfl): Scale by 16 instead of 8 in potentially underflowing
14602 case. Ensure exception if result actually underflows.
14603 * math/auto-libm-test-in: Add more tests of erf.
14604 * math/auto-libm-test-out: Regenerated.
14605
73ba67cb
AS
146062014-05-14 Andreas Schwab <schwab@suse.de>
14607
3d8c8bff
AS
14608 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
14609 Remove code conditionalized on USE___THREAD.
14610
73ba67cb
AS
14611 * config.h.in (HAVE_PT_CHOWN): Define as 0.
14612 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
14613 not definedness.
14614
5c521ecd
JM
146152014-05-14 Joseph Myers <joseph@codesourcery.com>
14616
5e7698c6
JM
14617 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
14618 Define unconditionally.
14619 (__ASSUME_O_CLOEXEC): Likewise.
14620 (__ASSUME_SOCK_CLOEXEC): Likewise.
14621 (__ASSUME_IN_NONBLOCK): Likewise.
14622 (__ASSUME_PIPE2): Likewise.
14623 (__ASSUME_EVENTFD2): Likewise.
14624 (__ASSUME_SIGNALFD4): Likewise.
14625 (__ASSUME_DUP3): Likewise.
14626 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14627 (__ASSUME_DUP3): Do not define.
14628 (__ASSUME_EVENTFD2): Likewise.
14629 (__ASSUME_IN_NONBLOCK): Likewise.
14630 (__ASSUME_O_CLOEXEC): Likewise.
14631 (__ASSUME_PIPE2): Likewise.
14632 (__ASSUME_SIGNALFD4): Likewise.
14633 (__ASSUME_SOCK_CLOEXEC): Likewise.
14634 (__ASSUME_UTIMES): Undefine.
14635 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14636 (__ASSUME_UTIMES): Do not define.
14637 (__ASSUME_O_CLOEXEC): Likewise.
14638 (__ASSUME_SOCK_CLOEXEC): Likewise.
14639 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
14640 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
14641 0x020621].
14642 (__ASSUME_PIPE2): Likewise.
14643 (__ASSUME_EVENTFD2): Likewise.
14644 (__ASSUME_SIGNALFD4): Likewise.
14645 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
14646 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
14647 Do not define.
14648 (__ASSUME_EVENTFD2): Likewise.
14649 (__ASSUME_SIGNALFD4): Likewise.
14650 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
14651 (__ASSUME_32BITUIDS): Likewise.
14652 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
14653 (__ASSUME_IPC64): Likewise.
14654 (__ASSUME_ST_INO_64_BIT): Likewise.
14655 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
14656 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
14657 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14658 (__ASSUME_UTIMES): Do not define.
14659 (__ASSUME_PSELECT): Likewise.
14660 (__ASSUME_PPOLL): Likewise.
14661 (__ASSUME_O_CLOEXEC): Likewise.
14662 (__ASSUME_SOCK_CLOEXEC): Likewise.
14663 (__ASSUME_IN_NONBLOCK): Likewise.
14664 (__ASSUME_PIPE2): Likewise.
14665 (__ASSUME_EVENTFD2): Likewise.
14666 (__ASSUME_SIGNALFD4): Likewise.
14667 (__ASSUME_DUP3): Likewise.
14668 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14669 (__ASSUME_UTIMES): Likewise.
14670 (__ASSUME_O_CLOEXEC): Likewise.
14671 (__ASSUME_SOCK_CLOEXEC): Likewise.
14672 (__ASSUME_IN_NONBLOCK): Likewise.
14673 (__ASSUME_PIPE2): Likewise.
14674 (__ASSUME_EVENTFD2): Likewise.
14675 (__ASSUME_SIGNALFD4): Likewise.
14676 (__ASSUME_DUP3): Likewise.
14677 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14678 (__ASSUME_UTIMES): Likewise.
14679 (__ASSUME_O_CLOEXEC): Likewise.
14680 (__ASSUME_SOCK_CLOEXEC): Likewise.
14681 (__ASSUME_IN_NONBLOCK): Likewise.
14682 (__ASSUME_PIPE2): Likewise.
14683 (__ASSUME_EVENTFD2): Likewise.
14684 (__ASSUME_SIGNALFD4): Likewise.
14685 (__ASSUME_DUP3): Likewise.
14686 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
14687 Likewise.
14688 (__ASSUME_UTIMES): Likewise.
14689 (__ASSUME_EVENTFD2): Likewise.
14690 (__ASSUME_SIGNALFD4): Likewise.
14691 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14692 (__ASSUME_O_CLOEXEC): Likewise.
14693 (__ASSUME_SOCK_CLOEXEC): Likewise.
14694 (__ASSUME_IN_NONBLOCK): Likewise.
14695 (__ASSUME_PIPE2): Likewise.
14696 (__ASSUME_EVENTFD2): Likewise.
14697 (__ASSUME_SIGNALFD4): Likewise.
14698 (__ASSUME_DUP3): Likewise.
14699 (__ASSUME_UTIMES): Undefine.
14700
5c521ecd
JM
14701 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
14702 feclearexcept. Remove symbol versioning code.
14703 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
14704 symbol versioning code.
14705 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
14706 symbol versioning code.
14707 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
14708 feupdateenv. Remove symbol versioning code.
14709 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
14710 fegetexceptflag. Remove symbol versioning code.
14711 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
14712 fesetexceptflag. Remove symbol versioning code.
14713 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
14714 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
14715 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
14716 (__posix_fadvise64_l32): Remove prototype.
14717 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
14718 code.
14719
5da9dfad
RM
147202014-05-13 Roland McGrath <roland@hack.frob.com>
14721
14722 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
14723 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
14724 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
14725 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
14726
893b4f37
SK
147272014-05-13 Sami Kerola <kerolasa@iki.fi>
14728
14729 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
14730 current working directory
14731
e0db6517
RM
147322014-05-13 Roland McGrath <roland@hack.frob.com>
14733
58aa195d
RM
14734 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
14735 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
14736 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
14737 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
14738 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
14739 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
14740 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
14741 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
14742 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
14743 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
14744 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
14745 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
14746 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
14747 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
14748 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
14749 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
14750 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
14751 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
14752 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
14753 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
14754 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
14755 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
14756 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
14757 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
14758 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
14759 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
14760 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
14761 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
14762 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
14763 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
14764 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
14765 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
14766 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
14767 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
14768 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
14769 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
14770 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
14771 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
14772 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
14773 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
14774 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
14775 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
14776
8c6d01f0
RM
14777 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
14778 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
14779
14780 * sysdeps/unix/sysv/linux/arm/Makefile
14781 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
14782 Add rt-aeabi_unwind_cpp_pr1.
14783 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
14784 Add nptl-aeabi_unwind_cpp_pr1.
14785 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
14786 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
14787 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
14788 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
14789 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
14790 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
14791
14792 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
14793 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
14794 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
14795 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
14796
bba6da4e
RM
14797 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
14798 Deconditionalize the code that was previously under [RESET_PID].
14799 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
14800
e0db6517
RM
14801 * sysdeps/generic/exit-thread.h: New file.
14802 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
14803 * include/unistd.h (__exit_thread): Remove declaration.
14804 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
14805 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
14806 * csu/libc-start.c: Include <exit-thread.h>.
14807 (LIBC_START_MAIN): Pass no argument to __exit_thread.
14808 * nptl/pthread_create.c: Include <exit-thread.h>.
14809 (start_thread): Call __exit_thread in place of __exit_thread_inline.
14810 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
14811 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
14812 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
14813 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
14814 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
14815 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
14816 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
14817 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
14818 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
14819 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
14820 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
14821 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
14822 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
14823 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
14824 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
14825 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
14826
01eb16fd
AS
148272014-05-13 Andreas Schwab <schwab@suse.de>
14828
14829 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
14830
637461d9
JM
148312014-05-12 Joseph Myers <joseph@codesourcery.com>
14832
14833 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
14834 (__ASSUME_UTIMES): Do not condition on kernel version.
14835 (__ASSUME_PSELECT): Define unconditionally.
14836 (__ASSUME_PPOLL): Likewise.
14837 (__ASSUME_ATFCTS): Likewise.
14838 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
14839 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
14840 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
14841 (__ASSUME_UTIMENSAT): Define unconditionally.
14842 (__ASSUME_PRIVATE_FUTEX): Likewise.
14843 (__ASSUME_FALLOCATE): Likewise.
14844 (__ASSUME_O_CLOEXEC): Likewise.
14845 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
14846 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
14847 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
14848 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
14849 (__ASSUME_IN_NONBLOCK): Likewise.
14850 (__ASSUME_PIPE2): Likewise.
14851 (__ASSUME_EVENTFD2): Likewise.
14852 (__ASSUME_SIGNALFD4): Likewise.
14853 (__ASSUME_DUP3): Likewise.
14854 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14855 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
14856 (__ASSUME_AT_RANDOM): Likewise.
14857 (__ASSUME_PREADV): Likewise.
14858 (__ASSUME_PWRITEV): Likewise.
14859 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
14860 (__ASSUME_F_GETOWN_EX): Define unconditionally.
14861 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
14862 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
14863 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
14864 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14865 (__ASSUME_O_CLOEXEC): Define unconditionally.
14866 (__ASSUME_PSELECT): Do not undefine conditionally.
14867 (__ASSUME_PPOLL): Likewise.
14868 (__ASSUME_ATFCTS): Likewise.
14869 (__ASSUME_SET_ROBUST_LIST): Likewise.
14870 (__ASSUME_UTIMENSAT): Likewise.
14871 (__ASSUME_FDATASYNC): Define unconditionally.
14872 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14873 (__ASSUME_SIGFRAME_V2): Likewise.
14874 )__ASSUME_EVENTFD2): Likewise.
14875 (__ASSUME_SIGNALFD4): Likewise.
14876 (__ASSUME_PSELECT): Do not undefine conditionally.
14877 (__ASSUME_PPOLL): Likewise.
14878 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14879 (__ASSUME_PSELECT): Define unconditionally.
14880 (__ASSUME_PPOLL): Likewise.
14881 (__ASSUME_O_CLOEXEC): Likewise.
14882 (__ASSUME_SOCK_CLOEXEC): Likewise.
14883 (__ASSUME_IN_NONBLOCK): Likewise.
14884 (__ASSUME_PIPE2): Likewise.
14885 (__ASSUME_EVENTFD2): Likewise.
14886 (__ASSUME_SIGNALFD4): Likewise.
14887 (__ASSUME_DUP3): Likewise.
14888 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14889 (__ASSUME_O_CLOEXEC): Likewise.
14890 (__ASSUME_SOCK_CLOEXEC): Likewise.
14891 (__ASSUME_IN_NONBLOCK): Likewise.
14892 (__ASSUME_PIPE2): Likewise.
14893 (__ASSUME_EVENTFD2): Likewise.
14894 (__ASSUME_SIGNALFD4): Likewise.
14895 (__ASSUME_DUP3): Likewise.
14896 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14897 (__ASSUME_EVENTFD2): Likewise.
14898 (__ASSUME_SIGNALFD4): Likewise.
14899 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
14900
315eb1d8
AS
149012014-05-12 Andreas Schwab <schwab@suse.de>
14902
14903 [BZ #16932]
14904 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
14905 (_nss_nis_gethostbyname4_r): Return error if item length is larger
14906 than maximum RPC packet size.
14907 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
14908 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
14909 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
14910 (_nss_nis_getservbyport_r): Likewise.
14911
91df99f7
WN
149122014-05-12 Will Newton <will.newton@linaro.org>
14913
14914 * malloc/Makefile (tests): Add tst-mallopt.
14915 * malloc/tst-mallopt.c: New file.
14916
0a982a29
RM
149172014-05-09 Roland McGrath <roland@hack.frob.com>
14918
14919 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
14920 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
14921
0ded08a5
AZ
149222014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14923
14924 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
14925 (tst-tlsmod6.so): Likewise.
14926
55d4d550
RM
149272014-05-09 Roland McGrath <roland@hack.frob.com>
14928
14929 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
14930
77d08aca
JM
149312014-05-09 Joseph Myers <joseph@codesourcery.com>
14932
14933 [BZ #16064]
14934 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
14935 and <dl-procinfo.h>.
14936 (__fegetenv): Save SSE state in envp->__eip if supported.
14937 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
14938 envp->__eip if supported.
14939 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
14940 and <dl-procinfo.h>.
14941 (__fesetenv): Always set __eip, __cs_selector, __opcode,
14942 __data_offset and __data_selector in environment to 0. Set SSE
14943 state if supported.
14944 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
14945 test-fenv-sse.
14946 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
14947 -mfpmath=sse.
14948 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
14949
28162f4d
WN
149502014-05-09 Will Newton <will.newton@linaro.org>
14951
14952 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
14953 and libc_relro_required for ARM.
14954 * sysdeps/arm/preconfigure: Regenerate.
14955
5a414ff7
DV
149562014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
14957 Stefan Liebler <stli@linux.vnet.ibm.com>
14958
14959 * config.make.in (enable-lock-elision): New Makefile variable.
14960 * configure.ac: Likewise.
14961 * configure: Regenerate.
14962 * sysdeps/s390/configure.ac:
14963 Add check for gcc transactions support.
14964 * sysdeps/s390/configure: Regenerate.
14965 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
14966 Build elision files if enabled.
14967 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
14968 Add lock elision support for s390.
14969 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
14970 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
14971 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
14972 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
14973 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
14974 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
14975 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
14976 Likewise.
14977 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
14978 Likewise.
14979 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
14980 Likewise.
14981 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
14982 Likewise.
14983 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
14984 (__lll_timedlock_elision, __lll_lock_elision)
14985 (__lll_unlock_elision, __lll_trylock_elision)
14986 (lll_timedlock_elision, lll_lock_elision)
14987 (lll_unlock_elision, lll_trylock_elision): Add.
14988 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14989 (pthread_mutex_t): Add lock elision support for s390.
14990
1a2f40e5
W
149912014-05-14 Wilco <wdijkstr@arm.com>
14992
14993 * sysdeps/arm/fclrexcpt.c: Cleanup.
14994 * sysdeps/arm/fedisblxcpt.c: Cleanup.
14995 * sysdeps/arm/feenablxcpt.c: Cleanup.
14996 * sysdeps/arm/fegetenv.c: Cleanup.
14997 * sysdeps/arm/fegetexcept.c: Cleanup.
14998 * sysdeps/arm/fegetround.c: Cleanup.
14999 * sysdeps/arm/feholdexcpt.c: Cleanup.
15000 * sysdeps/arm/fesetenv.c: Cleanup.
15001 * sysdeps/arm/fesetround.c: Cleanup.
15002 * sysdeps/arm/feupdateenv.c: Cleanup.
15003 * sysdeps/arm/fgetexcptflg.c: Cleanup.
15004 * sysdeps/arm/fraiseexcpt.c: Cleanup.
15005 * sysdeps/arm/fsetexcptflg.c: Cleanup.
15006 * sysdeps/arm/ftestexcept.c: Cleanup.
15007 * sysdeps/arm/get-rounding-mode.h: Cleanup.
15008 * sysdeps/arm/setfpucw.c: Cleanup.
15009
f63c86fe
WN
150102014-05-09 Will Newton <will.newton@linaro.org>
15011
15012 * sysdeps/arm/armv7/strcmp.S: New file.
15013 * NEWS: Mention addition of ARMv7 optimized strcmp.
15014
7a1a51b5
RM
150152014-05-08 Roland McGrath <roland@hack.frob.com>
15016
95afbbe5
RM
15017 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
15018 look for %.ac rather than %.in.
15019
15020 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
15021 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
15022 * sysdeps/mach/hurd/configure: Regenerated.
15023 * sysdeps/unix/sysv/linux/configure: Regenerated.
15024
7a1a51b5
RM
15025 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
15026
5057ad3b
SE
150272014-05-07 Steve Ellcey <sellcey@mips.com>
15028
15029 [BZ# 16922]
15030 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
15031 (LONG_SUB): Ditto.
15032 (PTR_SUB): Ditto.
15033
8dc97517
AS
150342014-05-07 Andreas Schwab <schwab@suse.de>
15035
15036 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
15037 when skipping over non-matching result from nscd.
15038
ce0c5b8f
OB
150392014-05-07 Ondřej Bílka <neleai@seznam.cz>
15040
15041 [BZ #16876]
15042 * nptl/sockperf.c (client): Check socket return value.
8dc97517 15043
a1189263
OB
15044 [BZ #16877]
15045 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
15046 nscd security class.
ce0c5b8f 15047
0f58d252
RM
150482014-05-06 Roland McGrath <roland@hack.frob.com>
15049
15050 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
15051 * sysdeps/arm/unwind.h: ... here.
15052
83df9ad0
AJ
150532014-05-06 Aurelien Jarno <aurelien@aurel32.net>
15054
ce0c5b8f
OB
15055 [BZ# 16916]
15056 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
15057 Define.
83df9ad0 15058
f360f94a
VR
150592014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
15060
15061 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
15062 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
15063 multiarch strncpy for PPC64.
15064 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
15065 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
15066 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
15067 multiarch optimizations.
15068 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15069 (__libc_ifunc_impl_list): Likewise.
15070 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
15071 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
15072 multiarch stpncpy for PPC64.
15073 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
15074 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
15075
978a41c3
AS
150762014-05-06 Andreas Schwab <schwab@suse.de>
15077
15078 [BZ #16912]
15079 * gmon/mcount.c (_MCOUNT_DECL): Use
15080 atomic_compare_and_exchange_bool_acq instead of
15081 catomic_compare_and_exchange_bool_acq.
15082
eb1ed03d
RM
150832014-05-05 Roland McGrath <roland@hack.frob.com>
15084
fe658845
RM
15085 * elf/Makefile (others, install-bin): Remove pldd.
15086 (pldd-modules): Variable removed.
15087 ($(objpfx)pldd): Target removed.
15088 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
15089 (others, install-bin): Append pldd here.
15090 ($(objpfx)pldd): New target.
15091
eb1ed03d
RM
15092 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
15093 to 0, so the first #if test emitted later doesn't see it undefined.
15094 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
15095 * sysdeps/gnu/errlist.c: Regenerated.
15096
19c4bec0
AZ
150972014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15098
15099 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
15100 [libc_hidden_builtin_def]: Define to empty value.
15101 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
15102 [libc_hidden_builtin_def]: Likewise.
15103 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
15104 [libc_hidden_builtin_def]: Likewise.
15105 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
15106 [libc_hidden_builtin_def]: Likewise.
15107 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
15108 __redirect_memcpy and define ifunc as default hidden symbol.
15109 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
15110 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
15111
7776e669
AC
151122014-05-04 Adam Conrad <adconrad@0c3.net>
15113
15114 * locale/iso-4217.def: Reintroduce XDR currency.
15115
d69aeb12
AM
151162014-05-04 Allan McRae <allan@archlinux.org>
15117
15118 * po/eo.po: Update Esperanto translation from translation project.
15119
8f1df5cf
CD
151202014-05-02 Carlos O'Donell <carlos@redhat.com>
15121
15122 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
15123 and FEATURE_INDEX_MAX to 1.
15124 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
15125
13e402e7
SE
151262014-05-01 Steve Ellcey <sellcey@mips.com>
15127
15128 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
15129 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
15130 * iconvdata/big5.c (ONE_DIRECTION): Define.
15131 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
15132 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
15133 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
15134 * iconvdata/cp932.c (ONE_DIRECTION): Define.
15135 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
15136 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
15137 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
15138 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
15139 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
15140 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
15141 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
15142 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
15143 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
15144 * iconvdata/gbk.c (ONE_DIRECTION): Define.
15145 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
15146 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
15147 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
15148 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
15149 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
15150 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
15151 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
15152 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
15153 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
15154 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
15155 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
15156 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
15157 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
15158 * iconvdata/iso646.c (ONE_DIRECTION): Define.
15159 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
15160 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
15161 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
15162 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
15163 * iconvdata/johab.c (ONE_DIRECTION): Define.
15164 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
15165 * iconvdata/sjis.c (ONE_DIRECTION): Define.
15166 * iconvdata/t.61.c (ONE_DIRECTION): Define.
15167 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
15168 * iconvdata/tscii.c (ONE_DIRECTION): Define.
15169 * iconvdata/uhc.c (ONE_DIRECTION): Define.
15170 * iconvdata/unicode.c (ONE_DIRECTION): Define.
15171 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
15172 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
15173 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
15174
c727f032
RM
151752014-05-01 Roland McGrath <roland@hack.frob.com>
15176
8f2f08d0
RM
15177 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
15178 (_IO_JUMPS_OFFSET): Define to 0.
15179
c727f032
RM
15180 * nptl/sysdeps/pthread/bits/libc-lock.h
15181 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
15182 (__libc_lock_define_initialized_recursive): Always define using
15183 initializer. Modern compilers treat uninitialized (implicit zero) and
15184 explicit zero initializers the same (i.e. put the datum in bss).
15185
a849e800
AS
151862014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15187
15188 * nscd/nscd-client.h: Include <string.h>.
15189
5331255b
DM
151902014-05-01 David S. Miller <davem@davemloft.net>
15191
15192 [BZ #16885]
15193 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
15194 multiple zero bytes exist at the end of a string.
15195 Reported by Aurelien Jarno <aurelien@aurel32.net>
15196
15197 * string/test-strcmp.c (check): Add explicit test for situations where
15198 there are multiple zero bytes after the first.
15199
4fdfe821
AS
152002014-05-01 Andreas Schwab <schwab@linux-m68k.org>
15201
15202 [BZ #16890]
15203 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
15204 when compiling wprintf.
15205 * stdio-common/tstdiomisc.c (t3): New function.
15206 (main): Call it.
15207
0cdddc25
SE
152082014-05-01 Steve Ellcey <sellcey@mips.com>
15209
15210 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
15211 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
15212 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
15213 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
15214
6426d77e
SE
152152014-05-01 Steve Ellcey <sellcey@mips.com>
15216
15217 * stdlib/longlong.h: Updated from GCC.
15218
6d96f5e4
WN
152192014-05-01 Will Newton <will.newton@linaro.org>
15220 Bernard Ogden <bernie.ogden@linaro.org>
15221
7470db0c
WN
15222 * NEWS: Update fixed bug list.
15223
6d96f5e4
WN
15224 [BZ #15119]
15225 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
15226
211d653c
DM
152272014-04-30 David S. Miller <davem@davemloft.net>
15228
4fa262fa
DM
15229 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
15230 (libc_feholdexcept_setround_sparc_ctx): New function.
15231 (libc_fesetenv_sparc_ctx): Likewise.
15232 (libc_feupdateenv_sparc_ctx): Likewise.
15233 (libc_feholdsetround_sparc_ctx): Likewise.
15234 (libc_feholdexcept_setround_ctx): Define.
15235 (libc_feholdexcept_setroundf_ctx): Likewise.
15236 (libc_feholdexcept_setroundl_ctx): Likewise.
15237 (libc_fesetenv_ctx): Likewise.
15238 (libc_fesetenvf_ctx): Likewise.
15239 (libc_fesetenvl_ctx): Likewise.
15240 (libc_feupdateenv_ctx): Likewise.
15241 (libc_feupdateenvf_ctx): Likewise.
15242 (libc_feupdateenvl_ctx): Likewise.
15243 (libc_feresetround_ctx): Likewise.
15244 (libc_feresetroundf_ctx): Likewise.
15245 (libc_feresetroundl_ctx): Likewise.
15246 (libc_feholdsetround_ctx): Likewise.
15247 (libc_feholdsetroundf_ctx): Likewise.
15248 (libc_feholdsetroundl_ctx): Likewise.
15249
1d3d93ef
DM
15250 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15251 with __USE_GNU instead of XOPEN cpp guards.
15252
8aa583c3
DM
15253 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
15254 0.
15255
211d653c
DM
15256 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
15257 with XOPEN cpp guards.
15258
60c8f1f6
JB
152592014-04-30 Julian Brown <julian@codesourcery.com>
15260
15261 [BZ #16888]
15262 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
15263 handling.
15264
9a461d46
JM
152652014-04-30 Joseph Myers <joseph@codesourcery.com>
15266
d0f5b3f8
JM
15267 [BZ #9894]
15268 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
15269 Change to 2.6.32.
15270 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
15271 * sysdeps/unix/sysv/linux/configure: Regenerated.
15272 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
15273 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
15274 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
15275 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
15276 * README: Update reference to required Linux kernel version.
15277 * manual/install.texi (Linux): Update reference to required Linux
15278 kernel headers version.
15279 * INSTALL: Regenerated.
15280
9a461d46
JM
15281 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
15282 header inclusion.
15283 [POSIX] (limits.h): Likewise.
15284 [POSIX] (math.h): Likewise.
15285 [POSIX] (sys/wait.h): Likewise.
15286 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
15287 function.
15288 [POSIX] (stddef.h): Do not allow header inclusion.
15289
1775babf
AZ
152902014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15291
57f41c40 15292 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 15293
8f630cca
YY
152942014-04-30 Yang Yingliang <yangyingliang@huawei.com>
15295
15296 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
15297 Return immediately after lll_futex_wake.
15298
1cdeb237
SP
152992014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15300
bc8f194c
SP
15301 [BZ #16791]
15302 * nscd/nscd-client.h (datahead_init_common): Initialize entire
15303 structure.
15304 (datahead_init_pos): Call datahead_init_common early.
15305 (datahead_init_neg): Likewise.
15306
1cdeb237
SP
15307 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
15308 datahead_init_neg): New functions.
15309 * nscd/aicache.c (addhstaiX): Use them.
15310 * nscd/grpcache.c (cache_addgr): Likewise.
15311 * nscd/hstcache.c (cache_addhst): Likewise.
15312 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15313 * nscd/netgroupcache.c (do_notfound): Likewise.
15314 (addgetnetgrentX): Likewise.
15315 (addinnetgrX): Likewise.
15316 * nscd/pwdcache.c (cache_addpw): Likewise.
15317 * nscd/servicescache.c (cache_addserv): Likewise.
15318
16b293a7
SP
153192014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
15320 Atsushi Onoe <atsushi@onoe.org>
15321
15322 [BZ #14308]
15323 [BZ #12994]
15324 [BZ #13651]
15325 * resolv/res_query.c (__libc_res_nsearch): Return if at least
15326 one response is valid.
15327 * resolv/res_send.c (send_dg): Check for validity of other
15328 response if the current response is a referral.
15329
a28a9b94
SE
153302014-04-29 Steve Ellcey <sellcey@mips.com>
15331
15332 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
15333
2ca180e9
SL
153342014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
15335
15336 [BZ #16823]
15337 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
15338 Always divide by positive zero when computing -Inf result.
15339 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15340 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15341
18f2945a
AZ
153422014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15343
15344 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
15345 FPSCR if value do not change.
15346 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
15347 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
15348 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
15349 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
15350 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
15351 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
15352 function.
15353
5abebba4
CD
153542014-05-29 Carlos O'Donell <carlos@systemhalted.org>
15355
15356 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
15357 * sysdeps/unix/sysv/linux/hppa: Move directory from
15358 ports/systeps/unix/sysv/linux/hppa.
15359 * README: Update listing for hppa-*-linux-gnu.
15360
f7ed60c2
OB
153612014-04-28 Ondřej Bílka <neleai@seznam.cz>
15362
fff763a5
OB
15363 [BZ #16754]
15364 * manual/stdio.texi (Hook functions): Fix types of stream hook
15365 functions.
f7ed60c2
OB
15366 [BZ #16854]
15367 * socket/sys/socket.h: Fix typo in comment.
15368
df639d73
WD
153692014-04-28 Wilco <wdijkstr@arm.com>
15370
f7ed60c2 15371 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
15372 * sysdeps/arm/math_private.h: New file.
15373 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
15374
48332d82
L
153752014-04-25 H.J. Lu <hongjiu.lu@intel.com>
15376
15377 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
15378 with __int128_t.
15379 (La_x86_64_retval): Likewise.
15380
e5e0d9a4
IB
153812014-04-24 Ian Bolton <ian.bolton@arm.com>
15382
15383 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
15384 fpsr if value didn't change.
15385 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
15386 to fpcr if value didn't change.
15387 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
15388 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
15389 fpsr or fpcr if value didn't change.
15390 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15391 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
15392 fpcr if value didn't change.
15393 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
15394 to fpsr if value didn't change.
15395
bacc75f7
SP
153962014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15397
15398 * nptl/tst-sem3.c: Use test-skeleton.c
15399 (main): Rename to do_test. Use return instead of
15400 exit.
15401 * nptl/tst-sem4.c: Use test-skeleton.c
15402 (main): Rename to do_test.
15403
a059d359
DM
154042014-04-22 David S. Miller <davem@davemloft.net>
15405
15406 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
15407 (struct sigaction): New struct member __glibc_reserved0, change
15408 type of sa_flags to int.
15409
ea6c92f3
YZ
154102014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
15411
15412 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
15413 (COUNT_LEADING_ZEROS_0): Define for AArch64.
15414
766c4a36
SP
154152014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15416
15417 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
15418 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
15419
140cc7ab
VK
154202014-04-22 Will Newton <will.newton@linaro.org>
15421 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
15422
15423 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
15424 (__longjmp): Add longjmp and longjmp_target SystemTap
15425 probes.
15426 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
15427 (__sigsetjmp): Add setjmp SystemTap probe.
15428
c54e5cf7
CD
154292014-04-17 Carlos O'Donell <carlos@redhat.com>
15430
15431 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
15432 match manual order.
15433
75ffb047
AZ
154342014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15435
15436 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
15437
2cd925f7
AZ
15438 * sysdeps/powerpc/fpu/fenv_private.h
15439 (libc_feholdexcept_setroundl_ctx): Define to
15440 libc_feholdexcept_setround_ppc_ctx.
15441 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
15442 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
15443 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
15444 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
15445
39e6cd8d
IB
154462014-04-17 Ian Bolton <ian.bolton@arm.com>
15447
15448 * sysdeps/aarch64/math-tests.h: New file.
15449
f9281df9
SY
154502014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
15451
15452 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
15453 New.
15454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
15455 Check and set bit_AVX2_Usable.
15456 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
15457 macro.
15458 (bit_AVX2): Likewise.
15459 (index_AVX2_Usable): Likewise.
15460 (CPUID_AVX2): Likewise.
15461 (HAS_AVX2): Likewise.
15462
37d35007
WN
154632014-04-17 Will Newton <will.newton@linaro.org>
15464
7c677662
WN
15465 * manual/setjmp.texi (System V contexts): Add note that
15466 calling setcontext on a context created by a call to a
15467 signal handler is undefined. Update text to note that
15468 setcontext from a signal handler is possible but not
15469 recommended.
15470
37d35007 15471 [BZ #16629]
e04a4e9d
WN
15472 * stdlib/tst-setcontext.c: Include signal.h.
15473 (main): Check that the signal stack before and
15474 after swapcontext is the same.
15475
37d35007
WN
15476 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
15477 Re-implement to restore registers in user code and avoid
15478 rt_sigreturn system call.
15479
423a7160
W
154802014-04-17 Wilco <wdijkstr@arm.com>
15481
15482 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
15483 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
15484 * math/test-fenv.c: Skip exception trap tests on targets which only
15485 support non-stop mode.
15486
bc93ab29
IB
154872014-04-17 Ian Bolton <ian.bolton@arm.com>
15488 Wilco Dijkstra <wilco.dijkstra@arm.com>
15489
15490 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
15491 (libc_feholdsetround_aarch64_ctx)
15492 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
15493 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
15494 (libc_feresetround_ctx, libc_feresetroundf_ctx)
15495 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
15496 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
15497 (libc_feresetround_noexl_ctx): Define.
15498
95fc5fa3
RH
154992014-04-16 Richard Henderson <rth@redhat.com>
15500
ddb04724
RH
15501 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
15502
d77c0899
RH
15503 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
15504 unwind tables.
15505
a3df56fc
RH
15506 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
15507 const from the non-libc, non-ldso copy.
15508
95fc5fa3
RH
15509 * sysdeps/alpha/libm-test-ulps: Regenerate.
15510
7e0b6763
IB
155112014-04-16 Ian Bolton <ian.bolton@arm.com>
15512 Wilco Dijkstra <wilco.dijkstra@arm.com>
15513
15514 * sysdeps/aarch64/fpu/math_private.h: New file.
15515
a9ea2e0c
MS
155162014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
15517
15518 * sysdeps/aarch64/libm-test-ulps: Regenerate.
15519
ea8ba7cd
IZ
155202014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
15521
7e54fd04 15522 [BZ #16275]
ea8ba7cd
IZ
15523 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
15524 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
15525 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
15526 Intel MPX bound registers before _dl_profile_fixup.
15527 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
15528 registers after _dl_profile_fixup. Save and restore bound
15529 registers bnd0/bnd1 when calling _dl_call_pltexit.
15530 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
15531 (LR_BND_OFFSET): Likewise.
15532 (LRV_BND0_OFFSET): Likewise.
15533 (LRV_BND1_OFFSET): Likewise.
15534
9f2a4fbc
ST
155352014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15536
15537 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
15538 to...
15539 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
15540 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
15541 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
15542 fields.
9f2a4fbc 15543
fd15a59b
ST
155442014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
15545
15546 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
15547
f19dfa0a
SL
155482014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15549
15550 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
15551
4fa8bc3b
SL
155522014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
15553
15554 [BZ #14770]
15555 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
15556 * sysdeps/s390/configure: Regenerate.
15557
8ea587db
SL
15558 [BZ #16824]
15559 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
15560 Set round-to-nearest internally to reduce error accumulation.
15561
aa5f0ff1
AM
155622014-04-16 Alan Modra <amodra@gmail.com>
15563
15564 [BZ #16740]
15565 [BZ #16619]
15566 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
15567 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 15568 * NEWS: Update fixed bug list.
aa5f0ff1 15569
bb9c256f
SP
155702014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15571
15572 * benchtests/Makefile: Depend on libraries in build directory.
15573 (bench-math): Separate out math tests.
15574 (bench-pthread): Separate out pthread tests.
15575 (bench): Include math and pthread tests.
15576
f737dfd0
CD
155772014-04-14 Carlos O'Donell <carlos@redhat.com>
15578
15579 [BZ #16831]
15580 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
15581 _dl_debug_initialize.
15582
0699f766
CD
15583 * configure.ac: Remove SELinux header check.
15584 * configure: Regenerate.
15585 * nscd/selinux.c (perms): Array of const char* to permission names.
15586 (nscd_request_avc_has_perm): Call security_deny_unknown to find
15587 default policy. Call string_to_security_class and string_to_av_perm to
15588 translate strings. Enforce default policy and call avs_has_perm with
15589 results of translated strings.
15590
809bd45f
DM
155912014-04-13 David S. Miller <davem@davemloft.net>
15592
15593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15594
89e691f2
AM
155952014-04-12 Allan McRae <allan@archlinux.org>
15596
15597 [BZ #16838]
15598 * manual/string.texi (Collation Functions): Fix qsort argument
15599 order in example.
15600 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
15601
9c9daaeb
CM
156022014-04-11 Chris Metcalf <cmetcalf@tilera.com>
15603
15604 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15605 Make the test a no-op if there are no exceptions defined.
15606
95561fb9
PP
156072014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
15608
fe8d072c 15609 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
15610 enable-hardcoded-path-in-tests
15611
970c602a
WN
156122014-04-11 Will Newton <will.newton@linaro.org>
15613
15614 * benchtests/Makefile (extra-objs): Add json-lib.o.
15615 (bench-func): Tidy up JSON output.
15616 * benchtests/bench-skeleton.c: Include json-lib.h.
15617 (main): Use JSON library functions to do output of
15618 benchmark results.
15619 * benchtests/bench-timing-type.c (main): Output the
15620 timing type simply, leaving formatting to the user.
15621 * benchtests/json-lib.c: New file.
15622 * benchtests/json-lib.h: Likewise.
15623
36875b06
TR
156242014-04-11 Torvald Riegel <triegel@redhat.com>
15625
15626 [BZ #15215]
15627 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
15628 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
15629 memory barriers. Add comments.
15630 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
15631 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
15632 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
15633 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
15634 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
15635 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
15636
579db35a
SL
156372014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15638
15639 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
15640 * sysdeps/s390/s390-64/configure.ac: ... this ...
15641 * sysdeps/s390/configure.ac: ... to here.
15642 * sysdeps/s390/s390-32/configure: Delete file.
15643 * sysdeps/s390/s390-64/configure: Delete file.
15644 * sysdeps/s390/configure: Regenerate.
15645
c12e9f37
JAPH
156462014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
15647
15648 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
15649
439bda32
WN
156502014-04-11 Will Newton <will.newton@linaro.org>
15651
15652 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
15653 to zero if it is not defined elsewhere. (mtrim): Test
15654 the value of MALLOC_DEBUG with #if rather than #ifdef.
15655
6a5d6ea1
TR
156562014-04-10 Torvald Riegel <triegel@redhat.com>
15657
15658 * benchtests/pthread_once-inputs: New file.
15659 * benchtests/pthread_once-source.c: New file.
15660 * benchtests/README: Update documentation.
15661
a4c75cfd
IZ
156622014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
15663 H.J. Lu <hongjiu.lu@intel.com>
15664
7e54fd04 15665 [BZ #16275]
a4c75cfd
IZ
15666 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
15667 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
15668 * sysdeps/x86_64/configure: Regenerated.
15669 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
15670 macro.
15671 (REGISTER_SAVE_RAX): Likewise.
15672 (REGISTER_SAVE_RCX): Likewise.
15673 (REGISTER_SAVE_RDX): Likewise.
15674 (REGISTER_SAVE_RSI): Likewise.
15675 (REGISTER_SAVE_RDI): Likewise.
15676 (REGISTER_SAVE_R8): Likewise.
15677 (REGISTER_SAVE_R9): Likewise.
15678 (REGISTER_SAVE_BND0): Likewise.
15679 (REGISTER_SAVE_BND1): Likewise.
15680 (REGISTER_SAVE_BND2): Likewise.
15681 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
15682 bound registers when calling _dl_fixup.
15683
27822ce6
AZ
156842014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15685
15686 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
15687 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
15688 of its definition.
27822ce6
AZ
15689 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
15690 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
15691 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
15692 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
15693 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
15694 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
15695 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
15696
a88ddc90
PTB
156972014-04-09 Peter Brett <peter@peter-b.co.uk>
15698
15699 [BZ #15514]
15700 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
15701 pathconf(_PC_NAME_MAX).
15702
01f8eac2
AZ
157032014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15704
15705 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
15706 Remove macro usage.
15707 (__PTHREAD_SPINS): Move definition to ...
15708 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
15709 (__PTHREAD_SPINS): ... here.
15710 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
15711 (__PTHREAD_SPIN): Likewise.
15712 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
15713 (__PTHREAD_SPIN): Likewise.
15714 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
15715 (__PTHREAD_SPIN): Likewise.
15716 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
15717 (__PTHREAD_SPIN): Likewise.
15718 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
15719 (__PTHREAD_SPIN): Likewise.
15720 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
15721 (__PTHREAD_SPIN): Likewise.
15722 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
15723 (__PTHREAD_SPIN): Likewise.
15724 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
15725 (__PTHREAD_SPIN): Likewise.
15726 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
15727 (__PTHREAD_SPIN): Likewise.
15728 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
15729 (__PTHREAD_SPIN): Likewise.
15730 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
15731 (__PTHREAD_SPIN): Likewise.
15732 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
15733 (__PTHREAD_SPIN): Likewise.
15734
de21c33c
AZ
15735 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
15736 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
15737 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
15738 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
15739 imply folder.
15740 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15741 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15742 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15743 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
15744 correct imply path.
15745 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
15746 strlen symbol for non multi-arch builds.
15747 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
15748 missing hidden_def and weak_alias.
15749
862c472e
CD
157502014-04-08 Carlos O'Donell <carlos@redhat.com>
15751
15752 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
15753
8667f90e
WN
157542014-04-07 Will Newton <will.newton@linaro.org>
15755
15756 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
15757 and contents. [!_LIBC] Remove #ifndef and contents.
15758 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
15759 * string/memccpy.c (__memccpy): Use ANSI prototype.
15760 * string/memfrob.c (memfrob): Likewise.
15761 * string/strcoll.c (STRCOLL): Likewise.
15762 * string/strlen.c (strlen): Likewise.
15763 * string/strtok.c (STRTOK): Likewise.
15764 * string/strcat.c: Remove unused #include of memcopy.h.
15765 (strcat): Use ANSI prototype.
15766 * string/strchr.c: Remove unused #include of memcopy.h.
15767 (strchr): Use ANSI prototype.
15768 * string/strcmp.c: Remove unused #include of memcopy.h.
15769 (strcmp): Use ANSI prototype.
15770 * string/strcpy.c: Remove unused #include of memcopy.h.
15771 (strcpy): Use ANSI prototype.
15772
7ffa9423
AZ
157732014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15774
15775 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
15776 * config.make.in (config-extra-cppflags): Set it from
15777 libc_extra_cppflags.
15778 * configure.ac (libc_extra_cflags): Make it accumulate over
15779 configure fragments.
15780 (libc_extra_cppflags): New flag.
15781 * configure. Regenerate.
15782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
15783 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
15784 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
15785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15786
8bd70862
AZ
15787 [BZ #16815]
15788 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
15789 result for FE_DOWNWARD rounding mode.
15790 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
15791 Likewise.
15792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15793
d42f3448
CM
157942014-04-04 Chris Metcalf <cmetcalf@tilera.com>
15795
15796 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
15797 in function argument name.
15798
1c21d115
DS
157992014-04-03 David Svoboda <svoboda@cert.org>
15800
15801 [BZ #5666]
15802 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
15803 explicitly.
15804
fcccd512
RM
158052014-04-03 Roland McGrath <roland@hack.frob.com>
15806
15807 * elf/dl-unmap-segments.h: New file.
15808 * sysdeps/generic/ldsodefs.h
15809 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
15810 * elf/dl-close.c: Include <dl-unmap-segments.h>.
15811 * elf/dl-fptr.c: Likewise.
15812 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
15813 * sysdeps/aarch64/tlsdesc.c: Likewise.
15814 * sysdeps/arm/tlsdesc.c: Likewise.
15815 * sysdeps/i386/tlsdesc.c: Likewise.
15816 * sysdeps/tile/dl-runtime.c: Likewise.
15817 * sysdeps/x86_64/tlsdesc.c: Likewise.
15818 * elf/dl-load.h: New file.
15819 * elf/dl-load.c: Include it.
15820 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
15821 Macros moved to dl-load.h.
15822 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
15823 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
15824 Use _dl_unmap_segments in place of __munmap.
15825 Break out segment-mapping loop into ...
15826 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
15827
f6488e2b
WN
158282014-04-03 Will Newton <will.newton@linaro.org>
15829
15830 * elf/dl-lookup.c (do_lookup_x): Remove comment
15831 referring to nested function and move variable
15832 declarations down to before first use.
15833
6f05bafe
JM
158342014-04-02 Joseph Myers <joseph@codesourcery.com>
15835
a84e78c8
JM
15836 [BZ #16799]
15837 [BZ #16800]
15838 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
15839 with 0 numerator.
15840 * math/s_catanf.c (__catanf): Likewise.
15841 * math/s_catanh.c (__catanh): Likewise.
15842 * math/s_catanhf.c (__catanhf): Likewise.
15843 * math/s_catanhl.c (__catanhl): Likewise.
15844 * math/s_catanl.c (__catanl): Likewise.
15845 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
15846 by positive zero when computing -Inf result.
15847 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
15848 (catanh_test): Likewise.
15849 * sysdeps/i386/fpu/libm-test-ulps: Update.
15850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15851
6f05bafe
JM
15852 [BZ #16789]
15853 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
15854 instead of using underflowing value in computing result.
15855 * math/s_clog10.c (__clog10): Likewise.
15856 * math/s_clog10f.c (__clog10f): Likewise.
15857 * math/s_clog10l.c (__clog10l): Likewise.
15858 * math/s_clogf.c (__clogf): Likewise.
15859 * math/s_clogl.c (__clogl): Likewise.
15860 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
15861 (clog10_test): Likewise.
15862 * sysdeps/i386/fpu/libm-test-ulps: Update.
15863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15864
b0abbc21
AM
158652014-04-02 Alan Modra <amodra@gmail.com>
15866
15867 [BZ #16739]
15868 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
15869 output when value is near a power of two. Use int64_t for lx and
15870 remove casts. Use decimal rather than hex exponent constants.
15871 Don't use long double multiplication when double will suffice.
15872 * math/libm-test.inc (nextafter_test_data): Add tests.
15873 * NEWS: Add 16739 and 16786 to bug list.
15874
af6b1797
AM
15875 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
15876
483818d7
AM
15877 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
15878
f6c55796
WN
158792014-04-01 Will Newton <will.newton@linaro.org>
15880
15881 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
15882 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
15883
13f7fe35
FW
158842014-04-01 Florian Weimer <fweimer@redhat.com>
15885
15886 [BZ #13347]
15887 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
15888 * nptl/tst-setuid2.c: New file.
15889 * nptl/Makefile (xtests): Add tst-setuid2.
15890
c859b32e
AM
158912014-04-01 Alan Modra <amodra@gmail.com>
15892
15893 [BZ #16786]
15894 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
15895
54fa2475
JM
158962014-03-31 Joseph Myers <joseph@codesourcery.com>
15897
8795b4a4
JM
15898 [BZ #6803]
15899 [BZ #6804]
15900 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
15901 set errno as appropriate.
15902 * math/w_scalbf.c (__scalbf): Likewise.
15903 * math/w_scalbl.c (__scalbl): Likewise.
15904 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
15905 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
15906 * math/libm-test.inc (scalb_test_data): Add errno expectations.
15907 Add more NaN tests.
15908
54fa2475
JM
15909 [BZ #16349]
15910 * math/w_atan2.c: Include <errno.h>.
15911 (__atan2): Set errno for result underflowing to zero.
15912 * math/w_atan2f.c: Include <errno.h>.
15913 (__atan2f): Set errno for result underflowing to zero.
15914 * math/w_atan2l.c: Include <errno.h>.
15915 (__atan2l): Set errno for result underflowing to zero.
15916 * math/auto-libm-test-in: Don't allow missing errno for some atan2
15917 tests.
15918 * math/auto-libm-test-out: Regenerated.
15919
757d9dd5
AZ
159202014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15921
15922 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
15923 Encode instruction correctly in little endian.
15924 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
15925 Likewise.
15926 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
15927 Likewise.
15928 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
15929 Likewise.
15930 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
15931 Likewise.
15932
d7a68734
JM
159332014-03-31 Joseph Myers <joseph@codesourcery.com>
15934
47c5adeb
JM
15935 [BZ #9894]
15936 * sysdeps/unix/sysv/linux/kernel-features.h
15937 [__sparc__ && !__arch64__ && !__sparc_v9__]
15938 (__ASSUME_SET_ROBUST_LIST): Do not define.
15939 [__sparc__ && !__arch64__ && !__sparc_v9__]
15940 (__ASSUME_FUTEX_LOCK_PI): Likewise.
15941 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
15942 Likewise.
15943 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15944 (__ASSUME_FUTEX_LOCK_PI): Undefine.
15945 (__ASSUME_REQUEUE_PI): Likewise.
15946 (__ASSUME_SET_ROBUST_LIST): Likewise.
15947 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15948 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
15949 Undefine.
15950 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15951 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
15952 Likewise.
15953 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
15954 Likewise.
15955 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
15956 Likewise.
15957 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15958 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
15959 Undefine.
15960 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
15961 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
15962 Likewise.
15963
d7a68734
JM
15964 [BZ #16648]
15965 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15966 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
15967 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
15968
c760f5c2
WN
159692014-03-31 Will Newton <will.newton@linaro.org>
15970
15971 * benchtests/Makefile (bench): Add ffs and ffsll to list
15972 of tests.
15973 * benchtests/ffs-inputs: New file.
15974 * benchtests/ffsll-inputs: Likewise.
15975
ea6029b1
JM
159762014-03-29 Joseph Myers <joseph@codesourcery.com>
15977
15978 [BZ #16770]
15979 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
15980 too large before casting to int.
15981 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
15982 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
15983 * math/libm-test.inc (scalb_test_data): Add more tests.
15984
cf806aff
SP
159852014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15986
56737508
SP
15987 * benchtests/Makefile (DETAILED_OPT): New make option.
15988 (bench-func): Run benchmark program with -d if DETAILED_OPT is
15989 set.
15990 * benchtests/bench-skeleton.c: Include stdbool.h.
15991 (main): Store and print timings per input.
15992 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
15993 member to each argument value.
15994 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
15995 (_print_arg_data): Initialize per-input timing to 0.
15996
cb5e4aad
SP
15997 * benchtests/Makefile (timing-type): New binary.
15998 (bench-clean): Also remove bench-timing-type.
15999 (bench): New target for timing-type.
16000 (bench-func): Print output in JSON format.
16001 * benchtests/bench-skeleton.c (main): Print output in JSON
16002 format.
16003 * benchtests/bench-timing-type.c: New file.
16004 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
16005 (TIMING_PRINT_STATS): Remove.
16006 * benchtests/scripts/bench.py (_print_arg_data): Store variant
16007 name separately.
16008
cf806aff
SP
16009 * benchtests/bench-modf.c: Remove.
16010 * benchtests/modf-inputs: New inputs file.
16011
289e0779
JM
160122014-03-28 Joseph Myers <joseph@codesourcery.com>
16013
16014 [BZ #16362]
16015 * math/s_clog10.c (M_PI_LOG10E): New macro.
16016 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
16017 imaginary parts are 0.
16018 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
16019 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
16020 imaginary parts are 0.
16021 * math/s_clog10l.c (M_PI_LOG10El): New macro.
16022 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
16023 imaginary parts are 0.
16024 * math/libm-test.inc (clog10_test_data): Update expected results
16025 for when real and imaginary parts are 0.
16026
277ae3f1
PP
160272014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
16028
16029 * elf/dl-load.c: Finish conversion of __builtin_expect into
16030 __glibc_{un}likely.
16031
03a7091f
JM
160322014-03-27 Joseph Myers <joseph@codesourcery.com>
16033
16034 [BZ #16348]
16035 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
16036 1+x for argument with exponent below -67.
16037 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
16038 Likewise.
16039 * math/auto-libm-test-in: Add more tests of exp.
16040 * math/auto-libm-test-out: Regenerated.
16041
ea7d8b95
SP
160422014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16043
dd3022d7
SP
16044 [BZ #16759]
16045 * inet/getnetgrent_r.c (get_nonempty_val): New function.
16046 (nscd_getnetgrent): Use it.
16047
ea7d8b95
SP
16048 [BZ #16760]
16049 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
16050 of stpcpy.
16051
df5b85da
AK
160522014-03-27 Andi Kleen <ak@linux.intel.com>
16053
57f41c40
AS
16054 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
16055 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16056 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16057 (lll_robust_unlock): Remove out of line section. Use cfi
16058 intrinsics.
df5b85da 16059 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
16060 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
16061 (lll_robust_lock, lll_cond_lock, lll_timedlock)
16062 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
16063 (lll_robust_unlock): Remove out of line section. Use cfi
16064 intrinsics.
df5b85da
AK
16065 (LLL_STUB_UNWIND_INFO*): Remove.
16066
fbd6b5a4
SP
160672014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16068
16069 [BZ #16758]
16070 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
16071 blank values.
16072
1b26b855
PP
160732014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
16074
16075 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
16076
9be36fb8
JM
160772014-03-26 Joseph Myers <joseph@codesourcery.com>
16078
16079 [BZ #16198]
16080 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
16081 fnstenv.
16082 * math/test-fenv-preserve.c: New file.
16083 * math/Makefile (tests): Add test-fenv-preserve.
16084
60a2f3c1
WN
160852014-03-26 Will Newton <will.newton@linaro.org>
16086
16087 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
16088
a5e5f1e2
RM
160892014-03-25 Roland McGrath <roland@hack.frob.com>
16090
16091 * scripts/versionlist.awk: Partition the version sets and emit all
16092 GLIBC_* (sorted) before all others (sorted).
16093
00f4012a
JM
160942014-03-25 Joseph Myers <joseph@codesourcery.com>
16095
16096 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
16097 GLIBC_2.2.5 version.
16098
7bc5a741
AZ
160992014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16100
16101 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
16102 calls.
16103
7578473b
AZ
16104 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
16105 previous change.
16106
f3f1dab3
AZ
16107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16108
6da36183
AS
161092014-03-25 Andreas Schwab <schwab@suse.de>
16110
16111 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
16112 label to be used after in6ailist is initialized.
16113
f3f1dab3 161142014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 16115
7578473b 16116 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
16117 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16118
046651c1
JM
161192014-03-25 Joseph Myers <joseph@codesourcery.com>
16120
16121 [BZ #16357]
16122 [BZ #16599]
16123 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
16124 min_plus_half.
16125 (fp_formats): Update initializers.
16126 (init_fp_formats): Initialize new field.
16127 (output_for_one_input_case): Allow underflow for results up to
16128 min_plus_half.
16129 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
16130 * math/auto-libm-test-in: Don't mark some underflows from asin and
16131 atanh as spurious.
16132 * math/auto-libm-test-out: Regenerated.
16133 * sysdeps/i386/fpu/libm-test-ulps: Update.
16134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16135
003e49ed
AS
161362014-03-25 Andreas Schwab <schwab@suse.de>
16137
16138 * libio/Makefile (tst-ftell-partial-wide-ENV)
16139 (tst-ftell-active-handler-ENV): Define.
16140
de031874
SL
161412014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
16142
16143 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
16144
55a81e3b
PP
161452014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16146
16147 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
16148
f3426898
JM
161492014-03-24 Joseph Myers <joseph@codesourcery.com>
16150
16151 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
16152 * sysdeps/x86_64/fpu/multiarch/e_exp.c
16153 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
16154
a42faf59
PP
161552014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
16156
16157 [BZ #16634]
a42faf59 16158 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
16159 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
16160 (open_path): Change from boolean 'secure' to complete flag 'mode'
16161 (_dl_map_object): Adjust.
a42faf59
PP
16162 * elf/Makefile (tests): Add tst-dlopen-aout.
16163 * elf/tst-dlopen-aout.c: New test.
16164
50936127
SL
161652014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16166
16167 [BZ #16714]
16168 * sysdeps/unix/sysv/linux/s390/bits/stat.h
16169 (struct stat): Rename member pad0 to __glibc_reserved0.
16170
26011b5c
SL
16171 [BZ #16712]
16172 * sysdeps/s390/s390-32/bits/wordsize.h
16173 (__WORDSIZE32_SIZE_ULONG): New define.
16174 * sysdeps/s390/s390-64/bits/wordsize.h
16175 (__WORDSIZE32_SIZE_ULONG): Likewise.
16176 * sysdeps/generic/stdint.h (SIZE_MAX):
16177 Define as UL if __WORDSIZE32_SIZE_ULONG.
16178
a2d86bf1
SL
16179 [BZ #16713]
16180 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
16181 (__glibc_reserved0): New variable.
16182 (sa_flags): Change type to int.
16183
78b6eebc
SL
16184 * posix/Makefile (before-compile): Use += before-compile instead
16185 of a :=.
16186
f1399b5a
SL
16187 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
16188 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
16189
a071766e
AS
161902014-03-20 Andreas Schwab <schwab@suse.de>
16191
16192 [BZ #16743]
16193 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
16194 non-matching result from nscd.
16195
27c673b8
SP
161962014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16197
16198 * scripts/bench.py: Moved to ...
16199 * benchtests/scripts/bench.py: ... here.
16200 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
16201
44152e4b
AS
162022014-03-24 Andreas Schwab <schwab@suse.de>
16203
16204 [BZ #16002]
16205 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
16206 alloca_account and account alloca use for struct in6ailist.
16207
b376a11a
JM
162082014-03-24 Joseph Myers <joseph@codesourcery.com>
16209
16210 [BZ #16284]
16211 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
16212 rounding mode to recompute results that overflow to infinity or
16213 underflow to zero.
16214 * math/auto-libm-test-in: Don't mark tests as expected to fail for
16215 bug 16284.
16216 * math/auto-libm-test-out: Regenerated.
16217 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
16218 (ccosh_test): Likewise.
16219 (csin_test_data): Use plus_oflow.
16220 (csin_test): Use ALL_RM_TEST.
16221 (csinh_test_data): Use plus_oflow.
16222 (csinh_test): Use ALL_RM_TEST.
16223 * sysdeps/i386/fpu/libm-test-ulps: Update.
16224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16225
f7be7376
JM
162262014-03-21 Joseph Myers <joseph@codesourcery.com>
16227
1ca2d03e
JM
16228 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
16229 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
16230 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
16231
f7be7376
JM
16232 [BZ #16731]
16233 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
16234 when x - 1 is zero.
16235 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
16236 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
16237 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
16238 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
16239 argument is 1.
16240 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
16241 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
16242 zero.
16243 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
16244 * sysdeps/i386/fpu/libm-test-ulps: Update.
16245 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16246
fdf4534d
SP
162472014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16248
df26ea53
SP
16249 * scripts/bench.pl: Remove file.
16250 * scripts/bench.py: New benchmark script.
16251 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
16252 * benchtests/README: Mention python dependency.
16253 * scripts/pylintrc: New file.
16254 * scripts/pylint: New file.
16255
fdf4534d
SP
16256 * bits/mathdef.h: Use #ifdef instead of #if.
16257 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
16258 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16259 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
16260 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16261 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
16262 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
16263
6f23d093
AZ
162642014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16265 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16266
16267 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
16268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
16269 and strpbrk-ppc64 objects.
16270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16271 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
16272 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
16273 multiarch strpbrk for POWER7.
16274 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
16275 multiarch strpbrk for PPC64.
16276 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
16277 ifunc selector.
16278 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
16279 strpbrk for POWER7.
16280
8c92dfff
JM
162812014-03-20 Joseph Myers <joseph@codesourcery.com>
16282
16283 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
16284 (atan_test): Likewise.
16285 (atanh_test_data): Use NO_TEST_INLINE for two tests.
16286 (atanh_test): Use ALL_RM_TEST.
16287 (atan2_test_data): Likewise.
16288 (cabs_test): Likewise.
16289 (cacosh_test): Likewise.
16290 (carg_test): Likewise.
16291 (casin_test): Likewise.
16292 (casinh_test): Likewise.
16293 (cbrt_test): Likewise.
16294 (csqrt_test): Likewise.
16295 (erf_test): Likewise.
16296 (erfc_test): Likewise.
16297 (pow10_test): Likewise.
16298 (exp2_test): Likewise.
16299 (hypot_test): Likewise.
16300 (j0_test): Likewise.
16301 (j1_test): Likewise.
16302 (lgamma_test): Likewise.
16303 (gamma_test): Likewise.
16304 (sincos_test): Likewise.
16305 (tanh_test): Likewise.
16306 (y0_test): Likewise.
16307 (y1_test): Likewise.
16308 * sysdeps/i386/fpu/libm-test-ulps: Update.
16309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16310
6eaf95cb
AZ
163112014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16312
a387428c
SP
16313 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
16314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
16315 and strcspn-ppc64 objects.
16316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
16317 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
16318 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
16319 multiarch strcspn for POWER7.
16320 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
16321 multiarch strcspn for PPC64.
16322 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
16323 ifunc selector.
16324 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
16325 strcspn for POWER7.
16326
ae3a5dff
JM
163272014-03-20 Joseph Myers <joseph@codesourcery.com>
16328
16329 * math/gen-libm-test.pl (generate_testfile): Expect only function
16330 name as argument to AUTO_TESTS_* and pass results for all rounding
16331 modes to parse_args.
16332 (parse_auto_input): Separate inputs of automatic tests from
16333 outputs before storing in %auto_tests.
16334 * math/libm-test.inc (acos_test_data): Update call to
16335 AUTO_TESTS_f_f.
16336 (acos_test): Use ALL_RM_TEST.
16337 (acos_tonearest_test_data): Remove.
16338 (acos_test_tonearest): Likewise.
16339 (acos_towardzero_test_data): Likewise.
16340 (acos_test_towardzero): Likewise.
16341 (acos_downward_test_data): Likewise.
16342 (acos_test_downward): Likewise.
16343 (acos_upward_test_data): Likewise.
16344 (acos_test_upward): Likewise.
16345 (acosh_test_data): Update call to AUTO_TESTS_f_f.
16346 (asin_test_data): Likewise.
16347 (asin_test): Use ALL_RM_TEST.
16348 (asin_tonearest_test_data): Remove.
16349 (asin_test_tonearest): Likewise.
16350 (asin_towardzero_test_data): Likewise.
16351 (asin_test_towardzero): Likewise.
16352 (asin_downward_test_data): Likewise.
16353 (asin_test_downward): Likewise.
16354 (asin_upward_test_data): Likewise.
16355 (asin_test_upward): Likewise.
16356 (asinh_test_data): Update call to AUTO_TESTS_f_f.
16357 (atan_test_data): Likewise.
16358 (atanh_test_data): Likewise.
16359 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
16360 (cabs_test_data): Update call to AUTO_TESTS_c_f.
16361 (carg_test_data): Likewise.
16362 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
16363 (ccos_test_data): Update call to AUTO_TESTS_c_c.
16364 (ccosh_test_data): Likewise.
16365 (cexp_test_data): Likewise.
16366 (clog_test_data): Likewise.
16367 (clog10_test_data): Likewise.
16368 (cos_test_data): Update call to AUTO_TESTS_f_f.
16369 (cos_test): Use ALL_RM_TEST.
16370 (cos_tonearest_test_data): Remove.
16371 (cos_test_tonearest): Likewise.
16372 (cos_towardzero_test_data): Likewise.
16373 (cos_test_towardzero): Likewise.
16374 (cos_downward_test_data): Likewise.
16375 (cos_test_downward): Likewise.
16376 (cos_upward_test_data): Likewise.
16377 (cos_test_upward): Likewise.
16378 (cosh_test_data): Update call to AUTO_TESTS_f_f.
16379 (cosh_test): Use ALL_RM_TEST.
16380 (cosh_tonearest_test_data): Remove.
16381 (cosh_test_tonearest): Likewise.
16382 (cosh_towardzero_test_data): Likewise.
16383 (cosh_test_towardzero): Likewise.
16384 (cosh_downward_test_data): Likewise.
16385 (cosh_test_downward): Likewise.
16386 (cosh_upward_test_data): Likewise.
16387 (cosh_test_upward): Likewise.
16388 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
16389 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
16390 (ctan_test_data): Likewise.
16391 (ctan_test): Use ALL_RM_TEST.
16392 (ctan_tonearest_test_data): Remove.
16393 (ctan_test_tonearest): Likewise.
16394 (ctan_towardzero_test_data): Likewise.
16395 (ctan_test_towardzero): Likewise.
16396 (ctan_downward_test_data): Likewise.
16397 (ctan_test_downward): Likewise.
16398 (ctan_upward_test_data): Likewise.
16399 (ctan_test_upward): Likewise.
16400 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
16401 (ctanh_test): Use ALL_RM_TEST.
16402 (ctanh_tonearest_test_data): Remove.
16403 (ctanh_test_tonearest): Likewise.
16404 (ctanh_towardzero_test_data): Likewise.
16405 (ctanh_test_towardzero): Likewise.
16406 (ctanh_downward_test_data): Likewise.
16407 (ctanh_test_downward): Likewise.
16408 (ctanh_upward_test_data): Likewise.
16409 (ctanh_test_upward): Likewise.
16410 (erf_test_data): Update call to AUTO_TESTS_f_f.
16411 (erfc_test_data): Likewise.
16412 (exp_test_data): Likewise.
16413 (exp_test): Use ALL_RM_TEST.
16414 (exp_tonearest_test_data): Remove.
16415 (exp_test_tonearest): Likewise.
16416 (exp_towardzero_test_data): Likewise.
16417 (exp_test_towardzero): Likewise.
16418 (exp_downward_test_data): Likewise.
16419 (exp_test_downward): Likewise.
16420 (exp_upward_test_data): Likewise.
16421 (exp_test_upward): Likewise.
16422 (exp10_test_data): Update call to AUTO_TESTS_f_f.
16423 (exp10_test): Use ALL_RM_TEST.
16424 (exp10_tonearest_test_data): Remove.
16425 (exp10_test_tonearest): Likewise.
16426 (exp10_towardzero_test_data): Likewise.
16427 (exp10_test_towardzero): Likewise.
16428 (exp10_downward_test_data): Likewise.
16429 (exp10_test_downward): Likewise.
16430 (exp10_upward_test_data): Likewise.
16431 (exp10_test_upward): Likewise.
16432 (exp2_test_data): Update call to AUTO_TESTS_f_f.
16433 (expm1_test_data): Likewise.
16434 (expm1_test): Use ALL_RM_TEST.
16435 (expm1_tonearest_test_data): Remove.
16436 (expm1_test_tonearest): Likewise.
16437 (expm1_towardzero_test_data): Likewise.
16438 (expm1_test_towardzero): Likewise.
16439 (expm1_downward_test_data): Likewise.
16440 (expm1_test_downward): Likewise.
16441 (expm1_upward_test_data): Likewise.
16442 (expm1_test_upward): Likewise.
16443 (fma_test_data): Update call to AUTO_TESTS_fff_f.
16444 (fma_test): Use ALL_RM_TEST.
16445 (fma_towardzero_test_data): Remove.
16446 (fma_test_towardzero): Likewise.
16447 (fma_downward_test_data): Likewise.
16448 (fma_test_downward): Likewise.
16449 (fma_upward_test_data): Likewise.
16450 (fma_test_upward): Likewise.
16451 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
16452 (j0_test_data): Update call to AUTO_TESTS_f_f.
16453 (j1_test_data): Likewise.
16454 (jn_test_data): Update call to AUTO_TESTS_if_f.
16455 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
16456 (log_test_data): Update call to AUTO_TESTS_f_f.
16457 (log10_test_data): Likewise.
16458 (log1p_test_data): Likewise.
16459 (log2_test_data): Likewise.
16460 (pow_test_data): Update call to AUTO_TESTS_ff_f.
16461 (pow_tonearest_test_data): Likewise.
16462 (sin_test_data): Update call to AUTO_TESTS_f_f.
16463 (sin_test): Use ALL_RM_TEST.
16464 (sin_tonearest_test_data): Remove.
16465 (sin_test_tonearest): Likewise.
16466 (sin_towardzero_test_data): Likewise.
16467 (sin_test_towardzero): Likewise.
16468 (sin_downward_test_data): Likewise.
16469 (sin_test_downward): Likewise.
16470 (sin_upward_test_data): Likewise.
16471 (sin_test_upward): Likewise.
16472 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
16473 (sinh_test_data): Update call to AUTO_TESTS_f_f.
16474 (sinh_test): Use ALL_RM_TEST.
16475 (sinh_tonearest_test_data): Remove.
16476 (sinh_test_tonearest): Likewise.
16477 (sinh_towardzero_test_data): Likewise.
16478 (sinh_test_towardzero): Likewise.
16479 (sinh_downward_test_data): Likewise.
16480 (sinh_test_downward): Likewise.
16481 (sinh_upward_test_data): Likewise.
16482 (sinh_test_upward): Likewise.
16483 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
16484 (sqrt_test): Use ALL_RM_TEST.
16485 (sqrt_tonearest_test_data): Remove.
16486 (sqrt_test_tonearest): Likewise.
16487 (sqrt_towardzero_test_data): Likewise.
16488 (sqrt_test_towardzero): Likewise.
16489 (sqrt_downward_test_data): Likewise.
16490 (sqrt_test_downward): Likewise.
16491 (sqrt_upward_test_data): Likewise.
16492 (sqrt_test_upward): Likewise.
16493 (tan_test_data): Update call to AUTO_TESTS_f_f.
16494 (tan_test): Use ALL_RM_TEST.
16495 (tan_tonearest_test_data): Remove.
16496 (tan_test_tonearest): Likewise.
16497 (tan_towardzero_test_data): Likewise.
16498 (tan_test_towardzero): Likewise.
16499 (tan_downward_test_data): Likewise.
16500 (tan_test_downward): Likewise.
16501 (tan_upward_test_data): Likewise.
16502 (tan_test_upward): Likewise.
16503 (tanh_test_data): Update call to AUTO_TESTS_f_f.
16504 (tgamma_test_data): Likewise.
16505 (y0_test_data): Likewise.
16506 (y1_test_data): Likewise.
16507 (yn_test_data): Update call to AUTO_TESTS_if_f.
16508 (main): Do not call removed functions.
16509
d71aeee8
JM
165102014-03-19 Joseph Myers <joseph@codesourcery.com>
16511
16512 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
16513 (ldexp_test_data): Remove.
16514 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
16515 scalbn_test_data.
16516 (scalb_test): Use ALL_RM_TEST.
16517
baaf1ded
AS
165182014-03-19 Andreas Schwab <schwab@suse.de>
16519
16520 * nscd/nscd.service: Also invalidate netgroup cache on reload.
16521
b1115e91
JM
165222014-03-19 Joseph Myers <joseph@codesourcery.com>
16523
16524 [BZ #16649]
16525 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16526 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
16527 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
16528 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16529 (__ASSUME_PREADV): Undefine.
16530 (__ASSUME_PWRITEV): Likewise.
16531
0283ecca
RM
165322014-03-18 Roland McGrath <roland@hack.frob.com>
16533
7d375303
RM
16534 * bits/mman-linux.h: Add comment about non-Linux use.
16535 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
16536 bits/mman-linux.h resting place.
16537
0283ecca
RM
16538 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
16539 * bits/mman-linux.h: ... here.
16540
aebe1003
AZ
165412014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16542
16543 * conform/conformtest.pl: Add standard definition when calling C
16544 preprocessor on data files.
16545 (checknamespace): Remove unused variable.
16546
b29b6bb8
JM
165472014-03-18 Joseph Myers <joseph@codesourcery.com>
16548
16549 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
16550 minus_oflow, plus_uflow and minus_uflow in expected results.
16551 * math/libm-test.inc (scalbn_test_data): Add more tests of
16552 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
16553 minus_uflow.
16554 (scalbn_test): Use ALL_RM_TEST.
16555 (scalbln_test_data): Add more tests of negative arguments. Use
16556 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
16557 (scalbln_test): Use ALL_RM_TEST.
16558
c8f8fa15
RM
165592014-03-18 Roland McGrath <roland@hack.frob.com>
16560
16561 * scripts/abilist.awk: Ignore symbols marked with .hidden.
16562
fede7a5f
WN
165632014-03-18 Will Newton <will.newton@linaro.org>
16564
16565 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
16566 inaccurate comment.
16567
80cf0a58
JM
165682014-03-18 Joseph Myers <joseph@codesourcery.com>
16569
16570 * Makerules [!subdir] (check-abi): Exit with error status if a
16571 test failed.
16572
b3620862
JM
165732014-03-17 Joseph Myers <joseph@codesourcery.com>
16574
16575 * math/libm-test.inc (nearbyint_test_data): Include all tests used
16576 for rint. Include results for all rounding modes.
16577 (nearbyint_test): Use ALL_RM_TEST.
16578 (rint_test_data): Include all tests used for nearbyint.
16579
788bba36
WN
165802014-03-17 Will Newton <will.newton@linaro.org>
16581
04ec140a
WN
16582 * nptl/sysdeps/pthread/pthread.h: Revert previous
16583 change.
16584
7579d8d5
WN
16585 * sysdeps/generic/ldsodefs.h: Revert previous
16586 change.
16587
c15cf13a
WN
16588 * libio/genops.c: Revert previous change.
16589 * libio/libioP.h: Likewise.
16590 * stdio-common/vfprintf.c: Likewise.
16591
d0ac1324
WN
16592 * sysdeps/generic/math_private.h: Revert previous
16593 change.
16594
9290130a
WN
16595 * sysdeps/generic/math_private.h: Check whether
16596 HAVE_RM_CTX is defined with #ifdef rather
16597 than #if.
16598
afb466fc
WN
16599 * argp/argp-fmtstream.h: Check whether
16600 __STRICT_ANSI__ is defined with #ifdef rather
16601 than #if.
16602 * argp/argp.h: Likewise.
16603
f7efd7c3
WN
16604 * libio/genops.c: Check whether
16605 _IO_JUMPS_OFFSET is defined with #ifdef rather
16606 than #if.
16607 * libio/libioP.h: Likewise.
16608 * stdio-common/vfprintf.c: Likewise.
16609
53f1bed3
WN
16610 * sysdeps/generic/ldsodefs.h: Check whether
16611 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
16612 than #if.
16613
788bba36
WN
16614 * nptl/sysdeps/pthread/pthread.h: Check
16615 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
16616 its value.
16617
fcd89ebe
SP
166182014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
16619
ae42bbc5
SP
16620 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
16621 setting O_APPEND.
16622 * libio/tst-ftell-active-handler.c (do_append_test): Add a
16623 test case.
16624
ea33158c
SP
16625 [BZ #16680]
16626 * libio/fileops.c (_IO_file_open): Seek to end of file but
16627 don't cache the offset.
16628 (get_file_offset): Remove function.
16629 (do_ftell): Use cached offset when available.
16630 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
16631 don't cache the offset.
16632 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
16633 case.
16634 (do_one_test): Call it.
16635 (do_ftell_test): Fix up expected old offset for a+ mode.
16636 * libio/wfileops.c (do_ftell_wide): Used cached offset when
16637 available.
16638
b1dbb426
SP
16639 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
16640 up test status with function return status.
16641 (do_write_test): Likewise.
16642 (do_append_test): Likewise.
16643
fcd89ebe
SP
16644 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
16645 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
16646 Remove.
16647
9962a2d3
JM
166482014-03-17 Joseph Myers <joseph@codesourcery.com>
16649
16650 * math/gen-libm-test.pl (parse_args): Handle results specified for
16651 each rounding mode separately.
16652 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
16653 tests and results from lrint_tonearest_test_data,
16654 lrint_towardzero_test_data, lrint_downward_test_data and
16655 lrint_upward_test_data.
16656 (lrint_test): Use ALL_RM_TEST.
16657 (lrint_tonearest_test_data): Remove.
16658 (lrint_test_tonearest): Likewise.
16659 (lrint_towardzero_test_data): Likewise.
16660 (lrint_test_towardzero): Likewise.
16661 (lrint_downward_test_data): Likewise.
16662 (lrint_test_downward): Likewise.
16663 (lrint_upward_test_data): Likewise.
16664 (lrint_test_upward): Likewise.
16665 (llrint_test_data): Merge in per-rounding-mode tests and results
16666 from llrint_tonearest_test_data, llrint_towardzero_test_data,
16667 llrint_downward_test_data and llrint_upward_test_data.
16668 (llrint_test): Use ALL_RM_TEST.
16669 (llrint_tonearest_test_data): Remove.
16670 (llrint_test_tonearest): Likewise.
16671 (llrint_towardzero_test_data): Likewise.
16672 (llrint_test_towardzero): Likewise.
16673 (llrint_downward_test_data): Likewise.
16674 (llrint_test_downward): Likewise.
16675 (llrint_upward_test_data): Likewise.
16676 (llrint_test_upward): Likewise.
16677 (rint_test_data): Merge in per-rounding-mode tests and results
16678 from rint_tonearest_test_data, rint_towardzero_test_data,
16679 rint_downward_test_data and rint_upward_test_data. Add
16680 per-rounding-mode results for tests not in those arrays.
16681 (rint_test): Use ALL_RM_TEST.
16682 (rint_tonearest_test_data): Remove.
16683 (rint_test_tonearest): Likewise.
16684 (rint_towardzero_test_data): Likewise.
16685 (rint_test_towardzero): Likewise.
16686 (rint_downward_test_data): Likewise.
16687 (rint_test_downward): Likewise.
16688 (rint_upward_test_data): Likewise.
16689 (rint_test_upward): Likewise.
16690 (main): Don't call removed functions.
16691
5006148e
RM
166922014-03-14 Roland McGrath <roland@hack.frob.com>
16693
16694 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
16695 "Compiled on ..." crapola. It is anti-useful.
16696
d6fe5e58
JM
166972014-03-14 Joseph Myers <joseph@codesourcery.com>
16698
16699 * scripts/evaluate-test.sh: Handle fourth argument to determine
16700 whether test run should stop on failure.
16701 * Makeconfig (stop-on-test-failure): New variable.
16702 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
16703 $(stop-on-test-failure).
16704 * Makefile (tests): Give a summary of results from testing and
16705 exit with failure status if they include an ERROR or FAIL.
16706 (xtests): Likewise.
16707 * manual/install.texi (Configuring and compiling): Mention
16708 stop-on-test-failure=y.
16709 * INSTALL: Regenerated.
16710
498a2233
RM
167112014-03-14 Roland McGrath <roland@hack.frob.com>
16712
22dbc19d
RM
16713 * scripts/versionlist.awk: New file.
16714 * Makerules [$(build-shared) = yes]
16715 (postclean-generated): Add Versions.def, not Versions.def.v and
16716 Versions.def.v.i.
16717 ($(common-objpfx)Versions.def.v.i): Target removed.
16718 ($(common-objpfx)Versions.def): New target.
16719 ($(common-objpfx)Versions.all): Depend on that rather that
16720 $(common-objpfx)Versions.def.v.
16721 * Versions.def: File removed.
16722
498a2233
RM
16723 * Makeconfig (+gccwarn): Add -Wundef.
16724 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
16725 a dl-sysdep.h breaking its contract.
16726 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
16727 * include/stackinfo.h: New file.
16728 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
16729 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
16730 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
16731 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
16732 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
16733 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
16734 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16735 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16736 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16737 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16738 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16739 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
16740 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16741 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16742 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
16743
c7de5025
AZ
167442014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16745
16746 [BZ #16707]
16747 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
16748 implementation.
16749 * math/libm-test.inc (round_test_data): Add more tests.
16750
98fb27a3
AZ
16751 [BZ #16706]
16752 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
16753 implementation.
16754 * math/libm-test.inc (nearbyint_test_data): Add more tests.
16755
374f7f61
AZ
16756 [BZ #16701]
16757 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
16758 implementation.
16759 * math/libm-test.inc (ceil_test_data): Add more tests.
16760
4655c291
AZ
16761 * math/libm-test.inc (trunc_test_data): Add more tests related to
16762 BZ#16414.
16763
d7329d4b
RM
167642014-03-14 Roland McGrath <roland@hack.frob.com>
16765
16766 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
16767 with #if rather than #ifdef.
16768 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
16769
aa4de9ce
L
167702014-03-14 H.J. Lu <hongjiu.lu@intel.com>
16771
16772 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
16773 first. Disable AVX-512 GCC support if assembler doesn't support
16774 it.
16775 * sysdeps/x86_64/configure: Regenerated.
16776
2e03fae7
CD
167772014-03-13 Carlos O'Donell <carlos@redhat.com>
16778
16779 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
16780 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
16781 (__old_pthread_attr_setstack): Likewise.
16782 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
16783 [!_STACK_GROWS_DOWN]: Likewise.
16784
43ca83ec
MF
167852014-03-13 Mike Frysinger <vapier@gentoo.org>
16786
16787 * config.make.in (have-bash2): Delete.
16788 * configure.ac (libc_cv_have_bash2): Delete.
16789 * configure: Regenerate.
16790 * elf/Makefile (common-ldd-rewrite): Rename to ...
16791 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
16792 (sh-ldd-rewrite): Delete.
16793 (bash-ldd-rewrite): Delete.
16794 (have-bash2): Delete checks.
57f41c40
AS
16795 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
16796 ldd-rewrite.
c66e48b4
MF
16797
16798 * config.make.in (have-ksh): Delete.
16799 (KSH): Delete.
16800 * configure.ac (libc_cv_have_ksh): Delete.
16801 * configure: Regenerate.
16802
b93834ef
MF
16803 * elf/Makefile: Delete $(have-ksh) check.
16804 ($(objpfx)sotruss): Change KSH to BASH.
16805 * elf/sotruss.ksh: Rename to ...
16806 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
16807 function style to match POSIX. Drop ksh vim mode setting.
16808
f3a4632a
MF
16809 * manual/time.texi (Specifying the Time Zone with TZ): Change
16810 Tuesday to Thursday.
16811
5896c8bd
MF
16812 * debug/tst-longjmp_chk2.c: Update header comment.
16813 (stackoverflow_handler): Add comment. Call assert on pass value.
16814
2d63a517
IZ
168152014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
16816
7e54fd04 16817 [BZ #16194]
2d63a517
IZ
16818 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
16819 (HAVE_AVX512_ASM_SUPPORT): Likewise.
16820 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
16821 (La_x86_64_vector): Add zmm.
16822 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
16823 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
16824 ($(objpfx)tst-audit10): New target.
16825 ($(objpfx)tst-audit10.out): Likewise.
16826 (tst-audit10-ENV): New.
16827 (AVX512-CFLAGS): Likewise.
16828 (CFLAGS-tst-audit10.c): Likewise.
16829 (CFLAGS-tst-auditmod10a.c): Likewise.
16830 (CFLAGS-tst-auditmod10b.c): Likewise.
16831 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
16832 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
16833 * sysdeps/x86_64/configure: Regenerated.
16834 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
16835 AVX-512 zmm register support.
16836 (_dl_x86_64_save_sse): Likewise.
16837 (_dl_x86_64_restore_sse): Likewise.
16838 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
16839 size vector registers.
16840 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
16841 (ZMM_SIZE): Likewise.
16842 * sysdeps/x86_64/tst-audit10.c: New file.
16843 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
16844 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
16845
44c4e5d5
RM
168462014-03-13 Roland McGrath <roland@hack.frob.com>
16847
16848 * configure.ac (HAVE_EHDR_START): New check.
16849 * configure: Regenerated.
16850 * config.h.in (HAVE_EHDR_START): New #undef.
16851 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
16852 assuming the lowest-addressed segment maps the start of the file.
16853
acd6e389
JM
168542014-03-13 Joseph Myers <joseph@codesourcery.com>
16855
16856 * INSTALL: Regenerated.
16857
6f918f36
WN
168582014-03-13 Will Newton <will.newton@linaro.org>
16859
16860 * manual/setjmp.texi (System V contexts): Improve
16861 clarity and grammar of documentation.
16862
798212a0
PP
168632014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
16864
16865 [BZ #16381]
798212a0 16866 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 16867 (tests-pie): Add tst-pie2.
798212a0
PP
16868 * elf/tst-pie2.c: New file.
16869 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
16870 for ET_EXEC.
16871 * elf/rtld.c (map_doit): Load executable as lt_executable.
16872 (dl_main): Likewise.
16873
abe6d90c
JM
168742014-03-12 Joseph Myers <joseph@codesourcery.com>
16875
16876 [BZ #16642]
16877 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16878 (__ASSUME_PSELECT): Undefine.
16879
dd3946c6
AZ
168802014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16881
16882 [BZ #16689]
16883 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
16884 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
16885 static build.
16886 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
16887 selector for static builds.
16888
c44496df
SP
168892014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
16890
16891 [BZ #16695]
16892 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
16893 key in the buffer.
16894
27c7220a
AZ
168952014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16896
57f41c40
AS
16897 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
16898 IFUNC selector for static builds.
27c7220a 16899
600fa361
JM
169002014-03-11 Joseph Myers <joseph@codesourcery.com>
16901
76c96cf7
JM
16902 * sysdeps/mips/math_private.h [__mips_hard_float]
16903 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
16904 libc_feresetround_mips_ctx.
16905 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
16906 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
16907 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
16908
600fa361
JM
16909 [BZ #16677]
16910 * math/s_nextafter.c (__nextafter): Do not return value from
16911 overflowing computation.
16912 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
16913 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
16914 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
16915 Likewise.
16916 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
16917 Likewise.
16918 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
16919 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
16920
d7706c32
RM
169212014-03-11 Roland McGrath <roland@hack.frob.com>
16922
16923 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
16924 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
16925 Move sfi_sp use from the load-multiple (that no longer sets sp) to
16926 the new mov targetting sp.
16927
4facea47
AZ
169282014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16929
16930 [BZ #16683]
16931 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
16932 Define it for static builds as well.
16933 (NO_BZERO_IMPL): Likewise.
16934
e65caf1f
VR
169352014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16936
16937 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
16938 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
16939 multiarch strspn for PPC64.
16940 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
16941 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
16942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16943 (__libc_ifunc_impl_list): Likewise.
16944 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
16945 multiarch optimizations
16946 * string/strspn.c (strspn): Using macro to redefine symbol name.
16947
ba9cc071
AZ
169482014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
16949 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16950
16951 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
16952 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
16953 multiarch strncat for PPC64.
16954 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
16955 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
16956 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16957 (__libc_ifunc_impl_list): Likewise.
16958 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
16959 multiarch optimizations
16960
8b4ff974
SP
169612014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16962
16963 [BZ #16639]
16964 * nscd/nscd.service: Make service type forking.
16965
54b46a4b
AZ
169662014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16967
16968 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
16969 sign in non default rounding modes.
16970 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
16971
e9996ef7
JM
169722014-03-08 Joseph Myers <joseph@codesourcery.com>
16973
16974 * math/libm-test.inc (ALL_RM_TEST): New macro.
16975 (ceil_test): Use ALL_RM_TEST.
16976 (cimag_test): Likewise.
16977 (conj_test): Likewise.
16978 (copysign_test): Likewise.
16979 (cproj_test): Likewise.
16980 (creal_test): Likewise.
16981 (fabs_test): Likewise.
16982 (floor_test): Likewise.
16983 (fmax_test): Likewise.
16984 (fmin_test): Likewise.
16985 (fmod_test): Likewise.
16986 (fpclassify_test): Likewise.
16987 (frexp_test): Likewise.
16988 (ilogb_test): Likewise.
16989 (isfinite_test): Likewise.
16990 (finite_test): Likewise.
16991 (isgreater_test): Likewise.
16992 (isgreaterequal_test): Likewise.
16993 (isinf_test): Likewise.
16994 (isless_test): Likewise.
16995 (islessequal_test): Likewise.
16996 (islessgreater_test): Likewise.
16997 (isnan_test): Likewise.
16998 (isnormal_test): Likewise.
16999 (issignaling_test): Likewise.
17000 (isunordered_test): Likewise.
17001 (logb_test): Likewise.
17002 (logb_downward_test_data): Remove.
17003 (logb_test_downward): Likewise.
17004 (lround_test): Use ALL_RM_TEST.
17005 (llround_test): Likewise.
17006 (modf_test): Likewise.
17007 (nexttoward_test): Likewise.
17008 (remainder_test): Likewise.
17009 (drem_test): Likewise.
17010 (remainder_tonearest_test_data): Likewise.
17011 (remainder_test_tonearest): Likewise.
17012 (drem_test_tonearest): Likewise.
17013 (remainder_towardzero_test_data): Likewise.
17014 (remainder_test_towardzero): Likewise.
17015 (drem_test_towardzero): Likewise.
17016 (remainder_downward_test_data): Likewise.
17017 (remainder_test_downward): Likewise.
17018 (drem_test_downward): Likewise.
17019 (remainder_upward_test_data): Likewise.
17020 (remainder_test_upward): Likewise.
17021 (drem_test_upward): Likewise.
17022 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
17023 (round_test): Use ALL_RM_TEST.
17024 (signbit_test): Likewise.
17025 (trunc_test): Likewise.
17026 (significand_test): Likewise.
17027 (main): Don't call removed functions.
17028
bc61d27c
JM
170292014-03-07 Joseph Myers <joseph@codesourcery.com>
17030
5c780849
JM
17031 [BZ #16674]
17032 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
17033 || __USE_XOPEN2K8].
17034 (ILL_ILLOPN): Likewise.
17035 (ILL_ILLADR): Likewise.
17036 (ILL_ILLTRP): Likewise.
17037 (ILL_PRVOPC): Likewise.
17038 (ILL_PRVREG): Likewise.
17039 (ILL_COPROC): Likewise.
17040 (ILL_BADSTK): Likewise.
17041 (FPE_INTDIV): Likewise.
17042 (FPE_INTOVF): Likewise.
17043 (FPE_FLTDIV): Likewise.
17044 (FPE_FLTOVF): Likewise.
17045 (FPE_FLTUND): Likewise.
17046 (FPE_FLTRES): Likewise.
17047 (FPE_FLTINV): Likewise.
17048 (FPE_FLTSUB): Likewise.
17049 (SEGV_MAPERR): Likewise.
17050 (SEGV_ACCERR): Likewise.
17051 (BUS_ADRALN): Likewise.
17052 (BUS_ADRERR): Likewise.
17053 (BUS_OBJERR): Likewise.
17054 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17055 (TRAP_TRACE): Likewise.
17056 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17057 __USE_XOPEN2K8].
17058 (CLD_KILLED): Likewise.
17059 (CLD_DUMPED): Likewise.
17060 (CLD_TRAPPED): Likewise.
17061 (CLD_STOPPED): Likewise.
17062 (CLD_CONTINUED): Likewise.
17063 (POLL_IN): Likewise.
17064 (POLL_OUT): Likewise.
17065 (POLL_MSG): Likewise.
17066 (POLL_ERR): Likewise.
17067 (POLL_PRI): Likewise.
17068 (POLL_HUP): Likewise.
17069 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
17070 Likewise.
17071 (ILL_ILLOPN): Likewise.
17072 (ILL_ILLADR): Likewise.
17073 (ILL_ILLTRP): Likewise.
17074 (ILL_PRVOPC): Likewise.
17075 (ILL_PRVREG): Likewise.
17076 (ILL_COPROC): Likewise.
17077 (ILL_BADSTK): Likewise.
17078 (FPE_INTDIV): Likewise.
17079 (FPE_INTOVF): Likewise.
17080 (FPE_FLTDIV): Likewise.
17081 (FPE_FLTOVF): Likewise.
17082 (FPE_FLTUND): Likewise.
17083 (FPE_FLTRES): Likewise.
17084 (FPE_FLTINV): Likewise.
17085 (FPE_FLTSUB): Likewise.
17086 (SEGV_MAPERR): Likewise.
17087 (SEGV_ACCERR): Likewise.
17088 (BUS_ADRALN): Likewise.
17089 (BUS_ADRERR): Likewise.
17090 (BUS_OBJERR): Likewise.
17091 (BUS_MCEERR_AR): Likewise.
17092 (BUS_MCEERR_AO): Likewise.
17093 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17094 (TRAP_TRACE): Likewise.
17095 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17096 __USE_XOPEN2K8].
17097 (CLD_KILLED): Likewise.
17098 (CLD_DUMPED): Likewise.
17099 (CLD_TRAPPED): Likewise.
17100 (CLD_STOPPED): Likewise.
17101 (CLD_CONTINUED): Likewise.
17102 (POLL_IN): Likewise.
17103 (POLL_OUT): Likewise.
17104 (POLL_MSG): Likewise.
17105 (POLL_ERR): Likewise.
17106 (POLL_PRI): Likewise.
17107 (POLL_HUP): Likewise.
17108 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
17109 (ILL_ILLOPN): Likewise.
17110 (ILL_ILLADR): Likewise.
17111 (ILL_ILLTRP): Likewise.
17112 (ILL_PRVOPC): Likewise.
17113 (ILL_PRVREG): Likewise.
17114 (ILL_COPROC): Likewise.
17115 (ILL_BADSTK): Likewise.
17116 (FPE_INTDIV): Likewise.
17117 (FPE_INTOVF): Likewise.
17118 (FPE_FLTDIV): Likewise.
17119 (FPE_FLTOVF): Likewise.
17120 (FPE_FLTUND): Likewise.
17121 (FPE_FLTRES): Likewise.
17122 (FPE_FLTINV): Likewise.
17123 (FPE_FLTSUB): Likewise.
17124 (SEGV_MAPERR): Likewise.
17125 (SEGV_ACCERR): Likewise.
17126 (BUS_ADRALN): Likewise.
17127 (BUS_ADRERR): Likewise.
17128 (BUS_OBJERR): Likewise.
17129 (BUS_MCEERR_AR): Likewise.
17130 (BUS_MCEERR_AO): Likewise.
17131 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17132 (TRAP_TRACE): Likewise.
17133 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17134 __USE_XOPEN2K8].
17135 (CLD_KILLED): Likewise.
17136 (CLD_DUMPED): Likewise.
17137 (CLD_TRAPPED): Likewise.
17138 (CLD_STOPPED): Likewise.
17139 (CLD_CONTINUED): Likewise.
17140 (POLL_IN): Likewise.
17141 (POLL_OUT): Likewise.
17142 (POLL_MSG): Likewise.
17143 (POLL_ERR): Likewise.
17144 (POLL_PRI): Likewise.
17145 (POLL_HUP): Likewise.
17146 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
17147 Likewise.
17148 (ILL_ILLOPN): Likewise.
17149 (ILL_ILLADR): Likewise.
17150 (ILL_ILLTRP): Likewise.
17151 (ILL_PRVOPC): Likewise.
17152 (ILL_PRVREG): Likewise.
17153 (ILL_COPROC): Likewise.
17154 (ILL_BADSTK): Likewise.
17155 (ILL_BADIADDR): Likewise.
17156 (ILL_BREAK): Likewise.
17157 (FPE_INTDIV): Likewise.
17158 (FPE_INTOVF): Likewise.
17159 (FPE_FLTDIV): Likewise.
17160 (FPE_FLTOVF): Likewise.
17161 (FPE_FLTUND): Likewise.
17162 (FPE_FLTRES): Likewise.
17163 (FPE_FLTINV): Likewise.
17164 (FPE_FLTSUB): Likewise.
17165 (FPE_DECOVF): Likewise.
17166 (FPE_DECDIV): Likewise.
17167 (FPE_DECERR): Likewise.
17168 (FPE_INVASC): Likewise.
17169 (FPE_INVDEC): Likewise.
17170 (SEGV_MAPERR): Likewise.
17171 (SEGV_ACCERR): Likewise.
17172 (SEGV_PSTKOVF): Likewise.
17173 (BUS_ADRALN): Likewise.
17174 (BUS_ADRERR): Likewise.
17175 (BUS_OBJERR): Likewise.
17176 (BUS_MCEERR_AR): Likewise.
17177 (BUS_MCEERR_AO): Likewise.
17178 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17179 (TRAP_TRACE): Likewise.
17180 (TRAP_BRANCH): Likewise.
17181 (TRAP_HWBKPT): Likewise.
17182 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17183 __USE_XOPEN2K8].
17184 (CLD_KILLED): Likewise.
17185 (CLD_DUMPED): Likewise.
17186 (CLD_TRAPPED): Likewise.
17187 (CLD_STOPPED): Likewise.
17188 (CLD_CONTINUED): Likewise.
17189 (POLL_IN): Likewise.
17190 (POLL_OUT): Likewise.
17191 (POLL_MSG): Likewise.
17192 (POLL_ERR): Likewise.
17193 (POLL_PRI): Likewise.
17194 (POLL_HUP): Likewise.
17195 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
17196 (ILL_ILLOPN): Likewise.
17197 (ILL_ILLADR): Likewise.
17198 (ILL_ILLTRP): Likewise.
17199 (ILL_PRVOPC): Likewise.
17200 (ILL_PRVREG): Likewise.
17201 (ILL_COPROC): Likewise.
17202 (ILL_BADSTK): Likewise.
17203 (FPE_INTDIV): Likewise.
17204 (FPE_INTOVF): Likewise.
17205 (FPE_FLTDIV): Likewise.
17206 (FPE_FLTOVF): Likewise.
17207 (FPE_FLTUND): Likewise.
17208 (FPE_FLTRES): Likewise.
17209 (FPE_FLTINV): Likewise.
17210 (FPE_FLTSUB): Likewise.
17211 (SEGV_MAPERR): Likewise.
17212 (SEGV_ACCERR): Likewise.
17213 (BUS_ADRALN): Likewise.
17214 (BUS_ADRERR): Likewise.
17215 (BUS_OBJERR): Likewise.
17216 (BUS_MCEERR_AR): Likewise.
17217 (BUS_MCEERR_AO): Likewise.
17218 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17219 (TRAP_TRACE): Likewise.
17220 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17221 __USE_XOPEN2K8].
17222 (CLD_KILLED): Likewise.
17223 (CLD_DUMPED): Likewise.
17224 (CLD_TRAPPED): Likewise.
17225 (CLD_STOPPED): Likewise.
17226 (CLD_CONTINUED): Likewise.
17227 (POLL_IN): Likewise.
17228 (POLL_OUT): Likewise.
17229 (POLL_MSG): Likewise.
17230 (POLL_ERR): Likewise.
17231 (POLL_PRI): Likewise.
17232 (POLL_HUP): Likewise.
17233 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
17234 (ILL_ILLOPN): Likewise.
17235 (ILL_ILLADR): Likewise.
17236 (ILL_ILLTRP): Likewise.
17237 (ILL_PRVOPC): Likewise.
17238 (ILL_PRVREG): Likewise.
17239 (ILL_COPROC): Likewise.
17240 (ILL_BADSTK): Likewise.
17241 (FPE_INTDIV): Likewise.
17242 (FPE_INTOVF): Likewise.
17243 (FPE_FLTDIV): Likewise.
17244 (FPE_FLTOVF): Likewise.
17245 (FPE_FLTUND): Likewise.
17246 (FPE_FLTRES): Likewise.
17247 (FPE_FLTINV): Likewise.
17248 (FPE_FLTSUB): Likewise.
17249 (SEGV_MAPERR): Likewise.
17250 (SEGV_ACCERR): Likewise.
17251 (BUS_ADRALN): Likewise.
17252 (BUS_ADRERR): Likewise.
17253 (BUS_OBJERR): Likewise.
17254 (BUS_MCEERR_AR): Likewise.
17255 (BUS_MCEERR_AO): Likewise.
17256 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17257 (TRAP_TRACE): Likewise.
17258 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17259 __USE_XOPEN2K8].
17260 (CLD_KILLED): Likewise.
17261 (CLD_DUMPED): Likewise.
17262 (CLD_TRAPPED): Likewise.
17263 (CLD_STOPPED): Likewise.
17264 (CLD_CONTINUED): Likewise.
17265 (POLL_IN): Likewise.
17266 (POLL_OUT): Likewise.
17267 (POLL_MSG): Likewise.
17268 (POLL_ERR): Likewise.
17269 (POLL_PRI): Likewise.
17270 (POLL_HUP): Likewise.
17271 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
17272 (ILL_ILLOPN): Likewise.
17273 (ILL_ILLADR): Likewise.
17274 (ILL_ILLTRP): Likewise.
17275 (ILL_PRVOPC): Likewise.
17276 (ILL_PRVREG): Likewise.
17277 (ILL_COPROC): Likewise.
17278 (ILL_BADSTK): Likewise.
17279 (FPE_INTDIV): Likewise.
17280 (FPE_INTOVF): Likewise.
17281 (FPE_FLTDIV): Likewise.
17282 (FPE_FLTOVF): Likewise.
17283 (FPE_FLTUND): Likewise.
17284 (FPE_FLTRES): Likewise.
17285 (FPE_FLTINV): Likewise.
17286 (FPE_FLTSUB): Likewise.
17287 (SEGV_MAPERR): Likewise.
17288 (SEGV_ACCERR): Likewise.
17289 (BUS_ADRALN): Likewise.
17290 (BUS_ADRERR): Likewise.
17291 (BUS_OBJERR): Likewise.
17292 (BUS_MCEERR_AR): Likewise.
17293 (BUS_MCEERR_AO): Likewise.
17294 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17295 (TRAP_TRACE): Likewise.
17296 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17297 __USE_XOPEN2K8].
17298 (CLD_KILLED): Likewise.
17299 (CLD_DUMPED): Likewise.
17300 (CLD_TRAPPED): Likewise.
17301 (CLD_STOPPED): Likewise.
17302 (CLD_CONTINUED): Likewise.
17303 (POLL_IN): Likewise.
17304 (POLL_OUT): Likewise.
17305 (POLL_MSG): Likewise.
17306 (POLL_ERR): Likewise.
17307 (POLL_PRI): Likewise.
17308 (POLL_HUP): Likewise.
17309 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
17310 (ILL_ILLOPN): Likewise.
17311 (ILL_ILLADR): Likewise.
17312 (ILL_ILLTRP): Likewise.
17313 (ILL_PRVOPC): Likewise.
17314 (ILL_PRVREG): Likewise.
17315 (ILL_COPROC): Likewise.
17316 (ILL_BADSTK): Likewise.
17317 (ILL_DBLFLT): Likewise.
17318 (ILL_HARDWALL): Likewise.
17319 (FPE_INTDIV): Likewise.
17320 (FPE_INTOVF): Likewise.
17321 (FPE_FLTDIV): Likewise.
17322 (FPE_FLTOVF): Likewise.
17323 (FPE_FLTUND): Likewise.
17324 (FPE_FLTRES): Likewise.
17325 (FPE_FLTINV): Likewise.
17326 (FPE_FLTSUB): Likewise.
17327 (SEGV_MAPERR): Likewise.
17328 (SEGV_ACCERR): Likewise.
17329 (BUS_ADRALN): Likewise.
17330 (BUS_ADRERR): Likewise.
17331 (BUS_OBJERR): Likewise.
17332 (BUS_MCEERR_AR): Likewise.
17333 (BUS_MCEERR_AO): Likewise.
17334 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17335 (TRAP_TRACE): Likewise.
17336 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17337 __USE_XOPEN2K8].
17338 (CLD_KILLED): Likewise.
17339 (CLD_DUMPED): Likewise.
17340 (CLD_TRAPPED): Likewise.
17341 (CLD_STOPPED): Likewise.
17342 (CLD_CONTINUED): Likewise.
17343 (POLL_IN): Likewise.
17344 (POLL_OUT): Likewise.
17345 (POLL_MSG): Likewise.
17346 (POLL_ERR): Likewise.
17347 (POLL_PRI): Likewise.
17348 (POLL_HUP): Likewise.
17349 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
17350 (ILL_ILLOPN): Likewise.
17351 (ILL_ILLADR): Likewise.
17352 (ILL_ILLTRP): Likewise.
17353 (ILL_PRVOPC): Likewise.
17354 (ILL_PRVREG): Likewise.
17355 (ILL_COPROC): Likewise.
17356 (ILL_BADSTK): Likewise.
17357 (FPE_INTDIV): Likewise.
17358 (FPE_INTOVF): Likewise.
17359 (FPE_FLTDIV): Likewise.
17360 (FPE_FLTOVF): Likewise.
17361 (FPE_FLTUND): Likewise.
17362 (FPE_FLTRES): Likewise.
17363 (FPE_FLTINV): Likewise.
17364 (FPE_FLTSUB): Likewise.
17365 (SEGV_MAPERR): Likewise.
17366 (SEGV_ACCERR): Likewise.
17367 (BUS_ADRALN): Likewise.
17368 (BUS_ADRERR): Likewise.
17369 (BUS_OBJERR): Likewise.
17370 (BUS_MCEERR_AR): Likewise.
17371 (BUS_MCEERR_AO): Likewise.
17372 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
17373 (TRAP_TRACE): Likewise.
17374 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
17375 __USE_XOPEN2K8].
17376 (CLD_KILLED): Likewise.
17377 (CLD_DUMPED): Likewise.
17378 (CLD_TRAPPED): Likewise.
17379 (CLD_STOPPED): Likewise.
17380 (CLD_CONTINUED): Likewise.
17381 (POLL_IN): Likewise.
17382 (POLL_OUT): Likewise.
17383 (POLL_MSG): Likewise.
17384 (POLL_ERR): Likewise.
17385 (POLL_PRI): Likewise.
17386 (POLL_HUP): Likewise.
17387 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
17388 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17389
bc61d27c
JM
17390 [BZ #16670]
17391 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
17392 before #include of <time.h>.
17393 [!__USE_XOPEN2K] (__need_timespec): Likewise.
17394 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
17395 (test-xfail-UNIX98/sched.h/conform): Likewise.
17396
302949e2
MS
173972014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
17398
17399 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
17400 error absence of trapping exception support.
17401 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
17402
a00f522a
JM
174032014-03-07 Joseph Myers <joseph@codesourcery.com>
17404
6f99f280
JM
17405 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
17406 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
17407 * timezone/Makefile (testdata): Move definition above include of
17408 Rules.
17409 (test-zones): New variable.
17410 (tests-special): Add zone files.
17411 (build-testdata): Use $(evaluate-test).
17412
0b20a9e8
JM
17413 * elf/Makefile (tests-special): Rename tests to end with .out.
17414 ($(objpfx)noload-mem): Likewise.
17415 ($(objpfx)tst-leaks1-mem): Likewise.
17416 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
17417 * iconv/Makefile (xtests-special): Change test-iconvconfig to
17418 $(objpfx)test-iconvconfig.out.
17419 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
17420 set -e inside subshell and redirect output to file.
17421 * iconvdata/Makefile (generated): Rename tests to end with .out.
17422 Correct type.
17423 (tests-special): Rename tests to end with .out.
17424 ($(objpfx)mtrace-tst-loading): Likewise.
17425 * intl/Makefile (generated): Likewise.
17426 (tests-special): Likewise.
17427 ($(objpfx)mtrace-tst-gettext): Likewise.
17428 * misc/Makefile (generated): Likewise.
17429 (tests-special): Likewise.
17430 ($(objpfx)tst-error1-mem): Likewise.
17431 * nptl/Makefile (tests-special): Likewise.
17432 ($(objpfx)tst-stack3-mem): Likewise.
17433 (generated): Likewise.
17434 * posix/Makefile (generated): Likewise.
17435 (tests-special): Likewise.
17436 (xtests-special): Likewise.
17437 ($(objpfx)tst-fnmatch-mem): Likewise.
17438 ($(objpfx)bug-regex2-mem): Likewise.
17439 ($(objpfx)bug-regex14-mem): Likewise.
17440 ($(objpfx)bug-regex21-mem): Likewise.
17441 ($(objpfx)bug-regex31-mem): Likewise.
17442 ($(objpfx)tst-vfork3-mem): Likewise.
17443 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17444 ($(objpfx)tst-pcre-mem): Likewise.
17445 ($(objpfx)tst-boost-mem): Likewise.
17446 ($(objpfx)bug-ga2-mem): Likewise.
17447 ($(objpfx)bug-glob2-mem): Likewise.
17448 * resolv/Makefile (generate): Likewise.
17449 (tests-special): Likewise.
17450 (xtests-special): Likewise.
17451 (generated): Likewise.
17452 ($(objpfx)mtrace-tst-leaks): Likewise.
17453 ($(objpfx)mtrace-tst-leaks2): Likewise.
17454
265d52ab
JM
17455 * scripts/merge-test-results.sh: New file.
17456 * Makefile (tests-special-notdir): New variable.
17457 (tests): Run merge-test-results.sh.
17458 (xtests): Likewise.
17459 * Rules (tests-special-notdir): New variable.
17460 (xtests-special-notdir): Likewise.
17461 (tests): Run merge-test-results.sh
17462 (xtests): Likewise.
17463
54ee292d
JM
17464 * Makeconfig (test-xfail-name): New variable.
17465 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
17466 compute variable name for expected failures.
17467 * conform/Makefile (conformtest-headers-data): New variable.
17468 (conformtest-standards): Likewise.
17469 (conformtest-headers-ISO): Likewise.
17470 (conformtest-headers-ISO99): Likewise.
17471 (conformtest-headers-ISO11): Likewise.
17472 (conformtest-headers-POSIX): Likewise.
17473 (conformtest-headers-XPG3): Likewise.
17474 (conformtest-headers-XPG4): Likewise.
17475 (conformtest-headers-UNIX98): Likewise.
17476 (conformtest-headers-XOPEN2K): Likewise.
17477 (conformtest-headers-POSIX2008): Likewise.
17478 (conformtest-headers-XOPEN2K8): Likewise.
17479 (conformtest-header-list-base): Likewise.
17480 (conformtest-header-list-tests): Likewise.
17481 (conformtest-header-base): Likewise.
17482 (conformtest-header-tests): Likewise.
17483 (tests-special): Add $(conformtest-header-list-tests). If
17484 [$(fast-check) && !$(cross-compiling)], add
17485 $(conformtest-header-tests) instead of
17486 $(objpfx)run-conformtest.out.
17487 (generated): Add $(conformtest-header-list-base). If
17488 [$(fast-check) && !$(cross-compiling)], add
17489 $(conformtest-header-base). Remove previous setting.
17490 ($(conformtest-header-list-tests)): New target.
17491 (test-xfail-run-conformtest): Remove variable.
17492 ($(objpfx)run-conformtest.out): Remove target.
17493 (test-xfail-ISO11/complex.h/conform): New variable.
17494 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17495 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17496 (test-xfail-XPG3/varargs.h/conform): Likewise.
17497 (test-xfail-XPG4/varargs.h/conform): Likewise.
17498 (test-xfail-UNIX98/varargs.h/conform): Likewise.
17499 (test-xfail-XPG4/ndbm.h/conform): Likewise.
17500 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
17501 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
17502 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
17503 (test-xfail-XPG3/fcntl.h/conform): Likewise.
17504 (test-xfail-XPG3/ftw.h/conform): Likewise.
17505 (test-xfail-XPG3/grp.h/conform): Likewise.
17506 (test-xfail-XPG3/langinfo.h/conform): Likewise.
17507 (test-xfail-XPG3/limits.h/conform): Likewise.
17508 (test-xfail-XPG3/pwd.h/conform): Likewise.
17509 (test-xfail-XPG3/search.h/conform): Likewise.
17510 (test-xfail-XPG3/signal.h/conform): Likewise.
17511 (test-xfail-XPG3/stdio.h/conform): Likewise.
17512 (test-xfail-XPG3/stdlib.h/conform): Likewise.
17513 (test-xfail-XPG3/string.h/conform): Likewise.
17514 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
17515 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
17516 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
17517 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
17518 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
17519 (test-xfail-XPG3/sys/types.h/conform): Likewise.
17520 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
17521 (test-xfail-XPG3/termios.h/conform): Likewise.
17522 (test-xfail-XPG3/time.h/conform): Likewise.
17523 (test-xfail-XPG3/unistd.h/conform): Likewise.
17524 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
17525 (test-xfail-XPG4/fcntl.h/conform): Likewise.
17526 (test-xfail-XPG4/langinfo.h/conform): Likewise.
17527 (test-xfail-XPG4/netdb.h/conform): Likewise.
17528 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
17529 (test-xfail-XPG4/signal.h/conform): Likewise.
17530 (test-xfail-XPG4/stdio.h/conform): Likewise.
17531 (test-xfail-XPG4/stdlib.h/conform): Likewise.
17532 (test-xfail-XPG4/stropts.h/conform): Likewise.
17533 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
17534 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
17535 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
17536 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
17537 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
17538 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
17539 (test-xfail-XPG4/sys/time.h/conform): Likewise.
17540 (test-xfail-XPG4/sys/types.h/conform): Likewise.
17541 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
17542 (test-xfail-XPG4/termios.h/conform): Likewise.
17543 (test-xfail-XPG4/ucontext.h/conform): Likewise.
17544 (test-xfail-XPG4/unistd.h/conform): Likewise.
17545 (test-xfail-XPG4/utmpx.h/conform): Likewise.
17546 (test-xfail-POSIX/sched.h/conform): Likewise.
17547 (test-xfail-POSIX/signal.h/conform): Likewise.
17548 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
17549 (test-xfail-POSIX/tar.h/conform): Likewise.
17550 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
17551 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
17552 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
17553 (test-xfail-UNIX98/netdb.h/conform): Likewise.
17554 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
17555 (test-xfail-UNIX98/sched.h/conform): Likewise.
17556 (test-xfail-UNIX98/signal.h/conform): Likewise.
17557 (test-xfail-UNIX98/stdio.h/conform): Likewise.
17558 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
17559 (test-xfail-UNIX98/stropts.h/conform): Likewise.
17560 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
17561 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
17562 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
17563 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
17564 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
17565 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
17566 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
17567 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
17568 (test-xfail-UNIX98/unistd.h/conform): Likewise.
17569 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
17570 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
17571 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
17572 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
17573 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
17574 (test-xfail-XOPEN2K/math.h/conform): Likewise.
17575 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
17576 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
17577 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
17578 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
17579 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
17580 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
17581 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
17582 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
17583 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
17584 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
17585 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
17586 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
17587 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
17588 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
17589 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
17590 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
17591 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
17592 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
17593 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
17594 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
17595 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
17596 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
17597 (test-xfail-POSIX2008/signal.h/conform): Likewise.
17598 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
17599 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
17600 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
17601 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
17602 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
17603 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
17604 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
17605 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
17606 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
17607 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
17608 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
17609 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
17610 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
17611 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
17612 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
17613 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
17614 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
17615 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
17616 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
17617 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
17618 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
17619 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
17620 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
17621 (conformtest-cc-flags): Likewise.
17622 ($(conformtest-header-tests): New target.
17623 * conform/check-header-lists.sh: New file.
17624 * conform/run-conformtest.sh: Remove.
17625
a00f522a
JM
17626 * conform/conformtest.pl: Allow ' and \ in values given for
17627 constants.
17628 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
17629 inclusion.
17630 [POSIX] (sys/types.h): Likewise.
17631 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
17632 inclusion.
17633 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
17634 inclusion.
17635 * conform/data/signal.h-data (SIGIO): Remove expectation.
17636 [XPG3] (SIGBUS): Do not expect.
17637 [POSIX || XPG3] (SIGPOLL): Likewise.
17638 [POSIX || XPG3] (SIGPROF): Likewise.
17639 [POSIX || XPG3] (SIGSYS): Likewise.
17640 [XPG3] (SIGTRAP): Likewise.
17641 [POSIX || XPG3] (SIGURG): Likewise.
17642 [POSIX || XPG3] (SIGVTALRM): Likewise.
17643 [POSIX || XPG3] (SIGXCPU): Likewise.
17644 [POSIX || XPG3] (SIGXFSZ): Likewise.
17645 [POSIX] (SA_SIGINFO): Expect.
17646 [XPG3] (siginfo_t): Do not expect type or contents.
17647 [POSIX] (si_pid): Do not expect element.
17648 [POSIX] (si_uid): Likewise.
17649 [POSIX] (si_addr): Likewise.
17650 [POSIX] (si_status): Likewise.
17651 [POSIX] (si_band): Likewise.
17652 [XPG4] (si_value): Likewise.
17653 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
17654 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
17655 [POSIX || XPG3] (ILL_ILLADR): Likewise.
17656 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
17657 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
17658 [POSIX || XPG3] (ILL_PRVREG): Likewise.
17659 [POSIX || XPG3] (ILL_COPROC): Likewise.
17660 [POSIX || XPG3] (ILL_BADSTK): Likewise.
17661 [POSIX || XPG3] (FPE_INTDIV): Likewise.
17662 [POSIX || XPG3] (FPE_INTOVF): Likewise.
17663 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
17664 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
17665 [POSIX || XPG3] (FPE_FLTUND): Likewise.
17666 [POSIX || XPG3] (FPE_FLTRES): Likewise.
17667 [POSIX || XPG3] (FPE_FLTINV): Likewise.
17668 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
17669 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
17670 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
17671 [POSIX || XPG3] (BUS_ADRALN): Likewise.
17672 [POSIX || XPG3] (BUS_ADRERR): Likewise.
17673 [POSIX || XPG3] (BUS_OBJERR): Likewise.
17674 [POSIX || XPG3] (CLD_EXITED): Likewise.
17675 [POSIX || XPG3] (CLD_KILLED): Likewise.
17676 [POSIX || XPG3] (CLD_DUMPED): Likewise.
17677 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
17678 [POSIX || XPG3] (CLD_STOPPED): Likewise.
17679 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
17680 [POSIX || XPG3] (POLL_IN): Likewise.
17681 [POSIX || XPG3] (POLL_OUT): Likewise.
17682 [POSIX || XPG3] (POLL_MSG): Likewise.
17683 [POSIX || XPG3] (POLL_ERR): Likewise.
17684 [POSIX || XPG3] (POLL_PRI): Likewise.
17685 [POSIX || XPG3] (POLL_HUP): Likewise.
17686 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
17687 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
17688 (SIG*): Do not allow.
17689 [XPG3] (si_*): Likewise.
17690 [XPG3] (SI_*): Likewise.
17691 [XPG3 || XPG4] (sigev_*): Likewise.
17692 [XPG3 || XPG4] (SIGEV_*): Likewise.
17693 [XPG3 || XPG4] (sival_*): Likewise.
17694 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
17695 [POSIX || XPG3] (BUS_*): Likewise.
17696 [POSIX || XPG3] (CLD_*): Likewise.
17697 [POSIX || XPG3] (FPE_*): Likewise.
17698 [POSIX || XPG3] (ILL_*): Likewise.
17699 [POSIX || XPG3] (POLL_*): Likewise.
17700 [POSIX || XPG3] (SEGV_*): Likewise.
17701 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
17702 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
17703 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
17704 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
17705 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
17706 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
17707 Specify type and value.
17708 (TVERSLEN): Likewise.
17709 (REGTYPE): Likewise.
17710 (AREGTYPE): Likewise.
17711 (LNKTYPE): Likewise.
17712 (SYMTYPE): Likewise.
17713 (CHRTYPE): Likewise.
17714 (BLKTYPE): Likewise.
17715 (DIRTYPE): Likewise.
17716 (FIFOTYPE): Likewise.
17717 (CONTTYPE): Likewise.
17718 (TSUID): Likewise.
17719 (TSGID): Likewise.
17720 (TSVTX): Likewise.
17721 (TUREAD): Likewise.
17722 (TUWRITE): Likewise.
17723 (TUEXEC): Likewise.
17724 (TGREAD): Likewise.
17725 (TGWRITE): Likewise.
17726 (TGEXEC): Likewise.
17727 (TOREAD): Likewise.
17728 (TOWRITE): Likewise.
17729 (TOEXEC): Likewise.
17730 [POSIX] (TSVTX): Expect constant.
17731
aa97dee1
JM
177322014-03-06 Joseph Myers <joseph@codesourcery.com>
17733
f214606a
JM
17734 * Makefile (tests): Change dependencies to ....
17735 (tests-special): ... additions to this variable.
17736 (tests): Depend on $(tests-special).
17737 * Makerules (check-abi-list): New variable.
17738 (check-abi): Depend on $(check-abi-list).
17739 [$(subdir) = elf] (tests-special): Add
17740 $(objpfx)check-abi-libc.out.
17741 [$(build-shared) = yes && subdir] (tests-special): Add
17742 $(check-abi-list).
17743 [$(build-shared) = yes && subdir] (tests): Do not depend on
17744 check-abi.
17745 * Rules (tests): Depend on $(tests-special).
17746 (xtests): Depend on $(xtests-special).
17747 * catgets/Makefile (tests): Change dependencies to ....
17748 (tests-special): ... additions to this variable.
17749 * conform/Makefile (tests): Change dependencies to ....
17750 (tests-special): ... additions to this variable.
17751 * elf/Makefile (tests): Change dependencies to ....
17752 (tests-special): ... additions to this variable.
17753 * grp/Makefile (tests): Change dependencies to ....
17754 (tests-special): ... additions to this variable.
17755 * iconv/Makefile (xtests): Change dependencies to ....
17756 (xtests-special): ... additions to this variable.
17757 * iconvdata/Makefile (tests): Change dependencies to ....
17758 (tests-special): ... additions to this variable.
17759 * intl/Makefile (tests): Change dependencies to ....
17760 (tests-special): ... additions to this variable. Also add
17761 $(objpfx)tst-gettext.out.
17762 * io/Makefile (tests): Change dependencies to ....
17763 (tests-special): ... additions to this variable.
17764 * libio/Makefile (tests): Change dependencies to ....
17765 (tests-special): ... additions to this variable.
17766 * malloc/Makefile (tests): Change dependencies to ....
17767 (tests-special): ... additions to this variable.
17768 * misc/Makefile (tests): Change dependencies to ....
17769 (tests-special): ... additions to this variable.
17770 * nptl/Makefile (tests): Change dependencies to ....
17771 (tests-special): ... additions to this variable.
17772 * nptl_db/Makefile (tests): Change dependencies to ....
17773 (tests-special): ... additions to this variable.
17774 * posix/Makefile (tests): Change dependencies to ....
17775 (tests-special): ... additions to this variable.
17776 (xtests): Change dependencies to ....
17777 (xtests-special): ... additions to this variable.
17778 * resolv/Makefile (tests): Change dependencies to ....
17779 (tests-special): ... additions to this variable.
17780 (xtests): Change dependencies to ....
17781 (xtests-special): ... additions to this variable.
17782 * stdio-common/Makefile (tests): Change dependencies to ....
17783 (tests-special): ... additions to this variable.
17784 (do-tst-unbputc): Remove target.
17785 (do-tst-printf): Likewise.
17786 * stdlib/Makefile (tests): Change dependencies to ....
17787 (tests-special): ... additions to this variable.
17788 * string/Makefile (tests): Change dependencies to ....
17789 (tests-special): ... additions to this variable.
17790 * sysdeps/x86/Makefile (tests): Change dependencies to ....
17791 (tests-special): ... additions to this variable.
17792
81700b53
JM
17793 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
17794 whole file.
17795 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
17796 whole file.
17797 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
17798 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
17799
2ea18461
JM
17800 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
17801 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
17802 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
17803 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
17804 * conform/data/libgen.h-data [XPG3]: Likewise.
17805 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
17806 * conform/data/ndbm.h-data [XPG3]: Likewise.
17807 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17808 * conform/data/netdb.h-data [XPG3]: Likewise.
17809 * conform/data/netinet/in.h-data [XPG3]: Likewise.
17810 * conform/data/poll.h-data [XPG3]: Likewise.
17811 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
17812 * conform/data/strings.h-data [XPG3]: Likewise.
17813 * conform/data/stropts.h-data [XPG3]: Likewise.
17814 * conform/data/sys/mman.h-data [XPG3]: Likewise.
17815 * conform/data/sys/resource.h-data [XPG3]: Likewise.
17816 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
17817 Likewise.
17818 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
17819 * conform/data/sys/time.h-data [XPG3]: Likewise.
17820 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
17821 * conform/data/sys/uio.h-data [XPG3]: Likewise.
17822 * conform/data/sys/un.h-data [XPG3]: Likewise.
17823 * conform/data/syslog.h-data [XPG3]: Likewise.
17824 * conform/data/ucontext.h-data [XPG3]: Likewise.
17825 * conform/data/utmpx.h-data [XPG3]: Likewise.
17826 * conform/data/varargs.h-data [UNIX98]: Enable file.
17827
355bc986
JM
17828 * manual/Makefile (INSTALL_INFO): Remove variable setting.
17829
215db402
JM
17830 * math/libm-test.inc (struct test_f_f_data): Move expected results
17831 into structure for each rounding mode.
17832 (struct test_ff_f_data): Likewise.
17833 (struct test_ff_f_data_nexttoward): Likewise.
17834 (struct test_fi_f_data): Likewise.
17835 (struct test_fl_f_data): Likewise.
17836 (struct test_if_f_data): Likewise.
17837 (struct test_fff_f_data): Likewise.
17838 (struct test_c_f_data): Likewise.
17839 (struct test_f_f1_data): Likewise.
17840 (struct test_fF_f1_data): Likewise.
17841 (struct test_ffI_f1_data): Likewise.
17842 (struct test_c_c_data): Likewise.
17843 (struct test_cc_c_data): Likewise.
17844 (struct test_f_i_data): Likewise.
17845 (struct test_ff_i_data): Likewise.
17846 (struct test_f_l_data): Likewise.
17847 (struct test_f_L_data): Likewise.
17848 (struct test_fFF_11_data): Likewise.
17849 (RM_): New macro.
17850 (RM_FE_DOWNWARD): Likewise.
17851 (RM_FE_TONEAREST): Likewise.
17852 (RM_FE_TOWARDZERO): Likewise.
17853 (RM_FE_UPWARD): Likewise.
17854 (RUN_TEST_LOOP_f_f): Update references to expected results.
17855 (RUN_TEST_LOOP_2_f): Likewise.
17856 (RUN_TEST_LOOP_fff_f): Likewise.
17857 (RUN_TEST_LOOP_c_f): Likewise.
17858 (RUN_TEST_LOOP_f_f1): Likewise.
17859 (RUN_TEST_LOOP_fF_f1): Likewise.
17860 (RUN_TEST_LOOP_fI_f1): Likewise.
17861 (RUN_TEST_LOOP_ffI_f1): Likewise.
17862 (RUN_TEST_LOOP_c_c): Likewise.
17863 (RUN_TEST_LOOP_cc_c): Likewise.
17864 (RUN_TEST_LOOP_f_i): Likewise.
17865 (RUN_TEST_LOOP_f_i_tg): Likewise.
17866 (RUN_TEST_LOOP_ff_i_tg): Likewise.
17867 (RUN_TEST_LOOP_f_b): Likewise.
17868 (RUN_TEST_LOOP_f_b_tg): Likewise.
17869 (RUN_TEST_LOOP_f_l): Likewise.
17870 (RUN_TEST_LOOP_f_L): Likewise.
17871 (RUN_TEST_LOOP_fFF_11): Likewise.
17872 * math/gen-libm-test.pl (parse_args): Output four copies of
17873 expected results for each test.
17874
67737b8f
JM
17875 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17876 (__ASSUME_UTIMES): Remove.
17877 * sysdeps/unix/sysv/linux/tile/kernel-features.h
17878 (__ASSUME_UTIMES): Likewise.
17879
aa97dee1
JM
17880 * math/gen-auto-libm-tests.c: Update comment on output format.
17881 (output_for_one_input_case): Generate before-rounding and
17882 after-rounding information as conditions on output flags not
17883 floating-point format.
17884 * math/auto-libm-test-out: Regenerated.
17885 * math/gen-libm-test.pl (cond_value): New function.
17886 (or_cond_value): Use cond_value.
17887 (generate_testfile): Handle conditional exceptions.
17888
e6b6a857
JM
178892014-03-05 Joseph Myers <joseph@codesourcery.com>
17890
2f0a0f44
JM
17891 * math/libm-test.inc (max_valid_error): New variable.
17892 (init_max_error): Take new argument specifying whether function
17893 results are exactly determined. Set max_valid_error and bound
17894 other variables for errors based on this argument.
17895 (set_max_error): Do not record results above max_valid_error.
17896 (check_float_internal): Only accept errors of up to 0.5ulps if
17897 also at most max_valid_error.
17898 (START): Take new argument EXACT and pass it to init_max_error.
17899 (acos_test): Update call to START.
17900 (acos_test_tonearest): Likewise.
17901 (acos_test_towardzero): Likewise.
17902 (acos_test_downward): Likewise.
17903 (acos_test_upward): Likewise.
17904 (acosh_test): Likewise.
17905 (asin_test): Likewise.
17906 (asin_test_tonearest): Likewise.
17907 (asin_test_towardzero): Likewise.
17908 (asin_test_downward): Likewise.
17909 (asin_test_upward): Likewise.
17910 (asinh_test): Likewise.
17911 (atan_test): Likewise.
17912 (atanh_test): Likewise.
17913 (atan2_test): Likewise.
17914 (cabs_test): Likewise.
17915 (cacos_test): Likewise.
17916 (cacosh_test): Likewise.
17917 (carg_test): Likewise.
17918 (casin_test): Likewise.
17919 (casinh_test): Likewise.
17920 (catan_test): Likewise.
17921 (catanh_test): Likewise.
17922 (cbrt_test): Likewise.
17923 (ccos_test): Likewise.
17924 (ccosh_test): Likewise.
17925 (ceil_test): Likewise.
17926 (cexp_test): Likewise.
17927 (cimag_test): Likewise.
17928 (clog_test): Likewise.
17929 (clog10_test): Likewise.
17930 (conj_test): Likewise.
17931 (copysign_test): Likewise.
17932 (cos_test): Likewise.
17933 (cos_test_tonearest): Likewise.
17934 (cos_test_towardzero): Likewise.
17935 (cos_test_downward): Likewise.
17936 (cos_test_upward): Likewise.
17937 (cosh_test): Likewise.
17938 (cosh_test_tonearest): Likewise.
17939 (cosh_test_towardzero): Likewise.
17940 (cosh_test_downward): Likewise.
17941 (cosh_test_upward): Likewise.
17942 (cpow_test): Likewise.
17943 (cproj_test): Likewise.
17944 (creal_test): Likewise.
17945 (csin_test): Likewise.
17946 (csinh_test): Likewise.
17947 (csqrt_test): Likewise.
17948 (ctan_test): Likewise.
17949 (ctan_test_tonearest): Likewise.
17950 (ctan_test_towardzero): Likewise.
17951 (ctan_test_downward): Likewise.
17952 (ctan_test_upward): Likewise.
17953 (ctanh_test): Likewise.
17954 (ctanh_test_tonearest): Likewise.
17955 (ctanh_test_towardzero): Likewise.
17956 (ctanh_test_downward): Likewise.
17957 (ctanh_test_upward): Likewise.
17958 (erf_test): Likewise.
17959 (erfc_test): Likewise.
17960 (exp_test): Likewise.
17961 (exp_test_tonearest): Likewise.
17962 (exp_test_towardzero): Likewise.
17963 (exp_test_downward): Likewise.
17964 (exp_test_upward): Likewise.
17965 (exp10_test): Likewise.
17966 (exp10_test_tonearest): Likewise.
17967 (exp10_test_towardzero): Likewise.
17968 (exp10_test_downward): Likewise.
17969 (exp10_test_upward): Likewise.
17970 (pow10_test): Likewise.
17971 (exp2_test): Likewise.
17972 (expm1_test): Likewise.
17973 (expm1_test_tonearest): Likewise.
17974 (expm1_test_towardzero): Likewise.
17975 (expm1_test_downward): Likewise.
17976 (expm1_test_upward): Likewise.
17977 (fabs_test): Likewise.
17978 (fdim_test): Likewise.
17979 (floor_test): Likewise.
17980 (fma_test): Likewise.
17981 (fma_test_towardzero): Likewise.
17982 (fma_test_downward): Likewise.
17983 (fma_test_upward): Likewise.
17984 (fmax_test): Likewise.
17985 (fmin_test): Likewise.
17986 (fmod_test): Likewise.
17987 (fpclassify_test): Likewise.
17988 (frexp_test): Likewise.
17989 (hypot_test): Likewise.
17990 (ilogb_test): Likewise.
17991 (isfinite_test): Likewise.
17992 (finite_test): Likewise.
17993 (isgreater_test): Likewise.
17994 (isgreaterequal_test): Likewise.
17995 (isinf_test): Likewise.
17996 (isless_test): Likewise.
17997 (islessequal_test): Likewise.
17998 (islessgreater_test): Likewise.
17999 (isnan_test): Likewise.
18000 (isnormal_test): Likewise.
18001 (issignaling_test): Likewise.
18002 (isunordered_test): Likewise.
18003 (j0_test): Likewise.
18004 (j1_test): Likewise.
18005 (jn_test): Likewise.
18006 (ldexp_test): Likewise.
18007 (lgamma_test): Likewise.
18008 (gamma_test): Likewise.
18009 (lrint_test): Likewise.
18010 (lrint_test_tonearest): Likewise.
18011 (lrint_test_towardzero): Likewise.
18012 (lrint_test_downward): Likewise.
18013 (lrint_test_upward): Likewise.
18014 (llrint_test): Likewise.
18015 (llrint_test_tonearest): Likewise.
18016 (llrint_test_towardzero): Likewise.
18017 (llrint_test_downward): Likewise.
18018 (llrint_test_upward): Likewise.
18019 (log_test): Likewise.
18020 (log10_test): Likewise.
18021 (log1p_test): Likewise.
18022 (log2_test): Likewise.
18023 (logb_test): Likewise.
18024 (logb_test_downward): Likewise.
18025 (lround_test): Likewise.
18026 (llround_test): Likewise.
18027 (modf_test): Likewise.
18028 (nearbyint_test): Likewise.
18029 (nextafter_test): Likewise.
18030 (nexttoward_test): Likewise.
18031 (pow_test): Likewise.
18032 (pow_test_tonearest): Likewise.
18033 (pow_test_towardzero): Likewise.
18034 (pow_test_downward): Likewise.
18035 (pow_test_upward): Likewise.
18036 (remainder_test): Likewise.
18037 (drem_test): Likewise.
18038 (remainder_test_tonearest): Likewise.
18039 (drem_test_tonearest): Likewise.
18040 (remainder_test_towardzero): Likewise.
18041 (drem_test_towardzero): Likewise.
18042 (remainder_test_downward): Likewise.
18043 (drem_test_downward): Likewise.
18044 (remainder_test_upward): Likewise.
18045 (drem_test_upward): Likewise.
18046 (remquo_test): Likewise.
18047 (rint_test): Likewise.
18048 (rint_test_tonearest): Likewise.
18049 (rint_test_towardzero): Likewise.
18050 (rint_test_downward): Likewise.
18051 (rint_test_upward): Likewise.
18052 (round_test): Likewise.
18053 (scalb_test): Likewise.
18054 (scalbn_test): Likewise.
18055 (scalbln_test): Likewise.
18056 (signbit_test): Likewise.
18057 (sin_test): Likewise.
18058 (sin_test_tonearest): Likewise.
18059 (sin_test_towardzero): Likewise.
18060 (sin_test_downward): Likewise.
18061 (sin_test_upward): Likewise.
18062 (sincos_test): Likewise.
18063 (sinh_test): Likewise.
18064 (sinh_test_tonearest): Likewise.
18065 (sinh_test_towardzero): Likewise.
18066 (sinh_test_downward): Likewise.
18067 (sinh_test_upward): Likewise.
18068 (sqrt_test): Likewise.
18069 (sqrt_test_tonearest): Likewise.
18070 (sqrt_test_towardzero): Likewise.
18071 (sqrt_test_downward): Likewise.
18072 (sqrt_test_upward): Likewise.
18073 (tan_test): Likewise.
18074 (tan_test_tonearest): Likewise.
18075 (tan_test_towardzero): Likewise.
18076 (tan_test_downward): Likewise.
18077 (tan_test_upward): Likewise.
18078 (tanh_test): Likewise.
18079 (tgamma_test): Likewise.
18080 (trunc_test): Likewise.
18081 (y0_test): Likewise.
18082 (y1_test): Likewise.
18083 (yn_test): Likewise.
18084 (significand_test): Likewise.
18085
e6b6a857
JM
18086 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
18087 individual tests in comment.
18088 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
18089 (prev_max_error): New variable.
18090 (prev_real_max_error): Likewise.
18091 (prev_imag_max_error): Likewise.
18092 (compare_ulp_data): Don't refer to test names in comment.
18093 (find_test_ulps): Remove function.
18094 (find_function_ulps): Likewise.
18095 (find_complex_function_ulps): Likewise.
18096 (init_max_error): Take function name as argument. Look up ulps
18097 for that function.
18098 (print_ulps): Remove function.
18099 (print_max_error): Use prev_max_error instead of calling
18100 find_function_ulps.
18101 (print_complex_max_error): Use prev_real_max_error and
18102 prev_imag_max_error instead of calling find_complex_function_ulps.
18103 (check_float_internal): Take max_ulp parameter instead of calling
18104 find_test_ulps. Don't call print_ulps.
18105 (check_float): Update call to check_float_internal.
18106 (check_complex): Update calls to check_float_internal.
18107 (START): Pass argument to init_max_error.
18108 * math/gen-libm-test.pl (%results): Don't include "kind"
18109 information.
18110 (parse_ulps): Don't handle ulps of individual tests.
18111 (print_ulps_file): Likewise.
18112 (output_ulps): Likewise.
18113 * math/README.libm-test: Update.
18114 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
18115 individual tests.
18116 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
18117 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
18118 * sysdeps/arm/libm-test-ulps: Likewise.
18119 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
18120 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
18121 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
18122 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
18123 * sysdeps/microblaze/libm-test-ulps: Likewise.
18124 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
18125 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
18126 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
18127 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
18128 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
18129 * sysdeps/sh/libm-test-ulps: Likewise.
18130 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
18131 * sysdeps/tile/libm-test-ulps: Likewise.
18132 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18133
45adef3c
JM
181342014-03-04 Joseph Myers <joseph@codesourcery.com>
18135
18136 * math/libm-test.inc (print_complex_max_error): Check separately
18137 whether real and imaginary errors are within allowed range and
18138 pass 0 to print_complex_function_ulps instead of value within
18139 allowed range.
18140
000232b9
SP
181412014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18142
d4b17258
SP
18143 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
18144 formatting.
18145 (get_handles_fopen): Likewise.
18146 (do_write_test): Likewise.
18147
091eff71
SP
18148 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
18149
fa3cd248
SP
18150 * libio/fileops.c (do_ftell): Use cached offset when
18151 available.
18152 * libio/iofwide.c (do_ftell_wide): Likewise.
18153 * libio/iofdopen.c (_IO_new_fdopen): Don't use
18154 _IO_file_attach.
18155 * libio/wfileops.c (_IO_fwide): Don't cache offset.
18156
000232b9
SP
18157 [BZ #16532]
18158 * libio/libioP.h (get_file_offset): New function.
18159 * libio/fileops.c (get_file_offset): Likewise.
18160 (do_ftell): Likewise.
18161 (_IO_new_file_seekoff): Split out ftell logic.
18162 * libio/wfileops.c (do_ftell_wide): Likewise.
18163 (_IO_wfile_seekoff): Split out ftell logic.
18164 * libio/tst-ftell-active-handler.c: New test case.
18165 * libio/Makefile (tests): Add it.
18166
116f4d1a
RM
181672014-03-03 Roland McGrath <roland@hack.frob.com>
18168
18169 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
18170 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
18171
532a6035
SP
181722014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
18173
18174 [BZ #16639]
18175 * nscd/connections.c (nscd_init): Call do_exit.
18176 (start_threads): Call do_exit and notify_parent.
18177 (begin_drop_privileges): Call do_exit.
18178 (finish_drop_privileges): Likewise.
18179 * nscd/selinux.c (preserve_capabilities): Likewise.
18180 (install_real_capabilities): Likewise.
18181 (nscd_selinux_enabled): Likewise.
18182 (avc_create_thread): Likewise.
18183 (avc_alloc_lock): Likewise.
18184 (nscd_avc_init): Likewise.
18185 * nscd/nscd.c (parent_fd): New static variable.
18186 (main): Create a pipe between parent and child processes.
18187 Skip closing parent_fd.
18188 (monitor_child): New function.
18189 (do_exit): Likewise.
18190 (notify_parent): Likewise.
18191 * nscd/nscd.h (notify_parent): Likewise.
18192 (do_exit): Likewise.
18193
d6285c9f
CD
181942014-03-03 Carlos O'Donell <carlos@redhat.com>
18195
18196 * malloc/malloc.c (__libc_calloc): Revert last change.
18197
2b85d2a0
AZ
181982014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18199
18200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18201
c7debbdf
RS
182022014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18203
18204 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
18205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
18206 implementation.
18207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
18208 (__libc_ifunc_impl_list): Likewise.
18209 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
18210 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
18211 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
18212 * string/strrchr.c: Define STRRCHR.
18213
235eed86
OB
182142014-02-28 Ondřej Bílka <neleai@seznam.cz>
18215
18216 * benchtest/bench-strtok.c (simple_strtok): Delete.
18217 (strtok_string): Use as benchmark.
18218 * string/strtok (STRTOK): New macro.
18219
8e25d1e7
CD
182202014-02-28 Carlos O'Donell <carlos@redhat.com>
18221
ef563f92
CD
18222 * manual/threads.texi: Add header and standard comments to all
18223 functions.
18224
8e25d1e7
CD
18225 * elf/dl-lookup.c (check_match): New function.
18226 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
18227 (do_lookup_x): Remove nested function check_match. Use non-nested
18228 function check_match.
18229
ff71cc37
RM
182302014-02-28 Roland McGrath <roland@hack.frob.com>
18231
f08e9a26
RM
18232 * csu/Makefile (generated, before-compile): Use += rather than =.
18233 * catgets/Makefile (generated, generated-dirs): Likewise.
18234 * debug/Makefile (generated): Likewise.
18235 * dlfcn/Makefile (generated): Likewise.
18236 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
18237 * iconvdata/Makefile (before-compile, generated): Likewise.
18238 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
18239 * libio/Makefile (generated): Likewise.
18240 * malloc/Makefile (generated): Likewise.
18241 * manual/Makefile (generated, generated-dirs): Likewise.
18242 * misc/Makefile (generated): Likewise.
18243 * posix/Makefile (generated): Likewise.
18244 * resolv/Makefile (generated): Likewise.
18245 * sunrpc/Makefile (generated, generated-dirs): Likewise.
18246 * timezone/Makefile (generated, generated-dirs): Likewise.
18247
ff71cc37
RM
18248 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
18249
fe13a20c
AZ
182502014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18251
57f41c40
AS
18252 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
18253 power8 implementation.
18254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
18255 file: POWER8 llround ifunc implementation.
18256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
18257 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
18258 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
18259 POWER8 llround implementation.
18260
57f41c40
AS
18261 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
18262 power8 implementation.
18263 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
18264 file: POWER8 llrint ifunc implementation.
18265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
18266 Add POWER8 implementation.
1ad8950a
AZ
18267 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
18268 POWER8 llrint implementation.
18269
57f41c40
AS
18270 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
18271 power8 implementation.
18272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
18273 file: POWER8 finite ifunc implementation.
18274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
18275 Add POWER8 implementation.
cac626d6
AZ
18276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
18277 Likewise.
18278 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
18279 POWER8 finite implementation.
18280 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
18281
57f41c40
AS
18282 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
18283 power8 implementation.
18284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
18285 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
18286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
18287 POWER8 implementation.
18288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
18289 Likewise.
57f41c40
AS
18290 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
18291 isinf implementation.
4393fc11
AZ
18292 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
18293
57f41c40
AS
18294 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
18295 (INIT_ARCH): Add hwcap2 initialization.
18296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
18297 power8 implementation.
18298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
18299 file: POWER8 isnan ifunc implementation.
487972ae
AZ
18300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
18301 POWER8 implementation.
18302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
18303 Likewise.
57f41c40
AS
18304 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
18305 isnan implementation.
487972ae
AZ
18306 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
18307
7d92b787
JY
183082014-02-27 Joey Ye <joey.ye@arm.com>
18309
18310 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
18311 (_FP_NANFRAC_Q): Set to zero.
18312
1cadc858
SP
183132014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18314
18315 [BZ #16623]
18316 * math/auto-libm-test-in: New test inputs.
18317 * math/auto-libm-test-out: Regenerate.
18318 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
18319 and DA.
18320 (__cos): Likewise.
18321 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
18322
f8c17e79
JM
183232014-02-27 Joseph Myers <joseph@codesourcery.com>
18324
18325 * scripts/evaluate-test.sh: Take new argument indicating whether
18326 failure is expected.
18327 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
18328 indicating whether failure is expected.
18329 * conform/Makefile (test-xfail-run-conformtest): New variable.
18330 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
18331 level.
18332 * posix/Makefile (test-xfail-annexc): New variable.
18333 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
18334
a5f891ac
JM
183352014-02-26 Joseph Myers <joseph@codesourcery.com>
18336
18337 * argp/Makefile: Include Makeconfig immediately after defining
18338 subdir.
18339 * assert/Makefile: Likewise.
18340 * benchtests/Makefile: Likewise.
18341 * catgets/Makefile: Likewise.
18342 * conform/Makefile: Likewise.
18343 * crypt/Makefile: Likewise.
18344 * csu/Makefile: Likewise.
18345 (all): Remove target.
18346 * ctype/Makefile: Include Makeconfig immediately after defining
18347 subdir.
18348 * debug/Makefile: Likewise.
18349 * dirent/Makefile: Likewise.
18350 * dlfcn/Makefile: Likewise.
18351 * gmon/Makefile: Likewise.
18352 * gnulib/Makefile: Likewise.
18353 * grp/Makefile: Likewise.
18354 * gshadow/Makefile: Likewise.
18355 * hesiod/Makefile: Likewise.
18356 * hurd/Makefile: Likewise.
18357 (all): Remove target.
18358 * iconvdata/Makefile: Include Makeconfig immediately after
18359 defining subdir.
18360 * inet/Makefile: Likewise.
18361 * intl/Makefile: Likewise.
18362 * io/Makefile: Likewise.
18363 * libio/Makefile: Likewise.
18364 (all): Remove target.
18365 * locale/Makefile: Include Makeconfig immediately after defining
18366 subdir.
18367 * login/Makefile: Likewise.
18368 * mach/Makefile: Likewise.
18369 (all): Remove target.
18370 * malloc/Makefile: Include Makeconfig immediately after defining
18371 subdir.
18372 (all): Remove target.
18373 * manual/Makefile: Include Makeconfig immediately after defining
18374 subdir.
18375 * math/Makefile: Likewise.
18376 * misc/Makefile: Likewise.
18377 * nis/Makefile: Likewise.
18378 * nss/Makefile: Likewise.
18379 * po/Makefile: Likewise.
18380 (all): Remove target.
18381 * posix/Makefile: Include Makeconfig immediately after defining
18382 subdir.
18383 * pwd/Makefile: Likewise.
18384 * resolv/Makefile: Likewise.
18385 * resource/Makefile: Likewise.
18386 * rt/Makefile: Likewise.
18387 * setjmp/Makefile: Likewise.
18388 * shadow/Makefile: Likewise.
18389 * signal/Makefile: Likewise.
18390 * socket/Makefile: Likewise.
18391 * soft-fp/Makefile: Likewise.
18392 * stdio-common/Makefile: Likewise.
18393 * stdlib/Makefile: Likewise.
18394 * streams/Makefile: Likewise.
18395 * string/Makefile: Likewise.
18396 * sunrpc/Makefile: Likewise.
18397 (all): Remove target.
18398 * sysvipc/Makefile: Include Makeconfig immediately after defining
18399 subdir.
18400 * termios/Makefile: Likewise.
18401 * time/Makefile: Likewise.
18402 * timezone/Makefile: Likewise.
18403 (all): Remove target.
18404 * wcsmbs/Makefile: Include Makeconfig immediately after defining
18405 subdir.
18406 * wctype/Makefile: Likewise.
18407
5b456e9d
SE
184082014-02-26 Steve Ellcey <sellcey@mips.com>
18409
18410 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
18411 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
18412 (libc_feholdexcept_setround_mips): Ditto.
18413 (libc_feholdsetround): New.
18414 (libc_feholdsetroundf): New.
18415 (libc_feholdsetroundl): New.
18416 (libc_feupdateenv_test_mips): New.
18417 (libc_feupdateenv_test): New.
18418 (libc_feupdateenv_testf): New.
18419 (libc_feupdateenv_testl): New.
18420 (libc_feresetround): New.
18421 (libc_feresetroundf): New.
18422 (libc_feresetroundl): New.
18423 (libc_fetestexcept_mips): New.
18424 (libc_fetestexcept): New.
18425 (libc_fetestexceptf): New.
18426 (libc_fetestexceptl): New.
18427 (HAVE_RM_CTX): New.
18428 (libc_feholdexcept_setround_mips_ctx): New.
18429 (libc_feholdexcept_setround_ctx): New.
18430 (libc_feholdexcept_setroundf_ctx): New.
18431 (libc_feholdexcept_setroundl_ctx): New.
18432 (libc_fesetenv_mips_ctx): New.
18433 (libc_fesetenv_ctx): New.
18434 (libc_fesetenv_ctxf): New.
18435 (libc_fesetenv_ctxl): New.
18436 (libc_feupdateenv_mips_ctx): New.
18437 (libc_feupdateenv_ctx): New.
18438 (libc_feupdateenvf_ctx): New.
18439 (libc_feupdateenvl_ctx): New.
18440 (libc_feholdsetround_mips_ctx): New.
18441 (libc_feholdsetround_ctx): New.
18442 (libc_feholdsetroundf_ctx): New.
18443 (libc_feholdsetroundl_ctx): New.
18444 (libc_feresetround_mips_ctx): New.
18445 (libc_feresetround_ctx): New.
18446 (libc_feresetroundf_ctx): New.
18447 (libc_feresetroundl_ctx): New.
18448
085d0e35
CD
184492014-02-26 Carlos O'Donell <carlos@redhat.com>
18450
f067bf1f
CD
18451 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
18452
085d0e35
CD
18453 * manual/ipc.texi: New file.
18454 * manual/Makefile (chapters): Add ipc.
18455 * manual/job.texi: Add "Inter-Process Communication" to next.
18456 * manual/process.texi: Add "Inter-Process Communication" to prev.
18457
86e58c08
AZ
184582014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18459
18460 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18461
4248f0da
OB
184622014-02-26 Ondřej Bílka <neleai@seznam.cz>
18463
18464 * malloc/malloc.c (__libc_calloc): Simplify implementation.
18465
cf822e3c
OB
18466 * manual/arith.texi: Fix spaces after sentences.
18467 * manual/charset.texi: Likewise.
18468 * manual/errno.texi: Likewise.
18469 * manual/install.texi: Likewise.
18470 * manual/llio.texi: Likewise.
18471 * manual/locale.texi: Likewise.
18472 * manual/maint.texi: Likewise.
18473 * manual/math.texi: Likewise.
18474 * manual/memory.texi: Likewise.
18475 * manual/message.texi: Likewise.
18476 * manual/probes.texi: Likewise.
18477 * manual/resource.texi: Likewise.
18478 * manual/signal.texi: Likewise.
18479 * manual/socket.texi: Likewise.
18480 * manual/stdio.texi: Likewise.
18481 * manual/string.texi: Likewise.
18482 * manual/time.texi: Likewise.
18483 * manual/users.texi: Likewise.
18484
ade40b10
CD
184852014-02-25 Carlos O'Donell <carlos@redhat.com>
18486
18487 [BZ #16632]
18488 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
18489 _DEFAULT_SOURCE is defined.
18490
d0503676
CD
184912014-02-25 Ulrich Drepper <drepper@gmail.com>
18492 Carlos O'Donell <carlos@redhat.com>
18493
18494 [BZ #16613]
18495 * elf/dl-tls.c (_dl_count_modids): New function.
18496 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
18497 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
18498 audit library and increment generation counter.
18499 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
18500 * elf/tst-audit9.c: New file.
18501 * elf/tst-auditmod9a.c: New file.
18502 * elf/tst-auditmod9b.c: New file.
18503 * elf/Makefile: Add rules to build and run tst-audit9.
18504
4cbf380c
FW
185052014-02-25 Florian Weimer <fweimer@redhat.com>
18506
18507 [BZ #15347]
18508 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
18509
80a56cc3
WN
185102014-02-25 Will Newton <will.newton@linaro.org>
18511
18512 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
18513 (__longjmp): Restore sp and lr before restoring callee
18514 saved registers. Add longjmp and longjmp_target
18515 SystemTap probe point.
18516 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
18517 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
18518 Define to zero to match jmpbuf layout.
18519 * sysdeps/arm/setjmp.S: Include stap-probe.h.
18520 (__sigsetjmp): Save sp and lr before saving callee
18521 saved registers. Add setjmp SystemTap probe point.
18522
3ea0f74e
SL
185232014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
18524
18525 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18526
b04acb26
AS
185272014-02-24 Andreas Schwab <schwab@suse.de>
18528
18529 [BZ #15804]
18530 * elf/pldd.c (wait_for_ptrace_stop): New function.
18531 (main): Call it after attaching.
18532
098ad55c
RM
185332014-02-22 Roland McGrath <roland@hack.frob.com>
18534
d4ec6ae1
RM
18535 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
18536 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
18537 Versions files is now verboten.
18538 * hurd/Versions (libc: GLIBC_2.0):
18539 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
18540 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
18541 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
18542 * mach/Versions: Likewise.
18543
098ad55c
RM
18544 * csu/Versions: Remove unused %include.
18545 * resolv/Versions: Likewise.
18546
acd7f096
JM
185472014-02-21 Joseph Myers <joseph@codesourcery.com>
18548
f0881698
JM
18549 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
18550 ($(objpfx)check-local-headers.out): Likewise.
18551 ($(objpfx)begin-end-check.out): Likewise.
18552 * Makerules (check-abi-%.out): Likewise.
18553 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
18554 ($(objpfx)test2.cat): Likewise.
18555 ($(objpfx)de/libc.cat): Likewise.
18556 ($(objpfx)test-gencat.out): Likewise.
18557 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
18558 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
18559 ($(objpfx)noload-mem): Likewise.
18560 ($(objpfx)tst-pathopt.out): Likewise.
18561 ($(objpfx)tst-rtld-load-self.out): Likewise.
18562 ($(objpfx)tst-array1-cmp.out): Likewise.
18563 ($(objpfx)tst-array1-static-cmp.out): Likewise.
18564 ($(objpfx)tst-array2-cmp.out): Likewise.
18565 ($(objpfx)tst-array3-cmp.out): Likewise.
18566 ($(objpfx)tst-array4-cmp.out): Likewise.
18567 ($(objpfx)tst-array5-cmp.out): Likewise.
18568 ($(objpfx)tst-array5-static-cmp.out): Likewise.
18569 ($(objpfx)check-textrel.out): Likewise.
18570 ($(objpfx)check-execstack.out): Likewise.
18571 ($(objpfx)check-localplt.out): Likewise.
18572 ($(objpfx)order2-cmp.out): Likewise.
18573 ($(objpfx)tst-leaks1-mem): Likewise.
18574 ($(objpfx)tst-leaks1-static-mem): Likewise.
18575 ($(objpfx)tst-initorder-cmp.out): Likewise.
18576 ($(objpfx)tst-initorder2-cmp.out): Likewise.
18577 ($(objpfx)tst-unused-dep.out): Likewise.
18578 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
18579 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
18580 * iconv/Makefile (test-iconvconfig): Likewise.
18581 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
18582 ($(objpfx)iconv-test.out): Likewise.
18583 ($(objpfx)tst-tables.out): Likewise.
18584 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
18585 ($(objpfx)tst-gettext.out): Likewise.
18586 ($(objpfx)tst-translit.out): Likewise.
18587 ($(objpfx)tst-gettext2.out): Likewise.
18588 ($(objpfx)tst-gettext4.out): Likewise.
18589 ($(objpfx)tst-gettext6.out): Likewise.
18590 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
18591 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
18592 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
18593 ($(objpfx)tst-fopenloc-mem.out): Likewise.
18594 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
18595 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
18596 * posix/Makefile ($(objpfx)globtest.out): Likewise.
18597 ($(objpfx)wordexp-tst.out): Likewise.
18598 ($(objpfx)annexc.out): Likewise.
18599 ($(objpfx)tst-fnmatch-mem): Likewise.
18600 ($(objpfx)bug-regex2-mem): Likewise.
18601 ($(objpfx)bug-regex14-mem): Likewise.
18602 ($(objpfx)bug-regex21-mem): Likewise.
18603 ($(objpfx)bug-regex31-mem): Likewise.
18604 ($(objpfx)tst-vfork3-mem): Likewise.
18605 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
18606 ($(objpfx)tst-pcre-mem): Likewise.
18607 ($(objpfx)tst-boost-mem): Likewise.
18608 ($(objpfx)tst-getconf.out): Likewise.
18609 ($(objpfx)bug-ga2-mem): Likewise.
18610 ($(objpfx)bug-glob2-mem): Likewise.
18611 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
18612 ($(objpfx)mtrace-tst-leaks2): Likewise.
18613 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
18614 ($(objpfx)tst-printf.out): Likewise.
18615 ($(objpfx)tst-setvbuf1.out): Likewise.
18616 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
18617 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
18618 ($(objpfx)tst-fmtmsg.out): Likewise.
18619 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
18620 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
18621
acd7f096
JM
18622 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
18623 * bits/sigaction.h [__USE_MISC]: Likewise.
18624 * bits/waitstatus.h: Update #endif comments.
18625 * ctype/ctype.h: Likewise.
18626 * dirent/dirent.h: Likewise.
18627 [__USE_MISC]: Remove redundant conditionals.
18628 * grp/grp.h: Update #endif comments.
18629 [__USE_GNU]: Remove redundant conditionals.
18630 [__USE_MISC]: Likewise.
18631 * inet/netinet/in.h [__USE_GNU]: Likewise.
18632 * io/sys/stat.h [__USE_MISC]: Likewise.
18633 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
18634 * libio/bits/stdio.h: Update #endif comments.
18635 [__USE_MISC]: Remove redundant conditionals.
18636 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
18637 * libio/stdio.h: Update #endif comments.
18638 [__USE_MISC]: Remove redundant conditionals.
18639 * math/bits/math-finite.h [__USE_MISC]: Likewise.
18640 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
18641 * math/math.h: Update #else and #endif comments.
18642 [__USE_MISC]: Remove redundant conditionals.
18643 * misc/sys/uio.h: Update #endif comments.
18644 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
18645 * posix/glob.h [__USE_MISC]: Likewise.
18646 * posix/sys/types.h: Update #endif comments.
18647 [__USE_MISC]: Remove redundant conditionals.
18648 * posix/sys/wait.h: Update #endif comments.
18649 [__USE_MISC]: Remove redundant conditionals.
18650 * posix/unistd.h: Update #endif comments.
18651 [__USE_MISC]: Remove redundant conditionals.
18652 * pwd/pwd.h [__USE_GNU]: Likewise.
18653 [__USE_MISC]: Likewise.
18654 * resolv/netdb.h [__USE_GNU]: Likewise.
18655 * signal/signal.h: Update #endif comments.
18656 [__USE_MISC]: Remove redundant conditionals.
18657 * stdlib/stdlib.h: Update #else and #endif comments.
18658 [__USE_MISC]: Remove redundant conditionals.
18659 [__USE_GNU]: Likewise.
18660 * string/bits/string2.h [__USE_MISC]: Likewise.
18661 * string/string.h: Update #endif comments.
18662 [__USE_MISC]: Remove redundant conditionals.
18663 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
18664 Likewise.
18665 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
18666 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
18667 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
18668 Likewise.
18669 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
18670 Likewise.
18671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
18672 comments.
18673 [__USE_MISC]: Remove redundant conditionals.
18674 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
18675 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
18676 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
18677 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
18678 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
18679 Likewise.
18680 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
18681 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
18682 Likewise.
18683 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
18684 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
18685 Likewise.
18686 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
18687 Likewise.
18688 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
18689 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
18690 Likewise.
18691 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
18692 Likewise.
18693 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
18694 * sysdeps/x86/bits/string.h: Update #endif comments.
18695 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
18696 conditionals.
18697 * time/sys/time.h: Update #endif comments.
18698 * time/time.h: Likewise.
18699 [__USE_MISC]: Remove redundant conditionals.
18700
a5d82e4e
YG
187012014-02-21 Yury Gribov <y.gribov@samsung.com>
18702
18703 [BZ #16600]
18704 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
18705
9a80491d
AS
187062014-02-21 Andreas Schwab <schwab@linux-m68k.org>
18707
18708 * Versions.def (librt): Add GLIBC_2.17.
18709
105fa381
AC
187102014-02-21 Adam Conrad <adconrad@0c3.net>
18711
18712 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
18713 synonym for _SYS_AUXV_H to allow direct inclusion.
18714 * sysdeps/sparc/bits/hwcap.h: Likewise.
18715 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
18716 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
18717 * sysdeps/sparc/sysdep.h: Likewise.
18718
b8cd1c4e
SP
187192014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
18720
18721 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
18722
bd939d23
RS
187232014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
18724
18725 * benchtests/bench-strrchr.c: Print length instead of position.
18726
5d7b57ca
JM
187272014-02-20 Joseph Myers <joseph@codesourcery.com>
18728
bc688c10
JM
18729 [BZ #16611]
18730 * sysdeps/unix/sysv/linux/kernel-features.h
18731 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
18732 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
18733 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
18734 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
18735 Likewise.
18736 [__i386__ || __powerpc__ || __sh__ || __sparc__]
18737 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18738 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
18739 (__ASSUME_SENDMMSG): Define instead of using previous
18740 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
18741 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18742 (__ASSUME_SENDMMSG_SYSCALL): Define.
18743 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18744 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
18745 Likewise.
18746 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18747 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18748 Likewise.
18749 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18750 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18751 Likewise.
18752 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
18753 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18754 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18755 [__ASSUME_SENDMMSG]: Change conditionals to
18756 [__ASSUME_SENDMMSG_SOCKETCALL].
18757 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18758 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
18759 Define.
18760 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18761 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
18762 Likewise.
18763 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
18764 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
18765 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
18766 [!__ASSUME_SENDMMSG]: Change conditional to
18767 [!__ASSUME_SENDMMSG_SOCKETCALL].
18768 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18769 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
18770 Define.
18771
0e31b18c
JM
18772 [BZ #16610]
18773 * sysdeps/unix/sysv/linux/kernel-features.h
18774 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
18775 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
18776 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
18777 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
18778 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
18779 [__i386__ || __sparc__]
18780 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18781 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
18782 (__ASSUME_RECVMMSG): Define instead of using previous
18783 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
18784 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18785 (__ASSUME_RECVMMSG_SYSCALL): Define.
18786 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18787 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18788 Likewise.
18789 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18790 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18791 Likewise.
18792 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18793 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18794 Likewise.
18795 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
18796 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18797 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18798 [__ASSUME_RECVMMSG]: Change condition to
18799 [__ASSUME_RECVMMSG_SOCKETCALL].
18800 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18801 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18802 Define.
18803 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
18804 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18805 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
18806 Likewise.
18807 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
18808 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
18809 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
18810 [!__ASSUME_RECVMMSG]: Change condition to
18811 [!__ASSUME_RECVMMSG_SOCKETCALL].
18812 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18813 (__ASSUME_RECVMMSG_SYSCALL): Define.
18814
dd481ccf
JM
18815 [BZ #16609]
18816 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
18817 __powerpc__ || __s390__ || __sh__ || __sparc__]
18818 (__ASSUME_SOCKETCALL): Define.
18819 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
18820 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
18821 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
18822 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
18823 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
18824 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
18825 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
18826 (__ASSUME_ACCEPT4): Define instead of using previous
18827 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
18828 __powerpc__ || __sparc__ || __s390__)] condition.
18829 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
18830 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18831 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
18832 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18833 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18834 [!__ASSUME_ACCEPT4]: Change condition to
18835 [!__ASSUME_ACCEPT4_SOCKETCALL].
18836 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
18837 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
18838 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
18839 * sysdeps/unix/sysv/linux/arm/kernel-features.h
18840 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
18841 __ASSUME_ACCEPT4_SYSCALL.
18842 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
18843 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
18844 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
18845 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
18846 __ASSUME_ACCEPT4_SYSCALL.
18847 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
18848 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
18849 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
18850 [__ASSUME_ACCEPT4]: Change condition to
18851 [__ASSUME_ACCEPT4_SOCKETCALL].
18852 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18853 (__ASSUME_SOCKETCALL): Define.
18854 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
18855 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18856 (__ASSUME_SOCKETCALL): Define.
18857 (__ASSUME_ACCEPT4): Remove.
18858 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
18859 Define.
18860 * sysdeps/unix/sysv/linux/mips/kernel-features.h
18861 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
18862 Likewise.
18863 * sysdeps/unix/sysv/linux/tile/kernel-features.h
18864 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
18865
5d7b57ca
JM
18866 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
18867 macro.
18868 (HWCAP_ARM_LPAE): Likewise.
18869 (HWCAP_ARM_EVTSTRM): Likewise.
18870 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
18871 Add vpfd32, lpae and evtstrm.
18872 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
18873 Increase to 22.
18874
63689d61
JM
188752014-02-19 Joseph Myers <joseph@codesourcery.com>
18876
18877 * math/auto-libm-test-in: Add tests of clog10.
18878 * math/auto-libm-test-out: Regenerated.
18879 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
18880 * sysdeps/i386/fpu/libm-test-ulps: Update.
18881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18882
ab09bf61
AS
188832014-02-18 Andreas Schwab <schwab@suse.de>
18884
18885 [BZ #16574]
18886 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
18887 Store non-zero if the second buffer was newly allocated.
18888 (send_dg): Likewise.
18889 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
18890 to send_vc and send_dg.
18891 (res_nsend): Pass NULL for ansp2_malloced.
18892 * resolv/res_query.c (__libc_res_nquery): Add parameter
18893 answerp2_malloced and pass it down to __libc_res_nsend.
18894 (res_nquery): Pass additional NULL to __libc_res_nquery.
18895 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
18896 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
18897 second answer buffer if answerp2_malloced was set.
18898 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
18899 (__libc_res_nquerydomain): Add parameter
18900 answerp2_malloced and pass it down to __libc_res_nquery.
18901 (res_nquerydomain): Pass additional NULL to
18902 __libc_res_nquerydomain.
18903 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
18904 additional NULL to __libc_res_nsend and __libc_res_nquery.
18905 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
18906 additional NULL to __libc_res_nsearch.
18907 (_nss_dns_gethostbyname4_r): Revert last change. Use new
18908 parameter of __libc_res_nsearch to check for separately allocated
18909 second buffer.
18910 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
18911 __libc_res_nquery.
18912 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
18913 additional NULL to __libc_res_nquery.
18914 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
18915 __libc_res_nsearch.
18916 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
18917 * include/resolv.h: Update prototypes of __libc_res_nquery,
18918 __libc_res_nsearch, __libc_res_nsend.
18919
a4fb7861
JM
189202014-02-18 Joseph Myers <joseph@codesourcery.com>
18921
c6af2d89
JM
18922 * math/auto-libm-test-in: Add tests of fma.
18923 * math/auto-libm-test-out: Regenerated.
18924 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
18925 (fma_towardzero_test_data): Likewise.
18926 (fma_downward_test_data): Likewise.
18927 (fma_upward_test_data): Likewise.
18928 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
18929 mpc_mode.
18930 (rounding_modes): Add values for new field.
18931 (func_calc_method): Add value mpfr_fff_f.
18932 (func_calc_desc): Add mpfr_fff_f union field.
18933 (test_function): Add field exact_args.
18934 (FUNC): Add macro argument EXACT_ARGS.
18935 (FUNC_mpfr_f_f): Update call to FUNC.
18936 (FUNC_mpfr_f_f): Likewise.
18937 (FUNC_mpfr_ff_f): Likewise.
18938 (FUNC_mpfr_if_f): Likewise.
18939 (FUNC_mpc_c_f): Likewise.
18940 (FUNC_mpc_c_c): Likewise.
18941 (test_functions): Add fma. Update calls to FUNC.
18942 (handle_input_arg): Add argument exact_args.
18943 (add_test): Update call to handle_input_arg.
18944 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
18945 (output_for_one_input_case): Update call to calc_generic_results.
18946 Recalculate exact zero results in each rounding mode.
18947
a4fb7861
JM
18948 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
18949 non-negative before setting low bit.
18950 * math/auto-libm-test-in: Mark one asin test possibly having
18951 spurious underflow.
18952 * math/auto-libm-test-out: Regenerated.
18953 * sysdeps/i386/fpu/libm-test-ulps: Update.
18954 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18955
ef114eaf
DH
189562014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
18957
2b7f4f2c
SP
18958 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
18959 * sysdeps/unix/sysv/linux/microblaze: Move directory from
18960 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
18961 * README: Add missing listing for microblaze*-*-linux-gnu.
18962
8125aedc
AM
189632014-02-16 Ondřej Bílka <neleai@seznam.cz>
18964
18965 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
18966 duplicate code
18967
c70a4b1d
MF
189682014-02-16 Mike Frysinger <vapier@gentoo.org>
18969
18970 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
18971 * sysdeps/unix/sysv/linux/ia64: Move directory from
18972 ports/sysdeps/unix/sysv/linux/ia64.
18973 * README: Update listing for ia64-*-linux-gnu.
18974
591aeaf7
TD
189752014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
18976 Joseph Myers <joseph@codesourcery.com>
18977
18978 * Makeconfig (test-name): New variable.
18979 (evaluate-test): Likewise.
18980 * Makerules (do-test-clean): Remove .test-result files.
18981 (common-mostlyclean): Likewise.
18982 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
18983 * scripts/evaluate-test.sh: New file.
18984
6e89caf1
JM
189852014-02-14 Joseph Myers <joseph@codesourcery.com>
18986
7f98f180
JM
18987 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
18988 separate $(objpfx)tst-fopenloc-cmp.out and
18989 $(objpfx)tst-fopenloc-mem.out targets.
18990 (tests): Update dependencies.
18991 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
18992 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
18993 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
18994 (tst-rxspencer-no-utf8-ARGS): New variable.
18995 (tst-rxspencer-no-utf8-ENV): Likewise.
18996 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
18997 instead of $(objpfx)tst-rxspencer-mem.
18998 ($(objpfx)tst-rxspencer-mem): Change target to
18999 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
19000 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
19001 * posix/tst-rxspencer-no-utf8.c: New file.
19002
6e89caf1
JM
19003 * elf/Makefile ($(objpfx)order.out): Remove rule.
19004 [$(run-built-tests) = yes] (tests): Depend on
19005 $(objpfx)order-cmp.out.
19006 ($(objpfx)order-cmp.out): New rule.
19007 [$(run-built-tests) = yes] (tests): Depend on
19008 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
19009 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
19010 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
19011 $(objpfx)tst-array5-static-cmp.out.
19012 ($(objpfx)tst-array1.out): Remove rule.
19013 ($(objpfx)tst-array1-cmp.out): New rule.
19014 ($(objpfx)tst-array1-static.out): Remove rule.
19015 ($(objpfx)tst-array1-static-cmp.out): New rule.
19016 ($(objpfx)tst-array2.out): Remove rule.
19017 ($(objpfx)tst-array2-cmp.out): New rule.
19018 ($(objpfx)tst-array3.out): Remove rule.
19019 ($(objpfx)tst-array3-cmp.out): New rule.
19020 ($(objpfx)tst-array4.out): Remove rule.
19021 ($(objpfx)tst-array4-cmp.out): New rule.
19022 ($(objpfx)tst-array5.out): Remove rule.
19023 ($(objpfx)tst-array5-cmp.out): New rule.
19024 ($(objpfx)tst-array5-static.out): Remove rule.
19025 ($(objpfx)tst-array5-static-cmp.out): New rule.
19026 [$(run-built-tests) = yes] (tests): Depend on
19027 $(objpfx)order2-cmp.out.
19028 ($(objpfx)order2.out): Remove rule.
19029 ($(objpfx)order2-cmp.out): New rule.
19030 ($(objpfx)tst-initorder.out): Remove rule.
19031 [$(run-built-tests) = yes] (tests): Depend on
19032 $(objpfx)tst-initorder-cmp.out.
19033 ($(objpfx)tst-initorder-cmp.out): New rule.
19034 ($(objpfx)tst-initorder2.out): Remove rule.
19035 [$(run-built-tests) = yes] (tests): Depend on
19036 $(objpfx)tst-initorder2-cmp.out.
19037 ($(objpfx)tst-initorder2-cmp.out): New rule.
19038 [$(run-built-tests) = yes] (tests): Depend on
19039 $(objpfx)tst-unused-dep-cmp.out.
19040 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
19041 ($(objpfx)tst-unused-dep-cmp.out): New rule.
19042 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
19043 on $(objpfx)tst-setvbuf1-cmp.out.
19044 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
19045 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
19046 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
19047 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
19048 ($(objpfx)tst-svc.out): Remove rule.
19049 ($(objpfx)tst-svc-cmp.out): New rule.
19050
ed9a38e2
JM
190512014-02-13 Joseph Myers <joseph@codesourcery.com>
19052
19053 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
19054 * ctype/ctype.h [__USE_MISC]: Likewise.
19055 * dirent/dirent.h [__USE_MISC]: Likewise.
19056 * grp/grp.h [__USE_MISC]: Likewise.
19057 * io/fcntl.h [__USE_MISC]: Likewise.
19058 * io/sys/stat.h [__USE_MISC]: Likewise.
19059 * libio/stdio.h [__USE_MISC]: Likewise.
19060 * posix/unistd.h [__USE_MISC]: Likewise.
19061 * pwd/pwd.h [__USE_MISC]: Likewise.
19062 * stdlib.h [__USE_MISC]: Likewise.
19063 * string/bits/string2.h [__USE_MISC]: Likewise.
19064 * string/string.h [__USE_MISC]: Likewise.
19065 * time/time.h [__USE_MISC]: Likewise.
19066
d6680619
AS
190672014-02-13 Andreas Schwab <schwab@suse.de>
19068
19069 [BZ #16574]
19070 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
19071 second answer buffer if it was separately allocated.
19072
ace614b8
JM
190732014-02-12 Joseph Myers <joseph@codesourcery.com>
19074
743151ae
JM
19075 * sysdeps/mips/math-tests.h: Include <features.h>.
19076 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19077 (ROUNDING_TESTS_long_double): Do not define.
19078 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
19079 (EXCEPTION_TESTS_long_double): Likewise.
19080 * sysdeps/mips/mips64/libm-test-ulps: Update.
19081
498afc54
JM
19082 * include/features.h (__USE_BSD): Remove macro definitions.
19083 (__USE_SVID): Likewise.
19084 (_BSD_SOURCE): Likewise.
19085 (_SVID_SOURCE): Likewise.
19086 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
19087 from definition of _DEFAULT_SOURCE.
19088 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
19089 [_DEFAULT_SOURCE].
19090 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
19091 * bits/mman.h [__USE_BSD]: Likewise.
19092 * bits/termios.h [__USE_BSD]: Likewise.
19093 * bits/waitstatus.h [__USE_BSD]: Likewise.
19094 * ctype/ctype.h [__USE_SVID]: Likewise.
19095 * dirent/dirent.h [__USE_BSD]: Likewise.
19096 * grp/grp.h [__USE_SVID]: Likewise.
19097 [__USE_BSD]: Likewise.
19098 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
19099 * io/fcntl.h [__USE_BSD]: Likewise.
19100 * io/ftw.h [__USE_BSD]: Likewise.
19101 * io/sys/stat.h [__USE_BSD]: Likewise.
19102 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
19103 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
19104 * libio/stdio.h [__USE_SVID]: Likewise.
19105 [__USE_BSD]: Likewise.
19106 * math/math.h [__USE_SVID]: Likewise.
19107 [__USE_BSD]: Likewise.
19108 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
19109 * misc/bits/syslog.h [__USE_BSD]: Likewise.
19110 * misc/search.h [__USE_SVID]: Likewise.
19111 * misc/sys/mman.h [__USE_BSD]: Likewise.
19112 * misc/sys/syslog.h [__USE_BSD]: Likewise.
19113 * misc/sys/uio.h [__USE_BSD]: Likewise.
19114 * posix/bits/unistd.h [__USE_BSD]: Likewise.
19115 * posix/glob.h [__USE_BSD]: Likewise.
19116 * posix/regex.h [__USE_BSD]: Likewise.
19117 * posix/sys/types.h [__USE_BSD]: Likewise.
19118 [__USE_SVID]: Likewise.
19119 * posix/sys/utsname.h [__USE_SVID]: Likewise.
19120 * posix/sys/wait.h [__USE_BSD]: Likewise.
19121 [__USE_SVID]: Likewise.
19122 * posix/unistd.h [__USE_BSD]: Likewise.
19123 [__USE_SVID]: Likewise.
19124 * pwd/pwd.h [__USE_SVID]: Likewise.
19125 * resolv/netdb.h [__USE_BSD]: Likewise.
19126 * setjmp/setjmp.h [__USE_BSD]: Likewise.
19127 * signal/signal.h [__USE_BSD]: Likewise.
19128 [__USE_SVID]: Likewise.
19129 * socket/sys/socket.h [__USE_BSD]: Likewise.
19130 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
19131 * stdlib/stdlib.h [__USE_BSD]: Likewise.
19132 [__USE_SVID]: Likewise.
19133 * string/bits/string2.h [__USE_BSD]: Likewise.
19134 [__USE_SVID]: Likewise.
19135 * string/bits/string3.h [__USE_BSD]: Likewise.
19136 * string/endian.h [__USE_BSD]: Likewise.
19137 * string/string.h [__USE_SVID]: Likewise.
19138 [__USE_BSD]: Likewise.
19139 * string/strings.h [__USE_BSD]: Likewise.
19140 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
19141 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
19142 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
19143 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
19144 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
19145 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
19146 Likewise.
19147 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
19148 Likewise.
19149 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
19150 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
19151 Likewise.
19152 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
19153 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
19154 Likewise.
19155 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
19156 Likewise.
19157 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
19158 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
19159 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
19160 Likewise.
19161 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
19162 Likewise.
19163 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
19164 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
19165 * termios/termios.h [__USE_BSD]: Likewise.
19166 * time/sys/time.h [__USE_BSD]: Likewise.
19167 * time/time.h [__USE_BSD]: Likewise.
19168 [__USE_SVID]: Likewise.
19169
dd7b064c
JM
19170 * Makefile (subdir_targets): Remove subdir_lint.out.
19171
a2c4c199
JM
19172 * stdio-common/Makefile (do-tst-unbputc): Remove target.
19173 (do-tst-printf): Likewise.
19174 (tests): Depend directly on $(objpfx)tst-unbputc.out and
19175 $(objpfx)tst-printf.out.
19176
8756f740
JM
19177 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
19178
1b6dd3f1
JM
19179 * Makerules (check-abi-%): Change target to
19180 $(objpfx)check-abi-%.out.
19181 (check-abi target): Update dependencies.
19182 (check-abi-pattern variable): Redirect output of diff to $@.
19183 (check-abi variable): Likewise.
19184 * elf/Makefile (check-abi): Update dependencies.
19185
ace614b8
JM
19186 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
19187 unused.
19188 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
19189 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
19190 subnormal range.
19191 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
19192 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
19193 value has largest subnormal exponent.
19194 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
19195 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
19196 * sysdeps/aarch64/soft-fp/sfp-machine.h
19197 (_FP_TININESS_AFTER_ROUNDING): New macro.
19198 * sysdeps/alpha/soft-fp/sfp-machine.h
19199 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19200 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19201 Likewise.
19202 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
19203 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19204 * sysdeps/mips/soft-fp/sfp-machine.h
19205 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19206 * sysdeps/powerpc/soft-fp/sfp-machine.h
19207 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19208 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19209 Likewise.
19210 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
19211 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19212 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
19213 (_FP_TININESS_AFTER_ROUNDING): Likewise.
19214 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
19215 Likewise.
19216
fbfdf9cb
DAS
192172014-02-12 Dylan Alex Simon <dylan@dylex.net>
19218
19219 [BZ #16545]
19220 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
19221 model 1.
19222
68b7efaa
RH
192232014-02-12 Richard Henderson <rth@redhat.com>
19224
c70a4b1d 19225 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
19226 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
19227 * sysdeps/unix/sysv/linux/alpha: Move directory from
19228 ports/sysdeps/unix/sysv/linux/alpha.
19229 * README: Update listing for alpha-*-linux-gnu.
19230
cb4a2928
JM
192312014-02-11 Joseph Myers <joseph@codesourcery.com>
19232
c941736c
JM
19233 * include/features.h: Update comment documenting feature test
19234 macros.
19235 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
19236 _DEFAULT_SOURCE.
19237 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
19238 (_SVID_SOURCE): Likewise.
19239 (_DEFAULT_SOURCE): Update description of default features.
19240 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
19241 with _GNU_SOURCE.
19242 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
19243 (S_ISVTX): Likewise.
19244 * manual/math.texi (Mathematical Constants): Likewise.
19245 * manual/signal.texi (Interrupted Primitives): Likewise.
19246 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
19247 * math/test-matherr.c (_SVID_SOURCE): Do not define.
19248 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
19249 Don't refer to _SVID_SOURCE in warning text.
19250
e8d8d7ec
JM
19251 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19252
cb4a2928
JM
19253 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
19254 already defined.
19255 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
19256 * sysdeps/mips/dl-lookup.c: Remove.
19257 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
19258
7e6424e3
AK
192592014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
19260
19261 [BZ #16447]
19262 * math/auto-libm-test-in: Add testcase for expl.
19263 * math/auto-libm-test-out: Regenerate.
19264 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
19265 calculation of unsafe.
19266 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
19267
75eff3fe
MS
192682014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
19269
19270 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
19271 * sysdeps/unix/sysv/linux/aarch64: Move directory from
19272 ports/sysdeps/unix/sysv/linux/aarch64.
19273 * README: Update listing for aarch64*-*-linux-gnu.
19274
d35f1e80
WN
192752014-02-11 Will Newton <will.newton@linaro.org>
19276
19277 * manual/probes.texi (Mathematical Function Probes): Use
19278 "triggered" instead of "hit".
19279
7b3436d4
WN
19280 * manual/probes.texi (Internal Probes): Add documentation
19281 of setjmp, longjmp and longjmp_target probes.
19282
b4f12ca3
WN
19283 * include/stap-probe.h: Add comment about probe argument
19284 format.
19285
c13a72b7
WN
19286 * malloc/mtrace.c (attribute_hidden): Remove unused macro
19287 definition. (tr_where, tr_freehook, tr_mallochook,
19288 tr_reallochook, tr_memalignhook): Use ANSI protoype.
19289
195b8165
DM
192902014-02-11 David S. Miller <davem@davemloft.net>
19291
19292 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
19293 processing int_tests.
19294
2ad7600b
JM
192952014-02-10 Joseph Myers <joseph@codesourcery.com>
19296
19297 * sysdeps/mips: Move directory from ports/sysdeps/mips.
19298 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
19299 * sysdeps/unix/sysv/linux/mips: Move directory from
19300 ports/sysdeps/unix/sysv/linux/mips.
19301 * README: Update listing for mips-*-linux-gnu and
19302 mips64-*-linux-gnu.
19303
73588a72
AS
193042014-02-10 Andreas Schwab <schwab@linux-m68k.org>
19305
19306 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
19307 * sysdeps/unix/sysv/linux/m68k: Move directory from
19308 ports/sysdeps/unix/sysv/linux/m68k.
19309 * README: Update listing for m68k-*-linux-gnu.
19310
4372980f
CM
193112014-02-10 Chris Metcalf <cmetcalf@tilera.com>
19312
19313 * sysdeps/tile: Move directory from ports/sysdeps/tile.
19314 * sysdeps/unix/sysv/linux/generic: Move directory from
19315 ports/sysdeps/unix/sysv/linux/generic.
19316 * sysdeps/unix/sysv/linux/tile: Move directory from
19317 ports/sysdeps/unix/sysv/linux/tile.
19318 * README: Update listing for tile*-*-linux-gnu.
19319
a1ffb40e
OB
193202014-02-10 Ondřej Bílka <neleai@seznam.cz>
19321
57f41c40
AS
19322 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
19323 __builtin_expect.
a1ffb40e
OB
19324 * benchtests/bench-memmem.c (simple_memmem): Likewise.
19325 * catgets/open_catalog.c (__open_catalog): Likewise.
19326 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
19327 * debug/confstr_chk.c: Likewise.
19328 * debug/fread_chk.c (__fread_chk): Likewise.
19329 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
19330 * debug/getgroups_chk.c: Likewise.
19331 * debug/mbsnrtowcs_chk.c: Likewise.
19332 * debug/mbsrtowcs_chk.c: Likewise.
19333 * debug/mbstowcs_chk.c: Likewise.
19334 * debug/memcpy_chk.c: Likewise.
19335 * debug/memmove_chk.c: Likewise.
19336 * debug/mempcpy_chk.c: Likewise.
19337 * debug/memset_chk.c: Likewise.
19338 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
19339 * debug/strcat_chk.c (__strcat_chk): Likewise.
19340 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
19341 * debug/strncat_chk.c (__strncat_chk): Likewise.
19342 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
19343 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
19344 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
19345 * debug/wcpncpy_chk.c: Likewise.
19346 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
19347 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
19348 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
19349 * debug/wcsncpy_chk.c: Likewise.
19350 * debug/wcsnrtombs_chk.c: Likewise.
19351 * debug/wcsrtombs_chk.c: Likewise.
19352 * debug/wcstombs_chk.c: Likewise.
19353 * debug/wmemcpy_chk.c: Likewise.
19354 * debug/wmemmove_chk.c: Likewise.
19355 * debug/wmempcpy_chk.c: Likewise.
19356 * debug/wmemset_chk.c: Likewise.
19357 * dirent/scandirat.c (SCANDIRAT): Likewise.
19358 * dlfcn/dladdr1.c (dladdr1): Likewise.
19359 * dlfcn/dladdr.c (dladdr): Likewise.
19360 * dlfcn/dlclose.c (dlclose_doit): Likewise.
19361 * dlfcn/dlerror.c (__dlerror): Likewise.
19362 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
19363 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
19364 * dlfcn/dlopen.c (dlopen_doit): Likewise.
19365 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
19366 * dlfcn/dlsym.c (dlsym_doit): Likewise.
19367 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
19368 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
19369 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
19370 Likewise.
19371 * elf/dl-conflict.c: Likewise.
19372 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
19373 * elf/dl-dst.h: Likewise.
19374 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
19375 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
19376 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
19377 * elf/dl-init.c (call_init, _dl_init): Likewise.
19378 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
19379 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
19380 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
19381 Likewise.
a1ffb40e
OB
19382 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
19383 Likewise.
19384 * elf/dl-minimal.c (__libc_memalign): Likewise.
19385 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
19386 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
19387 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
19388 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
19389 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
19390 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
19391 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
19392 * elf/dl-writev.h (_dl_writev): Likewise.
19393 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
19394 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
19395 (dl_main): Likewise.
a1ffb40e
OB
19396 * elf/setup-vdso.h (setup_vdso): Likewise.
19397 * grp/compat-initgroups.c (compat_call): Likewise.
19398 * grp/fgetgrent.c (fgetgrent): Likewise.
19399 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
19400 * grp/putgrent.c (putgrent): Likewise.
19401 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
19402 Likewise.
19403 * hurd/hurdinit.c: Likewise.
19404 * iconvdata/8bit-gap.c (struct): Likewise.
19405 * iconvdata/ansi_x3.110.c : Likewise.
19406 * iconvdata/big5.c : Likewise.
19407 * iconvdata/big5hkscs.c : Likewise.
19408 * iconvdata/cp1255.c: Likewise.
19409 * iconvdata/cp1258.c : Likewise.
19410 * iconvdata/cp932.c : Likewise.
19411 * iconvdata/euc-cn.c: Likewise.
19412 * iconvdata/euc-jisx0213.c : Likewise.
19413 * iconvdata/euc-jp.c: Likewise.
19414 * iconvdata/euc-jp-ms.c : Likewise.
19415 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
19416 * iconvdata/gb18030.c : Likewise.
19417 * iconvdata/gbbig5.c (const): Likewise.
19418 * iconvdata/gbgbk.c: Likewise.
19419 * iconvdata/gbk.c : Likewise.
19420 * iconvdata/ibm1364.c : Likewise.
19421 * iconvdata/ibm930.c : Likewise.
19422 * iconvdata/ibm932.c: Likewise.
19423 * iconvdata/ibm933.c : Likewise.
19424 * iconvdata/ibm935.c : Likewise.
19425 * iconvdata/ibm937.c : Likewise.
19426 * iconvdata/ibm939.c : Likewise.
19427 * iconvdata/ibm943.c: Likewise.
19428 * iconvdata/iso_11548-1.c: Likewise.
19429 * iconvdata/iso-2022-cn.c : Likewise.
19430 * iconvdata/iso-2022-cn-ext.c : Likewise.
19431 * iconvdata/iso-2022-jp-3.c: Likewise.
19432 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
19433 * iconvdata/iso-2022-kr.c : Likewise.
19434 * iconvdata/iso646.c (gconv_end): Likewise.
19435 * iconvdata/iso_6937-2.c : Likewise.
19436 * iconvdata/iso_6937.c : Likewise.
19437 * iconvdata/iso8859-1.c: Likewise.
19438 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
19439 * iconvdata/shift_jisx0213.c : Likewise.
19440 * iconvdata/sjis.c : Likewise.
19441 * iconvdata/t.61.c : Likewise.
19442 * iconvdata/tcvn5712-1.c : Likewise.
19443 * iconvdata/tscii.c: Likewise.
19444 * iconvdata/uhc.c : Likewise.
19445 * iconvdata/unicode.c (gconv_end): Likewise.
19446 * iconvdata/utf-16.c (gconv_end): Likewise.
19447 * iconvdata/utf-32.c (gconv_end): Likewise.
19448 * iconvdata/utf-7.c (base64): Likewise.
19449 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
19450 * iconv/gconv_close.c (__gconv_close): Likewise.
19451 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
19452 * iconv/gconv_simple.c (internal_ucs4_loop_single)
19453 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
19454 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
19455 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
19456 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
19457 * iconv/iconv.c (iconv): Likewise.
19458 * iconv/iconv_close.c: Likewise.
19459 * iconv/loop.c (SINGLE): Likewise.
19460 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
19461 * include/atomic.h: Likewise.
19462 * inet/inet6_option.c (option_alloc): Likewise.
19463 * intl/bindtextdom.c (set_binding_values): Likewise.
19464 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
19465 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
19466 * intl/localealias.c (read_alias_file): Likewise.
19467 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
19468 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
19469 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
19470 * libio/fmemopen.c (fmemopen): Likewise.
19471 * libio/iofgets.c (_IO_fgets): Likewise.
19472 * libio/iofgets_u.c (fgets_unlocked): Likewise.
19473 * libio/iofgetws.c (fgetws): Likewise.
19474 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
19475 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
19476 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
19477 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
19478 * locale/findlocale.c (_nl_find_locale): Likewise.
19479 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
19480 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
19481 Likewise.
19482 * locale/setlocale.c (setlocale): Likewise.
19483 * login/programs/pt_chown.c (main): Likewise.
19484 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
19485 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
19486 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
19487 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
19488 * math/e_exp2l.c: Likewise.
19489 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
19490 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
19491 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
19492 * math/s_catan.c (__catan): Likewise.
19493 * math/s_catanf.c (__catanf): Likewise.
19494 * math/s_catanh.c (__catanh): Likewise.
19495 * math/s_catanhf.c (__catanhf): Likewise.
19496 * math/s_catanhl.c (__catanhl): Likewise.
19497 * math/s_catanl.c (__catanl): Likewise.
19498 * math/s_ccosh.c (__ccosh): Likewise.
19499 * math/s_ccoshf.c (__ccoshf): Likewise.
19500 * math/s_ccoshl.c (__ccoshl): Likewise.
19501 * math/s_cexp.c (__cexp): Likewise.
19502 * math/s_cexpf.c (__cexpf): Likewise.
19503 * math/s_cexpl.c (__cexpl): Likewise.
19504 * math/s_clog10.c (__clog10): Likewise.
19505 * math/s_clog10f.c (__clog10f): Likewise.
19506 * math/s_clog10l.c (__clog10l): Likewise.
19507 * math/s_clog.c (__clog): Likewise.
19508 * math/s_clogf.c (__clogf): Likewise.
19509 * math/s_clogl.c (__clogl): Likewise.
19510 * math/s_csin.c (__csin): Likewise.
19511 * math/s_csinf.c (__csinf): Likewise.
19512 * math/s_csinh.c (__csinh): Likewise.
19513 * math/s_csinhf.c (__csinhf): Likewise.
19514 * math/s_csinhl.c (__csinhl): Likewise.
19515 * math/s_csinl.c (__csinl): Likewise.
19516 * math/s_csqrt.c (__csqrt): Likewise.
19517 * math/s_csqrtf.c (__csqrtf): Likewise.
19518 * math/s_csqrtl.c (__csqrtl): Likewise.
19519 * math/s_ctan.c (__ctan): Likewise.
19520 * math/s_ctanf.c (__ctanf): Likewise.
19521 * math/s_ctanh.c (__ctanh): Likewise.
19522 * math/s_ctanhf.c (__ctanhf): Likewise.
19523 * math/s_ctanhl.c (__ctanhl): Likewise.
19524 * math/s_ctanl.c (__ctanl): Likewise.
19525 * math/w_pow.c: Likewise.
19526 * math/w_powf.c: Likewise.
19527 * math/w_powl.c: Likewise.
19528 * math/w_scalb.c (sysv_scalb): Likewise.
19529 * math/w_scalbf.c (sysv_scalbf): Likewise.
19530 * math/w_scalbl.c (sysv_scalbl): Likewise.
19531 * misc/error.c (error_tail): Likewise.
19532 * misc/pselect.c (__pselect): Likewise.
19533 * nis/nis_callback.c (__nis_create_callback): Likewise.
19534 * nis/nis_call.c (__nisfind_server): Likewise.
19535 * nis/nis_creategroup.c (nis_creategroup): Likewise.
19536 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
19537 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
19538 * nis/nis_getservlist.c (nis_getservlist): Likewise.
19539 * nis/nis_lookup.c (nis_lookup): Likewise.
19540 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
19541 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
19542 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 19543 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
19544 * nis/nss_compat/compat-grp.c (getgrent_next_file)
19545 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
19546 * nis/nss_compat/compat-initgroups.c (add_group)
19547 (internal_getgrent_r): Likewise.
19548 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
19549 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
19550 * nis/nss_compat/compat-spwd.c (getspent_next_file)
19551 (internal_getspnam_r): Likewise.
19552 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
19553 (_nss_nis_getaliasbyname_r): Likewise.
19554 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
19555 (_nss_nis_getntohost_r): Likewise.
19556 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
19557 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
19558 (_nss_nis_getgrgid_r): Likewise.
19559 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
19560 (internal_nis_gethostent_r, internal_gethostbyname2_r)
19561 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
19562 (_nss_nis_gethostbyname4_r): Likewise.
19563 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
19564 (initgroups_netid): Likewise.
a1ffb40e 19565 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
19566 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
19567 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
19568 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
19569 (_nss_nis_getprotobynumber_r): Likewise.
19570 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
19571 (_nss_nis_getsecretkey): Likewise.
19572 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
19573 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
19574 (_nss_nis_getpwuid_r): Likewise.
19575 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
19576 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
19577 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
19578 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
19579 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
19580 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
19581 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
19582 Likewise.
57f41c40
AS
19583 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
19584 (_nss_nisplus_getntohost_r): Likewise.
19585 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
19586 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
19587 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
19588 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 19589 Likewise.
57f41c40
AS
19590 * nis/nss_nisplus/nisplus-initgroups.c
19591 (_nss_nisplus_initgroups_dyn): Likewise.
19592 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
19593 (_nss_nisplus_getnetbyaddr_r): Likewise.
19594 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
19595 (_nss_nisplus_getprotobynumber_r): Likewise.
19596 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
19597 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
19598 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
19599 Likewise.
57f41c40
AS
19600 * nis/nss_nisplus/nisplus-service.c
19601 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
19602 (_nss_nisplus_getservbyport_r): Likewise.
19603 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
19604 (_nss_nisplus_getspnam_r): Likewise.
19605 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
19606 Likewise.
a1ffb40e
OB
19607 * nscd/aicache.c (addhstaiX): Likewise.
19608 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
19609 * nscd/connections.c (register_traced_file, send_ro_fd)
19610 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
19611 (main_loop_epoll): Likewise.
a1ffb40e
OB
19612 * nscd/grpcache.c (addgrbyX): Likewise.
19613 * nscd/hstcache.c (addhstbyX): Likewise.
19614 * nscd/initgrcache.c (addinitgroupsX): Likewise.
19615 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
19616 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
19617 (addinnetgrX): Likewise.
19618 * nscd/nscd-client.h (__nscd_acquire_maplock)
19619 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
19620 * nscd/nscd_getai.c (__nscd_getai): Likewise.
19621 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
19622 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
19623 Likewise.
19624 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
19625 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
19626 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
19627 (__nscd_get_map_ref): Likewise.
a1ffb40e 19628 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
19629 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
19630 Likewise.
a1ffb40e
OB
19631 * nscd/pwdcache.c (addpwbyX): Likewise.
19632 * nscd/selinux.c (preserve_capabilities): Likewise.
19633 * nscd/servicescache.c (addservbyX): Likewise.
19634 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
19635 * posix/fnmatch.c (fnmatch): Likewise.
19636 * posix/getopt.c (_getopt_internal_r): Likewise.
19637 * posix/glob.c (glob, glob_in_dir): Likewise.
19638 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
19639 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
19640 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
19641 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
19642 * resolv/res_init.c: Likewise.
19643 * resolv/res_mkquery.c (res_nmkquery): Likewise.
19644 * resolv/res_query.c (__libc_res_nquery): Likewise.
19645 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
19646 Likewise.
19647 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
19648 * stdio-common/perror.c (perror): Likewise.
19649 * stdio-common/printf_fp.c (___printf_fp): Likewise.
19650 * stdio-common/tmpnam.c (tmpnam): Likewise.
19651 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
19652 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
19653 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19654 Likewise.
a1ffb40e
OB
19655 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
19656 * stdlib/putenv.c (putenv): Likewise.
19657 * stdlib/setenv.c (__add_to_environ): Likewise.
19658 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
19659 * stdlib/strtol_l.c (INTERNAL): Likewise.
19660 * string/memmem.c (memmem): Likewise.
19661 * string/strerror.c (strerror): Likewise.
19662 * string/strnlen.c (__strnlen): Likewise.
19663 * string/test-memmem.c (simple_memmem): Likewise.
19664 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
19665 * sunrpc/pm_getport.c (__get_socket): Likewise.
19666 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
19667 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
19668 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
19669 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
19670 Likewise.
19671 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
19672 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
19673 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
19674 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
19675 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
19676 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
19677 Likewise.
19678 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
19679 Likewise.
a1ffb40e
OB
19680 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
19681 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
19682 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
19683 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
19684 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
19685 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
19686 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
19687 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
19688 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
19689 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
19690 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
19691 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
19692 Likewise.
19693 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
19694 Likewise.
19695 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
19696 Likewise.
19697 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
19698 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
19699 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
19700 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
19701 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
19702 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
19703 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
19704 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
19705 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
19706 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
19707 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
19708 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
19709 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19710 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19711 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
19712 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
19713 Likewise.
a1ffb40e
OB
19714 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
19715 Likewise.
19716 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
19717 Likewise.
19718 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
19719 Likewise.
19720 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19721 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
19722 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
19723 Likewise.
19724 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
19725 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
19726 * sysdeps/posix/opendir.c (__opendirat): Likewise.
19727 * sysdeps/posix/sleep.c: Likewise.
19728 * sysdeps/posix/tempname.c: Likewise.
19729 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
19730 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
19731 Likewise.
57f41c40
AS
19732 * sysdeps/powerpc/powerpc32/dl-machine.h
19733 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
19734 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19735 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
19736 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
19737 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
19738 Likewise.
19739 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19740 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
19741 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
19742 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
19743 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19744 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
19745 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
19746 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
19747 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
19748 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19749 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
19750 (elf_machine_lazy_rel): Likewise.
a1ffb40e 19751 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19752 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
19753 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19754 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
19755 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
19756 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
19757 * sysdeps/unix/grantpt.c (grantpt): Likewise.
19758 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
19759 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
19760 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
19761 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
19762 Likewise.
19763 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19764 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19765 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
19766 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
19767 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19768 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19769 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
19770 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
19771 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
19772 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19773 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
19774 Likewise.
19775 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
19776 (__posix_fallocate64_l64): Likewise.
19777 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
19778 (posix_fallocate): Likewise.
57f41c40
AS
19779 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
19780 Likewise.
a1ffb40e 19781 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
19782 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
19783 (getifaddrs_internal): Likewise.
a1ffb40e
OB
19784 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
19785 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
19786 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19787 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
19788 * sysdeps/unix/sysv/linux/posix_fallocate64.c
19789 (__posix_fallocate64_l64): Likewise.
19790 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
19791 Likewise.
19792 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
19793 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
19794 (__get_clockfreq): Likewise.
a1ffb40e
OB
19795 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
19796 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19797 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
19798 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19799 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19800 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
19801 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
19802 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
19803 Likewise.
19804 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
19805 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
19806 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
19807 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
19808 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
19809 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
19810 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
19811 Likewise.
19812 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
19813 (posix_fallocate): Likewise.
19814 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19815 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19816 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
19817 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
19818 (elf_machine_rela, elf_machine_rela_relative)
19819 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
19820 * time/asctime.c (asctime_internal): Likewise.
19821 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
19822 * time/tzset.c (__tzset_parse_tz): Likewise.
19823 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
19824 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
19825 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
19826 * wcsmbs/wcsmbsload.h: Likewise.
19827
f3d338c9
OB
19828 [BZ #15894]
19829 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
19830
57f41c40
AS
19831 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
19832 (arena_get2): Remove THREAD_STATS conditionals.
19833 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
19834 (__malloc_stats, int): Likewise.
bdfe308a 19835
d674667c
MF
198362014-02-08 Mike Frysinger <vapier@gentoo.org>
19837
19838 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
19839 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
19840
6349768c
MF
19841 * manual/setjmp.texi: Fix typos/grammar errors.
19842
0b7c7473
MF
19843 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
19844 Only return early when n is <= 0. Delete unused return statement.
19845
ac8cc9e3
MF
19846 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
19847 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
19848 * debug/tst-longjmp_chk3.c: New file.
19849
c5bb8e23
MF
19850 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
19851 (test_main): Replace code with set_fortify_handler call.
19852 * debug/test-strcpy_chk.c: Likewise.
19853 * debug/tst-chk1.c: Likewise.
19854 * debug/tst-longjmp_chk.c: Likewise.
19855 * test-skeleton.c: Include fcntl.h & paths.h
19856 (set_fortify_handler): Define.
19857
10444e42
MF
19858 * debug/tst-longjmp_chk.c: Add header comment and include
19859 ../test-skeleton.c.
19860 (do_test): Mark static.
19861 (TEST_FUNCTION): Define.
19862
1e805e8d
MF
19863 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
19864 (IP_PMTUDISC_INTERFACE): Likewise.
19865 (IP_MULTICAST_IF): Likewise.
19866 (IP_MULTICAST_TTL): Likewise.
19867 (IP_MULTICAST_LOOP): Likewise.
19868 (IP_ADD_MEMBERSHIP): Likewise.
19869 (IP_DROP_MEMBERSHIP): Likewise.
19870 (IP_UNBLOCK_SOURCE): Likewise.
19871 (IP_BLOCK_SOURCE): Likewise.
19872 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
19873 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
19874 (IP_MSFILTER): Likewise.
19875 (MCAST_JOIN_GROUP): Likewise.
19876 (MCAST_BLOCK_SOURCE): Likewise.
19877 (MCAST_UNBLOCK_SOURCE): Likewise.
19878 (MCAST_LEAVE_GROUP): Likewise.
19879 (MCAST_JOIN_SOURCE_GROUP): Likewise.
19880 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
19881 (MCAST_MSFILTER): Likewise.
19882 (IP_MULTICAST_ALL): Likewise.
19883 (IP_UNICAST_IF): Likewise.
19884
73f79bb7
MF
19885 * timezone/Makefile: Delete $(have-ksh) check.
19886 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
19887 * timezone/tzselect.ksh: Add +x mode bits.
19888
8da79b60
MF
19889 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
19890 (ANON_INODE_FS_MAGIC): Likewise.
19891 (BDEVFS_MAGIC): Likewise.
19892 (BINFMTFS_MAGIC): Likewise.
19893 (BTRFS_TEST_MAGIC): Likewise.
19894 (CRAMFS_MAGIC_WEND): Likewise.
19895 (DEBUGFS_MAGIC): Likewise.
19896 (ECRYPTFS_SUPER_MAGIC): Likewise.
19897 (EXT3_SUPER_MAGIC): Likewise.
19898 (EXT4_SUPER_MAGIC): Likewise.
19899 (FUTEXFS_SUPER_MAGIC): Likewise.
19900 (HOSTFS_SUPER_MAGIC): Likewise.
19901 (HUGETLBFS_MAGIC): Likewise.
19902 (MINIX3_SUPER_MAGIC): Likewise.
19903 (MTD_INODE_FS_MAGIC): Likewise.
19904 (NILFS_SUPER_MAGIC): Likewise.
19905 (OPENPROM_SUPER_MAGIC): Likewise.
19906 (PIPEFS_MAGIC): Likewise.
19907 (PSTOREFS_MAGIC): Likewise.
19908 (QNX6_SUPER_MAGIC): Likewise.
19909 (RAMFS_MAGIC): Likewise.
19910 (REISERFS_SUPER_MAGIC_STRING): Likewise.
19911 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
19912 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
19913 (SECURITYFS_MAGIC): Likewise.
19914 (SELINUX_MAGIC): Likewise.
19915 (SMACK_MAGIC): Likewise.
19916 (SOCKFS_MAGIC): Likewise.
19917 (SQUASHFS_MAGIC): Likewise.
19918 (STACK_END_MAGIC): Likewise.
19919 (TMPFS_MAGIC): Likewise.
19920 (USBDEVICE_SUPER_MAGIC): Likewise.
19921 (V9FS_MAGIC): Likewise.
19922 (XENFS_SUPER_MAGIC): Likewise.
19923 (CRAMFS_MAGIC): Fix typo in comment.
19924 (EXT2_SUPER_MAGIC): Update comment.
19925 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
19926
464263cc
JM
199272014-02-08 Joseph Myers <joseph@codesourcery.com>
19928
c6bfe5c4
JM
19929 * sysdeps/arm: Move directory from ports/sysdeps/arm.
19930 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
19931 * sysdeps/unix/sysv/linux/arm: Move directory from
19932 ports/sysdeps/unix/sysv/linux/arm.
19933 * README: Update listing for arm-*-linux-gnueabi.
19934
464263cc
JM
19935 * README: Remove mention of am33.
19936
32749f6c
RM
199372014-02-07 Roland McGrath <roland@hack.frob.com>
19938
19939 * bits/sigset.h (__sigemptyset): Use a statement expression rather
19940 than the comma operator, to avoid "rhs of comma has no effect"
19941 compiler warnings.
19942 (__sigfillset, __sigandset, __sigorset): Likewise.
19943 * include/signal.h (__sigemptyset): Likewise.
19944 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
19945
d5b396c1
AM
199462014-02-07 Allan McRae <allan@archlinux.org>
19947
19948 * version.h (RELEASE): Set to "development".
19949 (VERSION): Set to "2.19.90"
19950 * NEWS: Add 2.20 section.
19951
3bfff2ed
CD
199522014-02-06 Carlos O'Donell <carlos@redhat.com>
19953
19954 [BZ #16529]
19955 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
19956
ee7cc385
SP
199572014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19958
19959 * manual/contrib.texi: Update entry for Carlos O'Donell,
19960 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
19961
f877c4f2
CD
199622014-02-05 Carlos O'Donell <carlos@rehdat.com>
19963
27e839f6
CD
19964 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
19965
f877c4f2
CD
19966 * sysdeps/unix/sysv/linux/kernel-features.h
19967 [__LINUX_KERNEL_VERSION >= 0x020621]
19968 (__ASSUME_PROC_PID_TASK_COMM): Define.
19969
68159946
SP
199702014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
19971
ba17cdbd
SP
19972 [BZ #16398]
19973 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
19974 conversion when destination buffer does not have enough space.
19975 * libio/tst-ftell-partial-wide.c: New test case.
19976 * libio/Makefile (tests): Add tst-ftell-partial-wide.
19977
68159946
SP
19978 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
19979 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
19980 Leonard and Allan McRae.
19981
2b528732
DM
199822014-02-04 David S. Miller <davem@davemloft.net>
19983
19984 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
19985 32-bit.
19986
0ff82463
AZ
199872014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19988
57f41c40
AS
19989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
19990 New file
c01603f7
AZ
19991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
19992 New file
57f41c40
AS
19993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
19994 New file.
19995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
19996 New file.
c01603f7
AZ
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
19998 New file.
57f41c40
AS
19999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
20000 New file.
20001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
20002 New file.
c01603f7
AZ
20003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
20004 New file.
20005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
20006 New file.
20007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
20008 New file.
20009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
20010 New file.
20011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
20012 New file.
20013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
20014 New file.
20015
200162014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20017
0ff82463
AZ
20018 * nptl/shlib-versions: Change powerpc*le start to 2.17.
20019 * shlib-versions: Likewise.
20020
1695c773
AZ
200212014-02-04 Roland McGrath <roland@hack.frob.com>
20022 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20023
20024 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
20025 (abilist-pattern): New variable, set to %-le.abilist.
20026
20027 * Makerules (abilist-pattern): New variable.
20028 (vpath): Use $(abilist-pattern) in place of %.abilist.
20029 (check-abi-% pattern rule): Likewise.
20030 (check-abi, update-abi): Likewise.
20031
6c0ce4b4
EW
200322014-02-04 Eric Wong <normalperson@yhbt.net>
20033
20034 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20035
481e3524
CD
200362014-02-03 Carlos O'Donell <carlos@redhat.com>
20037
20038 * manual/startup.texi: Add next, previous, and top entries for
20039 the `Program Arguments' and `Environment Variables' nodes.
20040
375592d3
AO
200412014-02-03 Alexandre Oliva <aoliva@redhat.com>
20042
20043 * manual/macros.texi: Add comments before MTASC-safety macros.
20044
f54838ba
AO
20045 * manual/users.texi: Document MTASC-safety properties.
20046
57f41c40
AS
20047 * manual/threads.texi (pthread_key_create, pthread_key_delete)
20048 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
20049 @deftypefun, and add @safety note.
20050 * manual/signal.texi: Move comments that analyze the above
20051 functions to their home place.
20052
fd3daba4
AM
200532014-02-03 Allan McRae <allan@archlinux.org>
20054
20055 * po/sl.po: Update Slovenian translation from translation project.
20056
597636d7
AO
200572014-02-02 Alexandre Oliva <aoliva@redhat.com>
20058
20059 * manual/time.texi (timegm): Add missing blank after @c.
20060 Reported by Joseph Myers <joseph@codesourcery.com>.
20061
ee196e3c
AO
200622014-02-01 Alexandre Oliva <aoliva@redhat.com>
20063
20064 * manual/check-safety.sh: New.
20065 * manual/Makefile ($(objpfx)stamp-summary): Run it.
20066
f8d529d5
AO
20067 * manual/terminal.texi: Document MTASC-safety properties.
20068
de55fdf4
AO
20069 * manual/filesys.texi: Document MTASC-safety properties.
20070
c3299c08
AO
20071 * manual/errno.texi: Document MTASC-safety properties.
20072
06e90b14
AO
20073 * manual/intro.texi: Document safety identifiers and
20074 conditionals.
20075
1acd4371
AO
20076 * manual/string.texi (wcstok): Fix prototype.
20077 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
20078
23e5b8cb
AO
20079 * manual/time.texi: Document MTASC-safety properties.
20080
11087373
AO
20081 * manual/string.texi: Document MTASC-safety properties.
20082
5da2c93d
AO
20083 * manual/threads.texi: Document MTASC-safety properties.
20084
171e9210
AO
20085 * manual/stdio.texi: Document MTASC-safety properties.
20086
d9e02532
AO
20087 * manual/syslog.texi: Document MTASC-safety properties.
20088
6af8bab7
AO
20089 * manual/sysinfo.texi: Document MTASC-safety properties.
20090
663b02d7
AO
20091 * manual/startup.texi: Document MTASC-safety properties.
20092
973f180b
AO
20093 * manual/socket.texi: Document MTASC-safety properties.
20094
8f3c25c8
AO
20095 * manual/signal.texi: Document MTASC-safety properties.
20096
542210fb
AO
200972014-01-31 Alexandre Oliva <aoliva@redhat.com>
20098
20099 * manual/setjmp.texi: Document MTASC-safety properties.
20100
433c45a2
AO
20101 * manual/search.texi: Document MTASC-safety properties.
20102
c8ce789c
AO
20103 * manual/resource.texi: Document MTASC-safety properties.
20104
19f5d29c
AO
20105 * manual/process.texi: Document MTASC-safety properties.
20106
e2dfb7f4
AO
20107 * manual/platform.texi: Document MTASC-safety properties.
20108
8c1413f5
AO
20109 * manual/pipe.texi: Document MTASC-safety properties.
20110
03483ada
AO
20111 * manual/pattern.texi: Document MTASC-safety properties.
20112
29e7e2df
AO
20113 * manual/message.texi: Document MTASC-safety properties.
20114
9f529d7c
AO
20115 [BZ #12751]
20116 * manual/memory.texi: Document MTASC-safety properties.
20117
27aaa791
AO
20118 * manual/math.texi: Document MTASC-safety properties.
20119
f2d58726
AO
20120 * manual/locale.texi: Document MTASC-safety properties.
20121
2cc3615c
AO
20122 * manual/llio.texi: Document MTASC-safety properties.
20123
d9f0ec97
AO
20124 * manual/libdl.texi: New.
20125
e7c4409a
AO
20126 * manual/lang.texi: Document MTASC-safety properties.
20127
27bdc63c
AO
20128 * manual/job.texi: Document MTASC-safety properties.
20129
a7b90ea9
AO
20130 * manual/getopt.texi: Document MTASC-safety properties.
20131
c49130e3
AO
20132 * manual/ctype.texi: Document MTASC-safety properties.
20133
0d23a5c1
MR
201342014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
20135
20136 [BZ #16046]
20137 * csu/libc-tls.c (static_map): Remove variable.
20138 (__libc_setup_tls): Use main executable's link map for TLS data.
20139 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
20140 casing for LM_ID_BASE and GL(dl_nns).
20141 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
20142 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
20143 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
20144 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
20145 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
20146 member.
20147 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
20148 l_phnum members.
20149
0037bb60
AO
201502014-01-30 Alexandre Oliva <aoliva@redhat.com>
20151
20152 * manual/debug.texi: Document MTASC-safety properties.
20153
409e00bd
L
201542014-01-29 H.J. Lu <hongjiu.lu@intel.com>
20155
20156 [BZ #16510]
20157 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
20158 of __x86_64__ when disabling x87 inline functions.
20159
86e60666
AO
201602014-01-29 Alexandre Oliva <aoliva@redhat.com>
20161
20162 * manual/charset.texi: Document MTASC-safety properties.
20163
76167637
AO
20164 * manual/crypt.texi: Document MTASC-safety properties.
20165
e567f2a0
AO
20166 * manual/conf.texi: Document MTASC-safety properties.
20167
b719dafd
AO
20168 * manual/arith.texi: Document MTASC-safety properties.
20169
4a16c662
AO
20170 * manual/argp.texi: Document MTASC-safety properties.
20171
0a57b83e
AO
20172 * manual/macros.texi: Introduce macros to document multi
20173 thread, asynchronous signal and asynchronous cancellation
20174 safety properties.
20175 * manual/intro.texi: Introduce the properties themselves.
20176
feab2397
KK
201772014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20178
20179 * sysdeps/sh/sh4/Makefile: New file.
20180
1c0d11bc
AS
201812014-01-27 Andreas Schwab <schwab@linux-m68k.org>
20182
20183 * math/gen-libm-test.pl ($srcdir): New variable.
20184 ($auto_input): Use it.
20185
af37a8a3
SP
201862014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20187
d7b00f98
SP
20188 [BZ #16506]
20189 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
20190 access beyond array bounds when parsing netgroups file.
20191
af37a8a3
SP
20192 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
20193 the old buffer before realloc.
20194
0c00f062
AM
201952014-01-27 Allan McRae <allan@archlinux.org>
20196
20197 * po/fr.po: Update French translation from translation project.
20198
7d69a1b0
KK
201992014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20200
20201 * sysdeps/sh/libm-test-ulps: Regenerate.
20202
6e697ff7
DM
202032014-01-24 David S. Miller <davem@davemloft.net>
20204
20205 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
20206
9cadb35c
KK
202072014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20208
20209 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
20210 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
20211
5d41dadf
SP
202122013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
20213
20214 [BZ #16474]
20215 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
20216 string pointers after reallocation.
20217
0bad441c
KK
202182014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20219
20220 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
20221 __SH4A__ instead of __SH_FPU_ANY__.
20222
7007c661
KK
202232014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20224
20225 * sysdeps/sh/fpu_control.h: New file.
20226 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
20227 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
20228 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
20229 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
20230 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
20231 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
20232 * sysdeps/sh/sys/ucontext.h: Remove.
20233 * sysdeps/sh/sys: Remove directory.
20234
0f0c35e4
AK
202352014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20236
20237 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
20238 s390/sys/ucontext.h.
20239 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
20240 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
20241
4959e284
L
202422014-01-20 H.J. Lu <hongjiu.lu@intel.com>
20243
20244 [BZ #15605]
20245 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
20246
d98720e0
AZ
202472014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20248
20249 [BZ#16431]
20250 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
20251 Adjust the vDSO correctly for internal calls.
20252 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
20253
91cbd0bc
AM
202542014-01-20 Allan McRae <allan@archlinux.org>
20255
20256 * po/ca.po: Update Catalan translation from translation project.
20257
7a02cfad
MF
202582014-01-16 Mike Frysinger <vapier@gentoo.org>
20259
20260 * sysdeps/s390/sotruss-lib.c: New file.
20261
736c304a
AZ
202622014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20263
20264 [BZ#16430]
6e077ee5 20265 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
20266 (__GI___gettimeofday): Alias for a different internal symbol to avoid
20267 local calls issues by not having a PLT stub required for IFUNC calls.
20268 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
20269
94d0cea0
JM
202702014-01-16 Joseph Myers <joseph@codesourcery.com>
20271
20272 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
20273 * math/test-fpucw-static.c: Likewise.
20274
980cb518
SP
202752013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20276
20277 [BZ #16453]
20278 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
20279
2393fc01
AZ
202802014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20281
20282 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
20283 implementation for powerpc.
20284
d359bcc2
OB
202852014-01-15 Ondřej Bílka <neleai@seznam.cz>
20286
20287 [BZ #14782]
20288 * sysdeps/posix/system.c (__libc_system): Do not enable
20289 asynchronous cancellation.
20290
7beb48cb
AK
202912014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20292
20293 [BZ #16427]
20294 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
20295 handling only for numbers special also in the IEEE case.
20296
c20d5bf5
AK
202972014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20298
20299 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
20300
e83bd4ee
AM
203012014-01-11 Allan McRae <allan@archlinux.org>
20302
76d0ea69
AM
20303 * po/bg.po: Update Bulgarian translation from translation project.
20304
e83bd4ee
AM
20305 * po/de.po: Update German translation from translation project.
20306
bc2ba20a
RM
203072014-01-10 Roland McGrath <roland@hack.frob.com>
20308
20309 * sysdeps/generic/gcc-compat.h: New file.
20310
649ecea2
SP
203112014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20312
20313 * benchtests/asin-inputs: Correct slow inputs.
20314 * benchtests/acos-inputs: Likewise.
20315
1b19c006
AM
203162014-01-10 Allan McRae <allan@archlinux.org>
20317
a46dab08
AM
20318 * po:sv.po: Update Swedish translation from translation project.
20319
421df74a
AM
20320 * po/vi.po: Update Vietnamese translation from translation project.
20321
d61c51a7
AM
20322 * po/eo.po: Update Esperanto translation from translation project.
20323
0339a319
AM
20324 * po/cs.po: Update Czech translation from translation project.
20325
94ad3e99
AM
20326 * po/nl.po: Update Dutch translation from translation project.
20327
e349ca71
AM
20328 * po/pl.po: Update Polish translation from translation project.
20329
ddf930c1
AM
20330 * po/ru.po: Update Russian translation from translation project.
20331
1b19c006
AM
20332 * po/uk.po: Update Ukrainian translation from translation project.
20333
9f236c49
BM
203342014-01-08 Brooks Moses <bmoses@google.com>
20335
20336 * elf/dl-load.c: Fix comment typo.
20337
cd6701cf
CD
203382014-01-08 Carlos O'Donell <carlos@redhat.com>
20339
20340 * po/header.pot: Rename to...
20341 * po/pot.header: ... this.
20342 * po/Makefile: Use pot.header.
20343
66671c84
YK
203442014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
20345 Maxim Kuvyrkov <maxim@kugelworks.com>
20346
20347 [BZ #16394]
cd6701cf
CD
20348 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
20349 SRC and DEST against LEN.
66671c84 20350
38f34581
AZ
203512014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20352
20353 [BZ #16414]
20354 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
20355 implementation.
20356 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
20357
203582014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
20359
20360 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20361
4c327f2a
JM
203622014-01-08 Joseph Myers <joseph@codesourcery.com>
20363
20364 [BZ #16408]
20365 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
20366 for large positive arguments.
20367
b821f414
JM
203682014-01-07 Joseph Myers <joseph@codesourcery.com>
20369
1f0f2067
JM
20370 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20371
a5a326f6
JM
20372 * math/auto-libm-test-in: Mark various tests with
20373 xfail-rounding:ldbl-128ibm.
20374 * math/auto-libm-test-out: Regenerated.
20375
b821f414
JM
20376 [BZ #16407]
20377 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
20378 Increase overflow threshold.
20379
94c8a4bc
OB
203802014-01-07 Ondřej Bílka <neleai@seznam.cz>
20381
20382 [BZ #14286]
20383 * stdio-common/vfprintf.c: Check for integer overflow.
20384
87ded0c3
AK
203852014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20386
20387 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
20388 the first argument and return value of __tls_get_addr_internal.
20389
c5eebdd0
AK
203902014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20391
20392 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
20393 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
20394
05d138ef
AK
203952014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20396
20397 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
20398 * sysdeps/s390/rtld-global-offsets.sym: New file.
20399 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
20400 GLIBC_2.19 symbol.
20401 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
20402 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
20403 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
20404 ... this.
20405 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
20406 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
20407 ... this.
20408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20409 Regenerate.
20410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20411 Regenerate.
20412 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
20413 halfs of GPRs for high_gprs contexts.
20414 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
20415 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
20416 field.
20417 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
20418 uc_flags field.
20419 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
20420 64 bit versions:
20421 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
20422 for high GPRs (uc_high_gprs) and for future extensions
20423 (__reserved).
20424 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
20425 for future extensions (__reserved).
20426 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
20427 64 bit versions:
20428 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
20429 SC_HIGHGPRS offset definition.
20430 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
20431 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
20432
93a45ff1
AK
20433 * Versions.def: Add GLIBC_2.19 for libpthread.
20434 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
20435 siglongjmp for libpthread with GLIBC_2.19 symver.
20436 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
20437 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
20438 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
20439 * sysdeps/s390/__longjmp.c: New file.
20440 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
20441 * sysdeps/s390/longjmp.c: New file.
20442 * sysdeps/s390/setjmp.S: New file.
20443 * sysdeps/s390/sigjmp.S: New file.
20444 * sysdeps/s390/v1-longjmp.c: New file.
20445 * sysdeps/s390/v1-setjmp.h: New file.
20446 * sysdeps/s390/v1-sigjmp.c: New file.
20447 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
20448 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
20449 GLIBC_2.19 version.
20450 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
20451 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
20452 versioned symbols for ____longjmp_chk.
20453 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
20454 Likewise.
20455 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
20456 Regenerate.
20457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20458 Regenerate.
20459 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
20460 Regenerate.
20461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20462 Regenerate.
20463 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
20464 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
20465 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
20466 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
20467 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
20468 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
20469 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
20470 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
20471 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
20472 * sysdeps/s390/rtld-__longjmp.c: New file.
20473 * sysdeps/s390/rtld-setjmp.S: New file.
20474
eb3fc44b
JM
204752014-01-06 Joseph Myers <joseph@codesourcery.com>
20476
20477 [BZ #16400]
20478 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20479 Return -__logl (x) for small positive arguments without evaluating
20480 a polynomial.
20481
9341dde4
MF
204822014-01-06 Mike Frysinger <vapier@gentoo.org>
20483
20484 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
20485 Rename to ...
20486 (__ptrace_peeksiginfo_args): ... this.
20487 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20488 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20489 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20490
4cff0293
AM
204912014-01-06 Allan McRae <allan@archlinux.org>
20492
20493 * inet/netinet/in.h: Fix typo in comment.
20494
75595dcf
AJ
204952014-01-05 Andreas Jaeger <aj@suse.de>
20496
20497 * sysdeps/i386/fpu/libm-test-ulps: Update.
20498
79c1e109
AM
204992014-01-05 Allan McRae <allan@archlinux.org>
20500
dd804818
AM
20501 * po/libc.pot: Regenerated.
20502
79c1e109
AM
20503 * malloc/memusagestat.c: Fix gettext call formatting.
20504
0c813d1f
SK
205052014-01-04 Sami Kerola <kerolasa@iki.fi>
20506
20507 * nscd/nscd.c: Improve usage() output.
20508
20f4a8d9
MF
205092014-01-04 Mike Frysinger <vapier@gentoo.org>
20510
20511 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
20512 * sysdeps/unix/sysv/linux/configure: Regenerated.
20513 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
20514 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
20515
22562bb2
JM
205162014-01-03 Joseph Myers <joseph@codesourcery.com>
20517
20518 [BZ #16390]
20519 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20520 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
20521
d7ad2d9b
AZ
205222014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20523
20524 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
20525 extra tokens at end of #undef directive.
20526 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
20527 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
20528 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
20529
7dd009d8
JM
205302014-01-03 Joseph Myers <joseph@codesourcery.com>
20531
24db925a
JM
20532 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
20533
7dd009d8
JM
20534 * math/auto-libm-test-in: Mark various tests with
20535 xfail-rounding:ldbl-128ibm.
20536 * math/auto-libm-test-out: Regenerated.
20537
396e3ecf
JM
205382014-01-02 Joseph Myers <joseph@codesourcery.com>
20539
819e5d50
JM
20540 [BZ #16386]
20541 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
20542 numbers with subnormal high part when calculating exponent.
20543
90b6a1e5
JM
20544 [BZ #16385]
20545 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
20546 fabs.
20547
396e3ecf
JM
20548 [BZ #16384]
20549 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
20550 M_LN2l.
20551 (__ieee754_acoshl): Use __log1pl not __log1p.
20552
6c8dbf00
OB
205532013-01-02 Ondřej Bílka <neleai@seznam.cz>
20554
57f41c40
AS
20555 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
20556 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
20557 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
20558 (grow_heap, heap_trim, _int_new_arena, get_free_list)
20559 (reused_arena, arena_get2): Convert to GNU style.
20560 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
20561 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
20562 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 20563 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
20564 * malloc/malloc.c (__malloc_assert, malloc_init_state)
20565 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
20566 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
20567 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
20568 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
20569 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 20570 * malloc/malloc.h: Likewise.
57f41c40
AS
20571 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
20572 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 20573 * malloc/mcheck.h: Likewise.
57f41c40
AS
20574 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
20575 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
20576 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
20577 * malloc/morecore.c (__default_morecore): Likewise.
20578 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
20579 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
20580 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
20581 (print_and_abort): Likewise.
6c8dbf00
OB
20582 * malloc/obstack.h: Likewise.
20583 * malloc/set-freeres.c (__libc_freeres): Likewise.
20584 * malloc/tst-mallocstate.c (main): Likewise.
20585 * malloc/tst-mtrace.c (main): Likewise.
20586 * malloc/tst-realloc.c (do_test): Likewise.
20587
d4124212
SP
205882013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20589
9a3c6a6f
SP
20590 [BZ #16366]
20591 * nscd/netgroupcache.c (do_notfound): New function.
20592 (addgetnetgrentX): Use it.
20593
d4124212
SP
20594 [BZ # 16365]
20595 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
20596 NSS_STATUS_NOTFOUND.
20597
97b9a009
JM
205982014-01-01 Joseph Myers <joseph@codesourcery.com>
20599
20600 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
20601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20602
d4697bc9
AM
206032014-01-01 Allan McRae <allan@archlinux.org>
20604
ddb3687f
AM
20605 * scripts/update-copyrights: Update configure input file suffix.
20606
88726d48
AM
20607 * NEWS: Update copyright year.
20608 * catgets/gencat.c: Likewise.
20609 * csu/version.c: Likewise.
20610 * debug/catchsegv.sh: Likewise.
20611 * debug/pcprofiledump.c: Likewise.
20612 * debug/xtrace.sh: Likewise.
20613 * elf/ldconfig.c: Likewise.
20614 * elf/ldd.bash.in: Likewise.
20615 * elf/pldd.c: Likewise.
20616 * elf/sotruss.ksh: Likewise.
20617 * elf/sprof.c: Likewise.
20618 * iconv/iconv_prog.c: Likewise.
20619 * iconv/iconvconfig.c: Likewise.
20620 * locale/programs/locale.c: Likewise.
20621 * locale/programs/localedef.c: Likewise.
20622 * login/programs/pt_chown.c: Likewise.
20623 * malloc/memusage.sh: Likewise.
20624 * malloc/memusagestat.c: Likewise.
20625 * malloc/mtrace.pl: Likewise.
20626 * manual/libc.texinfo: Likewise.
20627 * nscd/nscd.c: Likewise.
20628 * nss/getent.c: Likewise.
20629 * nss/makedb.c: Likewise.
20630 * posix/getconf.c: Likewise.
20631 * scripts/test-installation.pl: Likewise.
20632
d4697bc9
AM
20633 * All files with FSF copyright notices: Update copyright dates
20634 using scripts/update-copyrights.
20635 * intl/plural.c: Regenerated.
20636 * locale/programs/charmap-kw.h: Likewise.
20637 * locale/programs/locfile-kw.h: Likewise.
20638
c8590f9d
MF
206392013-12-31 Mike Frysinger <vapier@gentoo.org>
20640
20641 * sysdeps/unix/sysv/linux/configure: Regenerated.
20642 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
20643 the linux/fanotify.h header.
20644 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
20645 HAVE_LINUX_FANOTIFY_H is defined.
20646
b19221b9
SP
206472013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20648
dd1d85e5
SP
20649 * benchtests/cos-inputs: New inputs.
20650 * benchtests/sin-inputs: Likewise.
20651
1acbb90f
SP
20652 * benchtests/atan-inputs: New inputs. Fix name of multiple
20653 precision fallback inputs.
20654
4c012ed3
SP
20655 * benchtests/atanh-inputs: New inputs.
20656 * benchtests/tanh-inputs: Likewise.
20657
eff98324
SP
20658 * benchtests/acosh-inputs: New inputs.
20659 * benchtests/asinh-inputs: Likewise.
20660
ce641152
SP
20661 * benchtests/cosh-inputs: New inputs.
20662 * benchtests/sinh-inputs: Likewise.
20663
b19221b9
SP
20664 * benchtests/acos-inputs: Add more inputs.
20665 * benchtests/asin-inputs: Likewise.
20666
030a4976 206672013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 20668
030a4976 20669 [BZ #16375]
9dcc8f11
VS
20670 * manual/arith.texi: Fix spelling.
20671 * manual/charset.texi: Likewise.
20672 * manual/errno.texi: Likewise.
20673 * manual/filesys.texi: Likewise.
20674 * manual/lang.texi: Likewise.
20675 * manual/llio.texi: Likewise.
20676 * manual/locale.texi: Likewise.
20677 * manual/message.texi: Likewise.
20678 * manual/resource.texi: Likewise.
20679 * manual/search.texi: Likewise.
20680 * manual/setjmp.texi: Likewise.
20681 * manual/stdio.texi: Likewise.
20682 * manual/string.texi: Likewise.
20683 * manual/sysinfo.texi: Likewise.
20684 * manual/time.texi: Likewise.
20685
11520a57
CD
206862013-12-27 Carlos O'Donell <carlos@redhat.com>
20687
20688 * po/sl.po: New file.
20689
471103ae
MF
206902013-12-27 Mike Frysinger <vapier@gentoo.org>
20691
20692 * .gitignore: Add core/.gdbinit/.gdb_history.
20693
6c9642ed
AM
206942013-12-27 Allan McRae <allan@archlinux.org>
20695
20696 [BZ #16369]
20697 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
20698 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
20699
3f637079
BM
207002013-12-24 Brooks Moses <bmoses@google.com>
20701
20702 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
20703 all compilers that claim C++98 compliance, not just GCC.
20704 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
20705 Likewise.
20706
abc26e99
MK
207072013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20708
20709 * NEWS: Restore accidentally deleted bug-fix entries.
20710
362b47fe
MK
207112013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
20712 Ondřej Bílka <neleai@seznam.cz>
20713
20714 [BZ #15073]
20715 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 20716 have_lock.
362b47fe 20717
b9bcbbcb
OB
207182013-12-23 Ondřej Bílka <neleai@seznam.cz>
20719
20720 [BZ #12986]
20721 * manual/stdio.texi (String Input Conversions): Clarify that character
20722 classes are not supported.
20723
fb55fcd2
AZ
207242013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20725
20726 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20727
ef7344f0
JM
207282013-12-22 Joseph Myers <joseph@codesourcery.com>
20729
4f40e4b3
JM
20730 [BZ #16337]
20731 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
20732 Calculate results for small negative arguments directly rather
20733 than using reflection formula with special underflow handling.
20734
ef7344f0
JM
20735 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
20736 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
20737 sysdeps/unix/bsd/bsd4.4/syscalls.list.
20738 (fchflags): Likewise.
20739 (revoke): Likewise.
20740 (setlogin): Likewise.
20741 (sigaltstack): Likewise.
20742 (wait4): Likewise.
20743 (sigblock): Remove.
20744 (sigsetmask): Likewise.
20745 (wait3): Likewise.
20746 (waitpid): Likewise.
20747 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
20748 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
20749 file.
20750 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
20751 * sysdeps/unix/bsd/Makefile: ... here.
20752 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
20753 * sysdeps/unix/bsd/Versions: ... here.
20754 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
20755 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
20756 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
20757 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
20758 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
20759 * sysdeps/unix/bsd/sigblock.c: ... here.
20760 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
20761 * sysdeps/unix/bsd/sigsetmask.c: ... here.
20762 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
20763 * sysdeps/unix/bsd/sigvec.c: ... here.
20764 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
20765 * sysdeps/unix/bsd/tcdrain.c: ... here.
20766 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
20767 * sysdeps/unix/bsd/tcgetattr.c: ... here.
20768 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
20769 * sysdeps/unix/bsd/tcsetattr.c: ... here.
20770 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
20771 * sysdeps/unix/bsd/wait.c: ... here.
20772 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
20773 * sysdeps/unix/bsd/wait3.c: ... here.
20774 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
20775 * sysdeps/unix/bsd/waitpid.c: ... here.
20776
5b0626b9
JM
207772013-12-21 Joseph Myers <joseph@codesourcery.com>
20778
20779 [BZ #16356]
20780 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
20781 round-to-nearest for [!USE_AS_EXPM1L].
20782 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
20783 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
20784 more tests of exp and exp10. Expect some exp10 tests to miss
20785 exceptions or fail in directed rounding modes.
20786 * math/auto-libm-test-out: Regenerated.
20787 * math/libm-test.inc (exp10_tonearest_test_data): New array.
20788 (exp10_test_tonearest): New function.
20789 (exp10_towardzero_test_data): New array.
20790 (exp10_test_towardzero): New function.
20791 (exp10_downward_test_data): New array.
20792 (exp10_test_downward): New function.
20793 (exp10_upward_test_data): New array.
20794 (exp10_test_upward): New function.
20795 (main): Call the new functions.
20796 * sysdeps/i386/fpu/libm-test-ulps: Update.
20797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20798
7fda5682
JM
207992013-12-20 Joseph Myers <joseph@codesourcery.com>
20800
31e3a405
JM
20801 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20802 asinh, atan, atan2, atanh, cbrt, cos and cosh.
20803 * math/auto-libm-test-out: Regenerated.
20804 * math/libm-test.inc (acosh_test_data): Add more tests.
20805 (atanh_test_data): Likewise.
20806 (ceil_test_data): Likewise.
20807 (copysign_test_data): Likewise.
20808 * sysdeps/i386/fpu/libm-test-ulps: Update.
20809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20810
85bff96a
JM
20811 * timezone/checktab.awk: Update from tzcode 2013i.
20812 * timezone/private.h: Likewise.
20813 * timezone/scheck.c: Likewise.
20814 * timezone/tzfile.h: Likewise.
20815 * timezone/tzselect.ksh: Likewise.
20816 * timezone/zdump.c: Likewise.
20817 * timezone/zic.c: Likewise.
20818
b7867a3b
JM
20819 * math/auto-libm-test-in: Add tests of cpow.
20820 * math/auto-libm-test-out: Regenerated.
20821 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 20822 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
20823 mpc_cc_c.
20824 (func_calc_desc): Add mpc_cc_c union field.
20825 (test_functions): Add cpow.
20826 (special_fill_2pi): New function.
20827 (special_real_inputs): Add 2pi.
20828 (calc_generic_results): Handle mpc_cc_c.
20829 * sysdeps/i386/fpu/libm-test-ulps: Update.
20830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20831
7fda5682
JM
20832 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
20833 csqrt, ctan and ctanh.
20834 * math/auto-libm-test-out: Regenerated.
20835 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20836 (TEST_COND_x86): Likewise.
20837 (ccos_test_data): Use AUTO_TESTS_c_c.
20838 (ccosh_test_data): Likewise.
20839 (cexp_test_data): Likewise.
20840 (clog_test_data): Likewise.
20841 (csqrt_test_data): Likewise.
20842 (ctan_test_data): Likewise.
20843 (ctan_tonearest_test_data): Likewise.
20844 (ctan_towardzero_test_data): Likewise.
20845 (ctan_downward_test_data): Likewise.
20846 (ctan_upward_test_data): Likewise.
20847 (ctanh_test_data): Likewise.
20848 (ctanh_tonearest_test_data): Likewise.
20849 (ctanh_towardzero_test_data): Likewise.
20850 (ctanh_downward_test_data): Likewise.
20851 (ctanh_upward_test_data): Likewise.
20852 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20853 mpc_c_c.
20854 (func_calc_desc): Add mpc_c_c union field.
20855 (FUNC_mpc_c_c): New macro.
20856 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
20857 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
20858 ctanh.
20859 (special_fill_min_subnorm_p120): New function.
20860 (special_real_inputs): Add min_subnorm_p120.
20861 (calc_generic_results): Handle mpc_c_c.
20862 * sysdeps/i386/fpu/libm-test-ulps: Update.
20863 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20864
5ff8d60e
SP
208652013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
20866
57f41c40
AS
20867 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
20868 (do_sin_slow): New functions.
20869 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
20870 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 20871
84ba214c
SP
20872 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
20873 Use M to change sign of result instead of X. Assume X is
20874 positive.
20875 (csloww1): Likewise.
20876 (__sin): Adjust.
20877 (__cos): Adjust.
20878
975195e4
SP
20879 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
20880 arguments A and DA.
20881 (__sin): Adjust.
20882 (__cos): Likewise.
20883
5ff8d60e
SP
20884 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
20885 (__cos): Likewise.
20886 (sloww1): Don't adjust sign of DX.
20887 (csloww1): Likewise.
20888 (sloww2): Use X directly and don't adjust sign of DX.
20889 (csloww2): Likewise.
20890
eb983568
JM
208912013-12-19 Joseph Myers <joseph@codesourcery.com>
20892
64a17f1a
JM
20893 * math/auto-libm-test-in: Add tests of cabs and carg.
20894 * math/auto-libm-test-out: Regenerated.
20895 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
20896 (carg_test_data): Likewise.
20897 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20898 mpc_c_f.
20899 (func_calc_desc): Add mpc_c_f union field.
20900 (test_functions): Add cabs and carg.
20901 (calc_generic_results): Handle mpc_c_f.
20902
eb983568
JM
20903 * sysdeps/powerpc/powerpc32/libgcc-compat.S
20904 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
20905 as a macro and a compat symbol.
20906 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
20907 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
20908 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
20909 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
20910 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
20911 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
20912 not use .hidden.
20913 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
20914 Likewise.
20915 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
20916 Likewise.
20917 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
20918 Likewise.
20919 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
20920 Likewise.
20921 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
20922 Likewise.
20923 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
20924 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
20925 from GLIBC_2.3.2.
20926
6eeb678a
AZ
209272013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20928
20929 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20930
6f6fc482
JM
209312013-12-19 Joseph Myers <joseph@codesourcery.com>
20932
21fea2e2
JM
20933 * manual/texinfo.tex: Update to version 2013-11-26.10 with
20934 trailing whitespace removed.
20935 * scripts/config.guess: Update to version 2013-11-29.
20936 * scripts/config.sub: Update to version 2013-10-01.
20937
6f6fc482
JM
20938 * math/auto-libm-test-in: Add tests of sincos.
20939 * math/auto-libm-test-out: Regenerated.
20940 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
20941 * math/gen-auto-libm-tests.c (func_calc_method): Add value
20942 mpfr_f_11.
20943 (func_calc_desc): Add mpfr_f_11 union field.
20944 (test_functions): Add sincos.
20945 (calc_generic_results): Handle mpfr_f_11.
20946 * sysdeps/i386/fpu/libm-test-ulps: Update.
20947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20948
83f5c32d
AS
209492013-12-19 Andreas Schwab <schwab@suse.de>
20950
20951 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
20952 CALL_MCOUNT.
20953 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
20954 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
20955 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
20956
c688b419
JM
209572013-12-19 Joseph Myers <joseph@codesourcery.com>
20958
335ee092
JM
20959 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
20960 * sysdeps/i386/fpu/libm-test-ulps: Update.
20961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20962
f88acd39
JM
20963 [BZ #16293]
20964 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
20965 round-to-nearest mode when using frndint.
20966 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
20967 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20968 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20969 Likewise.
20970 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
20971 sinh test to fail.
20972 * math/auto-libm-test-out: Regenerated.
20973 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
20974 (TEST_COND_x86): Likewise.
20975 (expm1_tonearest_test_data): New array.
20976 (expm1_test_tonearest): New function.
20977 (expm1_towardzero_test_data): New array.
20978 (expm1_test_towardzero): New function.
20979 (expm1_downward_test_data): New array.
20980 (expm1_test_downward): New function.
20981 (expm1_upward_test_data): New array.
20982 (expm1_test_upward): New function.
20983 (main): Run the new test functions.
20984 * sysdeps/i386/fpu/libm-test-ulps: Update.
20985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20986
c688b419
JM
20987 * include/features.h: Update comment documenting feature test
20988 macros. Mention _DEFAULT_SOURCE in comment.
20989 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
20990 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
20991 _BSD_SOURCE and _SVID_SOURCE.
20992 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
20993 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
20994 !_SVID_SOURCE]: Likewise.
20995 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20996 (__USE_POSIX_IMPLICITLY): Define.
20997 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
20998 (_POSIX_SOURCE): Undefine and redefine.
20999 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
21000 (_POSIX_C_SOURCE): Likewise.
21001 * manual/creature.texi (_DEFAULT_SOURCE): Document.
21002 (Feature Test Macros): Update documentation of default features.
21003
9f6e964c
RS
210042013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21005
21006 * benchtests/Makefile: Add bench-strtok.
21007 * benchtests/bench-strtok.c: New file: strtok benchtest.
21008
ee0a148a
AM
210092013-12-19 Allan McRae <allan@archlinux.org>
21010
21011 * manual/install.texi: Suppress menu for plain text output.
21012 * INSTALL: Regenerated.
21013
b9ab448f
BM
210142013-12-18 Brooks Moses <bmoses@google.com>
21015
21016 [BZ #15846]
21017 * misc/getauxval.c: Include errno.h.
21018 (__getauxval): Set errno to ENOENT if the requested type is not
21019 found.
21020 * misc/sys/auxv.h (getauxval): Document that it may set errno;
21021 don't declare with __attribute_const__.
21022 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
21023 * manual/startup.texi: Document that getauxval sets errno.
21024
23776487
JM
210252013-12-18 Joseph Myers <joseph@codesourcery.com>
21026
f889953b
JM
21027 * math/auto-libm-test-in: Add tests of jn and yn.
21028 * math/auto-libm-test-out: Regenerated.
21029 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
21030 (yn_test_data): Likewise.
21031 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21032 mpfr_if_f.
21033 (func_calc_desc): Add mpfr_if_f union field.
21034 (FUNC_mpfr_if_f): New macro.
21035 (test_functions): Add jn and yn.
21036 (calc_generic_results): Assert type of second input for
21037 mpfr_ff_f. Handle mpfr_if_f.
21038 (output_for_one_input_case): Disable all checking for arguments
21039 fitting floating-point types in case of an integer argument.
21040 * sysdeps/i386/fpu/libm-test-ulps: Update.
21041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21042
23776487
JM
21043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21044 Don't expect fegetround reference in libm.so.
21045
cb756c6d
MS
210462013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21047
21048 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
21049 $(config-cflags-nofma).
21050
2dec468f
JM
210512013-12-18 Joseph Myers <joseph@codesourcery.com>
21052
5953eb3a
JM
21053 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
21054 * math/auto-libm-test-out: Regenerated.
21055
2dec468f
JM
21056 [BZ #16338]
21057 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
21058 to determine exponent and adjust argument to have exponent of -1.
21059 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
21060 log2.
21061 * math/auto-libm-test-out: Regenerated.
21062 * sysdeps/i386/fpu/libm-test-ulps: Update.
21063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21064
4d84e6ad
OB
210652013-12-18 Ondřej Bílka <neleai@seznam.cz>
21066
21067 * manual/probes.texi: Remove cases when per-thread arenas are
21068 disabled.
21069
1818483b
AS
210702013-12-18 Andreas Schwab <schwab@suse.de>
21071
21072 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
21073 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
21074 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
21075 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
21076 * sysdeps/i386/i686/multiarch/Makefile: Update.
21077 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
21078
25de95bf
JM
210792013-12-17 Joseph Myers <joseph@codesourcery.com>
21080
21081 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
21082 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
21083
674762d9
PE
210842013-12-17 Paul Eggert <eggert@cs.ucla.edu>
21085
ed27ed83 21086 [BZ #15968]
0748546f
PE
21087 Support TZ transition times < 00:00:00.
21088 This is needed for version-3 tz-format files; it supports time
21089 stamps past 2037 for America/Godthab (the only entry in the tz
21090 database for which this change is relevant).
21091 * manual/time.texi (TZ Variable): Document transition times
21092 from -167:59:59 through -00:00:01.
21093 * time/tzset.c (tz_rule): Time of day is now signed.
21094 (__tzset_parse_tz): Parse negative time of day.
21095
4480e934
PE
21096 Document TZ transition times >= 25:00:00.
21097 * manual/time.texi (TZ Variable): Document transition times from
21098 25:00:00 through 167:59:59. These are already supported, and this
21099 support will help with version-3 tz-format files.
21100
69947401
PE
21101 * manual/time.texi (TZ Variable): Modernize North America example
21102 to reflect current (i.e., 2007-and-later) daylight saving rules.
21103
674762d9
PE
21104 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
21105
7011c262
JM
211062013-12-17 Joseph Myers <joseph@codesourcery.com>
21107
2fc6557e
JM
21108 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
21109 * sysdeps/unix/bsd/bits/stat.h: Likewise.
21110 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
21111 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21112 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
21113 * sysdeps/unix/bsd/bsdstat.h: Likewise.
21114 * sysdeps/unix/bsd/clock.c: Likewise.
21115 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
21116 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
21117 * sysdeps/unix/bsd/init-posix.c: Likewise.
21118 * sysdeps/unix/bsd/poll.c: Likewise.
21119 * sysdeps/unix/bsd/ptsname.c: Likewise.
21120 * sysdeps/unix/bsd/seekdir.c: Likewise.
21121 * sysdeps/unix/bsd/setegid.c: Likewise.
21122 * sysdeps/unix/bsd/seteuid.c: Likewise.
21123 * sysdeps/unix/bsd/setgid.c: Likewise.
21124 * sysdeps/unix/bsd/setrgid.c: Likewise.
21125 * sysdeps/unix/bsd/setruid.c: Likewise.
21126 * sysdeps/unix/bsd/setsid.c: Likewise.
21127 * sysdeps/unix/bsd/setuid.c: Likewise.
21128 * sysdeps/unix/bsd/sigaction.c: Likewise.
21129 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
21130 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
21131 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
21132 * sysdeps/unix/bsd/telldir.c: Likewise.
21133 * sysdeps/unix/bsd/times.c: Likewise.
21134 * sysdeps/unix/bsd/usleep.c: Likewise.
21135
029c7b25
JM
21136 * misc/Makefile (install-lib): Remove libbsd-compat.a.
21137 ($(objpfx)libbsd-compat.a): Remove rule.
21138
7011c262
JM
21139 * include/features.h (__FAVOR_BSD): Do not define.
21140 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
21141 features conflicting with POSIX.
21142 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
21143 (_BSD_SOURCE): Remove description of not being a subset of other
21144 feature test macros.
21145 * manual/job.texi (getpgrp): Do not document BSD version.
21146 (getpgid): Do not document by reference to BSD getpgrp.
21147 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
21148 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
21149 * signal/signal.h [__FAVOR_BSD]: Likewise.
21150 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
21151 instead of making contents conditional on [__FAVOR_BSD].
21152 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
21153
affb6f78
AZ
211542013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21155
21156 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21157
c88769dd
JM
211582013-12-17 Joseph Myers <joseph@codesourcery.com>
21159
6432a540
JM
21160 [BZ #16314]
21161 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
21162 values below 2**-450, not 2**-500.
21163 * math/auto-libm-test-in: Don't allow spurious underflow from
21164 hypot.
21165 * math/auto-libm-test-out: Regenerated.
21166
c88769dd
JM
21167 [BZ #16316]
21168 [BZ #16330]
21169 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
21170 values of ha and hb and sort them after adjusting subnormal
21171 arguments.
21172 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
21173 Likewise.
21174 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
21175 values of ea and eb and sort them after adjusting subnormal
21176 arguments.
21177 * math/auto-libm-test-in: Do not expect some hypot tests of
21178 subnormals to fail. Add more hypot tests.
21179 * math/auto-libm-test-out: Regenerated.
21180
29618f6b
KK
211812013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21182
21183 [BZ #13304]
21184 * sysdeps/sh/s_fma.c: New file.
21185 * sysdeps/sh/s_fmaf.c: New file.
21186 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
21187 version.
21188 * sysdeps/sh/Implies: Add sh/soft-fp.
21189
eacfdfbf
RM
211902013-12-16 Roland McGrath <roland@hack.frob.com>
21191
21192 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
21193 level of indirection to members `objname', `errstring', `malloced'.
21194 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
21195 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
21196 it as the __longjmp argument (just pass 1 instead).
21197 (_dl_catch_error): Initialize C with argument pointers and address of
21198 volatile local ERRCODE rather than copying values out of C at return.
21199
ff362e5b
JM
212002013-12-16 Joseph Myers <joseph@codesourcery.com>
21201
21202 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
21203 * math/auto-libm-test-out: Regenerated.
21204 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
21205 (hypot_test_data): Likewise.
21206 (pow_test_data): Likewise.
21207 (pow_tonearest_test_data): Likewise.
21208 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21209 mpfr_ff_f.
21210 (func_calc_desc): Add mpfr_ff_f union field.
21211 (FUNC_mpfr_ff_f): New macro.
21212 (test_functions): Add atan2, hypot and pow.
21213 (special_fill_min): New function.
21214 (special_fill_minus_min): Likewise.
21215 (special_fill_min_subnorm): Likewise.
21216 (special_fill_minus_min_subnorm): Likewise.
21217 (special_real_inputs): Add min, -min, min_subnorm and
21218 -min_subnorm.
21219 (calc_generic_results): Handle mpfr_ff_f.
21220 * sysdeps/i386/fpu/libm-test-ulps: Update.
21221 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21222
5764c27f
WN
212232013-12-16 Will Newton <will.newton@linaro.org>
21224
21225 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
21226 (Aligned Memory Blocks): Add documentation for aligned_alloc
21227 and suggest it as an alternative to posix_memalign.
21228 (Hooks for Malloc): Document __memalign_hook is also called
21229 for aligned_alloc. (Summary of Malloc): Add summary for
21230 aligned alloc. Document __memalign_hook is also called
21231 for aligned_alloc.
21232
0a096e44
WN
212332013-12-16 Will Newton <will.newton@linaro.org>
21234
21235 * manual/memory.texi (Malloc Examples): Clarify default
21236 alignment documentation. Suggest posix_memalign rather
21237 than memalign or valloc.
21238 (Aligned Memory Blocks): Remove suggestion to use memalign
21239 or valloc. Remove obsolete comment about BSD.
21240 Document memalign errno values and mark the function obsolete.
21241 Document posix_memalign returned error codes. Mark valloc
21242 as obsolete. (Hooks for Malloc): __memalign_hook is also
21243 called for posix_memalign and valloc.
21244 (Summary of Malloc): Add posix_memalign to function summary.
21245 __memalign_hook is also called for posix_memalign and valloc.
21246
8d561986
SP
212472013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
21248
21249 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
21250 TAYLOR_SIN.
21251 (__sin): Adjust.
21252 (__cos): Likewise.
21253 (sloww): Use mynumber union. Expand ternary operator into
21254 if-else statements.
21255 (cslow): use mynumber union.
21256
73616a74
AM
212572013-12-16 Allan McRae <allan@archlinux.org>
21258
9e8ac24b
AM
21259 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
21260 * configure: Regenerated.
21261
6f8e37eb
AM
21262 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
21263
8894bad3
AM
21264 [BZ #14120]
21265 * configure.ac: Added --enable-maintainer-mode. Check for
21266 autoconf when enabled.
21267 * configure: Regenerated.
21268
73616a74
AM
21269 * nscd/nscd.service: New file.
21270 * nscd/nscd.tmpfiles: New file.
21271
584b18eb
OB
212722013-12-14 Ondřej Bílka <neleai@seznam.cz>
21273
21274 [BZ #12100]
21275 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
21276 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
21277 * sysdeps/x86_64/multiarch/strstr.c: ... here.
21278 (strstr): Add __strstr_sse2_unaligned ifunc.
21279 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
21280 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
21281 (strcasestr): Remove __strcasestr_sse42 ifunc.
21282 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
21283 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
21284 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21285
8a5c7897
KK
212862013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21287
21288 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
21289 * sysdeps/sh/bits/fenv.h: ... here.
21290 * sysdeps/sh/sh4/fpu/bits: Remove directory.
21291
fd712ef3
AZ
212922013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21293
21294 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
21295
42fcb46c
AZ
21296 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
21297 hypotf multiarch implementations.
21298 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
21299 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
21300 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
21301 multiarch hypot for PPC64.
21302 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
21303 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
21304 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
21305 multiarch hypotf for PPC64.
21306
83efded4
AZ
21307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
21308 modff multiarch implementations.
21309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
21310 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
21311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
21312 multiarch modf for PPC64.
21313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
21314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
21315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
21316 multiarch modff for PPC64.
21317
43e246d2
AZ
21318 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
21319 and logl multiarch implementations.
21320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
21321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
21322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
21323 multiarch logb for PPC64.
21324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
21325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
21326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
21327 multiarch logb for PPC64.
21328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
21329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
21330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
21331 multiarch logb for PPC64.
21332
8fdad123
AZ
21333 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
21334 isinff multiarch implementation.
21335 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
21336 file.
21337 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
21338 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
21339 multiarch isinf for PPC64.
21340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
21341 file.
21342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
21343 multiarch isinff for PPC64.
21344
1481d706
AZ
21345 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
21346 finitef multiarch implementation.
21347 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
21348 file.
21349 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
21350 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
21351 multiarch finite for PPC64.
21352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
21353 file.
21354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
21355 multiarch finitef for PPC64.
21356
5ccd5fc8
AZ
21357 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
21358 lrint multiarch implementation.
21359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
21360 file.
21361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
21362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
21363 multiarch llrint for PPC64.
21364 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
21365 multiarch lrint for PPC64.
21366
2568f3fa
AZ
21367 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
21368 copysignf multiarch implementation.
21369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
21370 file.
21371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
21372 file.
21373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
21374 multiarch copysign for PPC64.
21375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
21376 multiarch copysignf for PPC64.
21377
1cb341fd
AZ
21378 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
21379 multiarch implementation.
21380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
21381 file.
21382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
21383 file.
21384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
21385 file.
21386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
21387 file.
21388 multiarch llround for PPC64.
21389 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
21390 multiarch trunc for PPC64.
21391 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
21392 multiarch truncf for PPC64.
21393
59a3e194
AZ
21394 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
21395 multiarch implementation.
21396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
21397 file.
21398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
21399 file.
21400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
21401 file.
21402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
21403 file.
21404 multiarch llround for PPC64.
21405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
21406 multiarch round for PPC64.
21407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
21408 multiarch roundf for PPC64.
21409
357fd3b4
AZ
21410 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
21411 multiarch implementation.
21412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
21413 file.
21414 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
21415 file.
21416 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
21417 file.
21418 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
21419 file.
21420 multiarch llround for PPC64.
21421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
21422 multiarch floor for PPC64.
21423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
21424 multiarch floorf for PPC64.
21425
96770f12
AZ
21426 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
21427 multiarch implementation.
21428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
21429 file.
21430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
21431 file.
21432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
21433 file.
21434 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
21435 file.
21436 multiarch llround for PPC64.
21437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
21438 multiarch ceil for PPC64.
21439 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
21440 multiarch ceilf for PPC64.
21441
c3627f6e
AZ
21442 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
21443 multiarch implementation.
21444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
21445 file.
21446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
21447 file.
21448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
21449 file.
21450 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
21451 multiarch llround for PPC64.
21452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
21453 multiarch lround for PPC64.
21454
b2284ad7
AZ
21455 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
21456 multiarch implementation.
21457 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
21458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
21459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
21460 file.
21461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
21462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
21463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
21464 multiarch isnan for PPC64.
21465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
21466 multiarch isnanf for PPC64.
21467
69bbc63d
AZ
21468 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
21469 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
21470 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
21471 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
21472 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
21473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
21474
c24517c9
AZ
21475 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
21476 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
21477 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
21478 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
21479
a52374e8
AZ
21480 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
21481 multiarch implementations.
21482 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21483 (__libc_ifunc_impl_list): Likewise.
21484 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
21485 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
21486 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
21487 multiarch stpcpy for PPC64.
21488
7f5ec113
AZ
21489 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
21490 multiarch implementations.
21491 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21492 (__libc_ifunc_impl_list): Likewise.
21493 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
21494 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
21495 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
21496 multiarch strcpy for PPC64.
21497
e28bcd42
AZ
21498 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
21499 redefine function name.
21500 (_wordcopy_fwd_dest_aligned): Likewise.
21501 (_wordcopy_bwd_aligned): Likewise.
21502 (_wordcopy_bwd_dest_aligned): Likewise.
21503 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
21504 multiarch implementations.
21505 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21506 (__libc_ifunc_impl_list): Likewise.
21507 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
21508 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
21509 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
21510 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
21511 multiarch wcscpy for PPC64.
21512
92cacfce
AZ
21513 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
21514 multiarch implementations.
21515 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21516 (__libc_ifunc_impl_list): Likewise.
21517 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
21518 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
21519 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
21520 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
21521 multiarch wcscpy for PPC64.
21522
7b714620
AZ
21523 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
21524 multiarch implementations.
21525 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21526 (__libc_ifunc_impl_list): Likewise.
21527 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
21528 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
21529 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
21530 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
21531 multiarch wcsrchr for PPC64.
21532
16fd2ae3
AZ
21533 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
21534 multiarch implementations.
21535 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21536 (__libc_ifunc_impl_list): Likewise.
21537 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
21538 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
21539 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
21540 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
21541 multiarch wcschr for PPC64.
21542
9ee2969b
AZ
21543 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
21544 multiarch implementations.
21545 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21546 (__libc_ifunc_impl_list): Likewise.
21547 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
21548 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
21549 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
21550 multiarch strchrnul for PPC64.
21551
372dc060
AZ
21552 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
21553 implementations.
21554 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21555 (__libc_ifunc_impl_list): Likewise.
21556 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
21557 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
21558 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
21559 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
21560 strchr for PPC64.
21561
24c2c3b9
AZ
21562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
21563 implementations.
21564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21565 (__libc_ifunc_impl_list): Likewise.
21566 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
21567 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
21568 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
21569 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
21570 strncmp for PPC64.
21571
1c92d9a0
AZ
21572 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
21573 multiarch implementations.
21574 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21575 (__libc_ifunc_impl_list): Likewise.
21576 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
21577 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
21578 strncasecmp for PPC64.
21579 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
21580 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
21581 multiarch strncasecmp_l for PPC64.
21582
17de3ee3
AZ
21583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
21584 multiarch implementations.
21585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21586 (__libc_ifunc_impl_list): Likewise.
21587 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
21588 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
21589 multiarch strcasecmp for PPC64.
21590 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
21591 file.
21592 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
21593 multiarch strcasecmp_l for PPC64.
21594
62982bf9
AZ
21595 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
21596 implementations.
21597 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21598 (__libc_ifunc_impl_list): Likewise.
21599 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
21600 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
21601 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
21602 strnlen for PPC64.
21603
a65f4904
AZ
21604 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
21605 implementations.
21606 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21607 (__libc_ifunc_impl_list): Likewise.
21608 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
21609 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
21610 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
21611 strlen for PPC64.
21612
1fd005ad
AZ
21613 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
21614 implementations.
21615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21616 (__libc_ifunc_impl_list): Likewise.
21617 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
21618 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
21619 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
21620 rawmemrchr for PPC64.
21621
cd05ba91
AZ
21622 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
21623 implementation.
21624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21625 (__libc_ifunc_impl_list): Likewise.
21626 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
21627 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
21628 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
21629 memrchr for PPC64.
21630
870f8676
AZ
21631 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
21632 implementation.
21633 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21634 (__libc_ifunc_impl_list): Likewise.
21635 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
21636 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
21637 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
21638 memchr for PPC64.
21639
f00be62b
AZ
21640 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
21641 implementation.
21642 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21643 (__libc_ifunc_impl_list): Likewise.
21644 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
21645 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
21646 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
21647 mempcpy for PPC64.
21648
8a29a3d0
AZ
21649 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
21650 avoid cretion of __bzero symbol.
21651 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
21652 Likewise.
21653 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
21654 Likewise.
21655 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
21656 Likewise.
21657 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
21658 multiarch implementations.
21659 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21660 (__libc_ifunc_impl_list): Likewise.
21661 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
21662 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
21663 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
21664 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
21665 bzero for PPC32.
21666 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21667 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
21668 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
21669 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
21670 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
21671 memset for PPC64.
21672 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
21673
07253fcf
AZ
21674 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
21675 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
21676 implementations.
21677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
21678 (__libc_ifunc_impl_list): Likewise.
21679 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
21680 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
21681 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
21682 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
21683 memcmp for PPC64.
21684
b5beafbc
AZ
21685 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
21686 multiarch for POWER/PPC64.
21687 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
21688 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
21689 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
21690 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
21691 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
21692 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
21693 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
21694 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
21695 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
21696 memcpy for PPC64.
21697
5e6a4d4b
AZ
21698 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
21699 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
21700 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
21701 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
21702 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
21703 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
21704 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
21705 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
21706 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
21707 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
21708 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
21709 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
21710 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
21711 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
21712 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
21713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
21714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
21715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
21717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
21718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
21719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
21720
ddfab6dc
KK
217212013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21722
21723 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
21724
19b5525e
SP
217252013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
21726
21727 * benchtests/Makefile (bench): Add exp2 and log2.
21728 (LDLIBS-bench-exp2): Add -lm.
21729 (LDLIBS-bench-log2): Likewise.
21730 * benchtests/exp2-inputs: New inputs file.
21731 * benchtests/log2-inputs: New inputs file.
21732 * benchtests/log-inputs: Add new inputs.
21733 * benchtests/tan-inputs: Likewise.
21734
196f7f5d
SP
217352013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
21736
7a74607f
SP
21737 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
21738 definition...
57f41c40
AS
21739 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
21740 (csloww2): ... from here.
7a74607f 21741
196f7f5d
SP
21742 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
21743 instead of structures.
21744 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
21745 (POLYNOMIAL): Likewise.
21746 (TAYLOR_SLOW): Likewise.
21747 (__sin): Likewise.
21748 (__cos): Likewise.
21749 (slow1): Likewise.
21750 (slow2): Likewise.
21751 (sloww): Likewise.
21752 (sloww1); Likewise.
21753 (sloww2): Likewise.
21754 (bsloww1): Likewise.
21755 (bsloww2): Likewise.
21756 (cslow2): Likewise.
21757 (csloww): Likewise.
21758 (csloww1): Likewise.
21759 (csloww2): Likewise.
21760
0dfa665c
OB
217612013-12-10 Ondřej Bílka <neleai@seznam.cz>
21762
21763 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
21764 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
21765 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
21766 * malloc/hooks.c (realloc_check): Likewise.
21767
5782a80f
OB
21768 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
21769 * malloc/arena.c: Remove PER_THREAD conditional.
21770 [!PER_THREAD]: Remove code.
21771 (ptmalloc_unlock_all2): Likewise.
21772 (ptmalloc_init): Likewise.
21773 (_int_new_arena): Likewise.
21774 (arena_get2): Likewise.
21775 * malloc/hooks.c (__malloc_get_state): Likewise.
21776 (__malloc_set_state): Likewise.
21777 * malloc/malloc.c: Likewise.
21778 (struct malloc_state): Likewise.
21779 (struct malloc_par): Likewise.
21780 (__libc_realloc): Likewise.
21781 (__libc_mallopt): Likewise.
21782
aeb95445
AZ
217832013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21784
21785 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
21786
e8349efd
OB
217872013-12-09 Ondřej Bílka <neleai@seznam.cz>
21788
21789 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
21790 macro to a function. Check for zero perturb_byte.
21791 (_int_malloc, _int_free): Remove zero perturb_byte checks.
21792
f3eeb3fc 21793 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
21794 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
21795 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
21796 force_reg by atomic_forced_read.
21797 * malloc/arena.c (ptmalloc_init): Likewise.
21798 * malloc/hooks.c (top_check): Likewise.
21799
be2f9009
AZ
218002013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21801
21802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21803
e7b914bd
MT
218042013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
21805
21806 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21807
9f0be4f8
JM
218082013-12-08 Joseph Myers <joseph@codesourcery.com>
21809
21810 * math/auto-libm-test-in: Add tests of lgamma.
21811 * math/auto-libm-test-out: Regenerated.
21812 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
21813 (M_LOG_2_SQRT_PIl): Likewise.
21814 (lgamma_test_data): Use AUTO_TESTS_f_f1.
21815 * math/gen-auto-libm-tests.c (func_calc_method): Add value
21816 mpfr_f_f1.
21817 (func_calc_desc): Add mpfr_f_f1 union field.
21818 (ARGS1): New macro.
21819 (ARGS2): Likewise.
21820 (ARGS3): Likewise.
21821 (ARGS4): Likewise.
21822 (RET1): Likewise.
21823 (RET2): Likewise.
21824 (CALC): Likewise.
21825 (FUNC): Likewise.
21826 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
21827 (test_functions): Add lgamma.
21828 (calc_generic_results): Handle mpfr_f_f1.
21829 * sysdeps/i386/fpu/libm-test-ulps: Update.
21830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21831
24eeafdb
AZ
218322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21833
21834 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
21835 __mpn_add_n for PowerPC64/POWER7.
21836 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
21837 __mpn_sub_n for PowerPC64/POWER7.
21838
4a2c0fd4
AZ
21839 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
21840 __mpn_addmul_1 for PowerPC64.
21841 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
21842 __mpn_submul_1 for PowerPC64.
21843 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
21844 for PowerPC64.
21845 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
21846 for PowerPC64.
21847
4b5b548c
FS
218482013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
21849
21850 [BZ #15089]
21851 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
21852
0a3ac0aa
AZ
218532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21854
21855 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
21856
ccdc8438
AZ
21857 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
21858 add multiarch folders.
21859 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
21860 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
21861 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
21862 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
21863 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
21864 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
21865 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
21866 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
21867 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
21868 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
21869 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
21870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
21871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
21872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
21873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
21874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
21875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
21876
2e973d99
AZ
21877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21878 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
21879 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
21880 New file.
21881 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
21882 New file.
21883 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
21884 multiarch __ieee754_hypot for PowerPC32.
21885 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
21886 New file.
21887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
21888 New file.
21889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
21890 multiarch __ieee754_hypotf for PowerPC32.
21891
2d9470b2
AZ
21892 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
21893 long_double_symbol only if __logbl is defined.
21894 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
21895 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
21896 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
21897 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
21898 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
21899 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
21900 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
21901 path for implementation.
21902 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
21903 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
21904 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
21905 logb, and logbl multiarch implementations for PowerPC32.
21906 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
21907 file.
21908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
21909 file.
21910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
21911 multiarch logb for PowerPC32.
21912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
21913 file.
21914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
21915 file.
21916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
21917 multiarch logbf for PowerPC32.
21918 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
21919 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
21920 file.
21921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
21922 multiarch logbl implementation for PowerPC32.
21923
5212ffce
AZ
21924 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
21925 and modff multiarch implementations.
21926 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
21927 New file.
21928 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
21929 New file.
21930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
21931 multiarch modf for PowerPC32.
21932 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
21933 New file.
21934 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
21935 New file.
21936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
21937 multiarch modff for PowerPC32.
21938
79dccf31
AZ
21939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
21940 and lrintf multiarch implementations.
21941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
21942 New file.
21943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
21944 New file.
21945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
21946 multiarch lrint for PowerPC32.
21947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
21948 file: multiarch lrintf for PowerPC32.
21949
deb66480
AZ
21950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
21951 and lroundf multiarch implementations.
21952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
21953 New file.
21954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
21955 New file.
21956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
21957 New file.
21958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
21959 multiarch lround for PowerPC32.
21960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
21961 file: multiarch lroundf for PowerPC32.
21962
264b036b
AZ
21963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
21964 copysign and copysignf multiarch implementations.
21965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
21966 New file.
21967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
21968 New file.
21969 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
21970 file: multiarch copysign for PowerPC32.
21971 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
21972 file: multiarch copysignf for PowerPC32.
21973
d47db6c9
AZ
21974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
21975 and truncf multiarch implementations.
21976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
21977 New file.
21978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
21979 file.
21980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
21981 multiarch trunc for PowerPC32.
21982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
21983 New file.
21984 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
21985 New file.
21986 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
21987 multiarch truncf for PowerPC32.
21988
ddb60b5a
AZ
21989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
21990 and roundf multiarch implementations.
21991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
21992 New file.
21993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
21994 file.
21995 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
21996 multiarch round for PowerPC32.
21997 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
21998 New file.
21999 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
22000 New file.
22001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
22002 multiarch roundf for PowerPC32.
22003
bedcf49b
AZ
22004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
22005 and floorf multiarch implementations.
22006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
22007 New file.
22008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
22009 file.
22010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
22011 multiarch floor for PowerPC32.
22012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
22013 New file.
22014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
22015 New file.
22016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
22017 multiarch floorf for PowerPC32.
22018
35ae5b40
AZ
22019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
22020 and ceilf multiarch implementations.
22021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
22022 New file.
22023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
22024 file.
22025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
22026 multiarch ceil for PowerPC32.
22027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
22028 New file.
22029 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
22030 file.
22031 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
22032 multiarch ceilf for PowerPC32.
22033
ae1a4cd9
AZ
22034 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
22035 is defined.
22036 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
22037 FINITEF is defined.
22038 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
22039 and finitef multiarch implementations.
22040 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
22041 New file.
22042 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
22043 file.
22044 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
22045 multiarch finite for PowerPC32.
22046 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
22047 New file.
22048 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
22049 file: multiarch finitef for PowerPC32.
22050
64fffd65
AZ
22051 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
22052 and isinff multiarch implementations.
22053 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
22054 file.
22055 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
22056 file.
22057 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
22058 multiarch isinf for PowerPC32.
22059 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
22060 New file.
22061 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
22062 multiarch isinff for PowerPC32.
22063
8e4e7ba2
AZ
22064 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
22065 alias when __isnan is defined.
22066 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
22067 and isnanf multiarch implementations.
22068 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
22069 file.
22070 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
22071 file.
22072 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
22073 file.
22074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
22075 file.
22076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
22077 multiarch isnan for PowerPC32.
22078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
22079 New file.
22080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
22081 New file.
22082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
22083 multiarch isnanf for PowerPC32.
22084
ddba588e
AZ
22085 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
22086 and sqrtf multiarch implementations.
22087 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
22088 file.
22089 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
22090 file.
22091 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
22092 multiarch sqrt for PowerPC32.
22093 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
22094 file.
22095 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
22096 file.
22097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
22098 multiarch sqrtf for PowerPC32.
22099
0f96a2f0
AZ
22100 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
22101 and llroundf multiarch implementations.
22102 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
22103 New file.
22104 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
22105 New file.
22106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
22107 New file.
22108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
22109 file: multiarch llround for PowerPC32.
22110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
22111 file: multiarch llroundf for PowerPC32.
22112
c9b5d79e
AZ
22113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
22114 multiarch PowerPC32 fpu implementations.
22115 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
22116 New file.
22117 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
22118 New file.
22119 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
22120 multiarch llrint for PowerPC32.
22121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
22122 New file.
22123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
22124 New file.
22125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
22126 file.
22127
9cbb3aab
AZ
22128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
22129
ea5a72f8
AZ
22130 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
22131 file.
22132 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
22133 file.
22134 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
22135 file.
22136 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
22137 multiarch wordcopy for PPC32.
22138 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22139 wordcopy objects.
22140 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22141 (__libc_ifunc_impl_list): Likewise.
22142 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
22143 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
22144 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
22145 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
22146 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
22147 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
22148
93be09e7
AZ
22149 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
22150 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
22151 file.
22152 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
22153 file.
22154 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
22155 file.
22156 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
22157 multiarch wcscpy for PPC32.
22158 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
22159 multiarch objects.
22160 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22161 (__libc_ifunc_impl_list): Likewise.
22162 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22163 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22164 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
22165 sysdeps/powerpc/power6/wcscpy.c.
22166
bb04e529
AZ
22167 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
22168 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
22169 file.
22170 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
22171 file.
22172 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
22173 file.
22174 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
22175 multiarch wcsrchr for PPC32.
22176 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22177 multiarch objects.
22178 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22179 (__libc_ifunc_impl_list): Likewise.
22180 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
22181 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
22182 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
22183 sysdeps/powerpc/power6/wcsrchr.c.
22184
05b5cd1c
AZ
22185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
22186 file.
22187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
22188 file.
22189 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
22190 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
22191 multiarch wcschr for PPc32.
22192 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
22193 multiarch objects.
22194 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22195 (__libc_ifunc_impl_list): Likewise.
22196 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
22197 * sysdeps/powerpc/power6/wcschr.c: ... to here.
22198 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
22199 sysdeps/powerpc/power6/wcschr.c.
22200
ba964147
AZ
22201 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
22202 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
22203 file.
22204 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
22205 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
22206 file: multiarch strchr for PPC32.
22207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
22208 multiarch objects.
22209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22210 (__libc_ifunc_impl_list): Likewise.
22211
31c81aaa
AZ
22212 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
22213 name.
22214 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
22215 file.
22216 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
22217 file.
22218 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
22219 multiarch strchrnul for PPC32.
22220 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
22221 multiarch objects.
22222 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22223 (__libc_ifunc_impl_list): Likewise.
22224
0d0607d9
AZ
22225 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
22226 file.
22227 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
22228 multiarch strncasecmp for PPC32.
22229 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
22230 file.
22231 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
22232 multiarch strncasecmp_l for PPC32.
22233 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
22234 strncasecmp multiarch objects.
22235 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22236 (__libc_ifunc_impl_list): Likewise.
22237
4dfd5c86
AZ
22238 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
22239 file.
22240 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
22241 multiarch strncasecmp for PPC32.
22242 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
22243 New file.
22244 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
22245 multiarch strcasecmp_l for PPC32.
22246 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
22247 multiarch objects.
22248 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22249 (__libc_ifunc_impl_list): Likewise.
22250
a19e01a3
AZ
22251 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
22252 file.
22253 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
22254 file.
22255 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
22256 multiarch strncmp for PPC32.
22257 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
22258 multiarch objects.
22259 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22260 (__libc_ifunc_impl_list): Likewise.
22261
ae9cf7a2
AZ
22262 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
22263 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
22264 file.
22265 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
22266 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
22267 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22268 multiarch objects.
22269 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22270 (__libc_ifunc_impl_list): Likewise.
22271
3148bb7d
AZ
22272 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
22273 file.
22274 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
22275 file.
22276 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
22277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
22278 multiarch objects.
22279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22280 (__libc_ifunc_impl_list): Likewise.
22281
7af8b946
AZ
22282 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
22283 file.
22284 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
22285 file.
22286 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
22287 multiarch rawmemchr for PPC32.
22288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
22289 multiarch objects.
22290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22291 (__libc_ifunc_impl_list): Likewise.
22292
03a6aa6a
AZ
22293 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
22294 file.
22295 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
22296 file.
22297 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
22298 file: memrchr multiarch for PPC32.
22299 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
22300 multiarch objects.
22301 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
22302 (__libc_ifunc_impl_list): Likewise.
22303
1c62e6d9
AZ
22304 * string/memchr.c (__memchr): Using macro to redefine symbol name.
22305 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
22306 file.
22307 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
22308 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
22309 multiarch memchr for PPC32.
22310 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
22311 multiarch objects.
22312 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22313 (__libc_ifunc_impl_list): Likewise.
22314
87da8bdb
AZ
22315 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
22316 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
22317 file.
22318 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
22319 file.
22320 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22321 file: multiarch mempcpy for PPC32.
22322 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
22323 multiarch objects.
22324 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22325 (__libc_ifunc_impl_list): Likewise.
22326
20ed4714
AZ
22327 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
22328 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
22329 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
22330 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
22331 multiarch bzero for PPC32.
22332 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
22333 file.
22334 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
22335 file.
22336 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
22337 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
22338 file: multiarch memset for PPC32.
22339 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
22340 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
22341 memset multiarch objects.
22342 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22343 (__libc_ifunc_impl_list): Likewise.
22344
ab3e3a46
AZ
22345 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
22346 file.
22347 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
22348 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
22349 memcmp for PPC32.
22350 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
22351 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
22352 multiarch objects.
22353 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22354 (__libc_ifunc_impl_list): Likewise.
22355
930de6f0
AZ
22356 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
22357 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
22358 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
22359 file.
22360 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
22361 file.
22362 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
22363 file.
22364 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
22365 multiarch memcpy for PPC32.
22366 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
22367 multiarch objects.
22368 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
22369 (__libc_ifunc_impl_list): Likewise.
22370
4c628e00
AZ
22371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
22372 support multiarch for POWER/PPC32.
22373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
22374 Likewise.
22375 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
22376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
22377 Implies file to make multiarch folder appers before the fpu and
22378 default folder for power4 configuration.
22379
f4479220
SP
223802013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
22381
22382 * scripts/bench.pl: Append volatile keyword to type.
22383
8517800f
KK
223842013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
22385
22386 * sysdeps/sh/sotruss-lib.c: New file.
22387 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
22388
180138f1
AZ
223892013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22390
22391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22392
bbf37bdc
JM
223932013-12-05 Joseph Myers <joseph@codesourcery.com>
22394
e47cc4e0
JM
22395 [BZ #6810]
22396 * math/w_tgamma.c: Include <errno.h>.
22397 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
22398 * math/w_tgammaf.c: Include <errno.h>.
22399 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
22400 * math/w_tgammal.c: Include <errno.h>.
22401 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
22402 * math/auto-libm-test-in: Do not allow missing errno on tgamma
22403 underflow. Add more tgamma tests.
22404 * math/auto-libm-test-out: Regenerated.
22405 * sysdeps/i386/fpu/libm-test-ulps: Update.
22406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22407
bbf37bdc
JM
22408 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
22409 sin, sinh, tan, tanh, tgamma, y0 and y1.
22410 * math/auto-libm-test-out: Regenerated.
22411 * math/libm-test.inc (TEST_COND_x86_64): New macro.
22412 (TEST_COND_x86): Likewise.
22413 (M_E2l): Remove macro.
22414 (M_E3l): Likewise.
22415 (M_2_SQRT_PIl): Likewise.
22416 (M_SQRT_PIl): Likewise.
22417 (M_1_DIV_El): Likewise.
22418 (log_test_data): Use AUTO_TESTS_f_f.
22419 (log10_test_data): Likewise.
22420 (log1p_test_data): Likewise.
22421 (log2_test_data): Likewise.
22422 (sin_test_data): Likewise.
22423 (sin_tonearest_test_data): Likewise.
22424 (sin_towardzero_test_data): Likewise.
22425 (sin_downward_test_data): Likewise.
22426 (sin_upward_test_data): Likewise.
22427 (sinh_test_data): Likewise.
22428 (sinh_tonearest_test_data): Likewise.
22429 (sinh_towardzero_test_data): Likewise.
22430 (sinh_downward_test_data): Likewise.
22431 (sinh_upward_test_data): Likewise.
22432 (tan_test_data): Likewise.
22433 (tan_tonearest_test_data): Likewise.
22434 (tan_towardzero_test_data): Likewise.
22435 (tan_downward_test_data): Likewise.
22436 (tan_upward_test_data): Likewise.
22437 (tanh_test_data): Likewise.
22438 (tgamma_test_data): Likewise.
22439 (y0_test_data): Likewise.
22440 (y1_test_data): Likewise.
22441 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
22442 (special_real_inputs): Add pi/4.
22443 * sysdeps/i386/fpu/libm-test-ulps: Update.
22444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22445
eb5ad6b9
AZ
224462013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22447
22448 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
22449 "longjmp_target" static probes.
22450 (__longjmp): Rename to __longjmp_symbol.
22451 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
22452 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
22453 on which longjmp to generate.
22454 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22455 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
22456 probe.
22457 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22458 (__sigjmp_save): Rename to __sigjmp_save_symbol.
22459 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
22460 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
22461 and __sigjmp_save_symbol based on which sigsetjmp to generated.
22462 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
22463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
22464 __longjmp_symbol based on which __longjmp to generate.
22465 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
22466 probe.
22467 (setjmp): Rename to setjmp_symbol.
22468 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22469 (_setjmp): Rename to _setjmp_symbol.
22470 (__sigsetjmp): Rename to __sigsetjmp_symbol.
22471 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
22472 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
22473 which setjmp to generate.
22474 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
22475 "longjmp_target" static probes.
22476
d136c6dc
SP
224772013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
22478
9298ecba
SP
22479 * benchtests/README: Add note about output arguments.
22480 * benchtests/bench-sincos.c: Remove file.
22481 * benchtests/sincos-inputs: New file.
22482 * scripts/bench.pl: Identify output arguments and define
22483 static variables for them.
22484
232983e9
SP
22485 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
22486
d136c6dc
SP
22487 [BZ #15941]
22488 * Makefile (INSTALL): Add install-plain.texi as the primary
22489 dependency.
22490 * manual/install-plain.texi: New file.
22491 * manual/install.texi: Include node directive only for
22492 non-plaintext output.
22493
699ff837
JM
224942013-12-04 Joseph Myers <joseph@codesourcery.com>
22495
ab07cea8
JM
22496 * stdlib/longlong.h: Update from GCC.
22497
699ff837
JM
22498 [BZ #6807]
22499 [BZ #15901]
22500 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
22501 * math/w_j0f.c (y0f): Likewise.
22502 * math/w_j0l.c (__y0l): Likewise.
22503 * math/w_j1.c (y1): Likewise.
22504 * math/w_j1f.c (y1f): Likewise.
22505 * math/w_j1l.c (__y1l): Likewise
22506 * math/w_jn.c (yn): Likewise.
22507 * math/w_jnf.c (ynf): Likewise.
22508 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
22509 Bessel function pole errors in _POSIX_ mode. Use NAN as return
22510 value for Bessel function domain errors outside _SVID_ mode.
22511 Adjust sign of return value for yn (negative integer, 0).
22512 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
22513 by zero in return for negative x and set sign appropriately for
22514 negative n.
22515 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
22516 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
22517 * math/libm-test.inc (y0_test_data): Add more tests and adjust
22518 expectations in error cases.
22519 (y1_test_data): Likewise.
22520 (yn_test_data): Likewise.
22521 * sysdeps/i386/fpu/libm-test-ulps: Update.
22522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22523
5b118558
UW
225242013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22525
22526 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
22527 "64" to "64-v1". Add "64-v2".
22528 (abi-64-options): Rename to ...
22529 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
22530 (abi-64-condition): Rename to ...
22531 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
22532 (abi-64-ld-soname): Rename to ...
22533 (abi-64-v1-ld-soname): ... this.
22534 (abi-64-v2-options): Define.
22535 (abi-64-v2-condition): Likewise.
22536 (abi-64-v2-ld-soname): Likewise.
22537 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
22538 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
22539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
22540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
22541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
22542
61cd8fe4
UW
225432013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22544 Alan Modra <amodra@gmail.com>
22545
22546 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
22547 New versions for use with the ELFv2 ABI.
22548 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
22549 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
22550 declaration.
22551 (struct La_ppc64v2_retval): Likewise.
22552 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
22553 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
22554 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
22555 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
22556 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
22557 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
22558 Do not save or restore CR.
22559 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
22560 (_dl_profile_resolve): Do no save or restore CR. Support extended
22561 return values for ELFv2 ABI. Fix location of FPR return registers.
22562 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
22563 updated values for _CALL_ELF == 2.
22564 (La_regs, La_retval, int_retval): Likewise.
22565
8b8a692c
UW
225662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22567
22568 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
22569 (FRAME_MIN_SIZE_PARM): Likewise.
22570 (FRAME_BACKCHAIN): Likewise.
22571 (FRAME_CR_SAVE): Likewise.
22572 (FRAME_LR_SAVE): Likewise.
22573 (FRAME_TOC_SAVE): Likewise.
22574 (FRAME_PARM_SAVE): Likewise.
22575 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
22576 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
22577 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
22578 (call_mcount_parm_offset): New macro.
22579 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
22580 (PROF): Use symbolic stack frame offsets.
22581 (TAIL_CALL_SYSCALL_ERROR): Likewise.
22582 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
22583 Redefine in terms of FRAME_MIN_SIZE.
22584 (_dl_runtime_resolve): Use symbolic stack frame offsets.
22585 (_dl_profile_resolve): Likewise. Update comment.
22586 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
22587 symbols stack frame offsets.
22588 (__sigsetjmp): Likewise.
22589 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
22590 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
22591 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
22592 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
22593
22594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
22595 (FRAME_BACKCHAIN): Remove.
22596 (FRAME_CR_SAVE): Likewise.
22597 (FRAME_LR_SAVE): Likewise.
22598 (FRAME_COMPILER_DW): Likewise.
22599 (FRAME_LINKER_DW): Likewise.
22600 (FRAME_TOC_SAVE): Likewise.
22601 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
22602 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
22603 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
22604 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
22605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
22606 (CHECK_SP): Use symbolic stack frame offsets.
22607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
22608 zone" instead of caller's parameter save area for temp storage.
22609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
22610 Likewise. Also, use symbolic stack frame offsets.
22611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
22612 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
22613 our own stack frame instead of the caller's.
22614 (__socket): Use symbolic stack frame offsets.
22615
122b66de
UW
226162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22617 Alan Modra <amodra@gmail.com>
22618
22619 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
22620 Define.
57f41c40
AS
22621 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
22622 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
22623 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
22624 New function.
22625 (elf_machine_fixup_plt): Call it.
22626 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
22627 reloc arguments.
22628 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
22629 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22630 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
22631 r2 before calling target.
22632
696caf1d
UW
226332013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22634 Alan Modra <amodra@gmail.com>
22635
22636 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
22637 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
22638 versions of macros to support ELFv2 ABI.
22639 (LOCALENTRY): New macro.
22640 (ENTRY, EALIGN): Use it.
22641 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
22642 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
22643 fall through into ENTRY entry point.
22644 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
22645 Only define if _CALL_ELF != 2.
22646
22647 (elf_machine_matches_host): Verify ABI version matches.
22648 (RTLD_START): Use LOCALENTRY.
22649 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
22650 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
22651 (PLT_ENTRY_WORDS): New macro.
22652 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
22653 (elf_machine_runtime_setup): Support ELFv2 ABI.
22654 (elf_machine_fixup_plt): Likewise.
22655 (elf_machine_plt_conflict): Likewise.
22656 (resolve_ifunc): Likewise.
22657 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
22658 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22659 Likewise.
22660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
22661 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
22662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22663 (makecontext): Support ELFv2 ABI.
22664 * elf/elf.h (EF_PPC64_ABI): Define.
22665
d31beafa
UW
226662013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22667
57f41c40
AS
22668 * sysdeps/powerpc/powerpc64/sysdep.h
22669 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
22670 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
22671 (ENTRY) [ASSEMBLER]: ... but instead here ...
22672 (EALIGN) [ASSEMBLER]: ... and here.
22673 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
22674 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
22675 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
22676 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
22677 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
22678 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
22679 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
22680 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
22681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
22682 Use PPC64_LOAD_FUNCPTR.
22683
b525166b
UW
22684 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
22685
7ec07d9a
AM
226862013-12-04 Alan Modra <amodra@gmail.com>
22687
22688 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
22689 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
22690 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
22691 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
22692
22693 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
22694 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
22695 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
22696 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
22697 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
22698 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
22699
5162e7dd
UW
227002013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
22701
22702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
22703 (__makecontext): Fix incorrect CFI when backtracing out of
22704 context created via makecontext.
22705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
22706 (__setcontext): Fix incorrect CFI during switch to new context.
22707 (__novec_setcontext): Likewise.
22708
19e3372b
OB
227092013-12-04 Ondřej Bílka <neleai@seznam.cz>
22710
22711 [BZ #4772]
22712 * time/strptime_l.c (__strptime_internal): Allow modifiers
22713 in strptime.
22714 * time/tst-strptime.c (day_tests): Add testcase.
22715
ecaf142d
SP
227162013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22717
22718 * scripts/bench.pl: Skip over blank lines.
22719
fbf964ae
PE
227202013-12-04 Paul Eggert <eggert@cs.ucla.edu>
22721
22722 [BZ #926]
22723 * manual/time.texi (Calendar Time): Clarify what timezone functions
22724 use.
22725
fa60a674
AZ
227262013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22727
22728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22729
d674f0ef
OB
227302013-12-04 Ondřej Bílka <neleai@seznam.cz>
22731
22732 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
22733 implementation.
22734 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
22735 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
22736 * debug/memset_chk.c (__memset_chk): Likewise.
22737 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
22738 * debug/strncpy_chk.c: Likewise.
22739
17dea188
JM
227402013-12-03 Joseph Myers <joseph@codesourcery.com>
22741
749008ff
JM
22742 [BZ #15268]
22743 [BZ #15425]
22744 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
22745 (__ieee754_exp): For possibly underflowing results, check size of
22746 result and force underflow exception if required.
22747 * math/auto-libm-test-in: Add more tests of exp.
22748 * math/auto-libm-test-out: Regenerated.
22749 * sysdeps/i386/fpu/libm-test-ulps: Update.
22750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22751
17dea188
JM
22752 [BZ #16283]
22753 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
22754 * math/w_exp2f.c (__exp2f): Likewise.
22755 * math/w_exp2l.c (__exp2l): Likewise.
22756 * math/auto-libm-test-in: Do not allow missing errno on exp2
22757 underflow.
22758 * math/auto-libm-test-out: Regenerated.
22759
b20de2c3
OB
227602013-12-03 Ondřej Bílka <neleai@seznam.cz>
22761
22762 [BZ #16274]
22763 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
22764 handle filename validation.
22765 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
22766 (do_open): Delete.
22767
d8e2dbe3
JM
227682013-12-03 Joseph Myers <joseph@codesourcery.com>
22769
34e16df5
JM
22770 [BZ #6786]
22771 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
22772 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
22773 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
22774 <float.h>.
22775 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
22776 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
22777 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22778 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
22779 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22780 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
22781 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
22782 * math/auto-libm-test-in: Don't allow missing errno from erfc.
22783 Add more erfc tests.
22784 * math/auto-libm-test-out: Regenerated.
22785 * sysdeps/i386/fpu/libm-test-ulps: Update.
22786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22787
d8e2dbe3
JM
22788 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
22789 exp2, expm1, j0 and j1.
22790 * math/auto-libm-test-out: Regenerated.
22791 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
22792 (erfc_test_data): Likewise.
22793 (exp_test_data): Likewise.
22794 (exp_tonearest_test_data): Likewise.
22795 (exp_towardzero_test_data): Likewise.
22796 (exp_downward_test_data): Likewise.
22797 (exp_upward_test_data): Likewise.
22798 (exp10_test_data): Likewise.
22799 (exp2_test_data): Likewise.
22800 (expm1_test_data): Likewise.
22801 (j0_test_data): Likewise.
22802 (j1_test_data): Likewise.
22803 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
22804 (input_flag_type): Add flag_xfail_rounding.
22805 (input_flags): Add xfail-rounding.
22806 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
22807 (output_for_one_input_case): Handle flag_xfail_rounding.
22808 * sysdeps/i386/fpu/libm-test-ulps: Update.
22809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22810
18d14251
AJ
228112013-12-03 Aurelien Jarno <aurelien@aurel32.net>
22812
3d2e6075 22813 [BZ #16289]
18d14251
AJ
22814 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
22815 division by 0.
22816
520d437b
SP
228172013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
22818
22819 [BZ #16195]
22820 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
22821 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
22822 (STAP_PROBE0): New macro.
22823 (STAP_PROBE1): Likewise.
22824 (STAP_PROBE2): Likewise.
22825 (STAP_PROBE3): Likewise.
22826 (STAP_PROBE4): Likewise.
22827
416e0145
OB
228282013-12-02 Ondřej Bílka <neleai@seznam.cz>
22829
22830 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
22831
9d17796a
SE
228322013-12-02 Steve Ellcey <sellcey@mips.com>
22833
22834 * benchtests/Makefile (bench): Add sqrt.
22835 (LDLIBS-bench-sqrt): New.
22836 * benchtests/sqrt-input: New.
22837
f524d6a8
PS
228382013-12-02 Pavel Simerda <psimerda@redhat.com>
22839
639a0ef8
PS
22840 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
22841 (GAIH_EAI): Likewise.
22842 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
22843 (gaih_inet): Likewise.
22844 (getaddrinfo): Don't use GAIH_EAI.
22845
f524d6a8
PS
22846 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
22847 (struct gaih): Remove definition.
22848
df3aedaf
SP
228492013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
22850
22851 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
22852 Use HERRNOP directly.
22853
1ab19dec
AZ
228542013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22855
b42ad38d 22856 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 22857
176b0c79
JM
228582013-11-30 Joseph Myers <joseph@codesourcery.com>
22859
22860 * math/gen-auto-libm-tests.c (test_functions): Add more
22861 single-argument functions.
22862 (special_fill_pi_2): New function.
22863 (special_fill_minus_pi_2): Likewise.
22864 (special_fill_pi_6): Likewise.
22865 (special_fill_minus_pi_6): Likewise.
22866 (special_fill_pi_3): Likewise.
22867 (special_fill_2pi_3): Likewise.
22868 (special_fill_e): Likewise.
22869 (special_fill_1_e): Likewise.
22870 (special_fill_e_minus_1): Likewise.
22871 (special_real_inputs): Add more special inputs.
22872 (output_for_one_input_case): Do not require ERANGE on underflow to
22873 zero if round-to-nearest result does not underflow to zero, unless
22874 exact results required.
22875 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
22876 atan, atanh, cbrt, cos and cosh.
22877 * math/auto-libm-test-out: Regenerated.
22878 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
22879 (acos_tonearest_test_data): Likewise.
22880 (acos_towardzero_test_data): Likewise.
22881 (acos_downward_test_data): Likewise.
22882 (acos_upward_test_data): Likewise.
22883 (acosh_test_data): Likewise.
22884 (asin_test_data): Likewise.
22885 (asin_tonearest_test_data): Likewise.
22886 (asin_towardzero_test_data): Likewise.
22887 (asin_upward_test_data): Likewise.
22888 (asinh_test_data): Likewise.
22889 (atan_test_data): Likewise.
22890 (atanh_test_data): Likewise.
22891 (cbrt_test_data): Likewise.
22892 (cos_test_data): Likewise.
22893 (cos_tonearest_test_data): Likewise.
22894 (cos_towardzero_test_data): Likewise.
22895 (cos_downward_test_data): Likewise.
22896 (cos_upward_test_data): Likewise.
22897 (cosh_test_data): Likewise.
22898 (cosh_tonearest_test_data): Likewise.
22899 (cosh_towardzero_test_data): Likewise.
22900 (cosh_downward_test_data): Likewise.
22901 (cosh_upward_test_data): Likewise.
22902 * sysdeps/i386/fpu/libm-test-ulps: Update.
22903 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22904
ffb536d0
JM
229052013-11-29 Joseph Myers <joseph@codesourcery.com>
22906
2a77a467
JM
22907 [BZ #6787]
22908 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
22909 * math/w_exp10f.c (__exp10f): Likewise.
22910 * math/w_exp10l.c (__exp10l): Likewise.
22911 * math/libm-test.inc (exp10_test_data): Add more tests and expect
22912 errno settings in existing tests.
22913
ea3bc4e8
JM
22914 [BZ #14032]
22915 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
22916 precision control set to double precision.
22917 * sysdeps/i386/fpu/w_sqrt.c: New file.
22918 * math/auto-libm-test-in: Add more tests.
22919 * math/auto-libm-test-out: Update.
22920
0712c9d8
JM
22921 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
22922 (sqrt_test_tonearest): New function.
22923 (sqrt_towardzero_test_data): New variable.
22924 (sqrt_test_towardzero): New function.
22925 (sqrt_downward_test_data): New variable.
22926 (sqrt_test_downward): New function.
22927 (sqrt_upward_test_data): New variable.
22928 (sqrt_test_upward): New function.
22929 (main): Call the new functions.
22930
ffb536d0
JM
22931 * math/gen-auto-libm-tests.c: New file.
22932 * math/auto-libm-test-in: Likewise.
22933 * math/auto-libm-test-out: New generated file.
22934 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
22935 variables.
22936 (%beautify): Add generated representations of zero.
22937 (top level): Set $auto_input and call parse_auto_input.
22938 (beautify): Remove trailing "f" from hex float constants.
22939 (parse_args): Handle XFAIL_TEST.
22940 (convert_condition): New function.
22941 (or_value): Likewise.
22942 (or_cond_value): Likewise.
22943 (generate_testfile): Handle AUTO_TESTS_* lines.
22944 (parse_auto_input): New function.
22945 * math/libm-test.inc (XFAIL_TEST): New macro.
22946 (ERRNO_UNCHANGED): Update value.
22947 (ERRNO_EDOM): Likewise.
22948 (ERRNO_ERANGE): Likewise.
22949 (IGNORE_RESULT): Likewise.
22950 (TEST_COND_flt_32): New macro.
22951 (TEST_COND_dbl_64): Likewise.
22952 (TEST_COND_ldbl_96_intel): Likewise.
22953 (TEST_COND_ldbl_96_m68k): Likewise.
22954 (TEST_COND_ldbl_128): Likewise.
22955 (TEST_COND_ldbl_128ibm): Likewise.
22956 (TEST_COND_long32): Likewise.
22957 (TEST_COND_long64): Likewise.
22958 (TEST_COND_before_rounding): Likewise.
22959 (TEST_COND_after_rounding): Likewise.
22960 (enable_test): Handle XFAIL_TEST flag.
22961 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
22962 with finite results.
22963 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
22964 auto-libm-test-out.
22965
acd98a8e
AK
229662013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
22967 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22968
22969 [BZ #16214]
22970 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
22971 __tls_get_addr_internal instead of __tls_get_offset in order to
22972 avoid GOT pointer dependency. Make rtld export
22973 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
22974 __tls_get_addr since we are a __tls_get_offset platform.
22975 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
22976 GOT pointer being set up before.
22977 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
22978
3c1c46a6
JM
229792013-11-28 Joseph Myers <joseph@codesourcery.com>
22980
7475aef5
JM
22981 * manual/math.texi (Errors in Math Functions): Document accuracy
22982 goals.
22983
8bca7cd8
JM
22984 [BZ #15004]
22985 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
22986 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
22987 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22988 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22989 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22990 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22991 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22992 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22993 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22994 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22995 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22996 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22997 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22998 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22999 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
23000 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
23001
91a1f3fe
JM
23002 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
23003 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
23004 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
23005 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
23006 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
23007 Likewise.
23008 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
23009 Likewise.
23010 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
23011 Likewise.
23012 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
23013 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
23014 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
23015 atomic-feupdateenv and flt-rounds.
23016 * sysdeps/powerpc/nofpu/Versions (libc): Add
23017 __atomic_feholdexcept, __atomic_feclearexcept,
23018 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
23019 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
23020 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
23021 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
23022 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
23023 here.
23024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
23025 Update.
23026
c5df7609
JM
23027 * manual/arith.texi (FP Exceptions): Document that exceptions may
23028 not be raised when matherr is used.
23029 (Math Error Reporting): Document overflow in directed rounding
23030 modes. Document that errno may not be set when finite values are
23031 returned on overflow. Document intent to set errno on underflow
23032 only for underflow to zero.
23033
3c1c46a6
JM
23034 [BZ #16271]
23035 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
23036 round-to-nearest then adjust result for other rounding modes.
23037 * include/fenv.h (fegetround): Use libm_hidden_proto.
23038 * math/fegetround.c (fegetround): Use libm_hidden_def.
23039 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
23040 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
23041 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23042 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
23043 Likewise.
23044 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
23045 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
23046 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
23047 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
23048
5a4c6d53
SP
230492013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23050
23051 [BZ #16077]
23052 * nss/Versions (libnss_files): Add
23053 _nss_files_gethostbyname3_r.
23054 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
23055 New function.
23056 (HOST_DB_LOOKUP): Remove macro.
23057 (_nss_files_gethostbyname_r): Implement function without the
23058 HOST_DB_LOOKUP macro.
23059 (_nss_files_gethostbyname2_r): Likewise.
23060
897b98ba
OB
230612013-11-28 Ondřej Bílka <neleai@seznam.cz>
23062
23063 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
23064
6f476861
UB
230652013-11-26 Uros Bizjak <ubizjak@gmail.com>
23066
23067 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
23068 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
23069 warning.
23070
bd12ab55
AZ
230712013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23072
23073 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
23074 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
23075 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
23076 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
23077 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
23078 __fe_nomask_env_priv and attribute_hidden.
23079 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
23080 (libc_feupdateenv_test_ppc): Likewise.
23081 (libc_feresetround_ppc): Likewise.
23082 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23083 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
23084 compat_symbol macro.
23085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23086 (__fe_nomask_env): Likewise.
23087 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
23088
52bb6543
OB
230892013-11-26 Ondřej Bílka <neleai@seznam.cz>
23090
23091 * string/Makefile: Remove ifunc tests.
23092 * string/test-string.h: Define TEST_IFUNC.
23093 * string/test-bcopy-ifunc.c: Remove.
23094 * string/test-bzero-ifunc.c: Likewise.
23095 * string/test-memccpy-ifunc.c: Likewise.
23096 * string/test-memchr-ifunc.c: Likewise.
23097 * string/test-memcmp-ifunc.c: Likewise.
23098 * string/test-memcpy-ifunc.c: Likewise.
23099 * string/test-memmem-ifunc.c: Likewise.
23100 * string/test-memmove-ifunc.c: Likewise.
23101 * string/test-mempcpy-ifunc.c: Likewise.
23102 * string/test-memrchr-ifunc.c: Likewise.
23103 * string/test-memset-ifunc.c: Likewise.
23104 * string/test-rawmemchr-ifunc.c: Likewise.
23105 * string/test-stpcpy-ifunc.c: Likewise.
23106 * string/test-stpncpy-ifunc.c: Likewise.
23107 * string/test-strcasecmp-ifunc.c: Likewise.
23108 * string/test-strcasestr-ifunc.c: Likewise.
23109 * string/test-strcat-ifunc.c: Likewise.
23110 * string/test-strchr-ifunc.c: Likewise.
23111 * string/test-strchrnul-ifunc.c: Likewise.
23112 * string/test-strcmp-ifunc.c: Likewise.
23113 * string/test-strcpy-ifunc.c: Likewise.
23114 * string/test-strcspn-ifunc.c: Likewise.
23115 * string/test-strlen-ifunc.c: Likewise.
23116 * string/test-strncasecmp-ifunc.c: Likewise.
23117 * string/test-strncat-ifunc.c: Likewise.
23118 * string/test-strncmp-ifunc.c: Likewise.
23119 * string/test-strncpy-ifunc.c: Likewise.
23120 * string/test-strnlen-ifunc.c: Likewise.
23121 * string/test-strpbrk-ifunc.c: Likewise.
23122 * string/test-strrchr-ifunc.c: Likewise.
23123 * string/test-strspn-ifunc.c: Likewise.
23124 * string/test-strstr-ifunc.c: Likewise.
23125
ab260039 231262013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
23127
23128 * benchtests/Makefile: Remove ifunc tests.
23129 * benchtests/bench-string.h: Define TEST_IFUNC.
23130 * benchtests/bench-bcopy-ifunc.c: Remove.
23131 * benchtests/bench-bzero-ifunc.c: Likewise.
23132 * benchtests/bench-memccpy-ifunc.c: Likewise.
23133 * benchtests/bench-memchr-ifunc.c: Likewise.
23134 * benchtests/bench-memcmp-ifunc.c: Likewise.
23135 * benchtests/bench-memcpy-ifunc.c: Likewise.
23136 * benchtests/bench-memmem-ifunc.c: Likewise.
23137 * benchtests/bench-memmove-ifunc.c: Likewise.
23138 * benchtests/bench-mempcpy-ifunc.c: Likewise.
23139 * benchtests/bench-memrchr-ifunc.c: Likewise.
23140 * benchtests/bench-memset-ifunc.c: Likewise.
23141 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
23142 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
23143 * benchtests/bench-stpcpy-ifunc.c: Likewise.
23144 * benchtests/bench-stpncpy-ifunc.c: Likewise.
23145 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
23146 * benchtests/bench-strcasestr-ifunc.c: Likewise.
23147 * benchtests/bench-strcat-ifunc.c: Likewise.
23148 * benchtests/bench-strchr-ifunc.c: Likewise.
23149 * benchtests/bench-strchrnul-ifunc.c: Likewise.
23150 * benchtests/bench-strcmp-ifunc.c: Likewise.
23151 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
23152 * benchtests/bench-strcpy-ifunc.c: Likewise.
23153 * benchtests/bench-strcspn-ifunc.c: Likewise.
23154 * benchtests/bench-strlen-ifunc.c: Likewise.
23155 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
23156 * benchtests/bench-strncat-ifunc.c: Likewise.
23157 * benchtests/bench-strncmp-ifunc.c: Likewise.
23158 * benchtests/bench-strncpy-ifunc.c: Likewise.
23159 * benchtests/bench-strnlen-ifunc.c: Likewise.
23160 * benchtests/bench-strpbrk-ifunc.c: Likewise.
23161 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 23162 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
23163 * benchtests/bench-strspn-ifunc.c: Likewise.
23164 * benchtests/bench-strstr-ifunc.c: Likewise.
23165
231662013-11-26 Ondřej Bílka <neleai@seznam.cz>
23167
ab260039
OB
23168 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
23169
d1d9eaf4 231702013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 23171
d1d9eaf4
OB
23172 * resolv/netdb.h: Use __glibc_reserved instead __unused.
23173 * rt/aio.h: Likewise.
23174 * sysdeps/gnu/bits/utmp.h: Likewise.
23175 * sysdeps/gnu/bits/utmpx.h: Likewise.
23176 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
23177 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
23178 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
23179 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
23180 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
23181 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
23182 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
23183 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
23184 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
23185 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
23186 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
23187 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
23188 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
23189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
23190 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
23191 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
23192 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
23193 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
23194 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
23195 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
23196 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
23197 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
23198 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
23199 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
23200 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
23201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
23202 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
23203 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
23204 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
23205 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
23206 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
23207 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
23208 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
23209 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
23210 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
23211 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
23212 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
23213 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
23214 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
23215 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
23216 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
23217 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
23218
a7624ed9
CD
232192013-11-25 Carlos O'Donell <carlos@redhat.com>
23220
23221 [BZ #16245]
23222 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
23223 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
23224
63cfe52b
JM
232252013-11-25 Joseph Myers <joseph@codesourcery.com>
23226
23227 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
23228 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
23229 Likewise.
23230
41e8926a
AZ
232312013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23232
23233 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
23234 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
23235 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
23236 (__fesetround): Remove define.
23237 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
23238 rounding and exceptions handling.
23239 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
23240 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
23241 (__fe_nomask_env): Likewise.
23242 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
23243 __fegetround instead of fegetround.
23244 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
23245 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
23246
6851bd4d
RM
232472013-11-21 Roland McGrath <roland@hack.frob.com>
23248
070906ff
RM
23249 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
23250 it's there.
23251
6851bd4d
RM
23252 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
23253
84ae135d
MI
232542013-11-21 Meador Inge <meadori@codesourcery.com>
23255
23256 [BZ #11157]
23257 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
23258 (encrypt_r): Likewise.
23259 * malloc/obstack.h (obstack_free): Likewise.
23260 * posix/unistd.h (encrypt): Likewise.
23261
daf75146
GM
232622013-11-21 Guy Martin <gmsoft@tuxicoman.be>
23263
23264 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
23265 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
23266 DL_CALL_DT_FINI() that call the functions directly.
23267 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
23268 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
23269 * elf/dl-fini.c: Likewise.
23270
10ad46bc
OB
232712013-11-20 Ondřej Bílka <neleai@seznam.cz>
23272
23273 * malloc/hooks.c (memalign_check): Add alignment rounding.
23274 * malloc/malloc.c (_mid_memalign): New function.
23275 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
23276 Implement by calling _mid_memalign.
23277 * manual/probes.texi (Memory Allocation Probes): Remove
23278 memory_valloc_retry and memory_pvalloc_retry.
23279
f3fd2628
SP
232802013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
23281
4712799f
SP
23282 * locale/programs/locarchive.c (open_archive): Add const
23283 qualifier to ARCHIVEFNAME and copy default fname to
23284 DEFAULT_FNAME.
23285
0417b20f
SP
23286 [BZ #15601]
23287 * libio/tst-widetext.input: Rename Oriya to Odia.
23288 * locale/iso-639.def: Likewise.
23289
f3fd2628
SP
23290 * manual/probes.texi (Mathematical Function Probes): Add
23291 documentation for sin, cos, asin and acos probes.
23292 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
23293 (__sin32): Add slowasin probe.
23294 (__cos32): Add slowacos probe.
23295 (__mpsin): Add slowsin probe.
23296 (__mpcos): Add slowcos probe.
23297
73c1ce4f
JM
232982013-11-19 Joseph Myers <joseph@codesourcery.com>
23299
23300 [BZ #15483]
23301 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
23302 thread-local __sim_exceptions_thread and global
23303 __sim_exceptions_global.
23304 (__sim_disabled_exceptions): Change to thread-local
23305 __sim_disabled_exceptions_thread and global
23306 __sim_disabled_exceptions_global.
23307 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23308 and global __sim_round_mode_global.
23309 (__simulate_exceptions): Use thread-local floating-point state and
23310 set global state from it as needed.
23311 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
23312 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
23313 __sim_round_mode_thread.
23314 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
23315 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
23316 and global __sim_exceptions_global.
23317 (__sim_disabled_exceptions): Change to thread-local
23318 __sim_disabled_exceptions_thread and global
23319 __sim_disabled_exceptions_global.
23320 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
23321 and global __sim_round_mode_global.
23322 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
23323 (SIM_SET_GLOBAL): Likewise.
23324 * sysdeps/powerpc/soft-fp/sfp-machine.h
23325 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
23326 __sim_round_mode_thread.
23327 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
23328 __sim_disabled_exceptions_thread.
23329 (__sim_exceptions): Change to __sim_exceptions_thread.
23330 (__sim_disabled_exceptions): Change to
23331 __sim_disabled_exceptions_thread.
23332 (__sim_round_mode): Change to __sim_round_mode_thread.
23333 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
23334 thread-local floating-point state and set global state from it as
23335 needed.
23336 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
23337 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
23338 (__sim_disabled_exceptions): Remove extern declaration.
23339 (feenableexcept): Use thread-local floating-point state and set
23340 global state from it as needed.
23341 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
23342 extern declaration.
23343 (__sim_disabled_exceptions): Likewise.
23344 (__sim_round_mode): Likewise.
23345 (__fegetenv): Use thread-local floating-point state.
23346 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
23347 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
23348 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
23349 floating-point state and set global state from it as needed.
23350 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
23351 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
23352 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
23353 Likewise.
23354 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
23355 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
23356 Likewise.
23357 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
23358 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
23359 Use __sim_round_mode_thread.
23360 * math/test-fenv-tls.c: New file.
23361 * math/Makefile (tests): Add test-fenv-tls.
23362 ($(objpfx)test-fenv-tls): Depend on
23363 $(common-objpfx)nptl/libpthread.so.
23364
b5449b12
AS
233652013-11-19 Andreas Schwab <schwab@suse.de>
23366
23367 * locale/programs/locale.c (show_info): Decode wordarray elements.
23368 * locale/categories.def (LC_MONETARY): Add element for
23369 _NL_MONETARY_CRNCYSTR.
23370 * locale/C-monetary.c (conversion_rate): New variable.
23371 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
23372 element.
23373
e186536b
CM
233742013-11-18 Chris Metcalf <cmetcalf@tilera.com>
23375
23376 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
23377 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
23378
5c349950
PP
233792013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
23380
23381 * elf/Makefile (tst-auxv): New test.
23382 * elf/tst-auxv.c: New
23383 * elf/rtld.c (dl_main): Adjust AT_EXECFN
23384
699df45b
JM
233852013-11-18 Joseph Myers <joseph@codesourcery.com>
23386
23387 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
23388 (hidden_proto): Caller changed.
23389 (hidden_tls_proto): New macro.
23390 (libc_hidden_tls_proto): Likewise.
23391 (rtld_hidden_tls_proto): Likewise.
23392 (libm_hidden_tls_proto): Likewise.
23393 (libresolv_hidden_tls_proto): Likewise.
23394 (librt_hidden_tls_proto): Likewise.
23395 (libdl_hidden_tls_proto): Likewise.
23396 (libnss_files_hidden_tls_proto): Likewise.
23397 (libnsl_hidden_tls_proto): Likewise.
23398 (libnss_nisplus_hidden_tls_proto): Likewise.
23399 (libutil_hidden_tls_proto): Likewise.
23400
b7589107
OB
234012013-11-18 Ondřej Bílka <neleai@seznam.cz>
23402
23403 [BZ #10253]
23404 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
23405 (decompose_rpath): Defer expansion to fillin_rpath.
23406 (_dl_init_paths): Pass linkmap to fillin_rpath.
23407
250c23bd
RS
234082013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23409
23410 * benchtests/Makefile: Add strsep.
23411 * benchtests/bench-strsep.c: New file: strsep benchtest.
23412 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
23413
a7931fcf
AS
234142013-11-18 Andreas Schwab <schwab@suse.de>
23415
23416 * locale/programs/locale.c (show_info) [case byte]: Check for
23417 '\377' instead of '\177'.
23418 * locale/C-monetary.c (not_available): Always use "\377".
23419 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
23420 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
23421 detect unavailable sign_posn locale elements.
23422 * locale/localeconv.c (__localeconv): For grouping and
23423 mon_grouping handle "\177" and "\377" like no grouping.
23424 (INT_ELEM): New macro. Use it to set all numeric members.
23425 * locale/programs/ld-monetary.c (monetary_read)
23426 <tok_mon_grouping>: Normalize single -1 to the empty string.
23427 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
23428 Likewise.
23429
728dab0e
OB
234302013-11-07 Ondřej Bílka <neleai@seznam.cz>
23431
23432 [BZ #16055]
23433 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
23434 when we match (nil).
23435 * stdio-common/tst-sscanf.c (struct test): Add testcase.
23436
66294491
JM
234372013-11-16 Joseph Myers <joseph@codesourcery.com>
23438
ce665817
JM
23439 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
23440 (NO_TEST_INLINE): Update value.
23441 (ERRNO_UNCHANGED): Likewise.
23442 (ERRNO_EDOM): Likewise.
23443 (ERRNO_ERANGE): Likewise.
23444 (IGNORE_RESULT): Likewise.
23445 (check_float_internal): Check signs of NaN results if
23446 TEST_NAN_SIGN used.
23447 (check_complex): Pass TEST_NAN_SIGN flag through to second
23448 check_float_internal call.
23449 (copysign_test_data): Add tests with quiet NaNs as second
23450 argument. Use TEST_NAN_SIGN.
23451 (fabs_test_data): Add test of negative quiet NaN argument. Use
23452 TEST_NAN_SIGN.
23453 (signbit_test_data): Add tests of quiet NaN argument.
23454 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
23455
ee1466a9
JM
23456 * math/gen-libm-test.pl (show_exceptions): Take extra argument
23457 $ignore_result.
23458 (parse_args): Handle function results specified as IGNORE.
23459 * math/libm-test.inc (IGNORE_RESULT): New macro.
23460 (check_float_internal): Do not check numerical result if flag
23461 IGNORE_RESULT set.
23462 (check_complex): Pass through IGNORE_RESULT to second
23463 check_float_internal call.
23464 (check_int): Do not check numerical result if flag IGNORE_RESULT
23465 set.
23466 (check_long): Likewise.
23467 (check_bool): Likewise.
23468 (check_longlong): Likewise.
23469 (lrint_test_data): Add tests of infinite and NaN arguments.
23470 (lrint_tonearest_test_data): Likewise.
23471 (lrint_towardzero_test_data): Likewise.
23472 (lrint_downward_test_data): Likewise.
23473 (lrint_upward_test_data): Likewise.
23474 (llrint_test_data): Likewise.
23475 (llrint_tonearest_test_data): Likewise.
23476 (llrint_towardzero_test_data): Likewise.
23477 (llrint_downward_test_data): Likewise.
23478 (llrint_upward_test_data): Likewise.
23479 (lround_test_data): Likewise.
23480 (llround_test_data): Likewise.
23481
14407b7e
JM
23482 * math/libm-test.inc (NO_TEST_INLINE): New macro.
23483 (ERRNO_UNCHANGED): Update value.
23484 (ERRNO_EDOM): Likewise.
23485 (ERRNO_ERANGE): Likewise.
23486 (NO_TEST_INLINE_FLOAT): New macro.
23487 (NO_TEST_INLINE_DOUBLE): Likewise.
23488 (enable_test): New function.
23489 (RUN_TEST_f_f): Check enable_test before running test.
23490 (RUN_TEST_2_f): Likewise.
23491 (RUN_TEST_fff_f): Likewise.
23492 (RUN_TEST_c_f): Likewise.
23493 (RUN_TEST_f_f1): Likewise.
23494 (RUN_TEST_fF_f1): Likewise.
23495 (RUN_TEST_fI_f1): Likewise.
23496 (RUN_TEST_ffI_f1): Likewise.
23497 (RUN_TEST_c_c): Likewise.
23498 (RUN_TEST_cc_c): Likewise.
23499 (RUN_TEST_f_i): Likewise.
23500 (RUN_TEST_f_i_tg): Likewise.
23501 (RUN_TEST_ff_i_tg): Likewise.
23502 (RUN_TEST_f_b): Likewise.
23503 (RUN_TEST_f_b_tg): Likewise.
23504 (RUN_TEST_f_l): Likewise.
23505 (RUN_TEST_f_L): Likewise.
23506 (RUN_TEST_fFF_11): Likewise.
23507 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
23508 conditionals.
23509 (cosh_test_data): Likewise.
23510 (exp_test_data): Likewise.
23511 (expm1_test_data): Likewise.
23512 (hypot_test_data): Likewise.
23513 (pow_test_data): Likewise.
23514 (sinh_test_data): Likewise.
23515 (tanh_test_data): Likewise.
23516 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
23517 flags argument.
23518
ca07f197
JM
23519 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
23520 tests with quiet NaN input and output.
23521 (acosh_test_data): Likewise.
23522 (asin_test_data): Likewise.
23523 (asinh_test_data): Likewise.
23524 (atan_test_data): Likewise.
23525 (atanh_test_data): Likewise.
23526 (atan2_test_data): Likewise.
23527 (cbrt_test_data): Likewise.
23528 (cos_test_data): Likewise.
23529 (cosh_test_data): Likewise.
23530 (erf_test_data): Likewise.
23531 (erfc_test_data): Likewise.
23532 (exp_test_data): Likewise.
23533 (exp10_test_data): Likewise.
23534 (exp2_test_data): Likewise.
23535 (expm1_test_data): Likewise.
23536 (hypot_test_data): Likewise.
23537 (j0_test_data): Likewise.
23538 (j1_test_data): Likewise.
23539 (jn_test_data): Likewise.
23540 (lgamma_test_data): Likewise.
23541 (log_test_data): Likewise.
23542 (log10_test_data): Likewise.
23543 (log1p_test_data): Likewise.
23544 (log2_test_data): Likewise.
23545 (pow_test_data): Likewise.
23546 (scalb_test_data): Likewise.
23547 (sin_test_data): Likewise.
23548 (sincos_test_data): Likewise.
23549 (sinh_test_data): Likewise.
23550 (tan_test_data): Likewise.
23551 (tanh_test_data): Likewise.
23552 (tgamma_test_data): Likewise.
23553 (y0_test_data): Likewise.
23554 (y1_test_data): Likewise.
23555 (yn_test_data): Likewise.
23556
66294491
JM
23557 [BZ #16167]
23558 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
23559 argument being NaN and avoid computations with second argument in
23560 that case.
23561 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
23562 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
23563 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
23564
1820b143
CL
235652013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
23566
23567 * locale/iso-639.def: Add Chitwani Tharu (the).
23568
714bd261
AS
235692013-11-14 Andreas Schwab <schwab@suse.de>
23570
23571 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
23572 word instead of empty string.
23573
7ab44563
AZ
235742013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23575
23576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23577 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
23578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23579 (__fe_nomask_env): Likewise.
23580
e8470ea2
SE
235812013-11-13 Steve Ellcey <sellcey@mips.com>
23582
23583 * benchtests/bench-timing.h: Include time.h.
23584
17c1d9f0
L
235852013-11-13 H.J. Lu <hongjiu.lu@intel.com>
23586
23587 [BZ #15997]
23588 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
23589 to 3.4.0 for x32.
23590 * sysdeps/unix/sysv/linux/configure: Regenerated.
23591
9310c284
JM
235922013-11-13 Joseph Myers <joseph@codesourcery.com>
23593
23594 [BZ #16151]
23595 * stdlib/strtod_l.c (round_and_return): Do not consider
23596 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
23597 exponent one less than half the least subnormal exponent.
23598 * stdlib/test-strtod-round-data: Add more tests.
23599 * stdlib/tst-strtod-round.c (tests): Regenerated.
23600
7a2ad8cf
AZ
236012013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23602
23603 [BZ #14143]
23604 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
23605 (__fe_mask_env): Likewise.
23606 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
23607 libm_hidden_proto and add function prototype.
23608 (__fe_mask_env): Add function prototype.
23609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
23610 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
23611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
23612 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
23613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
23614 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
23615
50727aa7
MS
236162013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23617
b2f386c1 23618 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
23619 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
23620
a615be46
MS
236212013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
23622
23623 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
23624 of htab_find_slot().
23625
7ddace62
DM
236262013-11-11 David S. Miller <davem@davemloft.net>
23627
23628 [BZ #16150]
23629 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
23630 symbol in the non-vis3 case in static builds.
23631 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
23632 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
23633 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
23634 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
23635
9182aa67
JK
236362013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
23637
23638 [BZ #387]
23639 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
23640 it is empty.
23641
450a2e2d
AZ
236422013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23643
b2f386c1
SP
23644 * benchtests/Makefile: Add bench-strtod.
23645 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 23646
8ec3f656
AS
236472013-11-11 Andreas Schwab <schwab@suse.de>
23648
23649 [BZ #16153]
23650 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
23651 terminating NUL in key length.
23652
76a9b998
AZ
236532013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23654
23655 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
23656 Add artificial ODP entry for vDSO symbol for PPC64.
23657 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
23658 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23659
e4368156
OB
236602013-11-07 Ondřej Bílka <neleai@seznam.cz>
23661
23662 [BZ #15374]
23663 * nss/getent.c (services_keys): Recognize services starting with digit.
23664
8d6bb57c
DM
236652013-11-06 David S. Miller <davem@davemloft.net>
23666
23667 [BZ #15985]
23668 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
23669 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
23670
e256c421
WN
236712013-11-06 Will Newton <will.newton@linaro.org>
23672
23673 * manual/memory.texi (Malloc Examples): Remove register
23674 keyword from examples.
23675
f6e12daa 236762013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 23677
f6e12daa 23678 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 23679
9d880655
AS
236802013-11-04 Joseph Myers <joseph@codesourcery.com>
23681
fd2f9486 23682 [BZ #6981]
9d880655
AS
23683 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
23684 depending on [__GCC_IEC_559 > 0].
23685 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
23686 depending on [__GCC_IEC_559_COMPLEX > 0].
23687
ae129d3c
CL
236882013-11-03 Chris Leonard <cjl@sugarlabs.org>
23689
23690 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
23691 to iso-639.def.
23692
4a15c2a4 236932013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
23694
23695 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
23696
8b35e35d
OB
236972013-11-01 Ondřej Bílka <neleai@seznam.cz>
23698
23699 [BZ #16112]
23700 * malloc/malloc (malloc_info): Do not handle first bin as
23701 special case.
23702
1d70fd6c
CL
237032013-11-01 Chris Leonard <cjl@sugarlabs.org>
23704
23705 * locale/iso-639.def: Add Central Nahuatl (nhn).
23706
8c5c2600
BH
237072013-11-01 Bruno Haible <bruno@clisp.org>
23708
23709 [BZ #7003]
23710 * manual/math.texi (BSD Random): Specify range upper bound as
23711 in POSIX.
23712
da5579c2
CL
237132013-10-31 Chris Leonard <cjl@sugarlabs.org>
23714
23715 * locale/iso-639.def: Add Meadow Mari (mhr).
23716
5d30d853
OB
237172013-10-31 Ondřej Bílka <neleai@seznam.cz>
23718
23719 [BZ #14752], [BZ #15763]
23720 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
23721 Validate name.
23722 * rt/tst_shm.c: Add test for escaping directory.
23723
a4966c61
AS
237242013-10-31 Andreas Schwab <schwab@suse.de>
23725
8a43e768 23726 [BZ #15917]
a4966c61
AS
23727 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
23728 followed by 'x' as part of digit sequence.
23729 * stdio-common/tst-sscanf.c (double_tests2): New tests.
23730
28d708c4
MAP
237312013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
23732
23733 [BZ #16037]
23734 * configure.ac: allow GNU Make 4.0 and greater.
23735 * configure: Regenerated.
23736
a56ee40b
WN
237372013-10-30 Will Newton <will.newton@linaro.org>
23738
23739 [BZ #16038]
23740 * malloc/hooks.c (memalign_check): Limit alignment to the
23741 maximum representable power of two.
23742 * malloc/malloc.c (__libc_memalign): Likewise.
23743 * malloc/tst-memalign.c (do_test): Add test for very
23744 large alignment values.
23745 * malloc/tst-posix_memalign.c (do_test): Likewise.
23746
c6e4925d
OB
237472013-10-30 Ondřej Bílka <neleai@seznam.cz>
23748
23749 [BZ #11087]
23750 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
23751 (munmap_chunk): Likewise.
23752 (mremap_chunk): Likewise.
23753
237542013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 23755
8a43e768 23756 [BZ #15799]
bbea82f7
OB
23757 * stdlib/div.c (div): Remove obsolete code.
23758 * stdlib/ldiv.c (ldiv): Likewise.
23759 * stdlib/lldiv.c (lldiv): Likewise.
23760
977f4b31
SP
237612013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
23762
23763 [BZ #16071]
23764 * nss/nss_files/files-XXX.c (get_contents_ret): New
23765 enumerator.
23766 (get_contents): New function.
23767 (internal_getent): Use it. Expand size of LINEBUFLEN.
23768
cb8a6dbd
MF
237692013-10-30 Mike Frysinger <vapier@gentoo.org>
23770
23771 * configure.in: Moved to ...
23772 * configure.ac: ... here. Change reference to configure.in
23773 to configure.ac.
23774 * sysdeps/arm/preconfigure.ac: ... here.
23775 configure.in to configure.ac.
23776 * sysdeps/gnu/configure.in: Moved to ...
23777 * sysdeps/gnu/configure.ac: ... here.
23778 * sysdeps/i386/configure.in: Moved to ...
23779 * sysdeps/i386/configure.ac: ... here.
23780 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
23781 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
23782 * sysdeps/mach/configure.in: Moved to ...
23783 * sysdeps/mach/configure.ac: ... here.
23784 * sysdeps/mach/hurd/configure.in: Moved to ...
23785 * sysdeps/mach/hurd/configure.ac: ... here.
23786 * sysdeps/powerpc/configure.in: Moved to ...
23787 * sysdeps/powerpc/configure.ac: ... here.
23788 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
23789 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
23790 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
23791 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
23792 * sysdeps/s390/s390-32/configure.in: Moved to ...
23793 * sysdeps/s390/s390-32/configure.ac: ... here.
23794 * sysdeps/s390/s390-64/configure.in: Moved to ...
23795 * sysdeps/s390/s390-64/configure.ac: ... here.
23796 * sysdeps/sh/configure.in: Moved to ...
23797 * sysdeps/sh/configure.ac: ... here.
23798 * sysdeps/sparc/configure.in: Moved to ...
23799 * sysdeps/sparc/configure.ac: ... here.
23800 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
23801 * sysdeps/unix/sysv/linux/configure.ac: ... here.
23802 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
23803 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
23804 * sysdeps/x86_64/configure.in: Moved to ...
23805 * sysdeps/x86_64/configure.ac: ... here.
23806 * sysdeps/x86_64/preconfigure.in: Moved to ...
23807 * sysdeps/x86_64/preconfigure.ac: ... here.
23808 * aclocal.m4: Change reference to configure.in to configure.ac.
23809 * config.h.in: Likewise.
23810 * manual/install.texi: Likewise.
23811 * manual/maint.texi: Likewise.
23812 * Makefile: Likewise.
23813 * malloc/Makefile: Likewise.
23814 * nscd/Makefile: Likewise.
23815 * Makeconfig: Change reference to configure.in and
23816 preconfigure.in to configure.ac and preconfigure.ac
23817 respectively.
23818 * INSTALL: Regenerated.
23819 * configure: Likewise.
23820 * sysdeps/gnu/configure: Likewise.
23821 * sysdeps/i386/configure: Likewise.
23822 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
23823 * sysdeps/mach/configure: Likewise.
23824 * sysdeps/mach/hurd/configure: Likewise.
23825 * sysdeps/powerpc/configure: Likewise.
23826 * sysdeps/powerpc/powerpc32/configure: Likewise.
23827 * sysdeps/powerpc/powerpc64/configure: Likewise.
23828 * sysdeps/s390/s390-32/configure: Likewise.
23829 * sysdeps/s390/s390-64/configure: Likewise.
23830 * sysdeps/sh/configure: Likewise.
23831 * sysdeps/sparc/configure: Likewise.
23832 * sysdeps/unix/sysv/linux/configure: Likewise.
23833 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
23834 * sysdeps/x86_64/configure: Likewise.
23835 * sysdeps/x86_64/preconfigure: Likewise.
23836
36a4953a
AS
238372013-10-29 Andreas Schwab <schwab@suse.de>
23838
23839 * stdio-common/Makefile (tst-swscanf-ENV): Define.
23840
c79a1204
SP
238412013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23842
dfa1b402
SP
23843 * benchtests/pow-inputs: Add new inputs.
23844
54f73d9c
SP
23845 * benchtests/exp-inputs: Add new inputs.
23846
c79a1204
SP
23847 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
23848 conditional check for return value.
23849 (__cos32): Likewise.
23850
67beb545 238512013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
23852
23853 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
23854 to provide a boost for large inputs with word alignment.
23855 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
23856 implementation based on optimized PPC64 strcpy.
23857 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
23858 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
23859 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
23860 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
23861
151659f6
OB
238622013-10-25 Ondřej Bílka <neleai@seznam.cz>
23863
482a077e 23864 [BZ #2801]
151659f6
OB
23865 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
23866
10b0f26b
OB
238672013-10-25 Ondřej Bílka <neleai@seznam.cz>
23868
23869 [BZ #14876]
23870 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
23871 * time/tst-strptime.c (day_tests): Add testcase.
23872
ca42d35e
OB
238732013-10-25 Ondřej Bílka <neleai@seznam.cz>
23874
482a077e 23875 [BZ #14029]
ca42d35e
OB
23876 * manual/pattern.texi: Acknowledge that fnmatch can fail.
23877
52e6d801
FB
238782013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
23879
23880 [BZ #16074]
23881 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
23882 MAP_FAILED on error.
23883
7cbcdb36
SP
238842013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23885
23886 [BZ #16072]
23887 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
23888 heap for large requests.
23889
894f3f10
AM
238902013-10-25 Aurelien Jarno <aurelien@aurel32.net>
23891
23892 [BZ #9954]
23893 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
23894 result if the result has no associated interface.
23895 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
23896 interface for all 127.X.Y.Z addresses.
23897
b85545a6
CL
238982013-10-24 Chris Leonard <cjl@sugarlabs.org>
23899
23900 * locale/iso-639.def: Add Ligurian (lij)
23901
d1f23d46
OB
239022013-10-21 Ondřej Bílka <neleai@seznam.cz>
23903
23904 [BZ #15825]
23905 * sunrpc/rpc_main.c: Document rpcgen -5.
23906
4db5b08f
MS
239072013-10-19 Michael Stahl <mstahl@redhat.com>
23908
23909 * elf/rtld.c (do_preload): Print the reason why preloading failed.
23910
a471e96a
OB
239112013-10-19 Ondřej Bílka <neleai@seznam.cz>
23912
d1f23d46 23913 [BZ #10278]
a471e96a
OB
23914 * posix/glob.c: Match only directories when trailing slash is present.
23915 * posix/tst-gnuglob.c (my_opendir): Do not open files.
23916 (main): Add testcase.
23917
45c30c61
OB
239182013-10-19 Ondřej Bílka <neleai@seznam.cz>
23919
23920 [BZ #15670]
23921 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
23922
484c12fb
CD
239232013-10-18 Carlos O'Donell <carlos@redhat.com>
23924
3d7dc513
CD
23925 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
23926 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
23927 AUTH_DES and cindex for FIPS 140-2.
23928 (DES Encryption): Add cindex FIPS 46-3.
23929
484c12fb
CD
23930 * locale/locarchive.h (struct locarhandle): Add fname.
23931 * locale/programs/localedef.c (main): Pass ARGV[remaining]
23932 if an optional argument was specified to --list-archive,
23933 otherwise NULL.
23934 * locale/programs/locarchive.c (show_archive_content): Take new
23935 argument fname and pass it via ah.fname to open_archive.
23936 * locale/programs/localedef.h: Update decl.
23937 (open_archive): If AH->fname is non-null, open that file
23938 rather than the default file name, and don't ignore ENOENT.
23939 (create_archive): Set AH.fname to NULL.
23940 (delete_locales_from_archive): Likewise.
23941 (add_locales_to_archive): Likewise.
23942 * locale/programs/locfile.c (write_all_categories): Likewise.
23943
3c8325fb
JM
239442013-10-18 Joseph Myers <joseph@codesourcery.com>
23945 Aldy Hernandez <aldyh@redhat.com>
23946
23947 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
23948 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
23949 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
23950 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
23951 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
23952 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
23953 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
23954 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
23955 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
23956 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
23957 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
23958 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
23959 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
23960 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
23961 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
23962 Likewise.
23963 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
23964 Likewise.
23965 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
23966 Likewise.
23967 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
23968 Likewise.
23969 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
23970 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
23971 Likewise.
23972 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
23973 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
23974 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
23975 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
23976 Likewise.
23977 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
23978 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
23979 * sysdeps/powerpc/preconfigure: Likewise.
23980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
23981 Likewise.
23982 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
23983 Replace contents of file by #include of <fenv_libc.h>.
23984 * sysdeps/powerpc/soft-fp/sfp-machine.h
23985 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
23986 and <sys/prctl.h>.
23987 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
23988 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
23989 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
23990 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
23991 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
23992 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
23993 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
23994 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
23995 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
23996 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
23997 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
23998 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
23999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
24000 Allow copysignl PLT reference to be missing.
24001
5abe0682
RS
240022013-10-18 Richard Sandiford <richard@codesourcery.com>
24003 Joseph Myers <joseph@codesourcery.com
24004
24005 [BZ #15948]
24006 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
24007 single character.
24008 (add_to_tablewc): Assert sequence of wide characters is nonempty.
24009
c7738d08
SP
240102013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
24011
24012 * elf/tst-tls-dlinfo.c: Don't include tls.h.
24013 * elf/tst-tls1.c: Likewise.
24014 * elf/tst-tls10.h: Likewise.
24015 * elf/tst-tls14.c: Likewise.
24016 * elf/tst-tls2.c: Likewise.
24017 * elf/tst-tls3.c: Likewise.
24018 * elf/tst-tls4.c: Likewise.
24019 * elf/tst-tls5.c: Likewise.
24020 * elf/tst-tls6.c: Likewise.
24021 * elf/tst-tls7.c: Likewise.
24022 * elf/tst-tls8.c: Likewise.
24023 * elf/tst-tls9.c: Likewise.
24024 * elf/tst-tlsmod1.c: Likewise.
24025 * elf/tst-tlsmod13.c: Likewise.
24026 * elf/tst-tlsmod13a.c: Likewise.
24027 * elf/tst-tlsmod14a.c: Likewise.
24028 * elf/tst-tlsmod16a.c: Likewise.
24029 * elf/tst-tlsmod16b.c: Likewise.
24030 * elf/tst-tlsmod2.c: Likewise.
24031 * elf/tst-tlsmod3.c: Likewise.
24032 * elf/tst-tlsmod4.c: Likewise.
24033 * elf/tst-tlsmod5.c: Likewise.
24034 * elf/tst-tlsmod6.c: Likewise.
24035
0bfcf2c7
OB
240362013-10-18 Ondřej Bílka <neleai@seznam.cz>
24037
24038 [BZ #12486]
24039 * malloc/malloc.c: remove checks for statistics.
24040
264aad1e
OB
240412013-10-17 Ondřej Bílka <neleai@seznam.cz>
24042
24043 [BZ #15277]
24044 * inet/inet_net.c (inet_network): Detect additional invalid strings.
24045 * inet/tst-network.c: Add testcase.
24046
b957ced8
AS
240472013-10-17 Andreas Schwab <schwab@suse.de>
24048
24049 [BZ #15218]
24050 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
24051 to determine canonical name.
24052
c5d5d574
OB
240532013-10-17 Ondřej Bílka <neleai@seznam.cz>
24054
24055 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
24056 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
24057 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
24058 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
24059 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
24060 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
24061 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
24062 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
24063 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
24064 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
24065 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24066 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
24067 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24068 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
24069 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
24070 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
24071 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
24072 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
24073 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
24074 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
24075 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
24076 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
24077 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24078 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
24079 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
24080 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
24081 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
24082 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
24083 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
24084 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
24085 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
24086 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
24087 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
24088 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
24089 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24090 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24091 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24092 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24093 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24094 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24095 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24096 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
24097 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
24098 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24099 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
24100 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24101 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24102 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
24103 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
24104 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24105 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
24106 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
24107 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
24108 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
24109 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24110 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
24111 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
24112 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24113
e5c2c2d0
JM
241142013-10-17 Joseph Myers <joseph@codesourcery.com>
24115
24116 [BZ #16041]
24117 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
24118 make result into a quiet NaN.
24119
51ca9e29
JM
241202013-10-16 Joseph Myers <joseph@codesourcery.com>
24121
24122 * soft-fp/adddf3.c: Fix horizontal whitespace.
24123 * soft-fp/addsf3.c: Likewise.
24124 * soft-fp/addtf3.c: Likewise.
24125 * soft-fp/divdf3.c: Likewise.
24126 * soft-fp/divsf3.c: Likewise.
24127 * soft-fp/divtf3.c: Likewise.
24128 * soft-fp/double.h: Likewise.
24129 * soft-fp/eqdf2.c: Likewise.
24130 * soft-fp/eqsf2.c: Likewise.
24131 * soft-fp/eqtf2.c: Likewise.
24132 * soft-fp/extenddftf2.c: Likewise.
24133 * soft-fp/extended.h: Likewise.
24134 * soft-fp/extendsfdf2.c: Likewise.
24135 * soft-fp/extendsftf2.c: Likewise.
24136 * soft-fp/extendxftf2.c: Likewise.
24137 * soft-fp/fixdfdi.c: Likewise.
24138 * soft-fp/fixdfsi.c: Likewise.
24139 * soft-fp/fixdfti.c: Likewise.
24140 * soft-fp/fixsfdi.c: Likewise.
24141 * soft-fp/fixsfsi.c: Likewise.
24142 * soft-fp/fixsfti.c: Likewise.
24143 * soft-fp/fixtfdi.c: Likewise.
24144 * soft-fp/fixtfsi.c: Likewise.
24145 * soft-fp/fixtfti.c: Likewise.
24146 * soft-fp/fixunsdfdi.c: Likewise.
24147 * soft-fp/fixunsdfsi.c: Likewise.
24148 * soft-fp/fixunsdfti.c: Likewise.
24149 * soft-fp/fixunssfdi.c: Likewise.
24150 * soft-fp/fixunssfsi.c: Likewise.
24151 * soft-fp/fixunssfti.c: Likewise.
24152 * soft-fp/fixunstfdi.c: Likewise.
24153 * soft-fp/fixunstfsi.c: Likewise.
24154 * soft-fp/fixunstfti.c: Likewise.
24155 * soft-fp/floatdidf.c: Likewise.
24156 * soft-fp/floatdisf.c: Likewise.
24157 * soft-fp/floatditf.c: Likewise.
24158 * soft-fp/floatsidf.c: Likewise.
24159 * soft-fp/floatsisf.c: Likewise.
24160 * soft-fp/floatsitf.c: Likewise.
24161 * soft-fp/floattidf.c: Likewise.
24162 * soft-fp/floattisf.c: Likewise.
24163 * soft-fp/floattitf.c: Likewise.
24164 * soft-fp/floatundidf.c: Likewise.
24165 * soft-fp/floatundisf.c: Likewise.
24166 * soft-fp/floatunditf.c: Likewise.
24167 * soft-fp/floatunsidf.c: Likewise.
24168 * soft-fp/floatunsisf.c: Likewise.
24169 * soft-fp/floatunsitf.c: Likewise.
24170 * soft-fp/floatuntidf.c: Likewise.
24171 * soft-fp/floatuntisf.c: Likewise.
24172 * soft-fp/floatuntitf.c: Likewise.
24173 * soft-fp/fmadf4.c: Likewise.
24174 * soft-fp/fmasf4.c: Likewise.
24175 * soft-fp/fmatf4.c: Likewise.
24176 * soft-fp/gedf2.c: Likewise.
24177 * soft-fp/gesf2.c: Likewise.
24178 * soft-fp/getf2.c: Likewise.
24179 * soft-fp/ledf2.c: Likewise.
24180 * soft-fp/lesf2.c: Likewise.
24181 * soft-fp/letf2.c: Likewise.
24182 * soft-fp/muldf3.c: Likewise.
24183 * soft-fp/mulsf3.c: Likewise.
24184 * soft-fp/multf3.c: Likewise.
24185 * soft-fp/negdf2.c: Likewise.
24186 * soft-fp/negsf2.c: Likewise.
24187 * soft-fp/negtf2.c: Likewise.
24188 * soft-fp/op-1.h: Likewise.
24189 * soft-fp/op-2.h: Likewise.
24190 * soft-fp/op-4.h: Likewise.
24191 * soft-fp/op-8.h: Likewise.
24192 * soft-fp/op-common.h: Likewise.
24193 * soft-fp/quad.h: Likewise.
24194 * soft-fp/single.h: Likewise.
24195 * soft-fp/soft-fp.h: Likewise.
24196 * soft-fp/sqrtdf2.c: Likewise.
24197 * soft-fp/sqrtsf2.c: Likewise.
24198 * soft-fp/sqrttf2.c: Likewise.
24199 * soft-fp/subdf3.c: Likewise.
24200 * soft-fp/subsf3.c: Likewise.
24201 * soft-fp/subtf3.c: Likewise.
24202 * soft-fp/truncdfsf2.c: Likewise.
24203 * soft-fp/trunctfdf2.c: Likewise.
24204 * soft-fp/trunctfsf2.c: Likewise.
24205 * soft-fp/trunctfxf2.c: Likewise.
24206 * soft-fp/unorddf2.c: Likewise.
24207 * soft-fp/unordsf2.c: Likewise.
24208 * soft-fp/unordtf2.c: Likewise.
24209
9ebb0332
JM
242102013-10-15 Joseph Myers <joseph@codesourcery.com>
24211
24212 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
24213 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
24214
4b1a6d8b
OB
242152013-10-15 Ondřej Bílka <neleai@seznam.cz>
24216
24217 * elf/dl-libc.c: Clear initfini list after freeing.
24218
1e145589
JM
242192013-10-14 Joseph Myers <joseph@codesourcery.com>
24220
24221 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
24222 * soft-fp/addsf3.c: Likewise.
24223 * soft-fp/addtf3.c: Likewise.
24224 * soft-fp/divdf3.c: Likewise.
24225 * soft-fp/divsf3.c: Likewise.
24226 * soft-fp/divtf3.c: Likewise.
24227 * soft-fp/double.h: Likewise.
24228 * soft-fp/eqdf2.c: Likewise.
24229 * soft-fp/eqsf2.c: Likewise.
24230 * soft-fp/eqtf2.c: Likewise.
24231 * soft-fp/extenddftf2.c: Likewise.
24232 * soft-fp/extended.h: Likewise.
24233 * soft-fp/extendsfdf2.c: Likewise.
24234 * soft-fp/extendsftf2.c: Likewise.
24235 * soft-fp/extendxftf2.c: Likewise.
24236 * soft-fp/fixdfdi.c: Likewise.
24237 * soft-fp/fixdfsi.c: Likewise.
24238 * soft-fp/fixdfti.c: Likewise.
24239 * soft-fp/fixsfdi.c: Likewise.
24240 * soft-fp/fixsfsi.c: Likewise.
24241 * soft-fp/fixsfti.c: Likewise.
24242 * soft-fp/fixtfdi.c: Likewise.
24243 * soft-fp/fixtfsi.c: Likewise.
24244 * soft-fp/fixtfti.c: Likewise.
24245 * soft-fp/fixunsdfdi.c: Likewise.
24246 * soft-fp/fixunsdfsi.c: Likewise.
24247 * soft-fp/fixunsdfti.c: Likewise.
24248 * soft-fp/fixunssfdi.c: Likewise.
24249 * soft-fp/fixunssfsi.c: Likewise.
24250 * soft-fp/fixunssfti.c: Likewise.
24251 * soft-fp/fixunstfdi.c: Likewise.
24252 * soft-fp/fixunstfsi.c: Likewise.
24253 * soft-fp/fixunstfti.c: Likewise.
24254 * soft-fp/floatdidf.c: Likewise.
24255 * soft-fp/floatdisf.c: Likewise.
24256 * soft-fp/floatditf.c: Likewise.
24257 * soft-fp/floatsidf.c: Likewise.
24258 * soft-fp/floatsisf.c: Likewise.
24259 * soft-fp/floatsitf.c: Likewise.
24260 * soft-fp/floattidf.c: Likewise.
24261 * soft-fp/floattisf.c: Likewise.
24262 * soft-fp/floattitf.c: Likewise.
24263 * soft-fp/floatundidf.c: Likewise.
24264 * soft-fp/floatundisf.c: Likewise.
24265 * soft-fp/floatunsidf.c: Likewise.
24266 * soft-fp/floatunsisf.c: Likewise.
24267 * soft-fp/floatuntidf.c: Likewise.
24268 * soft-fp/floatuntisf.c: Likewise.
24269 * soft-fp/floatuntitf.c: Likewise.
24270 * soft-fp/fmadf4.c: Likewise.
24271 * soft-fp/fmasf4.c: Likewise.
24272 * soft-fp/fmatf4.c: Likewise.
24273 * soft-fp/gedf2.c: Likewise.
24274 * soft-fp/gesf2.c: Likewise.
24275 * soft-fp/getf2.c: Likewise.
24276 * soft-fp/ledf2.c: Likewise.
24277 * soft-fp/lesf2.c: Likewise.
24278 * soft-fp/letf2.c: Likewise.
24279 * soft-fp/muldf3.c: Likewise.
24280 * soft-fp/mulsf3.c: Likewise.
24281 * soft-fp/multf3.c: Likewise.
24282 * soft-fp/negdf2.c: Likewise.
24283 * soft-fp/negsf2.c: Likewise.
24284 * soft-fp/negtf2.c: Likewise.
24285 * soft-fp/op-1.h: Likewise.
24286 * soft-fp/op-2.h: Likewise.
24287 * soft-fp/op-4.h: Likewise.
24288 * soft-fp/op-8.h: Likewise.
24289 * soft-fp/op-common.h: Likewise.
24290 * soft-fp/quad.h: Likewise.
24291 * soft-fp/single.h: Likewise.
24292 * soft-fp/soft-fp.h: Likewise.
24293 * soft-fp/sqrtdf2.c: Likewise.
24294 * soft-fp/sqrtsf2.c: Likewise.
24295 * soft-fp/sqrttf2.c: Likewise.
24296 * soft-fp/subdf3.c: Likewise.
24297 * soft-fp/subsf3.c: Likewise.
24298 * soft-fp/subtf3.c: Likewise.
24299 * soft-fp/truncdfsf2.c: Likewise.
24300 * soft-fp/trunctfdf2.c: Likewise.
24301 * soft-fp/trunctfsf2.c: Likewise.
24302 * soft-fp/trunctfxf2.c: Likewise.
24303 * soft-fp/unorddf2.c: Likewise.
24304 * soft-fp/unordsf2.c: Likewise.
24305 * soft-fp/unordtf2.c: Likewise.
24306
17c48a60
OB
243072013-10-14 Ondřej Bílka <neleai@seznam.cz>
24308
24309 [BZ #15672]
24310 * misc/error.c (error_tail): Fix possible buffer overflow.
24311
cabba934
OB
243122013-10-14 Aurelien Jarno <aurelien@aurel32.net>
24313
24314 [BZ #13028]
24315 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
24316 address.
24317
94bf958a
PM
243182013-10-14 P. J. McDermott <pj@pehjota.net>
24319
24320 [BZ #832]
24321 * elf/ldd.bash.in (try_trace): New function. Delete previous code
24322 testing pipefail option.
24323
71b4dea7
JM
243242013-10-12 Joseph Myers <joseph@codesourcery.com>
24325
24326 * soft-fp/double.h: Indent preprocessor directives inside #if.
24327 * soft-fp/extended.h: Likewise.
24328 * soft-fp/op-2.h: Likewise.
24329 * soft-fp/op-4.h: Likewise.
24330 * soft-fp/op-common.h: Likewise.
24331 * soft-fp/quad.h: Likewise.
24332 * soft-fp/single.h: Likewise.
24333 * soft-fp/soft-fp.h: Likewise.
24334
55602758
YC
243352013-10-12 Yuri Chornoivan <yurchor@ukr.net>
24336
24337 * iconv/iconv_prog.c: Fix typos.
24338 * stdio-common/psiginfo-data.h: Likewise.
24339
9cd83302
RT
243402013-10-12 Reuben Thomas <rrt@sc3d.org>
24341
24342 [BZ #15764]
24343 * locale/setlocale.c: Fix typo.
24344
99fd9f47
JM
243452013-10-12 Joseph Myers <joseph@codesourcery.com>
24346
b7ea74f0
JM
24347 [BZ #16036]
24348 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
24349 signaling NaN arguments.
24350 * soft-fp/unordsf2.c (__unordsf2): Likewise.
24351 * soft-fp/unordtf2.c (__unordtf2): Likewise.
24352
8a509447
JM
24353 [BZ #14910]
24354 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
24355 unordered operands.
24356 * soft-fp/gesf2.c (__gesf2): Likewise.
24357 * soft-fp/getf2.c (__getf2): Likewise.
24358 * soft-fp/ledf2.c (__ledf2): Likewise.
24359 * soft-fp/lesf2.c (__lesf2): Likewise.
24360 * soft-fp/letf2.c (__letf2): Likewise.
24361
98998e9f
JM
24362 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
24363 * soft-fp/eqsf2.c (__eqsf2): Likewise.
24364 * soft-fp/eqtf2.c (__eqtf2): Likewise.
24365 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
24366 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
24367 * soft-fp/fixdfti.c (__fixdfti): Likewise.
24368 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
24369 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
24370 * soft-fp/fixsfti.c (__fixsfti): Likewise.
24371 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
24372 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
24373 * soft-fp/fixtfti.c (__fixtfti): Likewise.
24374 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
24375 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
24376 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
24377 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
24378 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
24379 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
24380 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
24381 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
24382 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
24383 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
24384 * soft-fp/floatdisf.c (__floatdisf): Likewise.
24385 * soft-fp/floatsisf.c (__floatsisf): Likewise.
24386 * soft-fp/floattidf.c (__floattidf): Likewise.
24387 * soft-fp/floattisf.c (__floattisf): Likewise.
24388 * soft-fp/floattitf.c (__floattitf): Likewise.
24389 * soft-fp/floatundidf.c (__floatundidf): Likewise.
24390 * soft-fp/floatundisf.c (__floatundisf): Likewise.
24391 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
24392 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
24393 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
24394 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
24395 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
24396 * soft-fp/gesf2.c (__gesf2): Likewise.
24397 * soft-fp/getf2.c (__getf2): Likewise.
24398 * soft-fp/ledf2.c (__ledf2): Likewise.
24399 * soft-fp/lesf2.c (__lesf2): Likewise.
24400 * soft-fp/letf2.c (__letf2): Likewise.
24401
8edc4a11
JM
24402 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
24403 Undefine and redefine.
24404 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
24405 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
24406 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
24407 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
24408 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24409 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
24410 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24411 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
24412 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24413 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
24414 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24415 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
24416 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24417 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
24418 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
24419
8399acaf
JM
24420 [BZ #16032]
24421 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
24422 without decrementing exponent if mantissa >= that for the
24423 denominator, not >.
24424 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
24425 denominator, not >. Decrement exponent in < case instead of
24426 incrementing in >= case.
24427 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
24428 without decrementing exponent if mantissa >= that for the
24429 denominator, not >.
24430
99fd9f47
JM
24431 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
24432 computing saturated result for unsigned overflow.
24433
10e1cf6b
SP
244342013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
24435 Jeff Law <law@redhat.com>
24436
24437 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
24438 (atan2Mp): Add systemtap probe marker.
24439 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
24440 (__ieee754_log): Add systemtap probe marker.
24441 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
24442 (atanMp): Add systemtap probe marker.
24443 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
24444 (tanMp): Add systemtap probe marker.
24445 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
24446 (__slowexp): Add systemtap probe marker.
24447 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
24448 (__slowpow): Add systemtap probe marker.
24449 * manual/probes.texi: Document probes.
24450
3d110c7c
EB
244512013-10-11 Eric Biggers <ebiggers3@gmail.com>
24452
24453 [BZ #15362]
24454 * libio/fileops.c (_IO_new_file_write): Return count of bytes
24455 written.
24456 (_IO_new_file_xsputn): Don't return EOF if nothing has been
24457 written.
24458 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
24459 written to buffer but not flushed.
24460 * libio/iofwrite_u.c: Likewise.
24461 * libio/iopadn.c: Return bytes returned even if EOF was
24462 encountered.
24463 * libio/iowpadn.c: Likewise.
24464 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
24465 if _IO_padn does not write the whole buffer.
24466 [!COMPILE_WPRINTF] (PAD): Likewise.
24467
75b4202a
DM
244682013-10-10 David S. Miller <davem@davemloft.net>
24469
24470 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
24471 directory block.
24472
6c6352e6
JM
244732013-10-10 Joseph Myers <joseph@codesourcery.com>
24474
33b853c3
JM
24475 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
24476 instead of FSF address.
24477 * soft-fp/fixdfti.c: Likewise.
24478 * soft-fp/fixsfti.c: Likewise.
24479 * soft-fp/fixtfti.c: Likewise.
24480 * soft-fp/fixunsdfti.c: Likewise.
24481 * soft-fp/fixunssfti.c: Likewise.
24482 * soft-fp/fixunstfti.c: Likewise.
24483 * soft-fp/floattidf.c: Likewise.
24484 * soft-fp/floattisf.c: Likewise.
24485 * soft-fp/floattitf.c: Likewise.
24486 * soft-fp/floatuntidf.c: Likewise.
24487 * soft-fp/floatuntisf.c: Likewise.
24488 * soft-fp/floatuntitf.c: Likewise.
24489 * soft-fp/trunctfxf2.c: Likewise.
24490
6c6352e6
JM
24491 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
24492 * soft-fp/fixdfti.c: Likewise.
24493 * soft-fp/fixsfti.c: Likewise.
24494 * soft-fp/fixtfti.c: Likewise.
24495 * soft-fp/fixunsdfti.c: Likewise.
24496 * soft-fp/fixunssfti.c: Likewise.
24497 * soft-fp/fixunstfti.c: Likewise.
24498 * soft-fp/floattidf.c: Likewise.
24499 * soft-fp/floattisf.c: Likewise.
24500 * soft-fp/floattitf.c: Likewise.
24501 * soft-fp/floatuntidf.c: Likewise.
24502 * soft-fp/floatuntisf.c: Likewise.
24503 * soft-fp/floatuntitf.c: Likewise.
24504 * soft-fp/trunctfxf2.c: Likewise.
24505
3bf78b71
DM
245062013-10-10 David S. Miller <davem@davemloft.net>
24507
24508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24509
6f10289e
JM
245102013-10-10 Joseph Myers <joseph@codsourcery.com>
24511
bd878fc0
JM
24512 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
24513 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
24514 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
24515 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
24516 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
24517 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
24518 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
24519
6f10289e
JM
24520 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
24521 for NaNs before doing comparisons on argument.
24522 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
24523 Likewise.
24524
321e2684
WN
245252013-10-10 Will Newton <will.newton@linaro.org>
24526
24527 * malloc/hooks.c (memalign_check): Ensure the value of bytes
24528 passed to _int_memalign does not overflow.
24529
40fefba1
TR
245302013-10-10 Torvald Riegel <triegel@redhat.com>
24531
24532 * scripts/bench.pl: Add include-sources directive.
24533 * benchtests/README: Update documentation.
24534
2ae21ed2
JM
245352013-10-10 Joseph Myers <joseph@codesourcery.com>
24536
dcc2dd3f
JM
24537 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
24538 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
24539 instead of FP_INIT_ROUNDMODE.
24540 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
24541 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
24542
2ae21ed2
JM
24543 [BZ #16034]
24544 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
24545 copy class of input value.
24546 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
24547 not handle exceptions.
24548 * soft-fp/negsf2.c (__negsf2): Likewise.
24549 * soft-fp/negtf2.c (__negtf2): Likewise.
24550 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
24551
cb8f9562
JM
245522013-10-09 Joseph Myers <joseph@codesourcery.com>
24553
24554 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
24555 semicolon. From Linux kernel.
24556
5b60c59d
AB
245572013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
24558
24559 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
24560
b86835ca
YC
245612013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
24562
24563 [BZ #156]
24564 * manual/socket.texi: Added statement about buffer
24565 for gethostbyname2_r.
24566
e7044ea7
OB
245672013-10-08 Ondřej Bílka <neleai@seznam.cz>
24568
24569 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
24570 Use .p2align directive instead, throughout.
24571 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
24572 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
24573 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
24574 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
24575 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
24576 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
24577 * sysdeps/x86_64/strchr.S: Likewise.
24578 * sysdeps/x86_64/strrchr.S: Likewise.
24579
09544cbc
SP
245802013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
24581
88576635
SP
24582 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
24583
e7b2d1dd
SP
24584 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
24585
09544cbc
SP
24586 * sysdeps/generic/math_private.h (__mpsin1): Remove
24587 declaration.
24588 (__mpcos1): Likewise.
24589 (__mpsin): New argument __range_reduce.
24590 (__mpcos): Likewise.
24591 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
24592 (slow): Use __mpsin and __mpcos.
24593 (slow1): Likewise.
24594 (slow2): Likewise.
24595 (sloww): Likewise.
24596 (sloww1): Likewise.
24597 (sloww2): Likewise.
24598 (bsloww): Likewise.
24599 (bsloww1): Likewise.
24600 (bsloww2): Likewise.
24601 (cslow2): Likewise.
24602 (csloww): Likewise.
24603 (csloww1): Likewise.
24604 (csloww2): Likewise.
24605 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
24606 range_reduce. Merge in __mpsin1.
24607 (__mpcos): Likewise.
24608 (__mpsin1): Remove.
24609 (__mpcos1): Likewise.
24610
7602d070
JM
246112013-10-07 Joseph Myers <joseph@codesourcery.com>
24612
24613 * locale/loadlocale.c (_nl_intern_locale_data): Use
24614 LOCFILE_ALIGNED_P.
24615 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
24616 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
24617 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
24618 obstack data is appropriately aligned.
24619 (obstack_int32_grow_fast): Likewise.
24620 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
24621 * locale/programs/locfile.c (add_locale_uint32): Likewise.
24622 (add_locale_uint32_array): Likewise.
24623
a357259b
SP
246242013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24625
24626 * benchtests/Makefile: Remove ARGLIST and RET variables.
24627 ($(objpfx)bench-%.c): Pass only function name to the script.
24628 * benchtests/README: Update documentation.
24629 * benchtests/acos-inputs: Add new directives.
24630 * benchtests/acosh-inputs: Likewise.
24631 * benchtests/asin-inputs: Likewise.
24632 * benchtests/asinh-inputs: Likewise.
24633 * benchtests/atan-inputs: Likewise.
24634 * benchtests/atanh-inputs: Likewise.
24635 * benchtests/cos-inputs: Likewise.
24636 * benchtests/cosh-inputs: Likewise.
24637 * benchtests/exp-inputs: Likewise.
24638 * benchtests/log-inputs: Likewise.
24639 * benchtests/pow-inputs: Likewise.
24640 * benchtests/rint-inputs: Likewise.
24641 * benchtests/sin-inputs: Likewise.
24642 * benchtests/sinh-inputs: Likewise.
24643 * benchtests/tan-inputs: Likewise.
24644 * benchtests/tanh-inputs: Likewise.
24645 * scripts/bench.pl: Add support for new directives.
24646
9ec1b13d
AM
246472013-10-07 Alan Modra <amodra@gmail.com>
24648
24649 * README: Fix careless merge.
24650
8b7d57cd
AM
246512013-10-05 Alan Modra <amodra@gmail.com>
24652
24653 * NEWS: Mention powerpc64le support and bugs fixed.
24654 * README: Both big-endian and little-endian powerpc64 supported.
24655
7b7bab13
ST
246562013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
24657
57f41c40
AS
24658 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
24659 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
24660 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
24661 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
24662
d39baad1
RA
246632013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
24664
24665 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
24666 match prototype.
24667
cd78f7e7
JM
246682013-10-04 Joseph Myers <joseph@codesourcery.com>
24669
29d73d86
JM
24670 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
24671 Move -mhard-float appending from
24672 ports/sysdeps/powerpc/powerpc32/Makefile.
24673 [$(with-fp) = yes] (ASFLAGS): Likewise.
24674 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
24675 * sysdeps/powerpc/nofpu: Move directory from
24676 ports/sysdeps/powerpc/nofpu.
24677 * sysdeps/powerpc/soft-fp: Move directory from
24678 ports/sysdeps/powerpc/soft-fp.
24679 * sysdeps/powerpc/powerpc32/405: Move directory from
24680 ports/sysdeps/powerpc/powerpc32/405.
24681 * sysdeps/powerpc/powerpc32/440: Move directory from
24682 ports/sysdeps/powerpc/powerpc32/440.
24683 * sysdeps/powerpc/powerpc32/464: Move directory from
24684 ports/sysdeps/powerpc/powerpc32/464.
24685 * sysdeps/powerpc/powerpc32/476: Move directory from
24686 ports/sysdeps/powerpc/powerpc32/476.
24687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
24688 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
24689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
24690 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
24691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
24692 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
24693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
24694 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
24695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
24696 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
24697 * README: Update for powerpc-*-linux-gnu software floating point
24698 support in libc.
24699
e246b347
JM
24700 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
24701 case to powerpc/powerpc32*.
24702 * sysdeps/unix/sysv/linux/configure: Regenerated.
24703
89c2003e
JM
24704 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
24705 (_FPU_MASK_OM): Define as 0x04.
24706 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
24707 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
24708 0x00c10080.
24709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
24710 0x0000003c.
24711 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
24712
cd78f7e7
JM
24713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
24714 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24715 getcontext_e500.
24716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
24717 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
24718 setcontext_e500.
24719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
24720 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
24721 and setcontext_e500.
24722
c755294d
CL
247232013-10-04 Chris Leonard <cjl@sugarlabs,.org>
24724
24725 * locale/iso-3166.def: Update iso-1366.def and related occurrences
24726
e16d221c
SP
247272013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24728
24729 * manual/threads.texi (Default Thread Attributes): Fix typo.
24730
215c7d43
WN
247312013-10-04 Will Newton <will.newton@linaro.org>
24732
24733 * malloc/Makefile: Add tst-memalign.
24734 * malloc/tst-memalign.c: New file.
24735
27d0461b
WN
24736 * malloc/tst-posix_memalign.c: Add comments.
24737 (do_test): Add comments and call free on all potentially
24738 allocated pointers. Add space after cast.
24739
1bc92709
WN
24740 * malloc/tst-pvalloc.c: Add comments.
24741 (do_test): Add comments and call free on all potentially
24742 allocated pointers. Remove duplicate check for NULL pointer.
24743 Add space after cast.
24744
66a9be9d
WN
24745 * malloc/tst-valloc.c: Add comments.
24746 (do_test): Add comments and call free on all potentially
24747 allocated pointers. Remove duplicate check for NULL pointer.
24748 Add space after cast.
24749
4cb81307
AM
247502013-10-04 Alan Modra <amodra@gmail.com>
24751
24752 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24753 Use stdint types in rather than __attribute__((mode())).
24754 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24755
f8e3e9f3
AM
247562013-10-04 Alan Modra <amodra@gmail.com>
24757
24758 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
24759 Correct handling of unaligned relocs for little-endian.
24760 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
24761
8f9ebb08
AM
247622013-10-04 Alan Modra <amodra@gmail.com>
24763
24764 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
24765 * configure: Regenerate.
24766 * nptl/shlib-versions: Powerpc*le starts at 2.18.
24767 * shlib-versions: Likewise.
24768
0edf96c2
AM
247692013-10-04 Alan Modra <amodra@gmail.com>
24770
24771 * string/tester.c (test_memrchr): Increment reported test cycle.
24772
e0f7a380
AM
247732013-10-04 Alan Modra <amodra@gmail.com>
24774
24775 * string/test-memcpy.c (do_one_test): When reporting errors, print
24776 string address and don't overrun end of string.
24777
466b0393
AM
247782013-10-04 Alan Modra <amodra@gmail.com>
24779
24780 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
24781 insrdi. Make better use of reg selection to speed exit slightly.
24782 Schedule entry path a little better. Remove useless "are we done"
24783 checks on entry to main loop. Handle wrapping around zero address.
24784 Correct main loop count. Handle single left-over word from main
24785 loop inline rather than by using loop_small. Remove extra word
24786 case in loop_small caused by wrong loop count. Add little-endian
24787 support.
24788 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
24789 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
24790 cache hint.
24791 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
24792 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
24793 support. Avoid rlwimi.
24794 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
24795
3be87c77
AM
247962013-10-04 Alan Modra <amodra@gmail.com>
24797
24798 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 24799 insrdi. Formatting.
3be87c77
AM
24800 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
24801 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24802 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
24803 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24804 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24805 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
24806
759cfef3
AM
248072013-10-04 Alan Modra <amodra@gmail.com>
24808
24809 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
24810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24811 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
24812 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
24813 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
24814 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24815 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24816 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
24817 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
24818 use of regs. Use power7 mtocrf. Tidy function tails.
24819
fe6e95d7
AM
248202013-10-04 Alan Modra <amodra@gmail.com>
24821
24822 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
24823 Formatting. Consistently use rXXX register defines or rN defines.
24824 Use early exit labels that avoid restoring unused non-volatile regs.
24825 Make cr field use more consistent with rWORDn compares. Rename
24826 regs used as shift registers for unaligned loop, using rN defines
24827 for short lifetime/multiple use regs.
24828 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24829 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
24830 addi 1,1,64 to pop stack frame. Simplify return value code.
24831 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24832
664318c3
AM
248332013-10-04 Alan Modra <amodra@gmail.com>
24834
24835 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
24836 support. Correct typos, formatting. Optimize tail. Use insrdi
24837 rather than rlwimi.
24838 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
24839 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
24840 little-endian support. Correct typos.
24841 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
24842 rather than rlwimi.
24843 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
24844 in loop and entry code to keep "and." results.
24845 (strchr): Add little-endian support. Comment. Move cntlzd
24846 earlier in tail.
24847 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
24848
43b84013
AM
248492013-10-04 Alan Modra <amodra@gmail.com>
24850
24851 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
24852 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
24853 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
24854 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
24855
8a7413f9
AM
248562013-10-04 Alan Modra <amodra@gmail.com>
24857
24858 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
24859 (rTMP): Define as r11.
24860 (strcmp): Add little-endian support. Optimise tail.
24861 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
24862 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24863 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
24864 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
24865 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
24866 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
24867 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
24868
33ee81de
AM
248692013-10-04 Alan Modra <amodra@gmail.com>
24870
24871 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
24872 little-endian support. Remove unnecessary "are we done" tests.
24873 Handle "s" wrapping around zero and extremely large "size".
24874 Correct main loop count. Handle single left-over word from main
24875 loop inline rather than by using small_loop. Correct comments.
24876 Delete "zero" tail, use "end_max" instead.
24877 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
24878
db9b4570
AM
248792013-10-04 Alan Modra <amodra@gmail.com>
24880
24881 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
24882 support. Don't branch over align.
24883 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
24884 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
24885 support. Rearrange tmp reg use to suit. Comment.
24886 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
24887
f7c399cf
AM
248882013-10-04 Alan Modra <amodra@gmail.com>
24889
24890 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
24891
0b2c2ace
AM
248922013-10-04 Alan Modra <amodra@gmail.com>
24893
24894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
24895 conditional form of branch and link when obtaining pc.
24896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
24897
02f04a6c
AM
248982013-10-04 Alan Modra <amodra@gmail.com>
24899
24900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
24901 HIWORD/LOWORD.
24902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
24903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
24904
9b874b2f
AM
249052013-10-04 Alan Modra <amodra@gmail.com>
24906
24907 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
24908 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
24909 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
24910 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
24911 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
24912 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24913 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
24914 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24915 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
24916 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
24917
be1e5d31
AB
249182013-10-04 Anton Blanchard <anton@au1.ibm.com>
24919 Alistair Popple <alistair@ozlabs.au.ibm.com>
24920 Alan Modra <amodra@gmail.com>
24921
24922 [BZ #15723]
24923 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
24924 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
24925 _dl_hwcap access for little-endian.
24926 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
24927 destroy vmx regs when saving unaligned.
24928 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
24929 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
24930 destroy vmx regs when saving unaligned.
24931
fef13a78
AM
249322013-10-04 Alan Modra <amodra@gmail.com>
24933
24934 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
24935 Don't use a union to pack hi/low value.
24936
76a66d51
AB
249372013-10-04 Anton Blanchard <anton@au1.ibm.com>
24938
24939 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
24940 for little-endian.
24941 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24942 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
24943 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
24944 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24945 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24946
6a31fe7f
AM
249472013-10-04 Alan Modra <amodra@gmail.com>
24948
24949 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
24950 constants to usual value for .cst8 section, and remove redundant
24951 high address load.
24952 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
24953 constant for 0x1p52. Load little-endian words of double from
24954 correct stack offsets.
24955
7b88401f
AM
249562013-10-04 Alan Modra <amodra@gmail.com>
24957
24958 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
24959 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
24960 words of double from correct stack offsets.
24961 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
24962 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
24963 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24964 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24965 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24966 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24967 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24968 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
24969 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
24970 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24971 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24972 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24973 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
24974 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
24975 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
24976 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
24977 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
24978
9c008155
AM
249792013-10-04 Alan Modra <amodra@gmail.com>
24980
24981 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
24982 64-bit int/double union.
24983 (_FPU_SETCW): Likewise.
24984 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
24985 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
24986
da13146d
AM
249872013-10-04 Alan Modra <amodra@gmail.com>
24988
24989 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
24990 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
24991
603e8410
AM
249922013-10-04 Alan Modra <amodra@gmail.com>
24993
24994 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
24995 use vector int constants.
24996 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
24997
4a28b3ca
AB
249982013-10-04 Anton Blanchard <anton@au1.ibm.com>
24999
25000 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
25001 array with long long.
25002 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
25003 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
25004 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
25005 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
25006 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
25007 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
25008 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
25009 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
25010 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
25011 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
25012 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
25013 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
25014 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
25015
2ca85d2b
AB
250162013-10-04 Anton Blanchard <anton@au1.ibm.com>
25017
25018 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
25019 (__signbit): Likewise. Correct for little-endian.
25020 (__signbitl): Call __signbit.
25021 (lrint): Correct for little-endian.
25022 (lrintf): Call lrint.
25023
62a728ae
AM
250242013-10-04 Alan Modra <amodra@gmail.com>
25025
25026 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
25027 union 32-bit int array member with 64-bit int array.
25028 (t515, tm256): Double rather than long double.
25029 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
25030
32c301df
AM
250312013-10-04 Alan Modra <amodra@gmail.com>
25032
25033 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
25034 Delete.
25035 (IEEE854_LONG_DOUBLE_BIAS): Delete.
25036 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
25037 version of math_ldbl.h.
25038
650ef4bd
AM
250392013-10-04 Alan Modra <amodra@gmail.com>
25040
25041 [BZ #15734], [BZ #15735]
25042 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
25043 all uses of ieee875 long double macros and unions. Simplify test
25044 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
25045 ldbl_extract_mantissa value for ix,iy exponents. Properly
25046 normalize after ldbl_extract_mantissa, and don't add hidden bit
25047 already handled. Don't treat low word of ieee854 mantissa like
25048 low word of IBM long double and mask off bit when testing for
25049 zero.
25050 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
25051 all uses of ieee875 long double macros and unions. Simplify tests
25052 for 0.0L and inf. Correct double adjustment of k. Delete dead code
25053 adjusting ha,hb. Simplify code setting kld. Delete two600 and
25054 two1022, instead use their values. Recognise that tests for large
25055 "a" and small "b" are mutually exclusive. Rename vars. Comment.
25056 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
25057 Rewrite all uses of ieee875 long double macros and unions. Simplify
25058 test for 0.0L and nan. Correct negation.
25059 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
25060 ieee875 long double macros and unions. Correct output for large
25061 magnitude x. Correct absolute value calculation.
25062 (__erfcl): Likewise.
25063 * math/libm-test.inc: Add tests for errors discovered in IBM long
25064 double versions of fmodl, remainderl, erfl and erfcl.
25065
765714ca
AM
250662013-10-04 Alan Modra <amodra@gmail.com>
25067
25068 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
25069 all uses of ieee854 long double macros and unions. Simplify tests
25070 for long doubles that are fully specified by the high double.
25071 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
25072 Likewise.
25073 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
25074 Remove dead code too.
25075 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
25076 (__ieee754_ynl): Likewise.
25077 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
25078 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
25079 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
25080 Remove dead code too.
25081 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
25082 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
25083 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
25084 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
25085 Simplify.
25086 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
25087 Simplify.
25088 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
25089 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
25090 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
25091 Comment on variable precision.
25092 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
25093 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
25094 Likewise.
25095 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
25096 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
25097 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
25098 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
25099 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
25100
4ebd120c
AM
251012013-10-04 Alan Modra <amodra@gmail.com>
25102
25103 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
25104 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
25105 all uses of ieee854 long double macros and unions.
25106 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
25107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
25108 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
25109 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
25110 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
25111 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
25112 Likewise.
25113 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
25114 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25115 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
25116 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25117 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
25118 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
25119 Simplify sign and nan test too.
25120 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
25121 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
25122 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
25123 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
25124 Likewise.
25125 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
25126 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
25127 Likewise.
25128 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
25129 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
25130 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
25131 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
25132 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
25133 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
25134
1b6adf88
AM
251352013-10-04 Alan Modra <amodra@gmail.com>
25136
25137 * stdio-common/printf_size.c (__printf_size): Don't use
25138 union ieee854_long_double in fpnum union.
25139 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
25140 signbit macro to retrieve sign from long double.
25141 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
25142 retrieve sign from long double.
25143 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
25144 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
25145 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
25146 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
25147 * math/test-misc.c (main): Don't use union ieee854_long_double.
25148
4cf69995
AM
251492013-10-04 Alan Modra <amodra@gmail.com>
25150
25151 [BZ #15680]
25152 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
25153 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
25154 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
25155 calculation. Remove unnecessary test for denormal exponent.
25156 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
25157 Correct handling of denormals. Avoid undefined shift behaviour.
25158 Correct normalisation of low mantissa when low double is denormal.
25159 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
25160 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
25161 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
25162 Correct normalisation of low mantissa. Test for overflow of high
25163 mantissa and normalise.
25164 (ldbl_nearbyint): Use more readable constant for two52.
25165 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
25166 (__mpn_construct_long_double): Fix test for overflow of high
25167 mantissa and correct normalisation. Avoid undefined shift.
25168
9605ca6c
AM
251692013-10-04 Alan Modra <amodra@gmail.com>
25170
25171 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
25172 (union ibm_extended_long_double): Define as an array of ieee754_double.
25173 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
25174 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
25175 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
25176 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
25177 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25178 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
25179 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25180 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
25181 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
25182 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
25183 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25184
975569d0
JM
251852013-10-03 Joseph Myers <joseph@codesourcery.com>
25186
d3d23756
JM
25187 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
25188 page size instead of calling getpagesize.
25189
975569d0
JM
25190 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
25191 (LOCFILE_ALIGN_MASK): Likewise.
25192 (LOCFILE_ALIGN_UP): Likewise.
25193 (LOCFILE_ALIGNED_P): Likewise.
25194 * locale/programs/ld-collate.c (collate_output): Use the new
25195 macros instead of __alignof__ (int32_t).
25196 * locale/weight.h (findidx): Likewise.
25197
b1fe1f2b
OB
251982013-10-03 Ondřej Bílka <neleai@seznam.cz>
25199
25200 [BZ #431]
25201 * manual/string.texi: Fix strncat and wcsncat.
25202
5f855e35
BM
252032013-10-03 Brooks Moses <bmoses@google.com>
25204
25205 [BZ #15915]
25206 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
25207 * Makerules: ...here, and adjust associated comments.
25208
3cef6009
WN
252092013-10-02 Will Newton <will.newton@linaro.org>
25210
25211 * malloc/Makefile: Add tst-pvalloc.
25212 * malloc/tst-pvalloc.c: New file.
25213
7815420b
WN
252142013-10-02 Will Newton <will.newton@linaro.org>
25215
25216 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
25217 improve test coverage.
25218
4868b204
WN
252192013-10-02 Will Newton <will.newton@linaro.org>
25220
25221 * malloc/Makefile: Add tst-posix_memalign.
25222 * malloc/tst-posix_memalign.c: New file.
25223
29c793b3
EB
252242013-10-01 Eric Blake <eblake@redhat.com>
25225
25226 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
25227 Use __THROWNL rather than __THROW on static functions.
25228
fd967522
PM
252292013-09-30 Petr Machata <pmachata@redhat.com>
25230
25231 * elf/elf.h (R_AARCH64_ABS16): New macro.
25232 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
25233 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
25234 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
25235 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
25236 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
25237 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
25238 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
25239 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
25240 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
25241 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
25242 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
25243 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
25244 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
25245 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
25246 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
25247 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
25248 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
25249 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
25250 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
25251 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
25252 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
25253 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
25254 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
25255 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
25256 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
25257 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
25258 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
25259 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
25260 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
25261 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
25262 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
25263 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
25264 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
25265 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
25266 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
25267 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
25268 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
25269 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
25270 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
25271 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
25272 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
25273 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
25274 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
25275 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
25276 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
25277 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
25278 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
25279 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
25280 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
25281 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
25282 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
25283 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
25284 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
25285 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
25286 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
25287 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
25288 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
25289 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
25290 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
25291 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
25292 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
25293 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
25294 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
25295 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
25296 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
25297 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
25298 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
25299 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
25300 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
25301 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
25302 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
25303 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
25304 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
25305 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
25306 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
25307 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
25308 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
25309 (R_AARCH64_TLSDESC_LDR): Likewise.
25310 (R_AARCH64_TLSDESC_ADD): Likewise.
25311 (R_AARCH64_TLSDESC_CALL): Likewise.
25312
b2179107
AS
253132013-09-30 Andreas Schwab <schwab@suse.de>
25314
25315 [BZ #15048]
25316 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
25317 the nss database lookup.
25318 * nscd/initgrcache.c (addinitgroupsX): Likewise.
25319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
25320
47f28d0a
MF
253212013-09-28 Mike Frysinger <vapier@gentoo.org>
25322
25323 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
25324
253252013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
25326
25327 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
25328 ${Bash-specific parameter/pattern/string} parameter expansion.
25329 * sysdeps/unix/make-syscalls.sh: Likewise.
25330
f4518a17
KK
253312013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
25332
25333 * sysdeps/sh/stackguard-macros.h: New file.
25334
dc1a95c7
OB
253352013-09-26 Ondřej Bílka <neleai@seznam.cz>
25336
25337 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
25338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
25339 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
25340 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
25341 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25342 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
25343
5ebbff8f
AZ
253442013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25345
25346 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
25347 Fix thread ID register.
25348
4fd2cf9f
JM
253492013-09-25 Joseph Myers <joseph@codesourcery.com>
25350
25351 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
25352 [POSIX || UNIX98]: Require rather than permitting all symbols from
25353 <time.h>.
25354 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
25355 element of struct sched_param.
25356 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
25357 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
25358 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
25359 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
25360 constant.
25361
12c22bc4
OL
253622013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
25363
25364 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
25365 argument calculation.
25366
a03d8ea7
JM
253672013-09-24 Joseph Myers <joseph@codesourcery.com>
25368
25369 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
25370 Expect macro.
25371 [POSIX] (pthread_attr_t): Do not require type.
25372 [POSIX] (pthread_cond_t): Likewise.
25373 [POSIX] (pthread_condattr_t): Likewise.
25374 [POSIX] (pthread_key_t): Likewise.
25375 [POSIX] (pthread_mutex_t): Likewise.
25376 [POSIX] (pthread_mutexattr_t): Likewise.
25377 [POSIX] (pthread_once_t): Likewise.
25378 [POSIX] (pthread_t): Likewise.
25379 [POSIX-based standards] (pthread_atfork): Expect function.
25380
6055173a
JM
253812013-09-24 Joseph Myers <joseph@codesourcery.com>
25382 Richard Sandiford <richard@codesourcery.com>
25383
25384 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
25385 (swap_endianness_p): New extern variable.
25386 (set_big_endian): New inline function.
25387 (maybe_swap_uint32): Likewise.
25388 (maybe_swap_uint32_array): Likewise.
25389 (maybe_swap_uint32_obstack): Likewise.
25390 * locale/programs/locfile.c: Include <stdbool.h>.
25391 (swap_endianness_p): New variable.
25392 (add_locale_uint32): Call maybe_swap_uint32.
25393 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
25394 (write_locale_data): Call maybe_swap_uint32_array.
25395 * locale/programs/ld-collate.c (obstack_int32_grow): Call
25396 maybe_swap_uint32.
25397 (obstack_int32_grow_fast): Likewise.
25398 (output_weightwc): Call maybe_swap_uint32_obstack.
25399 (collate_output): Likewise.
25400 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
25401 (OPT_LITTLE_ENDIAN): Likewise.
25402 (options): Add --little-endian and --big-endian options.
25403 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
25404 * locale/programs/locarchive.c: Include "locfile.h".
25405 (GET): New macro.
25406 (SET): Likewise.
25407 (INC): Likewise.
25408 (create_archive): Use the new macros to access fields of
25409 structures directly mapped from or written to locale archives.
25410 (oldlocrecentcmp): Likewise.
25411 (enlarge_archive): Likewise.
25412 (insert_name): Likewise.
25413 (add_alias): Likewise.
25414 (add_locale): Likewise.
25415 (delete_locales_from_archive): Likewise.
25416 (show_archive_content): Likewise.
25417 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
25418 locale data.
25419
39bf0bb4
RM
254202013-09-24 Roland McGrath <roland@hack.frob.com>
25421
25422 * manual/freemanuals.texi: Updated from (newly) canonical copy at
25423 http://www.gnu.org/doc/freemanuals.texi.
25424 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
25425
f02eed10
WN
254262013-09-24 Will Newton <will.newton@linaro.org>
25427
25428 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
25429 macro.
25430
a3a6c312
JM
254312013-09-23 Joseph Myers <joseph@codesourcery.com>
25432
25433 * locale/hashval.h (compute_hashval): Interpret bytes of key as
25434 unsigned char.
25435
107375ac
MR
254362013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
25437
25438 * manual/threads.texi (POSIX Threads): Fix a typo.
25439
141f3a77
SP
254402013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
25441
303e567a
SP
25442 [BZ #14547]
25443 * string/tst-strcoll-overflow.c: New test case.
25444 * string/Makefile (xtests): Add tst-strcoll-overflow.
25445 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
25446 cache if string sizes may cause integer overflow.
25447
141f3a77
SP
25448 [BZ #14547]
25449 * string/strcoll_l.c (coll_seq): New members rule, idx,
25450 save_idx and back_us.
25451 (get_next_seq_nocache): New function.
25452 (do_compare_nocache): New function.
25453 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
25454 when malloc fails.
25455
c61b4d41
CD
254562013-09-23 Carlos O'Donell <carlos@redhat.com>
25457
0b1f8e35
CD
25458 [BZ #15754]
25459 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
25460 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
25461 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
25462
c61b4d41
CD
25463 [BZ #15754]
25464 * elf/Makefile (tests): Add tst-ptrguard1.
25465 (tests-static): Add tst-ptrguard1-static.
25466 (tst-ptrguard1-ARGS): Define.
25467 (tst-ptrguard1-static-ARGS): Define.
25468 * elf/tst-ptrguard1.c: New file.
25469 * elf/tst-ptrguard1-static.c: New file.
25470 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
25471 * sysdeps/i386/stackguard-macros.h: Likewise.
25472 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
25473 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
25474 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25475 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25476 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
25477 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
25478
254792013-09-23 Hector Marco <hecmargi@upv.es>
25480 Ismael Ripoll <iripoll@disca.upv.es>
25481 Carlos O'Donell <carlos@redhat.com>
25482
25483 [BZ #15754]
25484 * sysdeps/generic/stackguard-macros.h: Define
25485 __pointer_chk_guard_local and POINTER_CHK_GUARD.
25486 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
25487 Define __pointer_chk_guard_local.
25488 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
25489 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
25490
f5f4e7b4
VV
254912013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
25492
25493 [BZ #15859]
25494 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
25495
5bb43a43
AS
254962013-09-20 Andreas Schwab <schwab@linux-m68k.org>
25497
25498 * include/string.h (__ffs): Declare as hidden.
25499 * string/ffs.c (__ffs): Define as hidden.
25500 * sysdeps/i386/ffs.c (__ffs): Likewise.
25501 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
25502 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
25503 * sysdeps/s390/ffs.c (__ffs): Likewise.
25504 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
25505
3ea5be54
AO
255062013-09-20 Alexandre Oliva <aoliva@redhat.com>
25507
ffb89e53
AO
25508 * NEWS: Mention malloc probes.
25509
322dea08
AO
25510 * malloc/arena.c (new_heap): New memory_heap_new probe.
25511 (grow_heap): New memory_heap_more probe.
25512 (shrink_heap): New memory_heap_less probe.
25513 (heap_trim): New memory_heap_free probe.
25514 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
25515 (systrim): New memory_sbrk_less probe.
25516 * manual/probes.texi: Document them.
25517
655673f3
AO
25518 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
25519 * manual/probes.texi: Document it.
25520
35fed6f1
AO
25521 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
25522 (__libc_realloc): Add memory_realloc_retry probe.
25523 (__libc_memalign): Add memory_memalign_retry probe.
25524 (__libc_valloc): Add memory_valloc_retry probe.
25525 (__libc_pvalloc): Add memory_pvalloc_retry probe.
25526 (__libc_calloc): Add memory_calloc_retry probe.
25527 * manual/probes.texi: Document them.
25528
6999d38c
AO
25529 * malloc/arena.c (get_free_list): Add probe
25530 memory_arena_reuse_free_list.
25531 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
25532 and memory_arena_reuse.
25533 (arena_get2) [!PER_THREAD]: Likewise.
25534 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
25535 memory_arena_reuse_realloc.
25536 * manual/probes.texi: Document them.
25537
0653427f
AO
25538 * malloc/malloc.c (__libc_free): Add
25539 memory_mallopt_free_dyn_thresholds probe.
25540 (__libc_mallopt): Add multiple memory_mallopt probes.
25541 * manual/probes.texi: Document them.
25542
3ea5be54
AO
25543 * malloc/malloc.c: Include stap-probe.h.
25544 (__libc_mallopt): Add memory_mallopt probe.
25545 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
25546 * manual/probes.texi: New.
25547 * manual/Makefile (chapters): Add probes.
25548 * manual/threads.texi: Set next node.
25549
e35696c3 255502013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 25551
e35696c3
CL
25552 [BZ #15963, #13985]
25553 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
25554 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
25555 Add `Chinese' to `nan' entry name.
25556
4aafb73c
SP
255572013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25558
25559 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
25560 (POLYNOMIAL): Likewise.
25561 (TAYLOR_SINCOS): Likewise.
25562 (TAYLOR_SLOW): Likewise.
25563 (__sin): Use TAYLOR_SINCOS.
25564 (__cos): Likewise.
25565 (slow): Use TAYLOR_SLOW.
25566 (sloww): Likewise.
25567 (bsloww): Likewise.
25568 (csloww): Likewise.
25569
d84f25c7
LD
255702013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25571
25572 * stdlib/strtod_l.c: Fix buffer overrun.
25573
5eea0404
SP
255742013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
25575
7849ff93
SP
25576 * benchtests/Makefile (bench): Add sincos.
25577 * benchtests/bench-sincos.c: New file.
25578
cfa3c886
SP
25579 * math/libm-test.inc (cos_test_data): New test inputs.
25580 (sin_test_data): Likewise.
25581
b348e1e3
SP
25582 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
25583 macro.
25584 (__sin): Use it.
25585 (__cos): Likewise.
25586 (slow1): Likewise.
25587 (slow2): Likewise.
25588 (sloww1): Likewise.
25589 (sloww2): Likewise.
25590 (bsloww1): Likewise.
25591 (bsloww2): Likewise.
25592 (cslow2): Likewise.
25593 (csloww1): Likewise.
25594 (csloww2): Likewise.
25595
6cce25f8
SP
25596 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
25597 function.
25598 (__sin): Use it.
25599 (__cos): Likewise.
25600
5eea0404
SP
25601 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
25602 gotos.
25603 (__cos): Likewise.
25604
9c21573c
MR
256052013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
25606
25607 * config.h.in (HAVE_MIPS_NAN2008): New macro.
25608 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
25609 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
25610 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
25611 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
25612 * elf/cache.c (print_entry): Handle the new cache flags.
25613
24d22e65
JM
256142013-09-18 Joseph Myers <joseph@codesourcery.com>
25615 Aldy Hernandez <aldyh@redhat.com>
25616
25617 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
25618 Change condition to [_SOFT_FLOAT].
25619 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
25620 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
25621 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
25622 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
25623 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
25624 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
25625 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
25626 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
25627 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
25628 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
25629 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
25630 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
25631 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
25632 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
25633 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
25634 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
25635 declaration.
25636
d13ef066
JM
256372013-09-18 Joseph Myers <joseph@codesourcery.com>
25638
2e071de0
JM
25639 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
25640 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25641 (__longjmp): Use LOAD_GP to load saved GPRs.
25642 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
25643 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
25644 (__sigsetjmp): Use SAVE_GP to save GPRs.
25645
d13ef066
JM
25646 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
25647 Do not append -msoft-float.
25648 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
25649
97a0650b
SP
256502013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
25651
25652 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
25653
11ca09e9
JM
256542013-09-17 Joseph Myers <joseph@codesourcery.com>
25655
25656 [BZ #15966]
25657 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
25658 (_FPU_GETCW): Use initial "__" on variable and field names but not
25659 on macro parameter name.
25660 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
25661 parentheses around reference to macro parameter.
25662
08ffcf34
RS
256632013-09-13 Richard Sandiford <richard@codesourcery.com>
25664
25665 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
25666 prototype.
25667 (ctype_startup): Use uint32_t in cast and sizeof for
25668 ctype->charnames.
25669
ae7080d3
JL
256702013-09-11 Jia Liu <proljc@gmail.com>
25671
25672 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
25673 __daddr_t_defined.
25674 [__FreeBSD__]: Likewise.
25675
5905e7b3
OB
256762013-09-11 Ondřej Bílka <neleai@seznam.cz>
25677
25678 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
25679 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
25680 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
25681 (strchr): Remove __strchr_sse42 ifunc selection.
25682 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
25683 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
25684
b987c776
WN
256852013-09-11 Will Newton <will.newton@linaro.org>
25686
25687 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
25688 parameter to RES. Remove hardcoded 1000 value.
25689 * benchtests/bench-skeleton.c (main): Pass RES parameter
25690 to TIMING_INIT and multiply result by 1000.
25691
ddf985af
AZ
256922013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25693
25694 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25695
ffdd3181
AS
256962013-09-11 Andreas Schwab <schwab@suse.de>
25697
25698 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25699 if not defined.
25700 (O_TMPFILE) [__USE_GNU]: Define.
25701 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
25702 Define.
25703
b73ed247
WN
257042013-09-11 Will Newton <will.newton@linaro.org>
25705
25706 [BZ #15857]
25707 * malloc/malloc.c (__libc_memalign): Check the value of bytes
25708 does not overflow.
25709
55e17aad
WN
257102013-09-11 Will Newton <will.newton@linaro.org>
25711
25712 [BZ #15856]
25713 * malloc/malloc.c (__libc_valloc): Check the value of bytes
25714 does not overflow.
25715
1159a193
WN
257162013-09-11 Will Newton <will.newton@linaro.org>
25717
25718 [BZ #15855]
25719 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
25720 does not overflow.
25721
5905e7b3 257222013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
25723
25724 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
25725 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
25726 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
25727 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
25728 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
25729
cdfc721b
AM
257302013-09-10 Allan McRae <allan@archlinux.org>
25731
aa04af00
AM
25732 [BZ #15748]
25733 * manual/arith.texi (Parsing of Floats): Clarify
25734 cross-reference.
25735
cdfc721b
AM
25736 [BZ #15849]
25737 * manual/install.texi (Running make install): Mention
25738 --enable-pt-chown.
25739 * INSTALL: Regenerated.
25740
95e7cf29
MR
257412013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
25742
25743 * csu/init-first.c (_init): Remove the !SHARED condition around
25744 FPU control word initialization.
25745 * elf/dl-support.c (_dl_fpu_control): New variable.
25746 (_dl_aux_init) <AT_FPUCW>: Initialize it.
25747 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
25748 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
25749 * math/test-fpucw-static.c: New file.
25750 * math/test-fpucw-ieee.c: New file.
25751 * math/test-fpucw-ieee-static.c: New file.
25752 * math/Makefile (tests): Add `test-fpucw-ieee' and
25753 `$(tests-static)'.
25754 (tests-static): New variable.
25755 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
25756 dependency to...
25757 [($(build-shared),yes)]
25758 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
25759 ... this.
25760 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
25761 New dependency.
25762
83e43bf0
AM
257632013-09-09 Allan McRae <allan@archlinux.org>
25764
a9f5ce09
AM
25765 [BZ #15939]
25766 * manual/string.texi (Collation Functions): Fix typo in
25767 strcoll example.
25768 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
25769
34829bc2
AM
25770 [BZ #15893]
25771 * stdlib/isomac.c (get_null_defines): Fix memory leak.
25772
3932737d
AM
25773 [BZ #15892]
25774 * libio/memstream.c (open_memstream): Fix memory leak.
25775 * libio/wmemstream.c (open_wmemstream): Likewise.
25776
83e43bf0
AM
25777 [BZ #15895]
25778 * nscd/netgroupcache.c: Fix nesting of ifdefs.
25779
0c66b8e9
WN
257802013-09-09 Will Newton <will.newton@linaro.org>
25781
25782 * malloc/Makefile: Add tst-realloc to tests.
25783 * malloc/tst-realloc.c: New file.
25784
f6b00fd1
AM
257852013-09-09 Allan McRae <allan@archlinux.org>
25786
25787 [BZ #15844]
25788 * COPYING: Update from GNU website to fix FSF address.
25789 * COPYING.LIB: Likewise.
25790
eec55e16
DM
257912013-09-06 David S. Miller <davem@davemloft.net>
25792
25793 * po/zh_TW.po: Update Chinese (traditional) translation from
25794 translation project.
25795
1ecbb381
RS
257962013-09-06 Richard Sandiford <richard@codesourcery.com>
25797 Joseph Myers <joseph@codesourcery.com>
25798
25799 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
25800 "localeinfo.h".
25801 (obstack_chunk_alloc): New macro.
25802 (obstack_chunk_free): Likewise.
25803 (record_offset): New function.
25804 (init_locale_data): Likewise.
25805 (align_locale_data): Likewise.
25806 (add_locale_empty): Likewise.
25807 (add_locale_raw_data): Likewise.
25808 (add_locale_raw_obstack): Likewise.
25809 (add_locale_string): Likewise.
25810 (add_locale_wstring): Likewise.
25811 (add_locale_uint32): Likewise.
25812 (add_locale_uint32_array): Likewise.
25813 (add_locale_char): Likewise.
25814 (start_locale_structure): Likewise.
25815 (end_locale_structure): Likewise.
25816 (start_locale_prelude): Likewise.
25817 (end_locale_prelude): Likewise.
25818 (write_locale_data): Take locale_file structure rather than an
25819 iovec.
25820 * locale/programs/locfile.h: Include "obstack.h".
25821 (struct locale_file): Change to store locale file contents instead
25822 of header.
25823 (init_locale_data): New prototype.
25824 (align_locale_data): Likewise.
25825 (add_locale_empty): Likewise.
25826 (add_locale_raw_data): Likewise.
25827 (add_locale_raw_obstack): Likewise.
25828 (add_locale_string): Likewise.
25829 (add_locale_wstring): Likewise.
25830 (add_locale_uint32): Likewise.
25831 (add_locale_uint32_array): Likewise.
25832 (add_locale_char): Likewise.
25833 (start_locale_structure): Likewise.
25834 (end_locale_structure): Likewise.
25835 (start_locale_prelude): Likewise.
25836 (end_locale_prelude): Likewise.
25837 (write_locale_data): Update prototype.
25838 * locale/programs/3level.h (struct TABLE): Remove result field.
25839 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
25840 Use new locale_file interface.
25841 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
25842 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
25843 * locale/programs/ld-address.c (address_output): Use new
25844 locale_file interface.
25845 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
25846 NO_ADD_LOCALE.
25847 (collate_finish): Don't call collseq_table_finalize.
25848 (collate_output): Use new locale_file interface.
25849 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
25850 in file.
25851 (NO_FINALIZE): Change to NO_ADD_LOCALE.
25852 (TABLE): Move defines earlier in file.
25853 (ELEMENT): Likewise.
25854 (DEFAULT): Likewise.
25855 (wctrans_table_add): Move macro and inline function earlier in
25856 file.
25857 (struct wctype_table): Move type earlier in file.
25858 (add_locale_wctype_table): New static prototype.
25859 (struct locale_ctype_t): Use logical types instead of struct iovec
25860 pointers for members.
25861 (ctype_output): Use new locale_file interface.
25862 (wctype_table_finalize): Change to add_locale_wctype_table. Use
25863 new locale_file interface.
25864 (allocate_arrays): Update for use of new locale_file interface.
25865 * locale/programs/ld-identification.c (identification_output): Use
25866 new locale_file interface.
25867 * locale/programs/ld-measurement.c (measurement_output): Likewise.
25868 * locale/programs/ld-messages.c (messages_output): Likewise.
25869 * locale/programs/ld-monetary.c (monetary_output): Likewise.
25870 * locale/programs/ld-name.c (name_output): Likewise.
25871 * locale/programs/ld-numeric.c (numeric_output): Likewise.
25872 * locale/programs/ld-paper.c (paper_output): Likewise.
25873 * locale/programs/ld-telephone.c (telephone_output): Likewise.
25874 * locale/programs/ld-time.c (time_output): Likewise.
25875
e029e2e5
AZ
258762013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25877
25878 * benchtests/Makefile: Add memrchr benchmark.
25879 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
25880 benchmark as memrchr.
25881 * benchtests/bench-memrchr-ifunc.c: New file.
25882 * benchtests/bench-memrchr.c: New file.
25883
bbf6e8e4
WN
258842013-09-06 Will Newton <will.newton@linaro.org>
25885
25886 * benchtests/Makefile (string-bench): Add memcpy.
25887
6c82a2f8
CD
258882013-09-05 Carlos O'Donell <carlos@redhat.com>
25889 Cong Wang <amwang@redhat.com>
25890
e732c5f0 25891 [BZ #15850]
6c82a2f8
CD
25892 * sysdeps/unix/sysv/linux/bits/in.h
25893 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
25894 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
25895 before __USE_KERNEL_IPV6_DEFS uses.
25896 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
25897 IPPROTO_BEETPH.
25898 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
25899 sockaddr_in6, or ipv6_mreq.
25900
5430fc65
AZ
259012013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25902
25903 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
25904 memory access for final bytes in some large inputs.
25905 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
25906
4660856c
AZ
259072013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25908
25909 * string/test-memrchr.c: New file.
25910 * string/test-memrchr-ifunc.c: New file.
25911 * string/Makefile: Add new memrchr testcase.
25912
bb8ea713
MF
259132013-09-05 Mike Frysinger <vapier@gentoo.org>
25914
25915 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
25916 fanotify_init returns EPERM.
25917
b92a20b5
JM
259182013-09-04 Joseph Myers <joseph@codesourcery.com>
25919
25920 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
25921 errors.
25922 (top level): Treat second token from macro or constant entries for
25923 allowed headers as allowed.
25924 * include/complex.h: Condition internal declarations on
25925 [!_ISOMAC].
25926 * include/fenv.h: Condition include of <stdbool.h> and internal
25927 declarations on [!_ISOMAC].
7447ccd9
CL
25928
259292013-09-04 Chris Leonard <cjl@sugarlabs,.org>
25930
3e181dda 25931 [BZ #15923]
7447ccd9
CL
25932 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
25933
3f2e46a4
JM
259342013-09-04 Joseph Myers <joseph@codesourcery.com>
25935
25936 * configure.in (--enable-versioning): Remove configure option.
25937 (libc_cv_asm_symver_directive): Remove configure test.
25938 (libc_cv_ld_version_script_option): Likewise.
25939 (VERSIONING): Remove variable and AC_SUBST.
25940 (DO_VERSIONING): Remove AC_DEFINE.
25941 * configure: Regenerated.
25942 * config.h.in (DO_VERSIONING): Remove macro.
25943 * Makerules [$(versioning) = yes]: Change conditionals to
25944 [$(build-shared) = yes].
25945 * config.make.in (versioning): Remove variable.
25946 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
25947 [$(build-shared) = yes].
25948 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
25949 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
25950 * elf/Makefile [$(versioning) = yes]: Change conditionals to
25951 [$(build-shared) = yes].
25952 * extra-lib.mk [$(versioning) = yes]: Likewise.
25953 * hurd/Makefile [$(versioning) = yes]: Likewise.
25954 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
25955 [SHARED].
25956 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
25957 [SHARED].
25958 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25959 [SHARED && !NO_HIDDEN].
25960 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
25961 [SHARED].
25962 [SHARED && DO_VERSIONING]: Likewise..
25963 * libio/Makefile [$(versioning) = yes]: Change conditionals to
25964 [$(build-shared) = yes].
25965 * manual/install.texi (--disable-versioning): Remove
25966 documentation.
25967 * INSTALL: Regenerated.
25968 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
25969 to [SHARED].
25970 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
25971 [$(build-shared) = yes].
25972 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
25973 * sysdeps/i386/i686/multiarch/strstr-c.c
25974 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
25975 [SHARED && !NO_HIDDEN].
25976 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
25977 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
25978 * sysdeps/powerpc/powerpc32/dl-machine.c
25979 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
25980 * sysdeps/powerpc/powerpc32/sysdep.h
25981 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
25982 to [SHARED && PIC && !NO_HIDDEN].
25983 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
25984 conditional to [SHARED].
25985
44558701
WN
259862013-09-04 Will Newton <will.newton@linaro.org>
25987
25988 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
25989 * benchtests/bench-string.h: Include bench-timing.h instead
25990 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
25991 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
25992 call to HP_TIMING_DIFF_INIT.
25993 * benchtests/bench-memccpy.c: Use bench-timing.h macros
25994 instead of hp-timing.h macros.
25995 * benchtests/bench-memchr.c: Likewise.
25996 * benchtests/bench-memcmp.c: Likewise.
25997 * benchtests/bench-memcpy.c: Likewise.
25998 * benchtests/bench-memmem.c: Likewise.
25999 * benchtests/bench-memmove.c: Likewise.
26000 * benchtests/bench-memset.c: Likewise.
26001 * benchtests/bench-rawmemchr.c: Likewise.
26002 * benchtests/bench-strcasecmp.c: Likewise.
26003 * benchtests/bench-strcasestr.c: Likewise.
26004 * benchtests/bench-strcat.c: Likewise.
26005 * benchtests/bench-strchr.c: Likewise.
26006 * benchtests/bench-strcmp.c: Likewise.
26007 * benchtests/bench-strcpy.c: Likewise.
26008 * benchtests/bench-strcpy_chk.c: Likewise.
26009 * benchtests/bench-strlen.c: Likewise.
26010 * benchtests/bench-strncasecmp.c: Likewise.
26011 * benchtests/bench-strncat.c: Likewise.
26012 * benchtests/bench-strncmp.c: Likewise.
26013 * benchtests/bench-strncpy.c: Likewise.
26014 * benchtests/bench-strnlen.c: Likewise.
26015 * benchtests/bench-strpbrk.c: Likewise.
26016 * benchtests/bench-strrchr.c: Likewise.
26017 * benchtests/bench-strspn.c: Likewise.
26018 * benchtests/bench-strstr.c: Likewise.
26019
cae16d66
WN
260202013-09-04 Will Newton <will.newton@linaro.org>
26021
26022 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
26023
ffa3cd7f
JM
260242013-09-03 Joseph Myers <joseph@codesourcery.com>
26025
26026 [BZ #15427]
26027 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
26028 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
26029 * math/libm-test.inc (lgamma_test_data): Add more tests.
26030 * sysdeps/i386/fpu/libm-test-ulps: Update.
26031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26032
8f02859f
OB
260332013-09-03 Ondřej Bílka <neleai@seznam.cz>
26034
26035 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
26036 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26037 Add ifunc.
26038 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26039 Add strcmp-sse2-unaligned
26040 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
26041
18d43716
MF
260422013-09-02 Mike Frysinger <vapier@gentoo.org>
26043
26044 * Versions.def (libc): Add GLIBC_2.19.
26045
ac444012
MF
260462013-09-02 Mike Frysinger <vapier@gentoo.org>
26047
26048 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
26049 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
26050
b7835e32
JM
260512013-09-02 Joseph Myers <joseph@codesourcery.com>
26052
26053 [BZ #14155]
26054 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
26055 intermediate calculations in recurrence.
26056 (__ieee754_ynf): Likewise.
26057 * math/libm-test.inc (jn_test_data): Do not allow spurious
26058 underflow exception. Add more tests.
26059 (yn_test_data): Add more tests.
26060 * sysdeps/i386/fpu/libm-test-ulps: Update.
26061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26062
8220f4f0
OB
260632013-09-02 Ondřej Bílka <neleai@seznam.cz>
26064
26065 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
26066
f24a6d08
OB
260672013-08-30 Ondřej Bílka <neleai@seznam.cz>
26068
26069 * csu/init-first.c: Fix then/than typos.
26070 * locale/programs/ld-collate.c: Likewise.
26071 * locale/programs/linereader.h: Likewise.
26072 * manual/charset.texi: Likewise.
26073 * manual/filesys.texi: Likewise.
26074 * manual/stdio.texi: Likewise.
26075 * manual/string.texi: Likewise.
26076 * stdlib/fmtmsg.c: Likewise.
26077 * sysdeps/i386/stpncpy.S: Likewise.
26078 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26079 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26080 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26081 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
26082
382466e0
OB
260832013-08-30 Ondřej Bílka <neleai@seznam.cz>
26084
26085 * elf/dl-open.c: Fix typos.
26086 * iconvdata/gbbig5.c: Likewise.
26087 * iconvdata/iso-2022-jp.c: Likewise.
26088 * iconv/gconv_int.h: Likewise.
26089 * iconv/loop.c: Likewise.
26090 * nis/rpcsvc/nis.h: Likewise.
26091 * resolv/ns_name.c: Likewise.
26092 * stdio-common/vfscanf.c: Likewise.
26093 * streams/stropts.h: Likewise.
26094 * sunrpc/rpc_thread.c: Likewise.
26095 * sysdeps/i386/strpbrk.S: Likewise.
26096 * sysdeps/ieee754/k_standard.c: Likewise.
26097 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26098 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26099 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
26100 * sysdeps/mach/hurd/profil.c: Likewise.
26101 * sysdeps/s390/dl-procinfo.h: Likewise.
26102 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
26103 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
26104 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
26105 * sysdeps/x86_64/dl-trampoline.S: Likewise.
26106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26107
0186c6e9
OB
261082013-08-30 Ondřej Bílka <neleai@seznam.cz>
26109
26110 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
26111 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
26112
d4e16af1
OB
261132013-08-29 Ondřej Bílka <neleai@seznam.cz>
26114
26115 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
26116 aix specific files.
26117 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
26118 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
26119 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
26120 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
26121 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
26122 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
26123 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
26124 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
26125
88335980
TS
261262013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26127 Roland McGrath <roland@hack.frob.com>
26128
26129 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
26130 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
26131
ed479b02
ST
261322013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
26133
26134 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
26135 __executable_start symbol instead of _start.
26136
f1cc4c86
TS
261372013-08-29 Thomas Schwinge <thomas@codesourcery.com>
26138
d821f07c
TS
26139 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
26140 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
26141 Move macros to...
26142 * sysdeps/gnu/ldsodefs.h: ... this new file.
26143
c54290cf
TS
26144 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
26145 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
26146 instead of ELFOSABI_LINUX.
26147
0007fc9b 26148 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
26149 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
26150 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
26151 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
26152 Likewise.
26153 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
26154 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
26155 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
26156 Likewise.
26157 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
26158 (ibm_extended_long_double): Add ieee_nan member.
26159 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
26160 (do_test): New function.
26161
f1cc4c86
TS
26162 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
26163 TEST_TRUNC.
26164 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
26165 functions, renamed from truncdfsf_test, trunctfsf_test,
26166 trunctfdf_test.
26167 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
26168 functions.
26169 (do_test): Run all these.
26170
6f65e668
OB
261712013-08-29 Ondřej Bílka <neleai@seznam.cz>
26172
26173 * argp/argp-help.c: Fix typos.
26174 * argp/argp-parse.c: Likewise.
26175 * debug/backtracesyms.c: Likewise.
26176 * elf/elf.h: Likewise.
26177 * malloc/malloc.c: Likewise.
26178 * nis/nis_print.c: Likewise.
26179 * resolv/res_comp.c: Likewise.
26180 * stdlib/stdlib.h: Likewise.
26181 * sunrpc/clnt_tcp.c: Likewise.
26182 * sunrpc/clnt_udp.c: Likewise.
26183 * sunrpc/clnt_unix.c: Likewise.
26184 * sysdeps/unix/bsd/ptsname.c: Likewise.
26185 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
26186 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
26187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
26188 Likewise.
26189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
26190 Likewise.
26191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
26192 Likewise.
6f65e668
OB
26193 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26194
3a309239
SP
261952013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
26196
26197 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
26198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
26199
3b813b29
MF
262002013-08-27 Mike Frysinger <vapier@gentoo.org>
26201
26202 [BZ #15897]
26203 * dlfcn/Makefile (tests): Add bug-dl-leaf.
26204 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
26205 ($(objpfx)bug-dl-leaf): New rule.
26206 ($(objpfx)bug-dl-leaf.so): Likewise.
26207 ($(objpfx)bug-dl-leaf.out): Likewise.
26208 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
26209 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
26210 * dlfcn/bug-dl-leaf.c: New test.
26211 * dlfcn/bug-dl-leaf-lib.c: Likewise.
26212 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
26213 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
26214 (dlclose): Likewise.
26215 (dlmopen): Likewise.
26216
8cc3269f
RM
262172013-08-27 Roland McGrath <roland@hack.frob.com>
26218
7f9d0034
RM
26219 * include/netdb.h [!_ISOMAC]:
26220 Don't include <tls.h>.
26221 (h_errno, __libc_h_errno): Move declaration and macros out of
26222 [_LIBC_REENTRANT].
26223
fb431262
RM
26224 * include/resolv.h [_RESOLV_H_]:
26225 Don't include <tls.h>.
26226 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
26227 * resolv/res_libc.c: Don't include <tls.h>.
26228 (_res): Use __attribute__ ((nocommon)) in place of
26229 __attribute__ ((section (".bss"))).
26230
bd81123a
RM
26231 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
26232 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
26233
c4e42566
RM
26234 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
26235
f890a59b
RM
26236 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
26237 only under [SIOCGIFCONF && SIOCGIFNETMASK].
26238
26239 * resolv/res_mkquery.c: Include <sys/time.h>.
26240
5d1f0a09
RM
26241 * inet/ifreq.c: Moved to ...
26242 * sysdeps/unix/ifreq.c: ... here.
26243 * inet/ifreq.c: New file, true stub version.
26244
6fcf28b3
RM
26245 * socket/sa_len.c: New file.
26246 * socket/Makefile (aux): Add it.
26247 * sysdeps/unix/sysv/linux/Makefile
26248 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
26249 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
26250 and #include <socket/sa_len.c>.
26251 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
26252 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
26253
e041fb8b
RM
26254 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
26255 * bits/socket.h: ... here.
26256
8cc3269f
RM
26257 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
26258 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
26259 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
26260
5d228a43
AS
262612013-08-27 Andreas Schwab <schwab@suse.de>
26262
45b8accc
AS
26263 [BZ #15736]
26264 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
26265 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
26266 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
26267 * string/test-strcasecmp.c (test_main): Run tests in several
26268 locales.
26269 * string/test-strncasecmp.c (test_main): Likewise.
26270
5d228a43
AS
26271 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
26272 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
26273 to __strcasecmp_nonascii and __strncasecmp_nonascii.
26274 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
26275 (__strncasecmp_ssse3) [PIC]: Likewise.
26276
59d112a4
RM
262772013-08-26 Roland McGrath <roland@hack.frob.com>
26278
53234cc3
RM
26279 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
26280
59d112a4
RM
26281 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
26282 instead of explicitly declaring xdecrypt.
26283 * nis/nss_nis/nis-publickey.c: Likewise.
26284
595aba70
SP
262852013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26286
26287 [BZ #15890]
26288 * nscd/aicache.c: Include res_hconf.h.
26289 (addhstaiX): Initialize res_hconf.
26290
ffabd393
AS
262912013-08-26 Andreas Schwab <schwab@suse.de>
26292
26293 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
26294 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
26295
e0a69f5c
SP
262962013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
26297
26298 * nscd/aicache.c (addhstaiX): Fix indentation.
26299
8c12f01d
MF
263002013-08-25 Mike Frysinger <vapier@gentoo.org>
26301
26302 * configure.ac: Quote $build_pt_chown test.
26303 * configure: Regenerated.
26304
8fe89494
JM
263052013-08-23 Joseph Myers <joseph@codesourcery.com>
26306
26307 [BZ #15532]
26308 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
26309 * math/s_cexpf.c (__cexpf): Likewise.
26310 * math/s_cexpl.c (__cexpl): Likewise.
26311 * math/libm-test.inc (cexp_test_data): Correct expected return
26312 value for NaN + i0. Add another test.
26313
75b181d6
DM
263142013-08-22 David S. Miller <davem@davemloft.net>
26315
26316 * po/ca.po: Update Catalan translation from translation project.
936241e4 26317 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 26318
acd06bb1
JM
263192013-08-21 Joseph Myers <joseph@codesourcery.com>
26320
26321 [BZ #15797]
26322 * math/s_fdim.c (__fdim): Check for infinite arguments if result
26323 is infinite, not alongside NaN test.
26324 * math/s_fdimf.c (__fdimf): Likewise.
26325 * math/s_fdiml.c (__fdiml): Likewise.
26326 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
26327 errno is unchanged.
26328
c0c3f78a
OB
263292013-08-21 Ondřej Bílka <neleai@seznam.cz>
26330
26331 * argp/argp-help.c: Fix typos.
26332 * crypt/speeds.c: Likewise.
26333 * csu/check_fds.c: Likewise.
26334 * elf/dl-load.c: Likewise.
26335 * elf/dl-open.c: Likewise.
26336 * elf/reldep3.c: Likewise.
26337 * elf/reldep.c: Likewise.
26338 * elf/sprof.c: Likewise.
26339 * iconv/iconv_charmap.c: Likewise.
26340 * iconv/skeleton.c: Likewise.
26341 * iconv/strtab.c: Likewise.
26342 * io/lockf64.c: Likewise.
26343 * libio/libioP.h: Likewise.
26344 * resolv/gai_notify.c: Likewise.
26345 * resolv/ns_name.c: Likewise.
26346 * resolv/ns_samedomain.c: Likewise.
26347 * resolv/res_send.c: Likewise.
26348 * stdlib/random.c: Likewise.
26349 * sunrpc/rpc/xdr.h: Likewise.
26350 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
26351 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26352 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26353 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26354 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26355 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26357 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26358 * sysdeps/mach/hurd/check_fds.c: Likewise.
26359 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
26360 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26361 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26362 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
26363 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26364 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
26365 * sysdeps/pthread/aio_notify.c: Likewise.
26366 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
26367 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
26368 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
26369 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26370 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
26371
46ed1038
LD
263722013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26373
26374 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
26375 version if bit_Slow_SSE4_2 is set.
26376 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
26377 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
26378
d400dcac
AZ
263792013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26380
26381 [BZ #15867]
26382 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
26383 trampoline stack frame information.
26384 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
26385 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
26386 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
26387 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
26388 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
26389 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26390 (_libc_vdso_platform_setup): Initialize the signal trampolines.
26391 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
26392 sa_flags value.
26393 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
26394 interrupting a syscall and set with option SA_SIGINFO.
26395
42c8fdd8
JM
263962013-08-20 Joseph Myers <joseph@codesourcery.com>
26397
c980f2f4
JM
26398 [BZ #15531]
26399 * math/s_cproj.c (__cproj): Only return an infinity if one part of
26400 argument is infinite.
26401 * math/s_cprojf.c (__cprojf): Likewise.
26402 * math/s_cprojl.c (__cprojl): Likewise.
26403 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
26404 * math/libm-test.inc (cproj_test_data): Add more tests.
26405
0716c4fc
JM
26406 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
26407
42c8fdd8
JM
26408 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
26409 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
26410 size. Use __ffs to determine corresponding shift.
26411
b31469d0
JM
264122013-08-20 Joseph Myers <joseph@codesourcery.com>
26413 Roland McGrath <roland@hack.frob.com>
26414
26415 * Makefile (INSTALL): Remove trailing blank lines from output of
26416 makeinfo.
26417
4e39af6e
AK
264182013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26419
26420 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
26421 Align 32 bit compat elf_greg to 8 bytes.
26422
f315524e
AA
264232013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
26424
26425 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
26426
1326ba1a
SP
264272013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
26428
26429 * string/strcoll_l.c (coll_seq): New structure.
26430 (get_next_seq_cached): New function.
26431 (get_next_seq): New function.
26432 (do_compare): New function.
26433 (STRCOLL): Use GNU style definition. Simplify implementation
26434 by using get_next_seq, get_next_seq_cached and do_compare.
26435
91ce4085
FW
264362013-08-16 Florian Weimer <fweimer@redhat.com>
26437
26438 [BZ #14699]
26439 CVE-2013-4237
26440 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
26441 member.
26442 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
26443 member.
26444 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
26445 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
26446 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
26447 conditional.
26448 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
26449 GETDENTS_64BIT_ALIGNED.
26450 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26451 * manual/filesys.texi (Reading/Closing Directory): Document
26452 ENAMETOOLONG return value of readdir_r. Recommend readdir more
26453 strongly.
26454 * manual/conf.texi (Limits for Files): Add portability note to
26455 NAME_MAX, PATH_MAX.
26456 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
26457
ca0a6bc4
AS
264582013-08-13 Andreas Schwab <schwab@suse.de>
26459
26460 [BZ #15749]
26461 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
26462 of fabs.
26463 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
26464 LDBL_MAX_EXP >= 16384]: Add tests for it.
26465
6c1fd795
DM
264662013-08-12 David S. Miller <davem@davemloft.net>
26467
26468 * version.h (RELEASE): Set to "development".
26469 (VERSION): Set to "2.18.90".
26470 * NEWS: Add 2.19 section.
26471
31ad488d
DM
264722013-08-03 David S. Miller <davem@davemloft.net>
26473
26474 * po/ko.po: Update Korean translation from translation project.
26475
db24e684
DM
264762013-08-01 David S. Miller <davem@davemloft.net>
26477
26478 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
26479 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
26480 Bilka.
26481
f723285b
DM
264822013-07-30 David S. Miller <davem@davemloft.net>
26483
26484 * po/fr.po: Update French translation from translation project.
26485
3cbc52db
DM
264862013-07-28 David S. Miller <davem@davemloft.net>
26487
30bbc0cc
DM
26488 * po/cs.po: Update Czech translation from translation project.
26489
3cbc52db
DM
26490 * po/sv.po: Update Swedish translation from translation project.
26491
d492e6d0
DM
264922013-07-27 David S. Miller <davem@davemloft.net>
26493
f1a7f492
DM
26494 * po/eo.po: Update Esperanto translation from translation project.
26495
90e62a4a
DM
26496 * po/vi.po: Update Vietnamese translation from translation project.
26497
d492e6d0
DM
26498 * po/de.po: Update German translation from translation project.
26499
d4baa62d
DM
265002013-07-26 David S. Miller <davem@davemloft.net>
26501
641aa7b4
DM
26502 * po/bg.po: Update Bulgarian translation from translation project.
26503
d4baa62d
DM
26504 * po/nl.po: Update Dutch translation from translation project.
26505 * po/pl.po: Update Polish translation from translation project.
26506 * po/ru.po: Update Russian translation from translation project.
26507
61a9dcb9
DM
265082013-07-24 David S. Miller <davem@davemloft.net>
26509
26510 * po/libc.pot: Update.
26511
7b1f8b58
AZ
265122013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26513
26514 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
26515 variable page size.
26516 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
26517 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
26518 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
26519
a8fc7a03
AK
265202013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26521
26522 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
26523
e4608715
CD
265242013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26525 Andreas Schwab <schwab@suse.de>
26526 Roland McGrath <roland@hack.frob.com>
26527 Joseph Myers <joseph@codesourcery.com>
26528 Carlos O'Donell <carlos@redhat.com>
26529
26530 [BZ #15755]
26531 * config.h.in: Define HAVE_PT_CHOWN.
26532 * config.make.in (build-pt-chown): New variable.
26533 * configure.in (--enable-pt_chown): New configure option.
26534 * configure: Regenerate.
26535 * login/Makefile: Include Makeconfig. Build pt_chown only if
26536 build-pt-chown is enabled.
26537 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
26538 pt_chown to fix pty ownership.
26539 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
26540 CLOSE_ALL_FDS.
26541 * manual/install.texi (Configuring and compiling): Mention
26542 --enable-pt_chown. Add @findex for grantpt.
26543 * INSTALL: Regenerate.
26544
da2d62df
DM
265452013-07-20 David S. Miller <davem@davemloft.net>
26546
26547 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
26548 difference between 32-bit and 64-bit.
26549
d7e06450
CD
265502013-07-15 Carlos O'Donell <carlos@redhat.com>
26551
26552 [BZ #15711]
26553 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
26554 Avoid system header dependency with -ffreestanding.
26555 ($(objpfx)bits/syscall%d): Likewise.
26556
f959cfd7
DM
265572013-07-13 David S. Miller <davem@davemloft.net>
26558
26559 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
26560 underflows from atanl/atan2l due to bug 15319.
26561 (casinh_test_data): Likewise.
26562
c61f8513
DM
265632013-07-07 David S. Miller <davem@davemloft.net>
26564
26565 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
26566
72c90ed0
JA
265672013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
26568
26569 * sysdeps/i386/fpu/libm-test-ulps: Update.
26570 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26571
52dfbe13
SP
265722013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26573
26574 * configure.in (--enable-lock-elision): Fix message text.
26575 * INSTALL: Regenerate.
26576 * configure: Regenerate.
26577
3f169543
AZ
265782013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26579
26580 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26581
521c6785
AJ
265822013-07-03 Andreas Jaeger <aj@suse.de>
26583
26584 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
26585 define.
26586 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
26587 (ptrace_peeksiginfo_args): Add.
26588 (__ptrace_peeksiginfo_flags): Add.
26589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
26590 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
26591 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
26592
d2cc15cb
AM
265932013-07-03 Allan McRae <allan@archlinux.org>
26594
26595 * sysdeps/i386/fpu/libm-test-ulps: Update.
26596
3aaeeca7
DM
265972013-07-02 David S. Miller <davem@davemloft.net>
26598
26599 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26600
5314ed1a
MT
266012013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
26602
26603 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26604
67338156
JM
266052013-07-02 Joseph Myers <joseph@codesourcery.com>
26606
26607 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26608 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26609
1717da59
AK
266102013-07-02 Andi Kleen <ak@linux.intel.com>
26611
26612 * config.h.in (ENABLE_LOCK_ELISION): Add.
26613 * configure.in (--enable-lock-elision): Add option.
26614 * manual/install.texi: Document --enable lock elision.
26615 * configure: Regenerate
26616 * INSTALL: Regenerate.
26617
1c81621c
L
266182013-07-02 H.J. Lu <hongjiu.lu@intel.com>
26619
26620 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
26621 SSE4.2 strcasecmp for libc.a.
26622 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
26623
77f01ab5
JM
266242013-07-02 Joseph Myers <joseph@codesourcery.com>
26625
26626 [BZ #13304]
26627 * soft-fp/op-common.h (_FP_FMA): New macro.
26628 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
26629 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
26630 (_FP_MUL_MEAT_1_imm): ... here.
26631 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
26632 (_FP_MUL_MEAT_1_wide): ... here.
26633 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
26634 (_FP_MUL_MEAT_1_hard): ... here.
26635 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
26636 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
26637 (_FP_MUL_MEAT_2_wide): ... here.
26638 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
26639 (_FP_MUL_MEAT_2_wide_3mul): ... here.
26640 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
26641 (_FP_MUL_MEAT_2_gmp): ... here.
26642 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
26643 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
26644 (_FP_MUL_MEAT_4_wide): ... here.
26645 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
26646 (_FP_MUL_MEAT_4_gmp): ... here.
26647 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
26648 (_FP_WFRACBITS_DW_S): Likewise.
26649 (_FP_WFRACXBITS_DW_S): Likewise.
26650 (_FP_HIGHBIT_DW_S): Likewise.
26651 (FP_FMA_S): Likewise.
26652 (_FP_FRAC_HIGH_DW_S): Likewise.
26653 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
26654 (_FP_WFRACBITS_DW_D): Likewise.
26655 (_FP_WFRACXBITS_DW_D): Likewise.
26656 (_FP_HIGHBIT_DW_D): Likewise.
26657 (FP_FMA_D): Likewise.
26658 (_FP_FRAC_HIGH_DW_D): Likewise.
26659 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
26660 (_FP_WFRACBITS_DW_E): Likewise.
26661 (_FP_WFRACXBITS_DW_E): Likewise.
26662 (_FP_HIGHBIT_DW_E): Likewise.
26663 (FP_FMA_E): Likewise.
26664 (_FP_FRAC_HIGH_DW_E): Likewise.
26665 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
26666 (_FP_WFRACBITS_DW_Q): Likewise.
26667 (_FP_WFRACXBITS_DW_Q): Likewise.
26668 (_FP_HIGHBIT_DW_Q): Likewise.
26669 (FP_FMA_Q): Likewise.
26670 (_FP_FRAC_HIGH_DW_Q): Likewise.
26671 * soft-fp/fmasf4.c: New file.
26672 * soft-fp/fmadf4.c: Likewise.
26673 * soft-fp/fmatf4.c: Likewise.
26674
6308fd9a
LD
266752013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26676
26677 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
26678 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
26679 Silvermont.
26680 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
26681 macro.
26682 (index_Slow_SSE4_2): Likewise.
26683 (index_Prefer_PMINUB_for_stringop): Likewise.
26684 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
26685 bit_Slow_SSE4_2 is set.
26686 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26687 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
26688
89cd9569
RA
266892013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26690
26691 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
26692 rtld_global._dl_hwcap2.
26693 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
26694 POWER8.
26695 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
26696 POWER8 feature descriptions defined in _dl_hwcap2.
26697 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
26698 string handling for POWER8 feature bits.
26699 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
26700 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
26701 _dl_powerpc_cap_flags.
26702 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
26703 * sysdeps/powerpc/rtld-global-offsets.sym
26704 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
26705 _dl_hwcap2 in the rtld_global_ro structure.
26706
1ae8bfe0
RA
267072013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26708
26709 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
26710 hardware capabilities in support of AT_HWCAP2.
26711 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
26712 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
26713 GLRO(dl_hwcap2).
26714 (_dl_show_auxv): Add support for calling _dl_procinfo to display
26715 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
26716 explicitly the unknown a_type display mechanism is used.
26717 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
26718 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
26719 struct member.
26720 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
26721 to macro prototype for AT_HWCAP2 support.
26722 * sysdeps/i386/dl-procinfo.h: Likewise.
26723 * sysdeps/s390/dl-procinfo.h: Likewise.
26724 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
26725 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
26726 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
26727 return -1 for unknown a_type display fallback.
26728 * sysdeps/sparc/dl-procinfo.h: Likewise.
26729 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
26730 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
26731
8fbec010
JM
267322013-06-28 Joseph Myers <joseph@codesourcery.com>
26733
26734 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
26735 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
26736
0432680e
PY
267372013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
26738
26739 [BZ #12492]
26740 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
26741 mprotect making __stack_prot writable.
26742
ce61a2ad
NF
267432013-06-28 Nathan Froyd <froydnj@codesourcery.com>
26744 Joseph Myers <joseph@codesourcery.com>
26745
26746 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
26747 as being properly aligned.
26748
f91f1c0f
MR
267492013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
26750
3d0f5d0c
MR
26751 * dlfcn/modstatic5.c: New file.
26752 * dlfcn/tststatic5.c: New file.
26753 * dlfcn/Makefile (tests): Add tststatic5.
26754 (tests-static): Likewise.
26755 (modules-names): Add modstatic5.
26756 (tststatic5-ENV): New variable.
26757 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
26758
f91f1c0f
MR
26759 [BZ #15022]
26760 * elf/dl-support.c (_dl_main_map): New variable.
26761 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
26762 (_dl_nns, _dl_load_adds): Set to 1.
26763 (_dl_initial_searchlist): Refer to _dl_main_map.
26764 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
26765 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
26766 call to _dl_get_origin.
26767 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
26768 around call_map.
26769 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
26770 * dlfcn/modstatic3.c: New file.
26771 * dlfcn/tststatic3.c: New file.
26772 * dlfcn/tststatic4.c: New file.
26773 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
26774 (tests-static): Likewise.
26775 (modules-names): Add modstatic3.
26776 (tststatic3-ENV, tststatic4-ENV): New variables.
26777 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
26778 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
26779
cbe7d24b
JM
267802013-06-26 Joseph Myers <joseph@codesourcery.com>
26781
26782 * configure.in (CC): Require GCC version 4.4 or later.
26783 * configure: Regenerated.
26784 * manual/install.texi (Tools for Compilation): Update GCC version
26785 requirement.
26786 * INSTALL: Regenerated.
26787
11b8a0e1
LD
267882013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
26789
26790 [BZ #15674]
bb5bb87c
L
26791 * string/test-memcmp.c (check2): New.
26792 (main): Call check2.
26793
11b8a0e1
LD
26794 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
26795
b0037103
MR
267962013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
26797
26798 [BZ #15022]
26799 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
26800 over to...
26801 (dl_open_worker) [!SHARED]: ... here.
26802
c18c701d
RA
268032013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26804
26805 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
26806
1d17fa5f
RH
268072013-06-25 Richard Henderson <rth@redhat.com>
26808
26809 * locale/programs/locarchive.c: Include <libc-internal.h>
26810
8fcb833a
JM
268112013-06-25 Joseph Myers <joseph@codesourcery.com>
26812
26813 * manual/texinfo.tex: Update to version 2013-06-21.17, with
26814 trailing whitespace removed.
26815
17db6e8d
MF
268162013-06-24 Mike Frysinger <vapier@gentoo.org>
26817
26818 [BZ #10283]
17db6e8d
MF
26819 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
26820 * locale/programs/locarchive.c: Include libc-mmap.h.
26821 (prepare_address_space): Take two new outputs (the mmap base and len).
26822 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
26823 values.
26824 (create_archive): Declare new mmap base and len values for
26825 prepare_address_space, and store the result in ah.
26826 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
26827 (enlarge_archive): If ah->mmap_base is not NULL, use that and
26828 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26829 Declare new mmap base and len values for
26830 prepare_address_space, and store the result in new_ah.
26831 (open_archive): Declare new mmap base and len values for
26832 prepare_address_space, and store the result in ah.
26833 (close_archive): If ah->mmap_base is not NULL, use that and
26834 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
26835 * sysdeps/generic/libc-mmap.h: New file.
26836
d605071e
MF
268372013-06-24 Mike Frysinger <vapier@gentoo.org>
26838
26839 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
26840 (ALIGN_UP): Likewise.
26841 (PTR_ALIGN_DOWN): Likewise.
26842 (PTR_ALIGN_UP): Likewise.
26843
2f063a6e
RA
268442013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
26845
26846 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
26847 entry mapped to PPC_PLATFORM_POWER8.
26848 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
26849 POWER8.
26850 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
26851 (_dl_string_platform): Add case for exporting platform position for
26852 POWER8.
26853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
26854 search path to sysdeps/powerpc/powerpc32/power8 directory.
26855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
26856 search path to sysdeps/powerpc/powerpc64/power8 directory.
26857 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
26858 power7 directories.
26859 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
26860 power7 directories.
26861
a31ee4b3
SP
268622013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26863
a74ca98f
SP
26864 * INSTALL: Regenerate.
26865
a31ee4b3
SP
26866 * nscd/connections.c (nscd_init): Fix comment.
26867
695c378f
JM
268682013-06-22 Joseph Myers <joseph@codesourcery.com>
26869
d8412221
JM
26870 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
26871
695c378f
JM
26872 [BZ #15667]
26873 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
26874 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
26875
d1d54715
MR
268762013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26877
26878 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
26879 DL_DST_REQ_STATIC.
26880 (DL_DST_REQ_STATIC): Remove macro.
26881
8fdda7af
JM
268822013-06-21 Joseph Myers <joseph@codesourcery.com>
26883
26884 [BZ #7006]
26885 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
26886 with a shift of 0 bits.
26887
f3bc5e5a
MR
268882013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
26889
26890 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
26891 $(tststatic-ENV).
26892
be09e8c9
KK
268932013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26894
26895 [BZ #15655]
26896 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
26897
85c2e611
AZ
268982013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26899
26900 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
26901 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
26902 accepts -fno-tree-loop-distribute-patterns.
26903 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
26904 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
26905 recursive call.
26906 * string/memset.c (memset): Likewise.
26907 * string/test-memmove.c (simple_memmove): Disable loop transformation
26908 to library calls.
26909 * string/test-memset.c (simple_memset): Likewise.
26910 * benchtests/bench-memmove.c (simple_memmove): Likewise.
26911 * benchtests/bench-memset.c (simple_memset): Likewise.
26912 * configure: Regenerated.
26913
c91e0825
JM
269142013-06-20 Joseph Myers <joseph@codesourcery.com>
26915
b8c792af
JM
26916 * math/test-misc.c (main): Ignore fesetround failure when failures
26917 of subsequent rounding tests would be ignored.
26918
c91e0825
JM
26919 [BZ #15654]
26920 * math/fedisblxcpt.c (fedisableexcept): Return 0.
26921 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
26922 * math/fegetenv.c (__fegetenv): Return 0.
26923 * math/fegetexcept.c (fegetexcept): Return 0.
26924 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
26925 FE_TONEAREST.
26926 * math/feholdexcpt.c (feholdexcept): Return 0.
26927 * math/fesetenv.c (__fesetenv): Return 0.
26928 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
26929 argument FE_TONEAREST.
26930 * math/feupdateenv.c (__feupdateenv): Return 0.
26931 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
26932
bfcacbde
RM
269332013-06-18 Roland McGrath <roland@hack.frob.com>
26934
26935 * elf/rtld-Rules (rtld-compile-command.S): New variable.
26936 (rtld-compile-command.s, rtld-compile-command.c): New variables.
26937 ($(objpfx)rtld-%.os rules): Use them.
26938
e55a9b25
AZ
269392013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26940
26941 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
26942 fields.
26943
346d65b3
RM
269442013-06-17 Roland McGrath <roland@hack.frob.com>
26945
12086fb4
RM
26946 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
26947 length of target pattern, then descending length of dependency pattern.
26948 * configure.in (AWK): Require gawk 3.1.2 or newer.
26949 * manual/install.texi (Tools for Compilation): Say that we do.
26950 * configure: Regenerated.
26951
346d65b3
RM
26952 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
26953 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
26954 * scripts/sysd-rules.awk: ... this new script.
26955 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
26956 than a glob-style pattern.
26957
1a846317
JM
269582013-06-17 Joseph Myers <joseph@codesourcery.com>
26959
26960 * math/test-misc.c (main): Do not treat incorrectly rounded
26961 conversions as failure unless ROUNDING_TESTS passes.
26962
8fc75e6f
JM
269632013-06-15 Joseph Myers <joseph@codesourcery.com>
26964
3711a167
JM
26965 [BZ #15631]
26966 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
26967 restore exception state around main square root computation, then
26968 check for inexactness explicitly.
26969
8fc75e6f
JM
26970 * math/libm-test.inc (fma_test_data): Add another test.
26971
61dd6208
SP
269722013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26973
adf23d2c
SP
26974 * manual/threads.texi (Non-POSIX Extensions): New document
26975 node. Document pthread_getattr_default_np and
26976 pthread_setattr_default_np.
26977
61dd6208
SP
26978 * Versions.def (libpthread): Add GLIBC_2.18.
26979 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
26980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
26981 Likewise.
26982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
26983 Likewise.
26984 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
26985 Likewise.
26986 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
26987 Likewise.
26988 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
26989 Likewise.
26990 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
26991 Likewise.
26992 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
26993 Likewise.
26994 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
26995 Likewise.
26996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
26997 Likewise.
26998
d086fc7b
LD
269992013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27000
27001 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27002 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
27003
747ef469
SP
270042013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27005 H.J. Lu <hjl.tools@gmail.com>
27006
27007 [BZ #15627]
27008 * sysdeps/x86_64/rtld-memset.c: Remove file.
27009 * sysdeps/x86_64/rtld-memset.S: New file.
27010
1b2feed2
JM
270112013-06-14 Joseph Myers <joseph@codesourcery.com>
27012
27013 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
27014 (test_in_one_mode): Take arguments for whether the rounding mode
27015 is supported for each floating-point type.
27016 (do_test): Pass new arguments to test_in_one_mode using
27017 ROUNDING_TESTS.
27018
a58ad3f8
RM
270192013-06-13 Roland McGrath <roland@hack.frob.com>
27020
27021 * posix/tst-waitid.c (do_test): Distinguish different instances of
27022 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
27023 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
27024 before entering the kernel for waitpid.
27025
c204ab28
SP
270262013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27027
27028 * NEWS: Fix note on clock function precision. Text by Roland
27029 McGrath.
27030
f4a29fba
RM
270312013-06-13 Roland McGrath <roland@hack.frob.com>
27032
27033 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
27034 it into place only when and if the sanity check passes.
27035
1f24b9ad
JM
270362013-06-13 Joseph Myers <joseph@codesourcery.com>
27037
27038 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
27039 output for whether conversion result is exact. Take argument
27040 indicating whether type is IBM long double.
27041 (round_for_all): Change need_exact field to ibm_ld.
27042 * stdlib/tst-strtod-round.c (struct exactness): New type.
27043 (struct test): Change bool ld_ok field to struct exactness exact.
27044 (TEST): Update all definitions for change to field.
27045 (tests): Regenerate array contents.
27046 (test_in_one_mode): Take pointer to new field instead of old ld_ok
27047 field value. Check for IBM long double here.
27048 (do_test): Update calls to test_in_one_mode.
27049
58206c68
SP
270502013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27051
27052 [BZ #12515]
27053 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
27054 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
27055
2d6f4c5b 270562013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
27057
27058 [BZ #15605]
27059 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
27060 generated by the compiler on loop optimizations.
27061 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
27062 general definitions.
27063
94f2c076
JM
270642013-06-12 Joseph Myers <joseph@codesourcery.com>
27065
27066 * math/bug-nextafter.c: Include <math-tests.h>.
27067 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27068 the relevant type.
27069 * math/bug-nexttoward.c: Include <math-tests.h>.
27070 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27071 the relevant type.
27072 * math/test-misc.c: Include <math-tests.h>.
27073 (main): Only test for exceptions if EXCEPTION_TESTS is true for
27074 the relevant type.
27075
e0e50a0a
AJ
270762013-06-12 Andreas Jaeger <aj@suse.de>
27077
27078 * po/ia.po: Update Interlingua translation from translation
27079 project.
27080
25061094
SP
270812013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27082
27083 * include/fenv.h: Include stdbool.h.
27084 (struct rm_ctx): New structure.
27085 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
27086 Define macro.
27087 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
27088 (SET_RESTORE_ROUNDF): Likewise.
27089 (SET_RESTORE_ROUNDL): Likewise.
27090 (SET_RESTORE_ROUND_NOEX): Likewise.
27091 (SET_RESTORE_ROUND_NOEXF): Likewise.
27092 (SET_RESTORE_ROUND_NOEXL): Likewise.
27093 (SET_RESTORE_ROUND_53BIT): Likewise.
27094 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
27095 (libc_feresetround_noexf_ctx): Likewise.
27096 (libc_feresetround_noexl_ctx): Likewise.
27097 (libc_feholdsetround_53bit_ctx): Likewise.
27098 (libc_feresetround_53bit_ctx): Likewise.
27099 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
27100 (libc_feholdexcept_setround_sse_ctx): New function.
27101 (libc_fesetenv_sse_ctx): Likewise.
27102 (libc_feupdateenv_sse_ctx): Likewise.
27103 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
27104 (libc_feholdexcept_setround_387_ctx): Likewise.
27105 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
27106 (libc_feholdsetround_387_prec_ctx): Likewise.
27107 (libc_feholdsetround_387_ctx): Likewise.
27108 (libc_feholdsetround_387_53bit_ctx): Likewise.
27109 (libc_feholdsetround_sse_ctx): Likewise.
27110 (libc_feresetround_sse_ctx): Likewise.
27111 (libc_feresetround_387_ctx): Likewise.
27112 (libc_feupdateenv_387_ctx): Likewise.
27113 (libc_feholdexcept_setroundf_ctx): Define macro.
27114 (libc_fesetenvf_ctx): Likewise.
27115 (libc_feupdateenvf_ctx): Likewise.
27116 (libc_feholdsetroundf_ctx): Likewise.
27117 (libc_feresetroundf_ctx): Likewise.
27118 (libc_feholdexcept_setround_ctx): Likewise.
27119 (libc_fesetenv_ctx): Likewise.
27120 (libc_feupdateenv_ctx): Likewise.
27121 (libc_feholdsetround_ctx): Likewise.
27122 (libc_feresetround_ctx): Likewise.
27123 (libc_feholdexcept_setroundl_ctx): Likewise.
27124 (libc_feupdateenvl_ctx): Likewise.
27125 (libc_feholdsetroundl_ctx): Likewise.
27126 (libc_feresetroundl_ctx): Likewise.
27127 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
27128 (libc_feresetround_53bit_ctx): Likewise.
27129
59b30555
SP
271302013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27131
27132 * locale/iso-639.def: Convert to UTF-8.
27133
f1d73d30
JM
271342013-06-11 Joseph Myers <joseph@codesourcery.com>
27135
27136 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
27137 (EXCEPTION_TESTS_double): Likewise.
27138 (EXCEPTION_TESTS_long_double): Likewise.
27139 (EXCEPTION_TESTS): Likewise.
27140 * math/libm-test.inc (test_exceptions): Only test exceptions if
27141 EXCEPTION_TESTS (FLOAT).
27142
94aca5e7
SP
271432013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27144
27145 * benchtests/Makefile (string-bench): Add strcpy_chk and
27146 stpcpy_chk.
27147 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
27148 * benchtests/bench-stpcpy_chk.c: New file.
27149 * benchtests/bench-strcpy_chk-ifunc.c: New file.
27150 * benchtests/bench-strcpy_chk.c: New file.
27151 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
27152 code.
27153 (do_test): Likewise.
27154
fac0c5f2
RA
271552013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27156
27157 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
27158 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
27159 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
27160 with tabs where appropriate.
27161 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
27162 dl-procinfo.h.
27163 [PPC_PLATFORM_PPC440]: Likewise.
27164 [PPC_PLATFORM_PPC464]: Likewise.
27165 [PPC_PLATFORM_PPC476]: Likewise.
27166 (_dl_string_platform): Add support for detecting ppc405, ppc440,
27167 ppc464, and ppc476 platform strings merging from ports/
27168 dl-procinfo.h.
27169
f22bc486
AS
271702013-06-11 Andreas Schwab <schwab@suse.de>
27171
27172 [BZ #14991]
27173 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
27174 (from_ucs4_idx): Regenerate.
27175 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
27176 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
27177 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
27178 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
27179 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
27180 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
27181 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
27182 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
27183 from FROM_LOOP and TO_LOOP specific macros.
27184 (BODY): Handle combining characters.
27185 * iconvdata/BIG5HKSCS.irreversible: Update.
27186 * iconvdata/BIG5HKSCS.precomposed: New file.
27187 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
27188 characters.
27189 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
27190
c1f75dc3
SP
271912013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27192
4eacded2
SP
27193 * include/sys/time.h: Fix indentation and add copyright header.
27194
fec799f8
SP
27195 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
27196 (do_test): Likewise.
27197 * string/test-memchr.c (do_one_test): Likewise.
27198 (do_test): Likewise.
27199 * string/test-memcmp.c (do_one_test): Likewise.
27200 (do_test): Likewise.
27201 * string/test-memcpy.c (do_one_test): Likewise.
27202 (do_test): Likewise.
27203 * string/test-memmem.c (do_one_test): Likewise.
27204 (do_test): Likewise.
27205 (do_random_tests): Likewise.
27206 * string/test-memmove.c (do_one_test): Likewise.
27207 (do_test): Likewise.
27208 * string/test-memset.c (do_one_test): Likewise.
27209 (do_test): Likewise.
27210 * string/test-rawmemchr.c (do_one_test): Likewise.
27211 (do_test): Likewise.
27212 * string/test-strcasecmp.c (do_one_test): Likewise.
27213 (do_test): Likewise.
27214 * string/test-strcasestr.c (do_one_test): Likewise.
27215 (do_test): Likewise.
27216 * string/test-strcat.c (do_one_test): Likewise.
27217 (do_test): Likewise.
27218 * string/test-strchr.c (do_one_test): Likewise.
27219 (do_test): Likewise.
27220 * string/test-strcmp.c (do_one_test): Likewise.
27221 (do_test): Likewise.
27222 * string/test-strcpy.c (do_one_test): Likewise.
27223 (do_test): Likewise.
27224 * string/test-string.h: Likewise.
27225 (test_init): Likewise.
27226 * string/test-strlen.c (do_one_test): Likewise.
27227 (do_test): Likewise.
27228 * string/test-strncasecmp.c (do_one_test): Likewise.
27229 (do_test): Likewise.
27230 * string/test-strncat.c (do_one_test): Likewise.
27231 (do_test): Likewise.
27232 * string/test-strncmp.c (do_one_test): Likewise.
27233 (do_test_limit): Likewise.
27234 (do_test): Likewise.
27235 * string/test-strncpy.c (do_one_test): Likewise.
27236 (do_test): Likewise.
27237 * string/test-strnlen.c (do_one_test): Likewise.
27238 (do_test): Likewise.
27239 * string/test-strpbrk.c (do_one_test): Likewise.
27240 (do_test): Likewise.
27241 * string/test-strrchr.c (do_one_test): Likewise.
27242 (do_test): Likewise.
27243 * string/test-strspn.c (do_one_test): Likewise.
27244 (do_test): Likewise.
27245 * string/test-strstr.c (do_one_test): Likewise.
27246 (do_test): Likewise.
27247
97020474
SP
27248 * benchtests/Makefile (string-bench): Add string benchmarks.
27249 * benchtests/bench-bcopy-ifunc.c: New file.
27250 * benchtests/bench-bcopy.c: New file.
27251 * benchtests/bench-bzero-ifunc.c: New file.
27252 * benchtests/bench-bzero.c: New file.
27253 * benchtests/bench-memccpy-ifunc.c: New file.
27254 * benchtests/bench-memccpy.c: New file.
27255 * benchtests/bench-memchr-ifunc.c: New file.
27256 * benchtests/bench-memchr.c: New file.
27257 * benchtests/bench-memcmp-ifunc.c: New file.
27258 * benchtests/bench-memcmp.c: New file.
27259 * benchtests/bench-memmem-ifunc.c: New file.
27260 * benchtests/bench-memmem.c: New file.
27261 * benchtests/bench-memmove-ifunc.c: New file.
27262 * benchtests/bench-memmove.c: New file.
27263 * benchtests/bench-mempcpy-ifunc.c: New file.
27264 * benchtests/bench-mempcpy.c: New file.
27265 * benchtests/bench-memset-ifunc.c: New file.
27266 * benchtests/bench-memset.c: New file.
27267 * benchtests/bench-rawmemchr-ifunc.c: New file.
27268 * benchtests/bench-rawmemchr.c: New file.
27269 * benchtests/bench-stpcpy-ifunc.c: New file.
27270 * benchtests/bench-stpcpy.c: New file.
27271 * benchtests/bench-stpncpy-ifunc.c: New file.
27272 * benchtests/bench-stpncpy.c: New file.
27273 * benchtests/bench-strcasecmp-ifunc.c: New file.
27274 * benchtests/bench-strcasecmp.c: New file.
27275 * benchtests/bench-strcasestr-ifunc.c: New file.
27276 * benchtests/bench-strcasestr.c: New file.
27277 * benchtests/bench-strcat-ifunc.c: New file.
27278 * benchtests/bench-strcat.c: New file.
27279 * benchtests/bench-strchr-ifunc.c: New file.
27280 * benchtests/bench-strchr.c: New file.
27281 * benchtests/bench-strchrnul-ifunc.c: New file.
27282 * benchtests/bench-strchrnul.c: New file.
27283 * benchtests/bench-strcmp-ifunc.c: New file.
27284 * benchtests/bench-strcmp.c: New file.
27285 * benchtests/bench-strcpy-ifunc.c: New file.
27286 * benchtests/bench-strcpy.c: New file.
27287 * benchtests/bench-strcspn-ifunc.c: New file.
27288 * benchtests/bench-strcspn.c: New file.
27289 * benchtests/bench-strlen-ifunc.c: New file.
27290 * benchtests/bench-strlen.c: New file.
27291 * benchtests/bench-strncasecmp-ifunc.c: New file.
27292 * benchtests/bench-strncasecmp.c: New file.
27293 * benchtests/bench-strncat-ifunc.c: New file.
27294 * benchtests/bench-strncat.c: New file.
27295 * benchtests/bench-strncmp-ifunc.c: New file.
27296 * benchtests/bench-strncmp.c: New file.
27297 * benchtests/bench-strncpy-ifunc.c: New file.
27298 * benchtests/bench-strncpy.c: New file.
27299 * benchtests/bench-strnlen-ifunc.c: New file.
27300 * benchtests/bench-strnlen.c: New file.
27301 * benchtests/bench-strpbrk-ifunc.c: New file.
27302 * benchtests/bench-strpbrk.c: New file.
27303 * benchtests/bench-strrchr-ifunc.c: New file.
27304 * benchtests/bench-strrchr.c: New file.
27305 * benchtests/bench-strspn-ifunc.c: New file.
27306 * benchtests/bench-strspn.c: New file.
27307 * benchtests/bench-strstr-ifunc.c: New file.
27308 * benchtests/bench-strstr.c: New file.
27309
c1f75dc3
SP
27310 * benchtests/Makefile: Disable parallel execution of targets.
27311 (string-bench): Add memcpy.
27312 (benchset): New variable to store a list of benchmark sets.
27313 (bench-func): Renamed from bench.
27314 (bench-set): New target.
27315 (bench): Depend on bench-func and bench-set.
27316 * benchtests/README: Add section on benchmark sets.
27317 * benchtests/bench-memcpy-ifunc.c: New file.
27318 * benchtests/bench-memcpy.c: New file.
27319 * benchtests/bench-string.h: New file.
27320
50fd745b
AS
273212013-06-11 Andreas Schwab <schwab@suse.de>
27322
27323 [BZ #15577]
27324 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
27325 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
27326 values in the triple.
27327 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
27328 terminator in the group key.
27329
3ee7e9fe
AJ
273302013-06-11 Andreas Jaeger <aj@suse.de>
27331
27332 * po/zh_TW.po: Update Chinese (traditional) translation from
27333 translation project.
27334
89fb6835
SP
273352013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27336
27337 * include/time.h (__clock_gettime): Add libc_hidden_proto.
27338 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
27339 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
27340 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
27341 (clock_getcpuclockid): Likewise.
27342 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
27343 Add weak_alias and libc_hidden_def.
27344 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
27345 * rt/clock_gettime.c (clock_gettime): Rename to
27346 __clock_gettime. Add weak_alias and libc_hidden_def.
27347 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
27348 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
27349 __clock_nanosleep. Add weak_alias and libc_hidden_def.
27350 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
27351 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
27352 Likewise.
27353 * rt/clock_settime.c (clock_settime): Rename to
27354 __clock_settime. Add weak_alias and libc_hidden_def.
27355 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
27356
0efa6f8b
JM
273572013-06-10 Joseph Myers <joseph@codesourcery.com>
27358
b8c61b4b
JM
27359 * mach/err_boot.sub: Remove trailing whitespace.
27360 * mach/err_ipc.sub: Likewise.
27361 * mach/err_mach.sub: Likewise.
27362
0efa6f8b
JM
27363 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
27364 (ROUNDING_TESTS_double): Likewise.
27365 (ROUNDING_TESTS_long_double): Likewise.
27366 (ROUNDING_TESTS): Likewise.
27367 * math/libm-test.inc: Include <math-tests.h>.
27368 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
27369 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27370 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27371 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27372
50b818bf
SP
273732013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27374
27375 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
27376 of assigning.
27377
60d2f8f3
JM
273782013-06-08 Joseph Myers <joseph@codesourcery.com>
27379
4902d2c3
JM
27380 * sysdeps/gnu/errlist.awk: Do not generate space at end of
27381 otherwise empty TRANS lines.
27382 * sysdeps/gnu/errlist.c: Regenerated.
27383
60d2f8f3
JM
27384 * catgets/gencat.c (error_print): Use (void) in function
27385 definition.
27386 * crypt/crypt_util.c (__init_des): Likewise.
27387 * crypt/speeds.c (Stop): Likewise.
27388 (main): Likewise.
27389 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
27390 * inet/ruserpass.c (token): Likewise.
27391 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
27392 * intl/localealias.c (extend_alias_table): Likewise.
27393 * intl/plural-exp.c (init_germanic_plural): Likewise.
27394 * libio/fcloseall.c (__fcloseall): Likewise.
27395 * libio/genops.c (_IO_flush_all): Likewise.
27396 (_IO_flush_all_linebuffered): Likewise.
27397 (_IO_cleanup): Likewise.
27398 (_IO_iter_begin): Likewise.
27399 (_IO_iter_end): Likewise.
27400 (_IO_list_lock): Likewise.
27401 (_IO_list_unlock): Likewise.
27402 (_IO_list_resetlock): Likewise.
27403 * libio/getchar.c (getchar): Likewise.
27404 * libio/getchar_u.c (getchar_unlocked): Likewise.
27405 * libio/getwchar.c (getwchar): Likewise.
27406 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
27407 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
27408 * login/getpt.c (__getpt): Likewise.
27409 * login/tst-utmp.c (main): Likewise.
27410 * malloc/hooks.c (__malloc_check_init): Likewise.
27411 * malloc/malloc.c (__malloc_stats): Likewise.
27412 * malloc/mtrace.c (tr_break): Likewise.
27413 (mtrace): Likewise.
27414 (muntrace): Likewise.
27415 * misc/fstab.c (endfsent): Likewise.
27416 * misc/getclktck.c (__getclktck): Likewise.
27417 * misc/getdtsz.c (__getdtablesize): Likewise.
27418 * misc/gethostid.c (gethostid): Likewise.
27419 * misc/getpagesize.c (__getpagesize): Likewise.
27420 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
27421 (__get_nprocs): Likewise.
27422 (__get_phys_pages): Likewise.
27423 (__get_avphys_pages): Likewise.
27424 * misc/getttyent.c (getttyent): Likewise.
27425 (setttyent): Likewise.
27426 (endttyent): Likewise.
27427 * misc/getusershell.c (getusershell): Likewise.
27428 (endusershell): Likewise.
27429 (setusershell): Likewise.
27430 (initshells): Likewise.
27431 * misc/hsearch.c (__hdestroy): Likewise.
27432 * misc/sync.c (sync): Likewise.
27433 * misc/syslog.c (closelog_internal): Likewise.
27434 (closelog): Likewise.
27435 * misc/ttyslot.c (ttyslot): Likewise.
27436 * misc/vhangup.c (vhangup): Likewise.
27437 * posix/fork.c (__fork): Likewise.
27438 * posix/getegid.c (__getegid): Likewise.
27439 * posix/geteuid.c (__geteuid): Likewise.
27440 * posix/getgid.c (__getgid): Likewise.
27441 * posix/getpid.c (__getpid): Likewise.
27442 * posix/getppid.c (__getppid): Likewise.
27443 * posix/getuid.c (__getuid): Likewise.
27444 * posix/pause.c (pause): Likewise.
27445 * posix/setpgrp.c (setpgrp): Likewise.
27446 * posix/setsid.c (__setsid): Likewise.
27447 * posix/test-vfork.c (noop): Likewise.
27448 * resolv/gethnamaddr.c (_endhtent): Likewise.
27449 (_gethtent): Likewise.
27450 (ht_endhostent): Likewise.
27451 (gethostent): Likewise.
27452 (dns_service): Likewise.
27453 * stdlib/drand48.c (drand48): Likewise.
27454 * stdlib/lrand48.c (lrand48): Likewise.
27455 * stdlib/mrand48.c (mrand48): Likewise.
27456 * stdlib/rand.c (rand): Likewise.
27457 * stdlib/random.c (__random): Likewise.
27458 * stdlib/setenv.c (clearenv): Likewise.
27459 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
27460 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
27461 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
27462 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
27463 (__get_nprocs): Likewise.
27464 (__get_phys_pages): Likewise.
27465 (__get_avphys_pages): Likewise.
27466 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
27467 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
27468 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
27469 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
27470 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
27471 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
27472 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
27473 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
27474 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
27475 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
27476 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
27477 * sysdeps/mach/hurd/sync.c (sync): Likewise.
27478 * sysdeps/posix/clock.c (clock): Likewise.
27479 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
27480 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
27481 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
27482 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
27483 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
27484 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
27485 (__get_nprocs_conf): Likewise.
27486 (__get_phys_pages): Likewise.
27487 (__get_avphys_pages): Likewise.
27488 * time/clock.c (clock): Likewise.
27489 * time/tzset.c (__tzname_max): Likewise.
27490
2e09a79a
JM
274912013-06-07 Joseph Myers <joseph@codesourcery.com>
27492
27493 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
27494 (__bswap_32): Do not use "register".
27495 * crypt/crypt.c (_ufc_doit_r): Likewise.
27496 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
27497 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
27498 * gmon/gmon.c (__monstartup): Likewise.
27499 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
27500 * hurd/hurdmalloc.c (more_memory): Likewise.
27501 (malloc): Likewise.
27502 (free): Likewise.
27503 (realloc): Likewise.
27504 (malloc_fork_prepare): Likewise.
27505 (malloc_fork_parent): Likewise.
27506 (malloc_fork_child): Likewise.
27507 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
27508 (_svcauth_des): Likewise.
27509 * inet/inet_lnaof.c (inet_lnaof): Likewise.
27510 * inet/inet_net.c (inet_network): Likewise.
27511 * inet/inet_netof.c (inet_netof): Likewise.
27512 * inet/rcmd.c (__validuser2_sa): Likewise.
27513 * io/fts.c (fts_open): Likewise.
27514 (fts_load): Likewise.
27515 (fts_close): Likewise.
27516 (fts_read): Likewise.
27517 (fts_children): Likewise.
27518 (fts_build): Likewise.
27519 (fts_stat): Likewise.
27520 (fts_sort): Likewise.
27521 (fts_alloc): Likewise.
27522 (fts_lfree): Likewise.
27523 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
27524 (_IO_file_xsgetn): Likewise.
27525 (_IO_file_xsgetn_mmap): Likewise.
27526 * libio/iofopncook.c (_IO_cookie_read): Likewise.
27527 (_IO_cookie_write): Likewise.
27528 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
27529 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
27530 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
27531 * malloc/obstack.c (_obstack_begin): Likewise.
27532 (_obstack_begin_1): Likewise.
27533 (_obstack_newchunk): Likewise.
27534 (_obstack_allocated_p): Likewise.
27535 (obstack_free): Likewise.
27536 (_obstack_memory_used): Likewise.
27537 * misc/getttyent.c (getttynam): Likewise.
27538 (getttyent): Likewise.
27539 (skip): Likewise.
27540 (value): Likewise.
27541 * misc/getusershell.c (initshells): Likewise.
27542 * misc/syslog.c (__vsyslog_chk): Likewise.
27543 * misc/ttyslot.c (ttyslot): Likewise.
27544 * nis/nis_hash.c (__nis_hash): Likewise.
27545 * posix/fnmatch_loop.c (FCT): Likewise.
27546 * posix/getconf.c (print_all): Likewise.
27547 (main): Likewise.
27548 * posix/getopt.c (exchange): Likewise.
27549 * posix/glob.c (globfree): Likewise.
27550 (prefix_array): Likewise.
27551 (__glob_pattern_type): Likewise.
27552 * resolv/arpa/nameser.h (NS_GET16): Likewise.
27553 (NS_GET32): Likewise.
27554 (NS_PUT16): Likewise.
27555 (NS_PUT32): Likewise.
27556 * resolv/gethnamaddr.c (getanswer): Likewise.
27557 (gethostbyname2): Likewise.
27558 (gethostbyaddr): Likewise.
27559 (_gethtent): Likewise.
27560 (_gethtbyname2): Likewise.
27561 (_gethtbyaddr): Likewise.
27562 * resolv/ns_print.c (dst_s_get_int16): Likewise.
27563 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
27564 * resolv/res_init.c (__res_vinit): Likewise.
27565 (net_mask): Likewise.
27566 * resolv/res_mkquery.c (outchar): Likewise.
27567 (PRINT): Likewise.
27568 * stdio-common/printf_fp.c (outchar): Likewise.
27569 (PRINT): Likewise.
27570 * stdio-common/printf_fphex.c (outchar): Likewise.
27571 (PRINT): Likewise.
27572 * stdio-common/printf_size.c (outchar): Likewise.
27573 (PRINT): Likewise.
27574 * stdio-common/test_rdwr.c (main): Likewise.
27575 * stdio-common/tfformat.c (matches): Likewise.
27576 * stdio-common/vfprintf.c (outchar): Likewise.
27577 (printf_unknown): Likewise.
27578 (buffered_vfprintf): Likewise.
27579 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
27580 * stdio-common/xbug.c (AppendToBuffer): Likewise.
27581 (ReadFile): Likewise.
27582 * stdlib/qsort.c (SWAP): Likewise.
27583 (_quicksort): Likewise.
27584 * stdlib/setenv.c (__add_to_environ): Likewise.
27585 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27586 * stdlib/strtol_l.c (__strtol_l): Likewise.
27587 * stdlib/tst-strtod.c (main): Likewise.
27588 * stdlib/tst-strtol.c (main): Likewise.
27589 * stdlib/tst-strtoll.c (main): Likewise.
27590 * string/bits/string2.h (__strcmp_cc): Likewise.
27591 (__strcmp_cg): Likewise.
27592 (__strcspn_c1): Likewise.
27593 (__strcspn_c2): Likewise.
27594 (__strcspn_c3): Likewise.
27595 (__strspn_c1): Likewise.
27596 (__strspn_c2): Likewise.
27597 (__strspn_c3): Likewise.
27598 (__strsep_1c): Likewise.
27599 (__strsep_2c): Likewise.
27600 (__strsep_3c): Likewise.
27601 * string/memccpy.c (__memccpy): Likewise.
27602 * string/stpcpy.c (__stpcpy): Likewise.
27603 * string/strcmp.c (strcmp): Likewise.
27604 * string/strrchr.c (strrchr): Likewise.
27605 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
27606 Likewise.
27607 * sysdeps/mach/hurd/getcwd.c
27608 (_hurd_canonicalize_directory_name_internal): Likewise.
27609 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
27610 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
27611 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
27612 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
27613 Likewise, in both definitions.
27614 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
27615 definitions.
27616 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
27617 64] (__bswap_64): Likewise.
27618 * time/test_time.c (main): Likewise.
27619 * time/tzfile.c (__tzfile_read): Likewise.
27620 (__tzfile_compute): Likewise.
27621 * time/tzset.c (__tzset_parse_tz): Likewise.
27622 (tzset_internal): Likewise.
27623 (compute_change): Likewise.
27624 * wcsmbs/wcscat.c (__wcscat): Likewise.
27625 * wcsmbs/wcschr.c (wcschr): Likewise.
27626 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
27627 * wcsmbs/wcscspn.c (wcscspn): Likewise.
27628 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
27629 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
27630 * wcsmbs/wcsspn.c (wcsspn): Likewise.
27631 * wcsmbs/wcsstr.c (wcsstr): Likewise.
27632 * wcsmbs/wmemchr.c (wmemchr): Likewise.
27633 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
27634 * wcsmbs/wmemset.c (wmemset): Likewise.
27635
9e54314b
JM
276362013-06-06 Joseph Myers <joseph@codesourcery.com>
27637
27638 * scripts/config.guess: Update to version 2013-05-16.
27639 * scripts/config.sub: Update to version 2013-04-24.
27640 * scripts/install-sh: Update to version 2011-11-20.07.
27641 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
27642 * scripts/move-if-change: Update to version 2012-01-06 07:23.
27643
350635a5
OB
276442013-06-06 Ondřej Bílka <neleai@seznam.cz>
27645
27646 * debug/fgetws_u_chk.c: Fix leading whitespaces.
27647 * elf/sln.c: Likewise.
27648 * hurd/hurd/ioctl.h: Likewise.
27649 * hurd/hurdmalloc.c: Likewise.
27650 * hurd/xattr.c: Likewise.
27651 * include/shlib-compat.h: Likewise.
27652 * inet/ruserpass.c: Likewise.
27653 * libio/iofgets_u.c: Likewise.
27654 * libio/iofgetws_u.c: Likewise.
27655 * locale/programs/ld-identification.c: Likewise.
27656 * locale/programs/ld-time.c: Likewise.
27657 * mach/msg-destroy.c: Likewise.
27658 * nss/nss_files/files-netgrp.c: Likewise.
27659 * resolv/res_data.c: Likewise.
27660 * soft-fp/op-1.h: Likewise.
27661 * soft-fp/op-2.h: Likewise.
27662 * soft-fp/op-4.h: Likewise.
27663 * soft-fp/op-common.h: Likewise.
27664 * stdio-common/printf_fphex.c: Likewise.
27665 * stdlib/strtod_l.c: Likewise.
27666 * sunrpc/rpc/clnt.h: Likewise.
27667 * sysdeps/generic/framestate.c: Likewise.
27668 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27669 * sysdeps/i386/bsd-setjmp.S: Likewise.
27670 * sysdeps/i386/__longjmp.S: Likewise.
27671 * sysdeps/i386/setjmp.S: Likewise.
27672 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27673 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27674 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27675 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
27676 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
27677 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27678 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27679 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27680 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27681 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
27682 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27683 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27684 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27685 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27686 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27687 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27688 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27689 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
27690 * sysdeps/ieee754/support.c: Likewise.
27691 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
27692 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
27693 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
27694 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
27695 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
27696 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
27697 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
27698 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
27699 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
27700 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
27701 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
27702 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
27703 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
27704 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
27705 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
27706 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
27707 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
27708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
27709
44a988af
OB
277102013-06-05 Ondřej Bílka <neleai@seznam.cz>
27711
25506f09 27712 * posix/transbug.c: Remove executable mode.
44a988af 27713
9c84384c
JM
277142013-06-05 Joseph Myers <joseph@codesourcery.com>
27715
27716 * crypt/speeds.c: Remove trailing whitespace.
27717 * dlfcn/default.c: Likewise.
27718 * elf/ifuncdep2.c: Likewise.
27719 * elf/ifuncmain1.c: Likewise.
27720 * elf/ifuncmain1vis.c: Likewise.
27721 * elf/testobj.h: Likewise.
27722 * elf/tst-stackguard1.c: Likewise.
27723 * gmon/sys/gmon.h: Likewise.
27724 * hurd/hurdmsg.c: Likewise.
27725 * hurd/new-fd.c: Likewise.
27726 * hurd/ports-get.c: Likewise.
27727 * iconvdata/ibm1008_420.c: Likewise.
27728 * inet/tst-getni1.c: Likewise.
27729 * inet/tst-getni2.c: Likewise.
27730 * libio/ioungetc.c: Likewise.
27731 * libio/wfiledoalloc.c: Likewise.
27732 * manual/libm-err-tab.pl: Likewise.
27733 * math/w_dremf.c: Likewise.
27734 * misc/ftruncate.c: Likewise.
27735 * posix/bug-glob2.c: Likewise.
27736 * posix/tst-pcre.c: Likewise.
27737 * posix/wait4.c: Likewise.
27738 * resolv/README: Likewise.
27739 * resolv/res_debug.h: Likewise.
27740 * resolv/tst-inet_ntop.c: Likewise.
27741 * setjmp/bug269-setjmp.c: Likewise.
27742 * soft-fp/extended.h: Likewise.
27743 * soft-fp/op-1.h: Likewise.
27744 * soft-fp/op-2.h: Likewise.
27745 * soft-fp/op-4.h: Likewise.
27746 * soft-fp/op-8.h: Likewise.
27747 * soft-fp/testit.c: Likewise.
27748 * stdio-common/bug16.c: Likewise.
27749 * stdlib/random.c: Likewise.
27750 * sunrpc/rpcsvc/rquota.x: Likewise.
27751 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
27752 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27753 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27754 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27755 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27756 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27757 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27758 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27759 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27760 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27761 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27762 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27763 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27764 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27765 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27766 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27767 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27769 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27770 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27771 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27772 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27775 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27776 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27777 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27778 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
27779 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27780 * sysdeps/ieee754/s_lib_version.c: Likewise.
27781 * sysdeps/mach/hurd/check_fds.c: Likewise.
27782 * sysdeps/mach/hurd/getsockname.c: Likewise.
27783 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
27784 * sysdeps/mach/hurd/recvfrom.c: Likewise.
27785 * sysdeps/powerpc/bits/link.h: Likewise.
27786 * sysdeps/powerpc/dl-procinfo.c: Likewise.
27787 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
27788 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
27789 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
27790 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
27791 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27792 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
27793 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
27794 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
27795 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
27796 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
27797 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
27798 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
27799 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
27800 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
27801 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
27802 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
27803 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
27804 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
27805 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
27806 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
27807 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
27808 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
27809 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
27810 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
27811 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
27812 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
27813 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
27814 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
27815 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
27816 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
27817 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
27818 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
27819 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
27820 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
27821 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
27822 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
27823 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
27824 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
27825 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
27826 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
27827 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
27828 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
27829 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
27830 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
27831 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
27832 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
27833 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
27834 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
27835 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
27836 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27837 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27838 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
27839 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
27840 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
27841 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
27842 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
27843 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
27844 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
27845 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
27846 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
27847 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
27848 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
27849 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
27850 * sysdeps/powerpc/sysdep.h: Likewise.
27851 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27852 * sysdeps/s390/s390-64/sub_n.S: Likewise.
27853 * sysdeps/sh/dl-trampoline.S: Likewise.
27854 * sysdeps/sh/memset.S: Likewise.
27855 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
27856 * sysdeps/sh/strlen.S: Likewise.
27857 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
27858 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
27859 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
27860 * sysdeps/sparc/sparc32/rem.S: Likewise.
27861 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
27862 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
27863 * sysdeps/sparc/sparc32/strchr.S: Likewise.
27864 * sysdeps/sparc/sparc32/udiv.S: Likewise.
27865 * sysdeps/sparc/sparc32/urem.S: Likewise.
27866 * sysdeps/sparc/sparc64/add_n.S: Likewise.
27867 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
27868 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
27869 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
27870 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
27871 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
27872 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
27873 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
27874 * sysdeps/unix/bsd/times.c: Likewise.
27875 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
27876 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
27877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
27878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
27879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
27880 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
27881 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
27882 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
27883 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
27884 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
27885 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
27886 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
27887 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
27888 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
27889 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
27890 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27891 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
27892 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
27893 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
27894 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
27895 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
27896 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
27897 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
27898 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
27899 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
27900 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
27901 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
27902 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27903 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
27904 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
27905 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
27906 * sysdeps/x86_64/strcspn.S: Likewise.
27907
869378a5
RA
279082013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27909
27910 * locale/C-translit.h: Revert #include <stdint.h> because this is a
27911 generated file. Regenerate properly from gen-translit.pl.
27912 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
27913 locale/C-translit.h.
27914
840e2943
AS
279152013-06-05 Andreas Schwab <schwab@suse.de>
27916
27917 [BZ #15100]
27918 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
27919 week as 6 instead of -1.
27920 * time/tst-strptime.c (day_tests): Add test case.
27921
4c60cb0c
SP
279222013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
27923
27924 * sysdeps/generic/math_private.h
27925 (libc_feholdexcept_setround_53bit): Replace with
27926 libc_feholdsetround_53bit.
27927 (libc_feupdateenv_53bit): Replace with
27928 libc_feresetround_53bit.
27929 (SET_RESTORE_ROUND_53BIT): Adjust.
27930
d180203e
SP
279312013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27932
96df079a
SP
27933 * string/test-strchrnul.c: Add copyright header.
27934
d180203e
SP
27935 * posix/tst-getaddrinfo4.c: Increase test timeout.
27936
8b0ccb2d
CD
279372013-06-03 Carlos O'Donell <carlos@redhat.com>
27938
27939 [BZ #15536]
27940 * math/libm-test.inc (MAX_EXP): Remove
27941 (MIN_EXP): Define.
27942 (ulp): Use MIN_EXP - MANT_DIG.
27943 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
27944
3b3c4d40
CD
279452013-05-31 Carlos O'Donell <carlos@redhat.com>
27946
27947 * po/be.po: Revert last change.
27948 * po/zh_CN.po: Likewise.
27949 * po/header.pot: Likewise.
27950
fab7ce3f
JM
279512013-05-31 Joseph Myers <joseph@codesourcery.com>
27952
27953 * Makefile ($(common-objpfx)linkobj/libc.so): Define
27954 link-libc-deps to empty as target-specific variable.
27955 * Makerules (link-libc-args): New variable.
27956 (libc-for-link): Likewise.
27957 (link-libc-deps): Likewise.
27958 (lib%.so): Depend on $(link-libc-deps). Link with
27959 $(link-libc-args).
27960 (build-module): Link with $(link-libc-args).
27961 (build-module-asneeded): Likewise.
27962 (build-module-helper-objlist): Filter out $(link-libc-deps) from
27963 list of objects.
27964 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
27965 target-specific variable.
27966 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
27967 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
27968 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
27969 libc.
27970 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
27971 libc and ld.so.
27972 ($(objpfx)libpcprofile.so): Likewise.
27973 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
27974 libc_nonshared.a.
27975 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
27976 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
27977 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
27978 $(link-libc-deps).
27979 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
27980 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
27981 * login/Makefile ($(objpfx)libutil.so): Likewise.
27982 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
27983 * math/Makefile ($(objpfx)libm.so): Likewise.
27984 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
27985 $(objpfx)libnsl.so): Define libc-for-link as target-specific
27986 variable instead of depending directly on libc.
27987 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
27988 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
27989 $(link-libc-deps).
27990 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
27991 libc.
27992 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
27993 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
27994 ($(objpfx)libanl.so): Likewise.
27995 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
27996 ld.so.
27997 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
27998 $(link-libc-deps).
27999 * sysdeps/i386/fpu/Makefile: Remove file.
28000 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
28001 ($(objpfx)libm.so): Remove dependency on ld.so.
28002
eca5920c
PF
280032013-05-30 Patsy Franklin <pfrankli@redhat.com>
28004
28005 [BZ # 15553]
28006 * nis/yp_xdr.c (XDRMAXNAME): Define.
28007 (XDRMAXRECORD): Define.
28008 (xdr_domainname): Use XDRMAXNAME.
28009 (xdr_mapname): Likewise.
28010 (xdr_peername): Likewise.
28011 (xdr_keydat): Use XDRMAXRECORD.
28012 (xdr_valdat): Likewise.
28013
280142013-05-30 Jeff Law <law@redhat.com>
96945714
JL
28015
28016 [BZ #14256]
28017 * manual/errno.texi (ESTALE): Update to account for more than
28018 just NFS file systems.
28019 * sysdeps/gnu/errlist.c: Regenerated.
28020
b9375348
SP
280212013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
28022
28023 [BZ #15465]
28024 * elf/Makefile (tests): Add tst-null-argv.
28025 (modules-names): Add tst-null-argv-lib.
28026 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
28027 (tst-null-argv-ENV): Set environment for tst-null-argv.
28028 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
28029 (RTLD_PROGNAME): New macro.
28030 * elf/tst-null-argv.c: New test case.
28031 * elf/tst-null-argv-lib.c: Library for test case.
28032 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
28033 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
28034 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
28035 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
28036 * elf/dl-init.c (call_init): Likewise.
28037 (_dl_init): Likewise.
28038 * elf/dl-load.c (print_search_path): Likewise.
28039 (_dl_map_object): Likewise.
28040 * elf/dl-lookup.c (do_lookup_x): Likewise.
28041 (add_dependency): Likewise.
28042 (_dl_lookup_symbol_x): Likewise.
28043 (_dl_debug_bindings): Likewise.
28044 * elf/dl-open.c (_dl_show_scope): Likewise.
28045 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
28046 * elf/dl-version.c (match_symbol): Likewise.
28047 (_dl_check_map_versions): Likewise.
28048 * elf/rtld.c (dl_main): Likewise.
28049 (print_unresolved): Use RTLD_PROGNAME.
28050 (print_missing_version): Likewise.
28051 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
28052 (elf_machine_rela): Likewise.
28053 * sysdeps/powerpc/powerpc32/dl-machine.c
28054 (__process_machine_rela): Likewise.
28055 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
28056 Likewise.
28057 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
28058 Likewise.
28059 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
28060 Likewise.
28061 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
28062 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
28063 Likewise.
28064 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
28065 Likewise.
28066 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
28067
8a9f20c8
CD
280682013-05-28 Carlos O'Donell <carlos@redhat.com>
28069
28070 * po/be.po: Add descriptive title.
28071 * po/zh_CN.po: Likewise.
28072 * po/header.pot: Likewise.
28073
0e60d68e
MF
280742013-05-28 Mike Frysinger <vapier@gentoo.org>
28075
28076 * locale/programs/locarchive.c (create_archive): Inlucde fname in
28077 error message.
28078 (enlarge_archive): Likewise.
28079
56b672e9
BN
280802013-05-28 Ben North <ben@redfrontdoor.org>
28081
28082 * manual/arith.texi (frexp): It is the magnitude of the return
28083 value which lies in [0.5, 1), not the return value itself.
28084
5e056687
AZ
280852013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28086
28087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28088
2b66ef5d
TS
280892013-05-26 Thomas Schwinge <thomas@codesourcery.com>
28090
528c2405
TS
28091 * stdio-common/bug26.c (main): Correct fscanf template.
28092
07b4c13d
TS
28093 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
28094 declare _dl_skip_args.
28095
ec9dd97c
TS
28096 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
28097 Don't declare.
28098
2b66ef5d
TS
28099 * manual/platform.texi: Add missing @end deftypefun.
28100
4f8dfe27
JM
281012013-05-24 Joseph Myers <joseph@codesourcery.com>
28102
0323d086
JM
28103 [BZ #15529]
28104 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
28105 bit of mantissa of 2^16382.
28106 * math/libm-test.inc (hypot_test_data): Add more tests.
28107
dd4259b9
JM
28108 * math/libm-test.inc: Add drem and pow10 to list of tested
28109 functions.
28110 (pow10_test): New function.
28111 (drem_test): Likewise.
28112 (drem_test_tonearest): Likewise.
28113 (drem_test_towardzero): Likewise.
28114 (drem_test_downward): Likewise.
28115 (drem_test_upward): Likewise.
28116 (main): Call the new functions.
28117
4f8dfe27
JM
28118 * math/libm-test.inc (finite_test_data): Remove.
28119 (finite_test): Run tests from isfinite_test_data.
28120 (gamma_test_data): Remove.
28121 (gamma_test): Run tests from lgamma_test_data.
28122 * sysdeps/i386/fpu/libm-test-ulps: Update.
28123 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28124
d116b7c4
AZ
281252013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28126
28127 * manual/platform.texi: Add PowerPC PPR function set documentation.
28128 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
28129 implementation.
28130
e96e3767
CD
281312013-05-24 Carlos O'Donell <carlos@redhat.com>
28132
28133 * math/libm-test.inc (MAX_EXP): Define.
28134 (ULPDIFF): Define.
28135 (ulp): New function.
28136 (check_float_internal): Use ULPDIFF.
28137 (cpow_test): Disable failing test.
28138 (check_ulp): Test ulp() implemetnation.
28139 (main): Call check_ulp before starting tests.
28140
b679a606
JM
281412013-05-24 Joseph Myers <joseph@codesourcery.com>
28142
e8bdba36
JM
28143 * math/gen-libm-test.pl (generate_testfile): Do not handle
28144 START_DATA and END_DATA.
28145 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
28146 END_DATA.
28147 (acos_tonearest_test_data): Likewise.
28148 (acos_towardzero_test_data): Likewise.
28149 (acos_downward_test_data): Likewise.
28150 (acos_upward_test_data): Likewise.
28151 (acosh_test_data): Likewise.
28152 (asin_test_data): Likewise.
28153 (asin_tonearest_test_data): Likewise.
28154 (asin_towardzero_test_data): Likewise.
28155 (asin_downward_test_data): Likewise.
28156 (asin_upward_test_data): Likewise.
28157 (asinh_test_data): Likewise.
28158 (atan_test_data): Likewise.
28159 (atanh_test_data): Likewise.
28160 (atan2_test_data): Likewise.
28161 (cabs_test_data): Likewise.
28162 (cacos_test_data): Likewise.
28163 (cacosh_test_data): Likewise.
28164 (carg_test_data): Likewise.
28165 (casin_test_data): Likewise.
28166 (casinh_test_data): Likewise.
28167 (catan_test_data): Likewise.
28168 (catanh_test_data): Likewise.
28169 (cbrt_test_data): Likewise.
28170 (ccos_test_data): Likewise.
28171 (ccosh_test_data): Likewise.
28172 (ceil_test_data): Likewise.
28173 (cexp_test_data): Likewise.
28174 (cimag_test_data): Likewise.
28175 (clog_test_data): Likewise.
28176 (clog10_test_data): Likewise.
28177 (conj_test_data): Likewise.
28178 (copysign_test_data): Likewise.
28179 (cos_test_data): Likewise.
28180 (cos_tonearest_test_data): Likewise.
28181 (cos_towardzero_test_data): Likewise.
28182 (cos_downward_test_data): Likewise.
28183 (cos_upward_test_data): Likewise.
28184 (cosh_test_data): Likewise.
28185 (cosh_tonearest_test_data): Likewise.
28186 (cosh_towardzero_test_data): Likewise.
28187 (cosh_downward_test_data): Likewise.
28188 (cosh_upward_test_data): Likewise.
28189 (cpow_test_data): Likewise.
28190 (cproj_test_data): Likewise.
28191 (creal_test_data): Likewise.
28192 (csin_test_data): Likewise.
28193 (csinh_test_data): Likewise.
28194 (csqrt_test_data): Likewise.
28195 (ctan_test_data): Likewise.
28196 (ctan_tonearest_test_data): Likewise.
28197 (ctan_towardzero_test_data): Likewise.
28198 (ctan_downward_test_data): Likewise.
28199 (ctan_upward_test_data): Likewise.
28200 (ctanh_test_data): Likewise.
28201 (ctanh_tonearest_test_data): Likewise.
28202 (ctanh_towardzero_test_data): Likewise.
28203 (ctanh_downward_test_data): Likewise.
28204 (ctanh_upward_test_data): Likewise.
28205 (erf_test_data): Likewise.
28206 (erfc_test_data): Likewise.
28207 (exp_test_data): Likewise.
28208 (exp_tonearest_test_data): Likewise.
28209 (exp_towardzero_test_data): Likewise.
28210 (exp_downward_test_data): Likewise.
28211 (exp_upward_test_data): Likewise.
28212 (exp10_test_data): Likewise.
28213 (exp2_test_data): Likewise.
28214 (expm1_test_data): Likewise.
28215 (fabs_test_data): Likewise.
28216 (fdim_test_data): Likewise.
28217 (finite_test_data): Likewise.
28218 (floor_test_data): Likewise.
28219 (fma_test_data): Likewise.
28220 (fma_towardzero_test_data): Likewise.
28221 (fma_downward_test_data): Likewise.
28222 (fma_upward_test_data): Likewise.
28223 (fmax_test_data): Likewise.
28224 (fmin_test_data): Likewise.
28225 (fmod_test_data): Likewise.
28226 (fpclassify_test_data): Likewise.
28227 (frexp_test_data): Likewise.
28228 (gamma_test_data): Likewise.
28229 (hypot_test_data): Likewise.
28230 (ilogb_test_data): Likewise.
28231 (isfinite_test_data): Likewise.
28232 (isgreater_test_data): Likewise.
28233 (isgreaterequal_test_data): Likewise.
28234 (isinf_test_data): Likewise.
28235 (isless_test_data): Likewise.
28236 (islessequal_test_data): Likewise.
28237 (islessgreater_test_data): Likewise.
28238 (isnan_test_data): Likewise.
28239 (isnormal_test_data): Likewise.
28240 (issignaling_test_data): Likewise.
28241 (isunordered_test_data): Likewise.
28242 (j0_test_data): Likewise.
28243 (j1_test_data): Likewise.
28244 (jn_test_data): Likewise.
28245 (ldexp_test_data): Likewise.
28246 (lgamma_test_data): Likewise.
28247 (lrint_test_data): Likewise.
28248 (lrint_tonearest_test_data): Likewise.
28249 (lrint_towardzero_test_data): Likewise.
28250 (lrint_downward_test_data): Likewise.
28251 (lrint_upward_test_data): Likewise.
28252 (llrint_test_data): Likewise.
28253 (llrint_tonearest_test_data): Likewise.
28254 (llrint_towardzero_test_data): Likewise.
28255 (llrint_downward_test_data): Likewise.
28256 (llrint_upward_test_data): Likewise.
28257 (log_test_data): Likewise.
28258 (log10_test_data): Likewise.
28259 (log1p_test_data): Likewise.
28260 (log2_test_data): Likewise.
28261 (logb_test_data): Likewise.
28262 (logb_downward_test_data): Likewise.
28263 (lround_test_data): Likewise.
28264 (llround_test_data): Likewise.
28265 (modf_test_data): Likewise.
28266 (nearbyint_test_data): Likewise.
28267 (nextafter_test_data): Likewise.
28268 (nexttoward_test_data): Likewise.
28269 (pow_test_data): Likewise.
28270 (pow_tonearest_test_data): Likewise.
28271 (pow_towardzero_test_data): Likewise.
28272 (pow_downward_test_data): Likewise.
28273 (pow_upward_test_data): Likewise.
28274 (remainder_test_data): Likewise.
28275 (remainder_tonearest_test_data): Likewise.
28276 (remainder_towardzero_test_data): Likewise.
28277 (remainder_downward_test_data): Likewise.
28278 (remainder_upward_test_data): Likewise.
28279 (remquo_test_data): Likewise.
28280 (rint_test_data): Likewise.
28281 (rint_tonearest_test_data): Likewise.
28282 (rint_towardzero_test_data): Likewise.
28283 (rint_downward_test_data): Likewise.
28284 (rint_upward_test_data): Likewise.
28285 (round_test_data): Likewise.
28286 (scalb_test_data): Likewise.
28287 (scalbn_test_data): Likewise.
28288 (scalbln_test_data): Likewise.
28289 (signbit_test_data): Likewise.
28290 (sin_test_data): Likewise.
28291 (sin_tonearest_test_data): Likewise.
28292 (sin_towardzero_test_data): Likewise.
28293 (sin_downward_test_data): Likewise.
28294 (sin_upward_test_data): Likewise.
28295 (sincos_test_data): Likewise.
28296 (sinh_test_data): Likewise.
28297 (sinh_tonearest_test_data): Likewise.
28298 (sinh_towardzero_test_data): Likewise.
28299 (sinh_downward_test_data): Likewise.
28300 (sinh_upward_test_data): Likewise.
28301 (sqrt_test_data): Likewise.
28302 (tan_test_data): Likewise.
28303 (tan_tonearest_test_data): Likewise.
28304 (tan_towardzero_test_data): Likewise.
28305 (tan_downward_test_data): Likewise.
28306 (tan_upward_test_data): Likewise.
28307 (tanh_test_data): Likewise.
28308 (tgamma_test_data): Likewise.
28309 (trunc_test_data): Likewise.
28310 (y0_test_data): Likewise.
28311 (y1_test_data): Likewise.
28312 (yn_test_data): Likewise.
28313 (significand_test_data): Likewise.
28314
b679a606
JM
28315 * math/gen-libm-test.pl (@functions): Remove variable.
28316 (generate_testfile): Don't handle START and END lines.
28317 * math/libm-test.inc (START): New macro.
28318 (END): Likewise.
28319 (END_COMPLEX): Likewise.
28320 (acos_test): Use END macro without arguments.
28321 (acos_test_tonearest): Likewise.
28322 (acos_test_towardzero): Likewise.
28323 (acos_test_downward): Likewise.
28324 (acos_test_upward): Likewise.
28325 (acosh_test): Likewise.
28326 (asin_test): Likewise.
28327 (asin_test_tonearest): Likewise.
28328 (asin_test_towardzero): Likewise.
28329 (asin_test_downward): Likewise.
28330 (asin_test_upward): Likewise.
28331 (asinh_test): Likewise.
28332 (atan_test): Likewise.
28333 (atanh_test): Likewise.
28334 (atan2_test): Likewise.
28335 (cabs_test): Likewise.
28336 (cacos_test): Use END_COMPLEX macro without arguments.
28337 (cacosh_test): Likewise.
28338 (carg_test): Use END macro without arguments.
28339 (casin_test): Use END_COMPLEX macro without arguments.
28340 (casinh_test): Likewise.
28341 (catan_test): Likewise.
28342 (catanh_test): Likewise.
28343 (cbrt_test): Use END macro without arguments.
28344 (ccos_test): Use END_COMPLEX macro without arguments.
28345 (ccosh_test): Likewise.
28346 (ceil_test): Use END macro without arguments.
28347 (cexp_test): Use END_COMPLEX macro without arguments.
28348 (cimag_test): Use END macro without arguments.
28349 (clog_test): Use END_COMPLEX macro without arguments.
28350 (clog10_test): Likewise.
28351 (conj_test): Likewise.
28352 (copysign_test): Use END macro without arguments.
28353 (cos_test): Likewise.
28354 (cos_test_tonearest): Likewise.
28355 (cos_test_towardzero): Likewise.
28356 (cos_test_downward): Likewise.
28357 (cos_test_upward): Likewise.
28358 (cosh_test): Likewise.
28359 (cosh_test_tonearest): Likewise.
28360 (cosh_test_towardzero): Likewise.
28361 (cosh_test_downward): Likewise.
28362 (cosh_test_upward): Likewise.
28363 (cpow_test): Use END_COMPLEX macro without arguments.
28364 (cproj_test): Likewise.
28365 (creal_test): Use END macro without arguments.
28366 (csin_test): Use END_COMPLEX macro without arguments.
28367 (csinh_test): Likewise.
28368 (csqrt_test): Likewise.
28369 (ctan_test): Likewise.
28370 (ctan_test_tonearest): Likewise.
28371 (ctan_test_towardzero): Likewise.
28372 (ctan_test_downward): Likewise.
28373 (ctan_test_upward): Likewise.
28374 (ctanh_test): Likewise.
28375 (ctanh_test_tonearest): Likewise.
28376 (ctanh_test_towardzero): Likewise.
28377 (ctanh_test_downward): Likewise.
28378 (ctanh_test_upward): Likewise.
28379 (erf_test): Use END macro without arguments.
28380 (erfc_test): Likewise.
28381 (exp_test): Likewise.
28382 (exp_test_tonearest): Likewise.
28383 (exp_test_towardzero): Likewise.
28384 (exp_test_downward): Likewise.
28385 (exp_test_upward): Likewise.
28386 (exp10_test): Likewise.
28387 (exp2_test): Likewise.
28388 (expm1_test): Likewise.
28389 (fabs_test): Likewise.
28390 (fdim_test): Likewise.
28391 (finite_test): Likewise.
28392 (floor_test): Likewise.
28393 (fma_test): Likewise.
28394 (fma_test_towardzero): Likewise.
28395 (fma_test_downward): Likewise.
28396 (fma_test_upward): Likewise.
28397 (fmax_test): Likewise.
28398 (fmin_test): Likewise.
28399 (fmod_test): Likewise.
28400 (fpclassify_test): Likewise.
28401 (frexp_test): Likewise.
28402 (gamma_test): Likewise.
28403 (hypot_test): Likewise.
28404 (ilogb_test): Likewise.
28405 (isfinite_test): Likewise.
28406 (isgreater_test): Likewise.
28407 (isgreaterequal_test): Likewise.
28408 (isinf_test): Likewise.
28409 (isless_test): Likewise.
28410 (islessequal_test): Likewise.
28411 (islessgreater_test): Likewise.
28412 (isnan_test): Likewise.
28413 (isnormal_test): Likewise.
28414 (issignaling_test): Likewise.
28415 (isunordered_test): Likewise.
28416 (j0_test): Likewise.
28417 (j1_test): Likewise.
28418 (jn_test): Likewise.
28419 (ldexp_test): Likewise.
28420 (lgamma_test): Likewise.
28421 (lrint_test): Likewise.
28422 (lrint_test_tonearest): Likewise.
28423 (lrint_test_towardzero): Likewise.
28424 (lrint_test_downward): Likewise.
28425 (lrint_test_upward): Likewise.
28426 (llrint_test): Likewise.
28427 (llrint_test_tonearest): Likewise.
28428 (llrint_test_towardzero): Likewise.
28429 (llrint_test_downward): Likewise.
28430 (llrint_test_upward): Likewise.
28431 (log_test): Likewise.
28432 (log10_test): Likewise.
28433 (log1p_test): Likewise.
28434 (log2_test): Likewise.
28435 (logb_test): Likewise.
28436 (logb_test_downward): Likewise.
28437 (lround_test): Likewise.
28438 (llround_test): Likewise.
28439 (modf_test): Likewise.
28440 (nearbyint_test): Likewise.
28441 (nextafter_test): Likewise.
28442 (nexttoward_test): Likewise.
28443 (pow_test): Likewise.
28444 (pow_test_tonearest): Likewise.
28445 (pow_test_towardzero): Likewise.
28446 (pow_test_downward): Likewise.
28447 (pow_test_upward): Likewise.
28448 (remainder_test): Likewise.
28449 (remainder_test_tonearest): Likewise.
28450 (remainder_test_towardzero): Likewise.
28451 (remainder_test_downward): Likewise.
28452 (remainder_test_upward): Likewise.
28453 (remquo_test): Likewise.
28454 (rint_test): Likewise.
28455 (rint_test_tonearest): Likewise.
28456 (rint_test_towardzero): Likewise.
28457 (rint_test_downward): Likewise.
28458 (rint_test_upward): Likewise.
28459 (round_test): Likewise.
28460 (scalb_test): Likewise.
28461 (scalbn_test): Likewise.
28462 (scalbln_test): Likewise.
28463 (signbit_test): Likewise.
28464 (sin_test): Likewise.
28465 (sin_test_tonearest): Likewise.
28466 (sin_test_towardzero): Likewise.
28467 (sin_test_downward): Likewise.
28468 (sin_test_upward): Likewise.
28469 (sincos_test): Likewise.
28470 (sinh_test): Likewise.
28471 (sinh_test_tonearest): Likewise.
28472 (sinh_test_towardzero): Likewise.
28473 (sinh_test_downward): Likewise.
28474 (sinh_test_upward): Likewise.
28475 (sqrt_test): Likewise.
28476 (tan_test): Likewise.
28477 (tan_test_tonearest): Likewise.
28478 (tan_test_towardzero): Likewise.
28479 (tan_test_downward): Likewise.
28480 (tan_test_upward): Likewise.
28481 (tanh_test): Likewise.
28482 (tgamma_test): Likewise.
28483 (trunc_test): Likewise.
28484 (y0_test): Likewise.
28485 (y1_test): Likewise.
28486 (yn_test): Likewise.
28487 (significand_test): Likewise.
28488
bae143d2
OB
284892013-05-24 Ondřej Bílka <neleai@seznam.cz>
28490
28491 [BZ #15381]
28492 * libio/genops.c (_IO_no_init): Initialize wide struct info.
28493
9323d39b
EM
284942013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
28495
d4ea44a0 28496 [BZ #14894]
9323d39b
EM
28497 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
28498 __ppc_mdoio and __ppc_mdoom.
28499 * manual/platform.texi: Document new functions __ppc_yield,
28500 __ppc_mdoio and __ppc_mdoom.
28501
13e23af7
CD
285022013-05-22 Carlos O'Donell <carlos@redhat.com>
28503
28504 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
28505 (main): Mention "tls" pseudo-hwcap is legacy.
28506 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
28507
351fe550
JM
285082013-05-22 Joseph Myers <joseph@codesourcery.com>
28509
28510 * math/gen-libm-test.pl (parse_args): Output only string of
28511 arguments as text for test name, not full call or descriptions of
28512 tests for extra outputs.
28513 (generate_testfile): Do not pass function name to parse_args.
28514 Generate this_func variable from START.
28515 * math/libm-test.inc (struct test_f_f_data): Rename test_name
28516 field to arg_str.
28517 (struct test_ff_f_data): Likewise.
28518 (test_ff_f_data_nexttoward): Likewise.
28519 (struct test_fi_f_data): Likewise.
28520 (struct test_fl_f_data): Likewise.
28521 (struct test_if_f_data): Likewise.
28522 (struct test_fff_f_data): Likewise.
28523 (struct test_c_f_data): Likewise.
28524 (struct test_f_f1_data): Likewise. Remove field extra_name.
28525 (struct test_fF_f1_data): Likewise.
28526 (struct test_ffI_f1_data): Likewise.
28527 (struct test_c_c_data): Rename test_name field to arg_str.
28528 (struct test_cc_c_data): Likewise.
28529 (struct test_f_i_data): Likewise.
28530 (struct test_ff_i_data): Likewise.
28531 (struct test_f_l_data): Likewise.
28532 (struct test_f_L_data): Likewise.
28533 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
28534 and extra2_name.
28535 (COMMON_TEST_SETUP): New macro.
28536 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
28537 (COMMON_TEST_CLEANUP): Likewise.
28538 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
28539 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
28540 macros.
28541 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
28542 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
28543 macros.
28544 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
28545 (RUN_TEST_fff_f): Take argument string. Call new setup and
28546 cleanup macros.
28547 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
28548 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
28549 macros.
28550 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
28551 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
28552 macros.
28553 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28554 (RUN_TEST_fF_f1): Take argument string. Call new setup and
28555 cleanup macros.
28556 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28557 (RUN_TEST_fI_f1): Take argument string. Call new setup and
28558 cleanup macros.
28559 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28560 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
28561 cleanup macros.
28562 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28563 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
28564 macros.
28565 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
28566 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
28567 macros.
28568 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
28569 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
28570 macros.
28571 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
28572 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
28573 cleanup macros.
28574 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
28575 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
28576 cleanup macros.
28577 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
28578 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
28579 macros.
28580 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
28581 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
28582 cleanup macros.
28583 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
28584 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
28585 macros.
28586 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
28587 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
28588 macros.
28589 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
28590 (RUN_TEST_fFF_11): Take argument string. Call new setup and
28591 cleanup macros.
28592 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
28593
85118d4d
EBM
285942013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
28595
28596 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
28597 to _sifields.sigfault.
28598 (si_addr_lsb): Define new macro.
28599 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28600 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28601 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
28602
7a44c18f
CD
286032013-05-03 Carlos O'Donell <carlos at redhat.com>
28604
28605 [BZ #15441]
28606 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
28607 returns -1.
28608 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
28609 null return -1.
28610 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
28611 loading the domain.
28612
b50a7181
JM
286132013-05-22 Joseph Myers <joseph@codesourcery.com>
28614
28615 * math/gen-libm-test.pl (parse_args): Do not include expected
28616 result in test name.
28617 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
28618 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28619 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28620 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28621 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28622 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28623
051063c8
SP
286242013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28625
3ce9e010
SP
28626 * benchtests/Makefile: Sort function entries.
28627
051063c8
SP
28628 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
28629 tanh, asinh, acosh, atanh.
28630 * benchtests/acos-inputs: New file.
28631 * benchtests/acosh-inputs: New file.
28632 * benchtests/asin-inputs: New file.
28633 * benchtests/asinh-inputs: New file.
28634 * benchtests/atanh-inputs: New file.
28635 * benchtests/cosh-inputs: New file.
28636 * benchtests/log-inputs: New file.
28637 * benchtests/sinh-inputs: New file.
28638 * benchtests/tanh-inputs: New file.
28639
47c22455
DL
286402013-05-21 Dmitry V. Levin <ldv@altlinux.org>
28641
28642 [BZ #15339]
28643 * posix/tst-getaddrinfo4.c: New test.
28644 * posix/Makefile (tests): Add it.
28645
3d04f5db
SP
286462013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28647
28648 [BZ #15339]
28649 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
28650 when no services were used.
28651 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
28652 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
28653
d5dd6189
AS
286542013-05-21 Andreas Schwab <schwab@suse.de>
28655
28656 [BZ #15014]
28657 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
28658 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
28659 successful.
28660 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
28661 redundant variable declarations and reallocation of buffer when
28662 parsing as IPv6 address. Always set NSS status when called from
28663 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
28664 buffer too small. Correct computation of needed size.
28665 * nss/Makefile (tests): Add test-digits-dots.
28666 * nss/test-digits-dots.c: New test.
28667
fef94eab
SP
286682013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28669
28670 * benchtests/Makefile: Remove instructions for adding
28671 benchmark tests.
28672 * benchtests/README: New file to explain how to execute and
28673 enhance the benchmark tests.
28674
e39adf43
AS
286752013-05-21 Andreas Schwab <schwab@suse.de>
28676
28677 [BZ #15493]
28678 * setjmp/Makefile (tests): Add tst-sigsetjmp.
28679 * setjmp/tst-sigsetjmp.c: New test.
28680
b2b671b6
OB
286812013-05-20 Ondřej Bílka <neleai@seznam.cz>
28682
28683 * sysdeps/x86_64/memset.S (memset): New implementation.
28684 (__bzero): Likewise.
28685 (__memset_tail): New function.
28686
2d48b41c
OB
286872013-05-20 Ondřej Bílka <neleai@seznam.cz>
28688
28689 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
28690 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
28691 __memcpy_sse2_unaligned ifunc selection.
28692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
28693 Add memcpy-sse2-unaligned.S.
28694 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28695 Add: __memcpy_sse2_unaligned.
28696
f16cc3eb
JM
286972013-05-19 Joseph Myers <joseph@codesourcery.com>
28698
3e694268
JM
28699 [BZ #15490]
28700 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
28701 math_force_eval before restoring floating-point envrionment.
28702 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
28703 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
28704 Likewise.
28705 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
28706 <math_private.h>.
28707 (__nearbyintl): Use math_force_eval before restoring
28708 floating-point environment.
28709 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
28710
db62a907
JM
28711 * math/gen-libm-test.pl (special_functions): Remove.
28712 (parse_args): Don't handle TEST_extra. Handle functions with no
28713 return value.
28714 * math/libm-test.inc (struct test_sincos_data): Replace with
28715 struct test_fFF_11_data.
28716 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
28717 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
28718 (sincos_test_data): Change element type to struct
28719 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
28720 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
28721 RUN_TEST_LOOP_sincos.
28722 * math/README.libm-test: Don't mention special handling of
28723 individual functions.
28724 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
28725 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28726 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
28727 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28728 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
28729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28730
f16cc3eb
JM
28731 * math/gen-libm-test.pl (get_variable): Remove function.
28732 (parse_args): Don't show pointer parameters to call in test
28733 names. Use "extra output N" in test names for extra outputs
28734 rather than naming variables.
28735
3779b5b6
JM
287362013-05-18 Joseph Myers <joseph@codesourcery.com>
28737
2ee094ff
JM
28738 [BZ #15488]
28739 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
28740 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
28741 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
28742 double tests.
28743 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
28744 disable.
28745 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
28746 check_long_double.
28747
3779b5b6
JM
28748 * math/gen-libm-test.pl (@tests): Remove variable.
28749 ($count): Likewise.
28750 (new_test): Remove function.
28751 (show_exceptions): New function.
28752 (special_functions): Use show_exceptions instead of new_test.
28753 (parse_args): Likewise.
28754 (generate_testfile): Pass only function name in generated call to
28755 print_max_error or print_complex_max_error.
28756 (get_ulps): Do not handle complex tests specially.
28757 (output_test): Rename to ...
28758 (get_all_ulps_for_test): ... this. Return a string rather than
28759 printing to a file. Require ulps to be present.
28760 (output_ulps): Generate arrays rather than #defines.
28761 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
28762 (struct ulp_data): New type.
28763 (BUILD_COMPLEX_ULP): Remove macro.
28764 (compare_ulp_data): New function.
28765 (find_ulps): Likewise.
28766 (find_test_ulps): Likewise.
28767 (find_function_ulps): Likewise.
28768 (find_complex_function_ulps): Likewise.
28769 (print_max_error): Determine allowed ulps using
28770 find_function_ulps.
28771 (print_complex_max_error): Determine allowed ulps using
28772 find_complex_function_ulps.
28773 (check_float_internal): Determine max ulps using find_test_ulps.
28774 (check_float): Do not take max_ulp parameter. Update call to
28775 check_float_internal.
28776 (check_complex): Likewise.
28777 (check_int): Do not take max_ulp parameter.
28778 (check_long): Likewise.
28779 (check_bool): Likewise.
28780 (check_longlong): Likewise.
28781 (struct test_f_f_data): Remove max_ulp field.
28782 (struct test_ff_f_data): Likewise.
28783 (struct test_ff_f_data_nexttoward): Likewise.
28784 (struct test_fi_f_data): Likewise.
28785 (struct test_fl_f_data): Likewise.
28786 (struct test_if_f_data): Likewise.
28787 (struct test_fff_f_data): Likewise.
28788 (struct test_c_f_data): Likewise.
28789 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
28790 (struct test_fF_f1_data): Likewise.
28791 (struct test_ffI_f1_data): Likewise.
28792 (struct test_c_c_data): Remove max_ulp field.
28793 (struct test_cc_c_data): Likewise.
28794 (struct test_f_i_data): Likewise.
28795 (struct test_ff_i_data): Likewise.
28796 (struct test_f_l_data): Likewise.
28797 (struct test_f_L_data): Likewise.
28798 (struct test_sincos_data): Likewise.
28799 (RUN_TEST_f_f): Do not handle ulps.
28800 (RUN_TEST_LOOP_f_f): Likewise.
28801 (RUN_TEST_2_f): Likewise.
28802 (RUN_TEST_LOOP_2_f): Likewise.
28803 (RUN_TEST_fff_f): Likewise.
28804 (RUN_TEST_LOOP_fff_f): Likewise.
28805 (RUN_TEST_c_f): Likewise.
28806 (RUN_TEST_LOOP_c_f): Likewise.
28807 (RUN_TEST_f_f1): Likewise.
28808 (RUN_TEST_LOOP_f_f1): Likewise.
28809 (RUN_TEST_fF_f1): Likewise.
28810 (RUN_TEST_LOOP_fF_f1): Likewise.
28811 (RUN_TEST_fI_f1): Likewise.
28812 (RUN_TEST_LOOP_fI_f1): Likewise.
28813 (RUN_TEST_ffI_f1): Likewise.
28814 (RUN_TEST_LOOP_ffI_f1): Likewise.
28815 (RUN_TEST_c_c): Likewise.
28816 (RUN_TEST_LOOP_c_c): Likewise.
28817 (RUN_TEST_cc_c): Likewise.
28818 (RUN_TEST_LOOP_cc_c): Likewise.
28819 (RUN_TEST_f_i): Likewise.
28820 (RUN_TEST_LOOP_f_i): Likewise.
28821 (RUN_TEST_f_i_tg): Likewise.
28822 (RUN_TEST_LOOP_f_i_tg): Likewise.
28823 (RUN_TEST_ff_i_tg): Likewise.
28824 (RUN_TEST_LOOP_ff_i_tg): Likewise.
28825 (RUN_TEST_f_b): Likewise.
28826 (RUN_TEST_LOOP_f_b): Likewise.
28827 (RUN_TEST_f_b_tg): Likewise.
28828 (RUN_TEST_LOOP_f_b_tg): Likewise.
28829 (RUN_TEST_f_l): Likewise.
28830 (RUN_TEST_LOOP_f_l): Likewise.
28831 (RUN_TEST_f_L): Likewise.
28832 (RUN_TEST_LOOP_f_L): Likewise.
28833 (RUN_TEST_sincos): Likewise.
28834 (RUN_TEST_LOOP_sincos): Likewise.
28835
8269107f
JM
288362013-05-17 Joseph Myers <joseph@codesourcery.com>
28837
bb38759d
JM
28838 [BZ #15480]
28839 [BZ #15485]
28840 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
28841 main case of finite arguments, set rounding mode to FE_TONEAREST
28842 and discard exceptions.
28843 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
28844 exceptions.
28845 (remainder_tonearest_test_data): New variable.
28846 (remainder_test_tonearest): New function.
28847 (remainder_towardzero_test_data): New variable.
28848 (remainder_test_towardzero): New function.
28849 (remainder_downward_test_data): New variable.
28850 (remainder_test_downward): New function.
28851 (remainder_upward_test_data): New variable.
28852 (remainder_test_upward): New function.
28853 (main): Call the new test functions.
28854
a00bdcf0
JM
28855 * math/libm-test.inc (struct test_f_f1_data): Remove field
28856 extra_init.
28857 (struct test_fF_f1_data): Likewise.
28858 (struct test_ffI_f1_data): Likewise.
28859 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
28860 based on value of EXTRA_EXPECTED.
28861 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
28862 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
28863 EXTRA_VAR based on value of EXTRA_EXPECTED.
28864 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
28865 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
28866 EXTRA_VAR based on value of EXTRA_EXPECTED.
28867 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
28868 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
28869 EXTRA_VAR based on value of EXTRA_EXPECTED.
28870 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
28871 * math/gen-libm-test.pl (parse_args): Don't output initializers
28872 for extra output values.
28873
de407f79
JM
28874 * math/libm-test.inc (check_int): Expect result to be exactly
28875 equal to expected value and do not handle ulps.
28876 (check_long): Likewise.
28877 (check_longlong): Likewise.
28878
8269107f
JM
28879 * math/libm-test.inc (ceil_test_data): Test for "inexact"
28880 exceptions.
28881 (cimag_test_data): Likewise.
28882 (conj_test_data): Likewise.
28883 (copysign_test_data): Likewise.
28884 (cproj_test_data): Likewise.
28885 (creal_test_data): Likewise.
28886 (fabs_test_data): Likewise.
28887 (fdim_test_data): Likewise.
28888 (finite_test_data): Likewise.
28889 (floor_test_data): Likewise.
28890 (fmax_test_data): Likewise.
28891 (fmin_test_data): Likewise.
28892 (fmod_test_data): Likewise.
28893 (fpclassify_test_data): Likewise.
28894 (frexp_test_data): Likewise.
28895 (ilogb_test_data): Likewise.
28896 (isfinite_test_data): Likewise.
28897 (isgreater_test_data): Likewise.
28898 (isgreaterequal_test_data): Likewise.
28899 (isinf_test_data): Likewise.
28900 (isless_test_data): Likewise.
28901 (islessequal_test_data): Likewise.
28902 (islessgreater_test_data): Likewise.
28903 (isnan_test_data): Likewise.
28904 (isnormal_test_data): Likewise.
28905 (issignaling_test_data): Likewise.
28906 (isunordered_test_data): Likewise.
28907 (ldexp_test_data): Likewise.
28908 (lrint_test_data): Likewise.
28909 (lrint_test_data) [TEST_FLOAT]: Disable one test.
28910 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
28911 (lrint_tonearest_test_data): Test for "inexact" exceptions.
28912 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28913 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
28914 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28915 test input.
28916 (lrint_towardzero_test_data): Test for "inexact" exceptions.
28917 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28918 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
28919 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
28920 that test input.
28921 (lrint_downward_test_data): Test for "inexact" exceptions.
28922 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28923 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
28924 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
28925 test input.
28926 (lrint_upward_test_data): Test for "inexact" exceptions.
28927 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
28928 test input.
28929 (llrint_test_data): Test for "inexact" exceptions.
28930 (llrint_test_data) [TEST_FLOAT]: Disable one test.
28931 (llrint_tonearest_test_data): Test for "inexact" exceptions.
28932 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
28933 (llrint_towardzero_test_data): Test for "inexact" exceptions.
28934 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
28935 (llrint_downward_test_data): Test for "inexact" exceptions.
28936 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
28937 (llrint_upward_test_data): Test for "inexact" exceptions.
28938 (logb_test_data): Likewise.
28939 (logb_downward_test_data): Likewise.
28940 (nextafter_test_data): Likewise.
28941 (nexttoward_test_data): Likewise.
28942 (remainder_test_data): Likewise.
28943 (remquo_test_data): Likewise.
28944 (scalbn_test_data): Likewise.
28945 (scalbln_test_data): Likewise.
28946 (signbit_test_data): Likewise.
28947 (sqrt_test_data): Likewise.
28948 (significand_test_data): Likewise.
28949
48a18de1
SP
289502013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28951
28952 [BZ #15424]
28953 * benchtests/bench-modf.c (struct args): Mark arg0 as
28954 volatile.
28955 * scripts/bench.pl: Mark members of struct args as volatile.
28956
13d3b41a
AZ
289572013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28958
68191c1d 28959 [BZ # 15497]
13d3b41a
AZ
28960 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
28961 negative infinity on POWER6 or lower.
28962 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
28963
2848b105
MR
289642013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
28965
28966 [BZ #15442]
28967 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
28968 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
28969 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
28970 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
28971 (_FP_SETQNAN): New macro.
28972 (_FP_SETQNAN_SEMIRAW): Likewise.
28973 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
28974 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
28975 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
28976 (FP_EXTEND): Use _FP_FRAC_SNANP.
28977 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
28978 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
28979 into account.
28980 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28981 New macro.
28982 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
28983 Likewise.
28984
323e5cb7
JM
289852013-05-16 Joseph Myers <joseph@codesourcery.com>
28986
c58b274f
JM
28987 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
28988 with DIVIDE_BY_ZERO_EXCEPTION.
28989 (gamma_test_data): Likewise.
28990 (lgamma_test_data): Likewise.
28991 (log_test_data): Likewise.
28992 (log10_test_data): Likewise.
28993 (log2_test_data): Likewise.
28994 (tgamma_test_data): Likewise.
28995
0ab34904
JM
28996 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
28997 (acos_test_tonearest): Likewise.
28998 (acos_test_towardzero): Likewise.
28999 (acos_test_downward): Likewise.
29000 (acos_test_upward): Likewise.
29001 (acosh_test): Likewise.
29002 (asin_test): Likewise.
29003 (asin_test_tonearest): Likewise.
29004 (asin_test_towardzero): Likewise.
29005 (asin_test_downward): Likewise.
29006 (asin_test_upward): Likewise.
29007 (asinh_test): Likewise.
29008 (atan_test): Likewise.
29009 (atanh_test): Likewise.
29010 (atan2_test): Likewise.
29011 (cabs_test): Likewise.
29012 (cacos_test): Likewise.
29013 (cacosh_test): Likewise.
29014 (casin_test): Likewise.
29015 (casinh_test): Likewise.
29016 (catan_test): Likewise.
29017 (catanh_test): Likewise.
29018 (cbrt_test): Likewise.
29019 (ccos_test): Likewise.
29020 (ccosh_test): Likewise.
29021 (cexp_test): Likewise.
29022 (clog_test): Likewise.
29023 (clog10_test): Likewise.
29024 (cos_test): Likewise.
29025 (cos_test_tonearest): Likewise.
29026 (cos_test_towardzero): Likewise.
29027 (cos_test_downward): Likewise.
29028 (cos_test_upward): Likewise.
29029 (cosh_test): Likewise.
29030 (cosh_test_tonearest): Likewise.
29031 (cosh_test_towardzero): Likewise.
29032 (cosh_test_downward): Likewise.
29033 (cosh_test_upward): Likewise.
29034 (cpow_test): Likewise.
29035 (csin_test): Likewise.
29036 (csinh_test): Likewise.
29037 (csqrt_test): Likewise.
29038 (ctan_test): Likewise.
29039 (ctan_test_tonearest): Likewise.
29040 (ctan_test_towardzero): Likewise.
29041 (ctan_test_downward): Likewise.
29042 (ctan_test_upward): Likewise.
29043 (ctanh_test): Likewise.
29044 (ctanh_test_tonearest): Likewise.
29045 (ctanh_test_towardzero): Likewise.
29046 (ctanh_test_downward): Likewise.
29047 (ctanh_test_upward): Likewise.
29048 (erf_test): Likewise.
29049 (erfc_test): Likewise.
29050 (exp_test): Likewise.
29051 (exp_test_tonearest): Likewise.
29052 (exp_test_towardzero): Likewise.
29053 (exp_test_downward): Likewise.
29054 (exp_test_upward): Likewise.
29055 (exp10_test): Likewise.
29056 (exp2_test): Likewise.
29057 (expm1_test): Likewise.
29058 (fmod_test): Likewise.
29059 (gamma_test): Likewise.
29060 (hypot_test): Likewise.
29061 (j0_test): Likewise.
29062 (j1_test): Likewise.
29063 (jn_test): Likewise.
29064 (lgamma_test): Likewise.
29065 (log_test): Likewise.
29066 (log10_test): Likewise.
29067 (log1p_test): Likewise.
29068 (log2_test): Likewise.
29069 (logb_test_downward): Likewise.
29070 (pow_test): Likewise.
29071 (pow_test_tonearest): Likewise.
29072 (pow_test_towardzero): Likewise.
29073 (pow_test_downward): Likewise.
29074 (pow_test_upward): Likewise.
29075 (remainder_test): Likewise.
29076 (remquo_test): Likewise.
29077 (sin_test): Likewise.
29078 (sin_test_tonearest): Likewise.
29079 (sin_test_towardzero): Likewise.
29080 (sin_test_downward): Likewise.
29081 (sin_test_upward): Likewise.
29082 (sincos_test): Likewise.
29083 (sinh_test): Likewise.
29084 (sinh_test_tonearest): Likewise.
29085 (sinh_test_towardzero): Likewise.
29086 (sinh_test_downward): Likewise.
29087 (sinh_test_upward): Likewise.
29088 (sqrt_test): Likewise.
29089 (tan_test): Likewise.
29090 (tan_test_tonearest): Likewise.
29091 (tan_test_towardzero): Likewise.
29092 (tan_test_downward): Likewise.
29093 (tan_test_upward): Likewise.
29094 (tanh_test): Likewise.
29095 (tgamma_test): Likewise.
29096 (y0_test): Likewise.
29097 (y1_test): Likewise.
29098 (yn_test): Likewise.
29099
323e5cb7
JM
29100 * math/gen-libm-test.pl (adjust_arg): Remove function.
29101 (special_function): Remove argument $in_func. Only handle
29102 generating output for tables of tests, not inside functions.
29103 (parse_args): Likewise.
29104 (generate_testfile): Remove variable $in_func. Update call to
29105 parse_args.
29106 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
29107 (MINUS_ZERO_INIT): Rename macro to minus_zero.
29108 (PLUS_INFTY_INIT): Rename macro to plus_infty.
29109 (MINUS_INFTY_INIT): Rename macro to minus_infty.
29110 (QNAN_VALUE_INIT): Rename macro to qnan_value.
29111 (MAX_VALUE_INIT): Rename macro to max_value.
29112 (MIN_VALUE_INIT): Rename macro to min_value.
29113 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
29114 (plus_zero): Remove variable.
29115 (minus_zero): Likewise.
29116 (plus_infty): Likewise.
29117 (minus_infty): Likewise.
29118 (qnan_value): Likewise.
29119 (max_value): Likewise.
29120 (min_value): Likewise.
29121 (min_subnorm_value): Likewise.
29122
e054f494
RA
291232013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
29124
29125 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
29126 uint64_t or uint32_t usage.
29127 * crypt/sha256-block.c: Likewise.
29128 * crypt/sha256-crypt.c: Likewise.
29129 * crypt/sha256.c: Likewise.
29130 * crypt/sha512-block.c: Likewise.
29131 * crypt/sha512-crypt.c: Likewise.
29132 * crypt/sha512.c: Likewise.
29133 * debug/backtrace-tst.c: Likewise.
29134 * debug/pcprofiledump.c: Likewise.
29135 * elf/cache.c: Likewise.
29136 * elf/dl-cache.c: Likewise.
29137 * elf/dl-misc.c: Likewise.
29138 * elf/dl-profile.c: Likewise.
29139 * elf/dl-support.c: Likewise.
29140 * elf/ldconfig.c: Likewise.
29141 * elf/sprof.c: Likewise.
29142 * iconv/dummy-repertoire.c: Likewise.
29143 * iconv/iconv_charmap.c: Likewise.
29144 * iconv/skeleton.c: Likewise.
29145 * iconvdata/8bit-generic.c: Likewise.
29146 * iconvdata/cp737.h: Likewise.
29147 * iconvdata/cp775.h: Likewise.
29148 * iconvdata/ibm1008.h: Likewise.
29149 * iconvdata/ibm1025.h: Likewise.
29150 * iconvdata/ibm1046.h: Likewise.
29151 * iconvdata/ibm1097.h: Likewise.
29152 * iconvdata/ibm1112.h: Likewise.
29153 * iconvdata/ibm1122.h: Likewise.
29154 * iconvdata/ibm1123.h: Likewise.
29155 * iconvdata/ibm1124.h: Likewise.
29156 * iconvdata/ibm1129.h: Likewise.
29157 * iconvdata/ibm1130.h: Likewise.
29158 * iconvdata/ibm1132.h: Likewise.
29159 * iconvdata/ibm1133.h: Likewise.
29160 * iconvdata/ibm1137.h: Likewise.
29161 * iconvdata/ibm1140.h: Likewise.
29162 * iconvdata/ibm1141.h: Likewise.
29163 * iconvdata/ibm1142.h: Likewise.
29164 * iconvdata/ibm1143.h: Likewise.
29165 * iconvdata/ibm1144.h: Likewise.
29166 * iconvdata/ibm1145.h: Likewise.
29167 * iconvdata/ibm1146.h: Likewise.
29168 * iconvdata/ibm1147.h: Likewise.
29169 * iconvdata/ibm1148.h: Likewise.
29170 * iconvdata/ibm1149.h: Likewise.
29171 * iconvdata/ibm1153.h: Likewise.
29172 * iconvdata/ibm1154.h: Likewise.
29173 * iconvdata/ibm1155.h: Likewise.
29174 * iconvdata/ibm1156.h: Likewise.
29175 * iconvdata/ibm1157.h: Likewise.
29176 * iconvdata/ibm1158.h: Likewise.
29177 * iconvdata/ibm1160.h: Likewise.
29178 * iconvdata/ibm1161.h: Likewise.
29179 * iconvdata/ibm1162.h: Likewise.
29180 * iconvdata/ibm1163.h: Likewise.
29181 * iconvdata/ibm1164.h: Likewise.
29182 * iconvdata/ibm1166.h: Likewise.
29183 * iconvdata/ibm1167.h: Likewise.
29184 * iconvdata/ibm12712.h: Likewise.
29185 * iconvdata/ibm1390.h: Likewise.
29186 * iconvdata/ibm1399.h: Likewise.
29187 * iconvdata/ibm16804.h: Likewise.
29188 * iconvdata/ibm4517.h: Likewise.
29189 * iconvdata/ibm4899.h: Likewise.
29190 * iconvdata/ibm4909.h: Likewise.
29191 * iconvdata/ibm4971.h: Likewise.
29192 * iconvdata/ibm5347.h: Likewise.
29193 * iconvdata/ibm803.h: Likewise.
29194 * iconvdata/ibm856.h: Likewise.
29195 * iconvdata/ibm901.h: Likewise.
29196 * iconvdata/ibm902.h: Likewise.
29197 * iconvdata/ibm9030.h: Likewise.
29198 * iconvdata/ibm9066.h: Likewise.
29199 * iconvdata/ibm921.h: Likewise.
29200 * iconvdata/ibm922.h: Likewise.
29201 * iconvdata/ibm9448.h: Likewise.
29202 * iconvdata/isiri-3342.h: Likewise.
29203 * iconvdata/jis0201.h: Likewise.
29204 * include/link.h: Likewise.
29205 * include/netdb.h: Likewise.
29206 * inet/check_native.c: Likewise.
29207 * inet/check_pf.c: Likewise.
29208 * inet/getipv4sourcefilter.c: Likewise.
29209 * inet/getnameinfo.c: Likewise.
29210 * inet/getsourcefilter.c: Likewise.
29211 * inet/htonl.c: Likewise.
29212 * inet/setipv4sourcefilter.c: Likewise.
29213 * inet/setsourcefilter.c: Likewise.
29214 * inet/test-inet6_opt.c: Likewise.
29215 * inet/tst-network.c: Likewise.
29216 * locale/C-collate.c: Likewise.
29217 * locale/C-ctype.c: Likewise.
29218 * locale/C-time.c: Likewise.
29219 * locale/C-translit.h: Likewise.
29220 * locale/loadarchive.c: Likewise.
29221 * locale/programs/3level.h: Likewise.
29222 * locale/programs/charmap.c: Likewise.
29223 * locale/programs/charmap.h: Likewise.
29224 * locale/programs/ld-address.c: Likewise.
29225 * locale/programs/ld-collate.c: Likewise.
29226 * locale/programs/ld-ctype.c: Likewise.
29227 * locale/programs/ld-identification.c: Likewise.
29228 * locale/programs/ld-measurement.c: Likewise.
29229 * locale/programs/ld-messages.c: Likewise.
29230 * locale/programs/ld-monetary.c: Likewise.
29231 * locale/programs/ld-name.c: Likewise.
29232 * locale/programs/ld-numeric.c: Likewise.
29233 * locale/programs/ld-paper.c: Likewise.
29234 * locale/programs/ld-telephone.c: Likewise.
29235 * locale/programs/ld-time.c: Likewise.
29236 * locale/programs/linereader.c: Likewise.
29237 * locale/programs/locale.c: Likewise.
29238 * locale/programs/locarchive.c: Likewise.
29239 * locale/programs/locfile.h: Likewise.
29240 * locale/programs/repertoire.c: Likewise.
29241 * locale/programs/simple-hash.c: Likewise.
29242 * locale/programs/simple-hash.h: Likewise.
29243 * malloc/memusage.c: Likewise.
29244 * malloc/memusagestat.c: Likewise.
29245 * nis/nis_defaults.c: Likewise.
29246 * nis/nis_hash.c: Likewise.
29247 * nis/nis_print.c: Likewise.
29248 * nis/nis_xdr.c: Likewise.
29249 * nscd/connections.c: Likewise.
29250 * nscd/hstcache.c: Likewise.
29251 * nscd/nscd_gethst_r.c: Likewise.
29252 * nscd/nscd_getserv_r.c: Likewise.
29253 * nscd/nscd_helper.c: Likewise.
29254 * nscd/servicescache.c: Likewise.
29255 * nss/makedb.c: Likewise.
29256 * nss/nss_db/db-XXX.c: Likewise.
29257 * nss/nss_db/db-initgroups.c: Likewise.
29258 * nss/nss_db/db-netgrp.c: Likewise.
29259 * nss/nss_files/files-network.c: Likewise.
29260 * nss/nss_files/files-parse.c: Likewise.
29261 * posix/bug-regex5.c: Likewise.
29262 * posix/fnmatch_loop.c: Likewise.
29263 * posix/regcomp.c: Likewise.
29264 * posix/regexec.c: Likewise.
29265 * posix/tst-rfc3484-2.c: Likewise.
29266 * posix/tst-rfc3484-3.c: Likewise.
29267 * posix/tst-rfc3484.c: Likewise.
29268 * resolv/nss_dns/dns-canon.c: Likewise.
29269 * resolv/nss_dns/dns-network.c: Likewise.
29270 * resolv/res_init.c: Likewise.
29271 * resolv/res_mkquery.c: Likewise.
29272 * resolv/tst-aton.c: Likewise.
29273 * stdlib/cxa_atexit.c: Likewise.
29274 * stdlib/cxa_finalize.c: Likewise.
29275 * stdlib/gen-fpioconst.c: Likewise.
29276 * stdlib/strtol_l.c: Likewise.
29277 * string/tst-endian.c: Likewise.
29278 * sunrpc/auth_des.c: Likewise.
29279 * sunrpc/clnt_udp.c: Likewise.
29280 * sunrpc/rtime.c: Likewise.
29281 * sunrpc/svcauth_des.c: Likewise.
29282 * sunrpc/xdr.c: Likewise.
29283 * sunrpc/xdr_intXX_t.c: Likewise.
29284 * sunrpc/xdr_rec.c: Likewise.
29285 * sysdeps/generic/ldconfig.h: Likewise.
29286 * sysdeps/generic/ldsodefs.h: Likewise.
29287 * sysdeps/generic/memusage.h: Likewise.
29288 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
29289 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
29290 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
29291 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
29292 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
29293 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29294 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
29295 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
29296 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
29297 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
29298 * sysdeps/posix/getaddrinfo.c: Likewise.
29299 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
29300 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
29301 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
29302 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
29303 * sysdeps/powerpc/test-gettimebase.c: Likewise.
29304 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
29305 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
29306 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
29307 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
29308 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
29309 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29310 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29311 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
29312 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
29313 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
29314 * sysdeps/x86_64/dl-tls.h: Likewise.
29315 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
29316 * time/alt_digit.c: Likewise.
29317 * time/era.c: Likewise.
29318 * wcsmbs/tst-c16c32-1.c: Likewise.
29319
8c75f674
JM
293202013-05-16 Joseph Myers <joseph@codesourcery.com>
29321
29322 * math/libm-test.inc (struct test_sincos_data): New type.
29323 (RUN_TEST_LOOP_sincos): New macro.
29324 (sincos_test_data): New variable.
29325 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
29326
e6e49e59
RH
293272013-05-16 Richard Henderson <rth@redhat.com>
29328
29329 * math/atest-exp2.c (LIMB64): New macro.
29330 (CONSTSZ): New macro.
29331 (mp_exp1, mp_exp_m1, mp_log2): New variables.
29332 (hexdig): Move ...
29333 (print_mpn_fp): ... to function scope.
29334 (read_mpn_hex): Remove.
29335 (get_log2): Remove.
29336 (exp2_mpn): Use mp_log2.
29337 (main): Use mp_exp1.
29338
15c7c18d
JM
293392013-05-16 Joseph Myers <joseph@codesourcery.com>
29340
105a07df
JM
29341 * math/libm-test.inc: Remove comment about not testing "inexact"
29342 exceptions.
29343 (INEXACT_EXCEPTION): New macro.
29344 (NO_INEXACT_EXCEPTION): Likewise.
29345 (INVALID_EXCEPTION_OK): Update value.
29346 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29347 (OVERFLOW_EXCEPTION_OK): Likewise.
29348 (UNDERFLOW_EXCEPTION_OK): Likewise.
29349 (IGNORE_ZERO_INF_SIGN): Likewise.
29350 (ERRNO_UNCHANGED): Likewise.
29351 (ERRNO_EDOM): Likewise.
29352 (ERRNO_ERANGE): Likewise.
29353 (test_exceptions): Handle testing "inexact" exceptions.
29354 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
29355 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
29356 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
29357 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
29358 INEXACT_EXCEPTION.
29359 (rint_towardzero_test_data): Likewise.
29360 (rint_downward_test_data): Likewise.
29361 (rint_upward_test_data): Likewise.
29362
e9eee333
JM
29363 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
29364 with OVERFLOW_EXCEPTION.
29365 (exp10_test_data): Likewise.
29366 (exp2_test_data): Likewise.
29367 (expm1_test_data): Likewise.
29368 (lgamma_test_data): Likewise.
29369 (pow_test_data): Likewise.
29370 (tgamma_test_data): Likewise.
29371 (yn_test_data): Remove duplicate test of overflow.
29372
1c38ff73
JM
29373 * math/libm-test.inc (struct test_cc_c_data): New type.
29374 (RUN_TEST_LOOP_cc_c): New macro.
29375 (cpow_test_data): New variable.
29376 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
29377
15c7c18d
JM
29378 * math/libm-test.inc (struct test_f_L_data): New type.
29379 (RUN_TEST_LOOP_f_L): New macro.
29380 (llrint_test_data): New variable.
29381 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
29382 (llrint_tonearest_test_data): New variable.
29383 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
29384 (llrint_towardzero_test_data): New variable.
29385 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
29386 (llrint_downward_test_data): New variable.
29387 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
29388 (llrint_upward_test_data): New variable.
29389 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
29390 (llround_test_data): New variable.
29391 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
29392
f137ff13
PC
293932013-05-13 Peter Collingbourne <pcc@google.com>
29394
29395 * math/atest-exp2.c (get_log2): Remove const attribute.
29396
3608cb24
JM
293972013-05-15 Joseph Myers <joseph@codesourcery.com>
29398
29399 * math/libm-test.inc (struct test_f_l_data): New type.
29400 (RUN_TEST_LOOP_f_l): New macro.
29401 (lrint_test_data): New variable.
29402 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
29403 (lrint_tonearest_test_data): New variable.
29404 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
29405 (lrint_towardzero_test_data): New variable.
29406 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
29407 (lrint_downward_test_data): New variable.
29408 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
29409 (lrint_upward_test_data): New variable.
29410 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
29411 (lround_test_data): New variable.
29412 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
29413
39b1f617
PC
294142013-05-15 Peter Collingbourne <pcc@google.com>
29415
1deff3dc
PC
29416 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
29417 (EXTRACT_WORDS64) Use where appropriate.
29418 (INSERT_WORDS64) Likewise.
29419
791f3ba0
PC
29420 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
29421 constraints with x constraints.
29422 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
29423
39b1f617
PC
29424 * malloc/obstack.c (_obstack_compat): Add initializer.
29425
12fba011
EM
294262013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
29427
29428 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
29429 si_trapno and add si_addr_lsb to _sifields.sigfault.
29430 (si_trapno): Remove macro.
29431 (si_addr_lsb): Define new macro.
29432 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
29433
d369f531
JM
294342013-05-15 Joseph Myers <joseph@codesourcery.com>
29435
b861c6c4
JM
29436 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
29437 instead of TEST_f_l.
29438 (llrint_test_tonearest): Likewise.
29439 (llrint_test_towardzero): Likewise.
29440 (llrint_test_downward): Likewise.
29441 (llrint_test_upward): Likewise.
29442 (llround_test): Likewise.
29443
7abeee12
JM
29444 * math/libm-test.inc (struct test_f_i_data): Add comment.
29445 (RUN_TEST_LOOP_f_b): New macro.
29446 (RUN_TEST_LOOP_f_b_tg): Likewise.
29447 (finite_test_data): New variable.
29448 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
29449 (isfinite_test_data): New variable.
29450 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29451 (isinf_test_data): New variable.
29452 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29453 (isnan_test_data): New variable.
29454 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29455 (isnormal_test_data): New variable.
29456 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29457 (issignaling_test_data): New variable.
29458 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29459 (signbit_test_data): New variable.
29460 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
29461
cbe8c4d3
JM
29462 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
29463 with INVALID_EXCEPTION.
29464 (acosh_test_data): Likewise.
29465 (asin_test_data): Likewise.
29466 (atanh_test_data): Likewise.
29467 (fmod_test_data): Likewise.
29468 (log_test_data): Likewise.
29469 (log10_test_data): Likewise.
29470 (log2_test_data): Likewise.
29471 (pow_test_data): Likewise.
29472 (sqrt_test_data): Likewise.
29473 (y0_test_data): Likewise.
29474 (y1_test_data): Likewise.
29475 (yn_test_data): Likewise.
29476
5575c0e5
JM
29477 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
29478 function contents.
29479
d369f531
JM
29480 * math/libm-test.inc (struct test_ff_i_data): New type.
29481 (RUN_TEST_LOOP_ff_i_tg): New macro.
29482 (isgreater_test_data): New variable.
29483 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29484 (isgreaterequal_test_data): New variable.
29485 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29486 (isless_test_data): New variable.
29487 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29488 (islessequal_test_data): New variable.
29489 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29490 (islessgreater_test_data): New variable.
29491 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29492 (isunordered_test_data): New variable.
29493 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
29494
781fd748
DM
294952013-05-14 David S. Miller <davem@davemloft.net>
29496
29497 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29498
87aa21df
JM
294992013-05-14 Joseph Myers <joseph@codesourcery.com>
29500
5e908270
JM
29501 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
29502
f71172e5
JM
29503 * math/libm-test.inc (struct test_fF_f1_data): Change type of
29504 extra_test to int.
29505 (struct test_f_i_data): Change type of max_ulp to int.
29506
8cfa635a
JM
29507 * math/libm-test.inc (test_ffI_f1_data): New type.
29508 (RUN_TEST_LOOP_ffI_f1): New macro.
29509 (remquo_test_data): New variable.
29510 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
29511
2bcb36b2
JM
29512 * setjmp/tst-setjmp-fp.c: New file.
29513 * setjmp/Makefile (tests): Add tst-setjmp-fp.
29514 (link-libm): New variable.
29515 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
29516
acbd839a
JM
29517 * math/libm-test.inc (struct test_f_i_data): New type.
29518 (RUN_TEST_LOOP_f_i): New macro.
29519 (RUN_TEST_LOOP_f_i_tg): Likewise.
29520 (fpclassify_test_data): New variable.
29521 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
29522 (ilogb_test_data): New variable.
29523 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
29524
e414d745
JM
29525 * math/libm-test.inc (scalbln_test): Correct function name in END
29526 call.
29527
d9c2a0fd
JM
29528 * math/libm-test.inc (struct test_f_f1_data): Add comment.
29529 (RUN_TEST_LOOP_fI_f1): New macro.
29530 (frexp_test_data): New variable.
29531 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
29532
9dc9095d
JM
29533 * math/libm-test.inc (struct test_fF_f1_data): New type.
29534 (RUN_TEST_LOOP_fF_f1): New macro.
29535 (modf_test_data): New variable.
29536 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
29537
87aa21df
JM
29538 * math/libm-test.inc (struct test_f_f1_data): New type.
29539 (RUN_TEST_LOOP_f_f1): New macro.
29540 (gamma_test_data): New variable.
29541 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29542 (lgamma_test_data): New variable.
29543 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
29544
141af660
CD
295452013-05-13 Carlos O'Donell <carlos@redhat.com>
29546
29547 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
29548 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
29549 (main): Comment "tls" pseudo-hwcap.
29550
6d33265c
JM
295512013-05-13 Joseph Myers <joseph@codesourcery.com>
29552
68fc074c
JM
29553 * math/libm-test.inc (struct test_fl_f_data): New type.
29554 (RUN_TEST_LOOP_fl_f): New variable.
29555 (scalbln_test_data): New variable.
29556 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
29557
243216e1
JM
29558 * math/libm-test.inc (struct test_fi_f_data): New type.
29559 (RUN_TEST_LOOP_fi_f): New macro.
29560 (ldexp_test_data): New variable.
29561 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
29562 (scalbn_test_data): New variable.
29563 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
29564
6a1992e2
JM
29565 * math/libm-test.inc (struct test_c_f_data): New type.
29566 (RUN_TEST_LOOP_c_f): New macro.
29567 (cabs_test_data): New variable.
29568 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
29569 (carg_test_data): New variable.
29570 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
29571 (cimag_test_data): New variable.
29572 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
29573 (creal_test_data): New variable.
29574 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
29575
0e400df5
JM
29576 * math/libm-test.inc (struct test_if_f_data): New type.
29577 (RUN_TEST_LOOP_if_f): New macro.
29578 (jn_test_data): New variable.
29579 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
29580 (yn_test_data): New variable.
29581 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
29582
6d33265c
JM
29583 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
29584
f98ece5f
AZ
295852013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29586
29587 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
29588 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
29589
0f7d347b
SP
295902013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29591
43fe811b
SP
29592 * benchtests/Makefile (CPPFLAGS-nonlib): Add
29593 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
29594 (bench-deps): Add bench-timing.h.
29595 * benchtests-bench-skeleton.c: Include bench-timing.h.
29596 (main): Use TIMING_* macros instead of clock_gettime.
29597 * benchtests/bench-timing.h: New file.
29598
0f7d347b
SP
29599 [BZ #14582]
29600 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
29601 Renamed from _LIB_VERSION.
29602 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
29603
601a3a5f
JM
296042013-05-12 Joseph Myers <joseph@codesourcery.com>
29605
4f184d30
JM
29606 * math/libm-test.inc (struct test_fff_f_data): New type.
29607 (RUN_TEST_LOOP_fff_f): New macro.
29608 (fma_test_data): New variable.
29609 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
29610 (fma_towardzero_test_data): New variable.
29611 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
29612 (fma_downward_test_data): New variable.
29613 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
29614 (fma_upward_test_data): New variable.
29615 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
29616
08198877
JM
29617 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
29618 (struct test_c_c_data): New type.
29619 (RUN_TEST_LOOP_c_c): New macro.
29620 (cacos_test_data): New variable.
29621 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
29622 (cacosh_test_data): New variable.
29623 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
29624 (casin_test_data): New variable.
29625 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
29626 (casinh_test_data): New variable.
29627 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
29628 (catan_test_data): New variable.
29629 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
29630 (catanh_test_data): New variable.
29631 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
29632 (ccos_test_data): New variable.
29633 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
29634 (ccosh_test_data): New variable.
29635 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
29636 (cexp_test_data): New variable.
29637 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
29638 (clog_test_data): New variable.
29639 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
29640 (clog10_test_data): New variable.
29641 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
29642 (conj_test_data): New variable.
29643 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
29644 (cproj_test_data): New variable.
29645 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
29646 (csin_test_data): New variable.
29647 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
29648 (csinh_test_data): New variable.
29649 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
29650 (csqrt_test_data): New variable.
29651 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
29652 (ctan_test_data): New variable.
29653 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
29654 (ctan_tonearest_test_data): New variable.
29655 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29656 (ctan_towardzero_test_data): New variable.
29657 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29658 (ctan_downward_test_data): New variable.
29659 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29660 (ctan_upward_test_data): New variable.
29661 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29662 (ctanh_test_data): New variable.
29663 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
29664 (ctanh_tonearest_test_data): New variable.
29665 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
29666 (ctanh_towardzero_test_data): New variable.
29667 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
29668 (ctanh_downward_test_data): New variable.
29669 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
29670 (ctanh_upward_test_data): New variable.
29671 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
29672 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
29673 of BUILD_COMPLEX.
29674
601a3a5f
JM
29675 * math/libm-test.inc (struct test_ff_f_data): New type.
29676 (struct test_ff_f_data_nexttoward): Likewise.
29677 (RUN_TEST_LOOP_2_f): New macro.
29678 (RUN_TEST_LOOP_ff_f): Likewise.
29679 (atan2_test_data): New variable.
29680 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
29681 (copysign_test_data): New variable.
29682 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
29683 (fdim_test_data): New variable.
29684 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
29685 (fmax_test_data): New variable.
29686 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
29687 (fmin_test_data): New variable.
29688 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
29689 (fmod_test_data): New variable.
29690 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
29691 (hypot_test_data): New variable.
29692 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
29693 (nextafter_test_data): New variable.
29694 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
29695 (nexttoward_test_data): New variable.
29696 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
29697 (pow_test_data): New variable.
29698 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
29699 (pow_tonearest_test_data): New variable.
29700 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
29701 (pow_towardzero_test_data): New variable.
29702 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
29703 (pow_downward_test_data): New variable.
29704 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
29705 (pow_upward_test_data): New variable.
29706 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
29707 (remainder_test_data): New variable.
29708 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
29709 (scalb_test_data): New variable.
29710 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
29711 * sysdeps/i386/fpu/libm-test-ulps: Update.
29712
74c57478
JM
297132013-05-11 Joseph Myers <joseph@codesourcery.com>
29714
8329e4da
JM
29715 * math/libm-test.inc (fma_test): Use max_value instead of local
29716 variable fltmax.
29717 (nextafter_test): Likewise.
29718
74c57478
JM
29719 * math/libm-test.inc (acos_towardzero_test_data): New variable.
29720 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29721 (acos_downward_test_data): New variable.
29722 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29723 (acos_upward_test_data): New variable.
29724 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29725 (acosh_test_data): New variable.
29726 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
29727 (asin_test_data): New variable.
29728 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
29729 (asin_tonearest_test_data): New variable.
29730 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29731 (asin_towardzero_test_data): New variable.
29732 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29733 (asin_downward_test_data): New variable.
29734 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29735 (asin_upward_test_data): New variable.
29736 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29737 (asinh_test_data): New variable.
29738 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
29739 (atan_test_data): New variable.
29740 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
29741 (atanh_test_data): New variable.
29742 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
29743 (cbrt_test_data): New variable.
29744 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
29745 (ceil_test_data): New variable.
29746 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
29747 (cos_test_data): New variable.
29748 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
29749 (cos_tonearest_test_data): New variable.
29750 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29751 (cos_towardzero_test_data): New variable.
29752 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29753 (cos_downward_test_data): New variable.
29754 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29755 (cos_upward_test_data): New variable.
29756 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29757 (cosh_test_data): New variable.
29758 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
29759 (cosh_tonearest_test_data): New variable.
29760 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29761 (cosh_towardzero_test_data): New variable.
29762 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29763 (cosh_downward_test_data): New variable.
29764 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29765 (cosh_upward_test_data): New variable.
29766 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29767 (erf_test_data): New variable.
29768 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
29769 (erfc_test_data): New variable.
29770 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
29771 (exp_test_data): New variable.
29772 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
29773 (exp_tonearest_test_data): New variable.
29774 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29775 (exp_towardzero_test_data): New variable.
29776 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29777 (exp_downward_test_data): New variable.
29778 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29779 (exp_upward_test_data): New variable.
29780 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29781 (exp10_test_data): New variable.
29782 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
29783 (exp2_test_data): New variable.
29784 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
29785 (expm1_test_data): New variable.
29786 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
29787 (fabs_test_data): New variable.
29788 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
29789 (floor_test_data): New variable.
29790 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
29791 (j0_test_data): New variable.
29792 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
29793 (j1_test_data): New variable.
29794 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
29795 (log_test_data): New variable.
29796 (log_test): Run tests with RUN_TEST_LOOP_f_f.
29797 (log10_test_data): New variable.
29798 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
29799 (log1p_test_data): New variable.
29800 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
29801 (log2_test_data): New variable.
29802 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
29803 (logb_test_data): New variable.
29804 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
29805 (logb_downward_test_data): New variable.
29806 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29807 (nearbyint_test_data): New variable.
29808 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
29809 (rint_test_data): New variable.
29810 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
29811 (rint_tonearest_test_data): New variable.
29812 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29813 (rint_towardzero_test_data): New variable.
29814 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29815 (rint_downward_test_data): New variable.
29816 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29817 (rint_upward_test_data): New variable.
29818 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29819 (round_test_data): New variable.
29820 (round_test): Run tests with RUN_TEST_LOOP_f_f.
29821 (sin_test_data): New variable.
29822 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
29823 (sin_tonearest_test_data): New variable.
29824 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29825 (sin_towardzero_test_data): New variable.
29826 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29827 (sin_downward_test_data): New variable.
29828 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29829 (sin_upward_test_data): New variable.
29830 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29831 (sinh_test_data): New variable.
29832 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
29833 (sinh_tonearest_test_data): New variable.
29834 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29835 (sinh_towardzero_test_data): New variable.
29836 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29837 (sinh_downward_test_data): New variable.
29838 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29839 (sinh_upward_test_data): New variable.
29840 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29841 (sqrt_test_data): New variable.
29842 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
29843 (tan_test_data): New variable.
29844 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
29845 (tan_tonearest_test_data): New variable.
29846 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29847 (tan_towardzero_test_data): New variable.
29848 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
29849 (tan_downward_test_data): New variable.
29850 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
29851 (tan_upward_test_data): New variable.
29852 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
29853 (tanh_test_data): New variable.
29854 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
29855 (tgamma_test_data): New variable.
29856 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
29857 (trunc_test_data): New variable.
29858 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
29859 (y0_test_data): New variable.
29860 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
29861 (y1_test_data): New variable.
29862 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
29863 (significand_test_data): New variable.
29864 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
29865
7187d844
CG
298662013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
29867
29868 [BZ #12387]
29869 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
29870
f63fae73
PT
298712013-05-10 Pino Toscano <toscano.pino@tiscali.it>
29872
29873 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
29874
8a67a4b3
AJ
298752013-05-10 Andreas Jaeger <aj@suse.de>
29876
29877 [BZ #15448]
29878 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
29879 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
29880
51df539d
JM
298812013-05-10 Joseph Myers <joseph@codesourcery.com>
29882
29883 * math/gen-libm-test.pl (adjust_arg): New function.
29884 (special_functions): Handle generating output in both functions
29885 and arrays.
29886 (parse_args): Likewise.
29887 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
29888 $in_func argument to parse_args.
29889 * math/libm-test.inc (struct test_f_f_data): New type.
29890 (IF_ROUND_INIT_): New macro.
29891 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
29892 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
29893 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
29894 (IF_ROUND_INIT_FE_UPWARD): Likewise.
29895 (ROUND_RESTORE_): Likewise.
29896 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
29897 (ROUND_RESTORE_FE_TONEAREST): Likewise.
29898 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
29899 (ROUND_RESTORE_FE_UPWARD): Likewise.
29900 (RUN_TEST_LOOP_f_f): New macro.
29901 (acos_test_data): New variable.
29902 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
29903 (acos_tonearest_test_data): New variable.
29904 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
29905
5c637fe5
SP
299062013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
29907
29908 * benchtests/bench-skeleton.c (startup): Fix coding style.
29909
ab2b9461
JM
299102013-05-10 Joseph Myers <joseph@codesourcery.com>
29911
29912 [BZ #6809]
29913 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
29914 negative infinity argument.
29915 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
29916 negative infinity argument.
29917 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
29918 negative infinity argument.
29919 * math/libm-test.inc (tgamma_test): Expect errno to be set for
29920 domain errors.
29921
4c0fe6fe
FW
299222013-05-10 Florian Weimer <fweimer@redhat.com>
29923
29924 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
29925 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
29926 * iconv/iconv_prog.c (main): Likewise.
29927 * locale/programs/charmap-dir.c (charmap_readdir)
29928 (fopen_uncompressed): Likewise.
29929 * locale/programs/locfile.c (siblings_uncached)
29930 (write_locale_data): Use lstat64 instead of lstat.
29931 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
29932 stat.
29933
a3375d29
AJ
299342013-05-10 Andreas Jaeger <aj@suse.de>
29935
29936 [BZ #15395]
29937 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
29938 localization.
29939 Include <locale.h>.
29940
36129722
CD
299412013-05-09 Carlos O'Donell <carlos@redhat.com>
29942
29943 * elf/dl-close.c (_dl_close_worker): Add comments.
29944
faa7f811
JM
299452013-05-09 Joseph Myers <joseph@codesourcery.com>
29946
ed41ffef
JM
29947 [BZ #15359]
29948 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
29949 high part of pi/2.
29950 (__ieee754_rem_pio2l): Update comments.
29951
d0213cd0
JM
29952 [BZ #15429]
29953 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
29954 high part of pi/2.
29955 (__ieee754_rem_pio2l): Update comments.
29956
0d3e777a
JM
29957 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
29958 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
29959
24f56066
JM
29960 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
29961 M_PI_4l.
29962
faa7f811
JM
29963 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
29964 (M_PI_34_LOG10El): Likewise.
29965 (M_PI2_LOG10El): Likewise.
29966 (M_PI4_LOG10El): Likewise.
29967 (M_PI_LOG10El): Likewise.
29968
e9a5e0fd
AZ
299692013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29970
29971 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29972
d8cd06db
JM
299732013-05-08 Joseph Myers <joseph@codesourcery.com>
29974
a0d9f9d7
JM
29975 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
29976 (MINUS_ZERO_INIT): Likewise.
29977 (PLUS_INFTY_INIT): Likewise.
29978 (MINUS_INFTY_INIT): Likewise.
29979 (QNAN_VALUE_INIT): Likewise.
29980 (MAX_VALUE_INIT): Likewise.
29981 (MIN_VALUE_INIT): Likewise.
29982 (MIN_SUBNORM_VALUE_INIT): Likewise.
29983 (plus_zero): Initialize with PLUS_ZERO_INIT.
29984 (minus_zero): Initialize with MINUS_ZERO_INIT.
29985 (plus_infty): Initialize with PLUS_INFTY_INIT.
29986 (minus_infty): Initialize with MINUS_INFTY_INIT.
29987 (qnan_value): Initialize with QNAN_VALUE_INIT.
29988 (max_value): Initialize with MAX_VALUE_INIT.
29989 (min_value): Initialize with MIN_VALUE_INIT.
29990 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
29991
ae08db3b
JM
29992 * math/libm-test.inc (RUN_TEST_if_f): New macro.
29993 (jn_test): Use TEST_if_f instead of TEST_ff_f.
29994 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
29995 (yn_test): Use TEST_if_f instead of TEST_ff_f.
29996
f44bf14a
JM
29997 * math/libm-test.inc (RUN_TEST_f_f): New macro.
29998 (RUN_TEST_2_f): Likewise.
29999 (RUN_TEST_ff_f): Likewise.
30000 (RUN_TEST_fi_f): Likewise.
30001 (RUN_TEST_fl_f): Likewise.
30002 (RUN_TEST_fff_f): Likewise.
30003 (RUN_TEST_c_f): Likewise.
30004 (RUN_TEST_f_f1): Likewise.
30005 (RUN_TEST_fF_f1): Likewise.
30006 (RUN_TEST_fI_f1): Likewise.
30007 (RUN_TEST_ffI_f1): Likewise.
30008 (RUN_TEST_c_c): Likewise.
30009 (RUN_TEST_cc_c): Likewise.
30010 (RUN_TEST_f_i): Likewise.
30011 (RUN_TEST_f_i_tg): Likewise.
30012 (RUN_TEST_ff_i_tg): Likewise.
30013 (RUN_TEST_f_b): Likewise.
30014 (RUN_TEST_f_b_tg): Likewise.
30015 (RUN_TEST_f_l): Likewise.
30016 (RUN_TEST_f_L): Likewise.
30017 (RUN_TEST_sincos): Likewise.
30018 * math/gen-libm-test.pl (new_test): Take new argument to indicate
30019 whether to show exceptions. Do not include ");\n" in return
30020 value.
30021 (special_functions): Output call to RUN_TEST_sincos instead of
30022 check_float calls. Update calls to new_test.
30023 (parse_args): Output call to single RUN_TEST_* macro instead of
30024 check_* calls and other assignments. Update calls to new_test.
30025
d8cd06db
JM
30026 [BZ #2546]
30027 [BZ #2560]
30028 [BZ #5159]
30029 [BZ #15426]
30030 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
30031 input to result for tgamma overflow.
30032 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
30033 (gamma_coeff): New variable.
30034 (NCOEFF): New macro.
30035 (gamma_positive): New function.
30036 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
30037 underflow here. Use gamma_positive instead of exp (lgamma) for
30038 other arguments.
30039 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
30040 (gamma_coeff): New variable.
30041 (NCOEFF): New macro.
30042 (gammaf_positive): New function.
30043 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
30044 underflow here. Use gamma_positive instead of exp (lgamma) for
30045 other arguments.
30046 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
30047 (gamma_coeff): New variable.
30048 (NCOEFF): New macro.
30049 (gammal_positive): New function.
30050 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
30051 underflow here. Use gamma_positive instead of exp (lgamma) for
30052 other arguments.
30053 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
30054 (gamma_coeff): New variable.
30055 (NCOEFF): New macro.
30056 (gammal_positive): New function.
30057 (__ieee754_gammal_r): Handle positive infinity, overflow and
30058 underflow here. Handle NaN the same as positive infinity. Remove
30059 check x < 0xffffffff for negative integers. Use gamma_positive
30060 instead of exp (lgamma) for other arguments.
30061 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
30062 (gamma_coeff): New variable.
30063 (NCOEFF): New macro.
30064 (gammal_positive): New function.
30065 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
30066 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
30067 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
30068 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
30069 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
30070 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
30071 * sysdeps/generic/math_private.h (__gamma_productf): New
30072 prototype.
30073 (__gamma_product): Likewise.
30074 (__gamma_productl): Likewise.
30075 * math/Makefile (libm-calls): Add gamma_product.
30076 * math/libm-test.inc (tgamma_test): Add more tests.
30077 * sysdeps/i386/fpu/libm-test-ulps: Update.
30078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30079
bb7cf681
OB
300802013-05-08 Ondřej Bílka <neleai@seznam.cz>
30081
30082 * benchtests/bench-skeleton.c (main): Preheat CPU.
30083
ba853947
AJ
300842013-05-07 Aurelien Jarno <aurelien@aurel32.net>
30085
30086 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
30087
8347c74c
RM
300882013-05-07 Roland McGrath <roland@hack.frob.com>
30089
30090 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
30091 and _dl_skip_args_internal.
30092
e8dd4791
CD
300932013-05-07 Carlos O'Donell <carlos@redhat.com>
30094
30095 * manual/message.texi (Message Translation): Talk about users.
30096 Message to key mapping impacts design.
30097
c7405830
RM
300982013-05-06 Roland McGrath <roland@hack.frob.com>
30099
a9173057
RM
30100 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
30101
976e2f03
RM
30102 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
30103
9723ffc5
RM
30104 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
30105 * sysdeps/wordsize-64/glob64.c: ... here.
30106
962e6658
RM
30107 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
30108 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
30109 New macros.
30110
ee586a6d
RM
30111 * debug/getlogin_r_chk.c: Moved to ...
30112 * login/getlogin_r_chk.c: ... here.
30113 * debug/Makefile (routines): Move getlogin_r_chk to ...
30114 * login/Makefile (routines): ... here.
30115 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
30116 * login/Versions (libc: GLIBC_2.4): ... here.
30117
355f9165
RM
30118 * io/poll.c (__poll): Renamed from poll.
30119 Add libc_hidden_def.
30120 (poll): Define as weak alias.
30121
bd9ffde6
RM
30122 * debug/ptsname_r_chk.c: Moved to ...
30123 * login/ptsname_r_chk.c: ... here.
30124 * debug/Makefile (routines): Move ptsname_r_chk to ...
30125 * login/Makefile (routines): ... here.
30126 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
30127 * login/Versions (libc: GLIBC_2.4): ... here.
30128
8fb16a04
RM
30129 * posix/getlogin.c: Moved to ...
30130 * login/getlogin.c: ... here.
30131 * posix/getlogin_r.c: Moved to ...
30132 * login/getlogin_r.c: ... here.
30133 * posix/getlogin_r.c: Moved to ...
30134 * login/getlogin_r.c: ... here.
30135 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
30136 * login/Makefile (routines): ... here.
30137 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
30138 * login/Versions (libc: GLIBC_2.0): ... here.
30139
b99b892f
RM
30140 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
30141 (setrlimit): Define as weak alias.
30142
c7405830
RM
30143 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
30144 Call __ names for open, ftruncate, and close.
30145 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
30146 (truncate): Define as weak alias.
30147
5bf96de5
JM
301482013-05-06 Joseph Myers <joseph@codesourcery.com>
30149
9ea3513c
JM
30150 * math/gen-libm-test.pl (parse_args): Initialize x before each
30151 test of frexp, modf and remquo.
30152
5bf96de5
JM
30153 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
30154 test signgam value.
30155
16e616a7
AZ
301562013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30157
30158 [BZ #15418]
30159 [BZ #15419]
30160 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
30161 internal tests.
30162 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
30163
d5e82754
RM
301642013-05-06 Roland McGrath <roland@hack.frob.com>
30165
30166 * elf/dl-writev.h: New file.
30167 * elf/dl-misc.c: Include it.
30168 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
30169 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
30170
a7548d41
JM
301712013-05-04 Joseph Myers <joseph@codesourcery.com>
30172
b7dab1e4
JM
30173 * math/libm-test.inc (noXFails): Remove variable.
30174 (noXPasses): Likewise.
30175 (BUILD_COMPLEX_INT): Remove macro.
30176 (print_screen): Remove xfail argument.
30177 (print_screen_max_error): Likewise.
30178 (update_stats): Likewise.
30179 (print_max_error): Likewise. Update calls to other affected
30180 functions.
30181 (print_complex_max_error): Likewise.
30182 (test_single_exception): Update calls to print_screen.
30183 (test_single_errno): Likewise.
30184 (check_float_internal): Remove xfail argument. Update calls to
30185 other affected functions.
30186 (check_float): Likewise.
30187 (check_complex): Likewise.
30188 (check_int): Likewise.
30189 (check_long): Likewise.
30190 (check_bool): Likewise.
30191 (check_longlong): Likewise.
30192 (main): Don't print noXFails and noXPasses.
30193 * math/gen-libm-test.pl (top level): Don't mention expected
30194 failure handling in comment.
30195 (new_test): Don't handle expected failures.
30196 (parse_args): Don't mention expected failure handling in comment.
30197 (generate_testfile): Don't handle expected failures.
30198 (parse_ulps): Likewise.
30199 (print_ulps_file): Likewise.
30200 (get_failure): Remove function.
30201 (output_test): Don't handle expected failures.
30202 * make/README.libm-test: Don't mention expected failure handling.
30203
a7548d41
JM
30204 * math/libm-test.inc (plus_zero): Make const. Add initializer.
30205 (minus_zero): Likewise.
30206 (plus_infty): Likewise.
30207 (minus_infty): Likewise.
30208 (qnan_value): Likewise.
30209 (max_value): Likewise.
30210 (min_value): Likewise.
30211 (min_subnorm_value): Likewise.
30212 (initialize): Do not initialize those variables dynamically.
30213
60bfd54c
RM
302142013-05-03 Roland McGrath <roland@hack.frob.com>
30215
cc0e6ed8
RM
30216 * io/open.c (__open_2): Moved to ...
30217 * io/open_2.c: ... this new file.
30218 * io/open64.c (__open64_2): Moved to ...
30219 * io/open64_2.c: ... this new file.
30220 * io/openat.c (__openat_2): Moved to ...
30221 * io/openat_2.c: ... this new file.
30222 * io/openat64.c (__openat64_2): Moved to ...
30223 * io/openat64_2.c: ... this new file.
30224 * io/Makefile (routines): Add them.
30225 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
30226 * sysdeps/unix/sysv/linux/open_2.c: File removed.
30227 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
30228 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
30229 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
30230 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
30231 (__openat64): Add hidden_ver.
30232 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
30233 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
30234
60bfd54c
RM
30235 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
30236 Separately conditionalize setting of GLRO(dl_sysinfo) so
30237 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
30238 as well, but the actual setting is only under [NEED_DL_SYSINFO].
30239
83e7640f
AZ
302402013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30241
30242 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
30243 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
30244 definition.
30245 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
30246 * sysdeps/unix/sysv/linux/powerpc/init-first.c
30247 (_libc_vdso_platform_setup): Add __vdso_time initialization.
30248 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
30249 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
30250
d5dc2af3
JM
302512013-05-03 Joseph Myers <joseph@codesourcery.com>
30252
c31a5b1e
JM
30253 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
30254 test signgam value.
30255
d5dc2af3
JM
30256 * math/libm-test.inc (hypot_test): Do not use
30257 IGNORE_ZERO_INF_SIGN.
30258
164fd39d
AJ
302592013-05-03 Andreas Jaeger <aj@suse.de>
30260
30261 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
30262 Linux 3.9.
30263 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
30264 (PF_MAX): Adjust for VSOCK change.
30265
8237f48c
AZ
302662013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30267
30268 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30269
9df02941
CD
302702013-05-02 Carlos O'Donell <carlos@redhat.com>
30271
30272 [BZ #15264]
30273 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
30274 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
30275 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
30276
d422395e
DM
302772013-05-02 David S. Miller <davem@davemloft.net>
30278
30279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30280
a07c5731
OB
302812013-05-01 Ondřej Bílka <neleai@seznam.cz>
30282
30283 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
30284
1324e37f
RM
302852013-05-01 Roland McGrath <roland@hack.frob.com>
30286
30287 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
30288
0695940b
RS
302892013-05-01 Richard Smith <richard@metafoo.co.uk>
30290
bb5f27ad 30291 [BZ #14952]
0695940b
RS
30292 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
30293 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30294 Use __attribute__ ((__gnu_inline__)).
30295 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
30296 Don't use __attribute__ ((__gnu_inline__)).
30297
10de07f5
JM
302982013-05-01 Joseph Myers <joseph@codesourcery.com>
30299
30300 [BZ #15423]
30301 * math/s_catan.c (__catan): Handle small real or imaginary part of
30302 input specially to avoid spurious underflow.
30303 * math/s_catanf.c (__catanf): Likewise.
30304 * math/s_catanh.c (__catanh): Likewise.
30305 * math/s_catanhf.c (__catanhf): Likewise.
30306 * math/s_catanhl.c (__catanhl): Likewise.
30307 * math/s_catanl.c (__catanl): Likewise.
30308 * math/libm-test.inc (catan_test): Add more tests.
30309 (catanh_test): Likewise.
30310 * sysdeps/i386/fpu/libm-test-ulps: Update.
30311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30312
cb4d5414
AZ
303132013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30314
30315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30316
caf84319
JM
303172013-04-30 Joseph Myers <joseph@codesourcery.com>
30318
30319 [BZ #15416]
30320 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
30321 accurately for denominator in atan2.
30322 * math/s_catanf.c (__catanf): Likewise.
30323 * math/s_catanh.c (__catanh): Likewise.
30324 * math/s_catanhf.c (__catanhf): Likewise.
30325 * math/s_catanhl.c (__catanhl): Likewise.
30326 * math/s_catanl.c (__catanl): Likewise.
30327 * math/libm-test.inc (catan_test): Add more tests.
30328 (catanh_test): Likewise.
30329 * sysdeps/i386/fpu/libm-test-ulps: Update.
30330 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30331
d569c6ee
SP
303322013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
30333
6dbe713d
SP
30334 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
30335
f0ee064b
SP
30336 * benchtests/Makefile (bench): Remove slow benchmarks.
30337 * benchtests/atan-inputs: Add slow benchmark inputs.
30338 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
30339 (BENCH_FUNC): Accept variant offset.
30340 (VARIANT): Define.
30341 * benchtests/bench-skeleton.c (main): Run benchmark for each
30342 variant.
30343 * benchtests/cos-inputs: Add slow benchmark inputs.
30344 * benchtests/exp-inputs: Likewise.
30345 * benchtests/pow-inputs: Likewise.
30346 * benchtests/sin-inputs: Likewise.
30347 * benchtests/slowatan-inputs: Remove.
30348 * benchtests/slowatan.c: Remove.
30349 * benchtests/slowcos-inputs: Remove.
30350 * benchtests/slowcos.c: Remove.
30351 * benchtests/slowexp-inputs: Remove.
30352 * benchtests/slowexp.c: Remove.
30353 * benchtests/slowpow-inputs: Remove.
30354 * benchtests/slowpow.c: Remove.
30355 * benchtests/slowsin-inputs: Remove.
30356 * benchtests/slowsin.c: Remove.
30357 * benchtests/slowtan-inputs: Remove.
30358 * benchtests/slowtan.c: Remove.
30359 * benchtests/tan-inputs: Add slow benchmark inputs.
30360 * scripts/bench.pl: Parse comments and directives.
30361
d569c6ee
SP
30362 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
30363 in CPPFLAGS.
30364 ($(objpfx)bench-%.c): Remove *-ITER.
30365 * benchtests/bench-modf.c: Remove definition of ITER.
30366 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
30367 (main): Loop for DURATION seconds instead of fixed number of
30368 iterations.
30369 * scripts/bench.pl: Don't expect iterations in parameters.
30370
a6a242fe
RM
303712013-04-29 Roland McGrath <roland@hack.frob.com>
30372
30373 * io/fchdir.c (__fchdir): Renamed from fchdir.
30374 (fchdir): Define as weak alias.
30375
f2da7793
JM
303762013-04-29 Joseph Myers <joseph@codesourcery.com>
30377
30378 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
30379 (ERRNO_EDOM): Likewise.
30380 (ERRNO_ERANGE): Likewise.
30381 (noErrnoTests): New variable.
30382 (init_max_error): Set errno to 0.
30383 (test_single_errno): New function.
30384 (test_errno): Likewise.
30385 (check_float_internal): Call test_errno. Set errno to 0.
30386 (check_complex): Refer to errno tests in comment.
30387 (check_int): Call test_errno. Set errno to 0.
30388 (check_long): Likewise.
30389 (check_bool): Likewise.
30390 (check_longlong): Likewise.
30391 (cos_test): Use ERRNO_* flags for errno tests instead of
30392 check_int.
30393 (expm1_test): Likewise.
30394 (fmod_test): Likewise.
30395 (ilogb_test): Likewise.
30396 (lgamma_test): Likewise.
30397 (pow_test): Likewise.
30398 (remainder_test): Likewise.
30399 (sin_test): Likewise.
30400 (tan_test): Likewise.
30401 (yn_test): Likewise.
30402 (initialize): Set errno to 0.
30403 (main): Print number of errno tests.
30404 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
30405
b1a36ceb
AJ
304062013-04-29 Andreas Jaeger <aj@suse.de>
30407
c3ed8088
AJ
30408 [BZ #15084]
30409 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
30410 and RES_USEVC.
30411
f1a24198
AJ
30412 [BZ #15085]
30413 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
30414 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
30415 unimplemented.
30416
9ce3b2cb
AJ
30417 [BZ #15380]
30418 * stdlib/random.c (__initstate): Return NULL if
30419 __initstate fails.
30420
f1a24198 30421 [BZ #15086]
b1a36ceb
AJ
30422 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
30423 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
30424 RES_SNGLKUPREOP.
30425
7e7b6f36
AZ
304262013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30427
30428 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30429
4d14f449
JM
304302013-04-29 Joseph Myers <joseph@codesourcery.com>
30431
30432 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
30433 of individual tests.
30434 (casin_test): Likewise.
30435 (casinh_test): Likewise.
30436
5b4217d7
JM
304372013-04-27 Joseph Myers <joseph@codesourcery.com>
30438
30439 [BZ #15409]
30440 * math/s_catan.c (__catan): Handle arguments with large real or
30441 imaginary part separately without squaring.
30442 * math/s_catanf.c (__catanf): Likewise.
30443 * math/s_catanh.c (__catanh): Likewise.
30444 * math/s_catanhf.c (__catanhf): Likewise.
30445 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30446 and redefine.
30447 (__catanhl): Handle arguments with large real or imaginary part
30448 separately without squaring.
30449 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
30450 and redefine.
30451 (__catanl): Handle arguments with large real or imaginary part
30452 separately without squaring.
30453 * math/libm-test.inc (catan_test): Add more tests.
30454 (catanh_test): Likewise.
30455 * sysdeps/i386/fpu/libm-test-ulps: Update.
30456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30457
4220c3ef
AJ
304582013-04-27 Andreas Jaeger <aj@suse.de>
30459
30460 [BZ #15007]
30461 * stdlib/stdlib.h: Update guards for qecvt.
30462 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
30463 <stdlib.h>.
30464
4721b2d1
AM
304652013-04-27 Allan McRae <allan@archlinux.org>
30466
30467 * sysdeps/i386/fpu/libm-test-ulps: Update.
30468
f0302940
JM
304692013-04-26 Joseph Myers <joseph@codesourcery.com>
30470
9457fd95
JM
30471 [BZ #15406]
30472 * math/s_catan.c: Include <float.h>.
30473 (__catan): Ensure underflow exception occurs for underflowed
30474 result.
30475 * math/s_catanf.c: Include <float.h>.
30476 (__catanf): Ensure underflow exception occurs for underflowed
30477 result.
30478 * math/s_catanh.c: Include <float.h>.
30479 (__catanh): Ensure underflow exception occurs for underflowed
30480 result.
30481 * math/s_catanhf.c: Include <float.h>.
30482 (__catanhf): Ensure underflow exception occurs for underflowed
30483 result.
30484 * math/s_catanhl.c: Include <float.h>.
30485 (__catanhl): Ensure underflow exception occurs for underflowed
30486 result.
30487 * math/s_catanl.c: Include <float.h>.
30488 (__catanl): Ensure underflow exception occurs for underflowed
30489 result.
30490 * math/libm-test.inc (catan_test): Add more tests.
30491 (catanh_test): Likewise.
30492
f0302940
JM
30493 [BZ #15405]
30494 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
30495 underflowed result.
30496 * math/s_ccoshf.c (__ccoshf): Likewise.
30497 * math/s_ccoshl.c (__ccoshl): Likewise.
30498 * math/s_csin.c (__csin): Likewise.
30499 * math/s_csinf.c (__csinf): Likewise.
30500 * math/s_csinh.c (__csinh): Likewise.
30501 * math/s_csinhf.c (__csinhf): Likewise.
30502 * math/s_csinhl.c (__csinhl): Likewise.
30503 * math/s_csinl.c (__csinl): Likewise.
30504 * math/libm-test.inc (ccos_test): Add more tests.
30505 (ccosh_test): Likewise.
30506 (csin_test): Likewise.
30507 (csinh_test): Likewise.
30508
aa630f59
AZ
305092013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30510
30511 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
30512 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
30513 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
30514 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
30515 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
30516 powerpc/power5+/fpu folders.
30517 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
30518
30519
1b835983
MT
305202013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
30521
30522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30523
73709b26
JM
305242013-04-25 Joseph Myers <joseph@codesourcery.com>
30525
30526 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
30527 additions to variable.
30528 [$(config-machine) = x86_64] (modules-names): Likewise.
30529 ($(objpfx)tst-audit3): Remove dependency.
30530 ($(objpfx)tst-audit3.out): Likewise.
30531 ($(objpfx)tst-audit4): Likewise.
30532 ($(objpfx)tst-audit4.out): Likewise.
30533 ($(objpfx)tst-audit5): Likewise.
30534 ($(objpfx)tst-audit5.out): Likewise.
30535 ($(objpfx)tst-audit6): Likewise.
30536 ($(objpfx)tst-audit6.out): Likewise.
30537 ($(objpfx)tst-audit7): Likewise.
30538 ($(objpfx)tst-audit7.out): Likewise.
30539 (tst-audit3-ENV): Remove variable.
30540 (tst-audit4-ENV): Likewise.
30541 (tst-audit5-ENV): Likewise.
30542 (tst-audit6-ENV): Likewise.
30543 (tst-audit7-ENV): Likewise.
30544 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
30545 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
30546 addition to variable.
30547 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
30548 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
30549 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
30550 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
30551 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
30552 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
30553 tst-audit3, tst-audit4 and tst-audit5.
30554 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
30555 tst-audit6 and tst-audit7.
30556 [$(subdir) = elf] (modules-names): Add audit modules for those
30557 tests.
30558 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
30559 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
30560 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
30561 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
30562 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
30563 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
30564 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
30565 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
30566 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
30567 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
30568 [$(subdir) = elf] (tst-audit3-ENV): New variable.
30569 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
30570 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
30571 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
30572 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
30573 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
30574 Likewise.
30575 [$(subdir) = elf && $(config-cflags-avx) = yes]
30576 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
30577 [$(subdir) = elf && $(config-cflags-avx) = yes]
30578 (CFLAGS-tst-auditmod4a.c): Likewise.
30579 [$(subdir) = elf && $(config-cflags-avx) = yes]
30580 (CFLAGS-tst-auditmod4b.c): Likewise.
30581 [$(subdir) = elf && $(config-cflags-avx) = yes]
30582 (CFLAGS-tst-auditmod6b.c): Likewise.
30583 [$(subdir) = elf && $(config-cflags-avx) = yes]
30584 (CFLAGS-tst-auditmod6c.c): Likewise.
30585 [$(subdir) = elf && $(config-cflags-avx) = yes]
30586 (CFLAGS-tst-auditmod7b.c): Likewise.
30587 * elf/tst-audit3.c: Move to ...
30588 * sysdeps/x86_64/tst-audit3.c: ... here.
30589 * elf/tst-audit4.c: Move to ...
30590 * sysdeps/x86_64/tst-audit4.c: ... here.
30591 * elf/tst-audit5.c: Move to ...
30592 * sysdeps/x86_64/tst-audit5.c: ... here.
30593 * elf/tst-audit6.c: Move to ...
30594 * sysdeps/x86_64/tst-audit6.c: ... here.
30595 * elf/tst-audit7.c: Move to ...
30596 * sysdeps/x86_64/tst-audit7.c: ... here.
30597 * elf/tst-auditmod3a.c: Move to ...
30598 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
30599 * elf/tst-auditmod3b.c: Move to ...
30600 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
30601 * elf/tst-auditmod4a.c: Move to ...
30602 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
30603 * elf/tst-auditmod4b.c: Move to ...
30604 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
30605 * elf/tst-auditmod5a.c: Move to ...
30606 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
30607 * elf/tst-auditmod5b.c: Move to ...
30608 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
30609 * elf/tst-auditmod6a.c: Move to ...
30610 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
30611 * elf/tst-auditmod6b.c: Move to ...
30612 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
30613 * elf/tst-auditmod6c.c: Move to ...
30614 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
30615 * elf/tst-auditmod7a.c: Move to ...
30616 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
30617 * elf/tst-auditmod7b.c: Move to ...
30618 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
30619
1ef74943
PP
306202013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
30621
30622 [BZ #15366]
30623 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
30624 define unconditionally.
30625 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
30626 define unconditionally.
30627 (INT8_C, INT16_C, etc.): Likewise.
30628
93fd48c5
MR
306292013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
30630
ae9552cf
MR
30631 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
30632 __ehdr_start with hidden visibility.
30633
93fd48c5
MR
30634 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
30635
418601aa
CD
306362013-04-24 Carlos O'Donell <carlos@redhat.com>
30637
30638 * math/libm-test.inc (cos_test): Use accurate hex constants.
30639 (sincost_test): Likewise.
30640
2f38fbfe
JM
306412013-04-24 Joseph Myers <joseph@codesourcery.com>
30642
5e221800
JM
30643 * math/libm-test.inc (catan_test): Add more tests.
30644 (catanh_test): Likewise.
30645
77f143fd
JM
30646 * math/s_catanf.c (__catanf): Use suffixed floating-point
30647 constants.
30648 * math/s_catanhf.c (__catanhf): Likewise.
30649 * math/s_catanhl.c (__catanhl): Likewise.
30650 * math/s_catanl.c (__catanl): Likewise.
30651
2f38fbfe
JM
30652 [BZ #15394]
30653 * math/s_catan.c (__catan): Calculate imaginary part of result
30654 with log1p not log unless computing log of number close to 0.
30655 * math/s_catanf.c (__catanf): Likewise.
30656 * math/s_catanl.c (__catanl): Likewise.
30657 * math/s_catanh.c (__catanh): Calculate real part of result with
30658 log1p not log unless computing log of number close to 0.
30659 * math/s_catanhf.c (__catanhf): Likewise.
30660 * math/s_catanhl.c (__catanhl): Likewise.
30661 * math/libm-test.inc (catan_test): Add more tests.
30662 (catanh_test): Likewise.
30663 * sysdeps/i386/fpu/libm-test-ulps: Update.
30664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30665
45d69176
SP
306662013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
30667
30668 * benchtests/Makefile: Mention files in which fast and slow
30669 paths of math functions are implemented.
30670
87f51853
RM
306712013-04-23 Roland McGrath <roland@hack.frob.com>
30672
30673 * sysdeps/posix/timespec_get.c: New file.
30674
3c026539
AZ
306752013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30676
30677 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
30678 POWER.
30679 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
30680 for POWER.
30681 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
30682 powerpc/power5/fpu folders.
30683 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
30684 * benchtests/Makefile: Add modf testcase.
30685 * benchtests/bench-modf.c: New file: Benchmark test for mo
30686
ff491d14
SP
306872013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
30688
30689 [BZ #14888]
30690 * time/Makefile (tests): Add tst-strptime-whitespace.
30691 * time/strptime_l.c (get_number): Use ISSPACE.
30692 (__strptime_internal): Likewise.
30693 * time/tst-strptime-whitespace.c: New test case.
30694
7ed3f4e8
AS
306952013-04-23 Andreas Schwab <schwab@linux-m68k.org>
30696
30697 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
30698 member.
30699 (_nss_files_init): Set it here.
30700
5c95f7b6
HC
307012013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
30702
30703 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
30704 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
30705 unsigned.
30706
d34c9158
JBG
307072013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
30708
30709 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
30710
2169712d
SP
307112013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
30712
30713 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
30714 size just once.
30715
29c5de99
DM
307162013-04-21 David S. Miller <davem@davemloft.net>
30717
30718 * po/ru.po: Update Russion translation from translation project.
30719
ccdad15d
AC
307202013-04-17 Adam Conrad <adconrad@0c3.net>
30721
30722 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
30723 and setfsgid.
30724
0f122b8d
CD
307252013-04-17 Carlos O'Donell <carlos@redhat.com>
30726
5c5b07da 30727 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 30728 * configure: Regenerate.
5c5b07da 30729 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
30730 Add example to error message.
30731 * sysdeps/i386/configure: Regenerate.
30732
037714dd
SP
307332013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30734
30735 * benchtests/Makefile (bench): Add cos, tan, slowcos and
30736 slowtan.
30737 * benchtests/cos-inputs: New file.
30738 * benchtests/slowcos-inputs: New file.
30739 * benchtests/slowcos.c: New file.
30740 * benchtests/slowtan-inputs: New file.
30741 * benchtests/slowtan.c: New file.
30742 * benchtests/tan-inputs: New file.
30743
e913141d
RM
307442013-04-16 Roland McGrath <roland@hack.frob.com>
30745
30746 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
30747 considered kosher.
30748
a2964074
SP
307492013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30750
4856bcd2
SP
30751 * benchtests/Makefile: Include cppflags-iterator.mk to add
30752 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
30753
a2964074
SP
30754 * Makefile.in (bench-clean): New target.
30755 * benchtests/Makefile (bench-clean): Likewise.
30756
9fbf9aca
DH
307572013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
30758
30759 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
30760
207d1e2a
TS
307612013-04-15 Thomas Schwinge <thomas@codesourcery.com>
30762
30763 * stdio-common/tstdiomisc.c: Fix coding-style violation.
30764
306dfba9
AS
307652013-04-15 Andreas Schwab <schwab@suse.de>
30766
30767 * nscd/grpcache.c (cache_addgr): Properly check for short write.
30768 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30769 * nscd/pwdcache.c (cache_addpw): Likewise.
30770 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
30771 more than recsize.
30772
206a6699
SP
307732013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30774
30775 * benchtests/Makefile (bench): Write all output to
30776 bench-out.tmp together.
30777
0582f6b3
AS
307782013-04-15 Andreas Schwab <schwab@suse.de>
30779
30780 * nscd/nscd.c (main): Don't fork again after closing files.
30781
acb4325f
SP
307822013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
30783
5cb26d0a
SP
30784 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
30785
acb4325f
SP
30786 * benchtests/Rules (bench-deps): Collect dependencies into a
30787 single variable. Add Makefile to dependencies.
30788 ($(objpfx)bench-%.c): Depend on bench-deps.
30789
47792506
RM
307902013-04-12 Roland McGrath <roland@hack.frob.com>
30791 Xavier Roche <roche+kml2@exalead.com>
30792
30793 [BZ #15361]
30794 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
30795 just that it's a file descriptor.
30796 * manual/llio.texi (Synchronizing AIO Operations): Update description
30797 for EBADF error from aio_fsync.
30798
8fc1bee5
SP
307992013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
30800
30801 * Rules (bench): Move target definition...
30802 * benchtests/Makefile: ... here.
30803
aba5e333
CD
308042013-04-11 Carlos O'Donell <carlos@redhat.com>
30805
30806 * math/libm-test.inc (cos_test): Fix PI/2 test.
30807 (sincos_test): Likewise.
30808 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
30809 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
30810
273cdee8
AS
308112013-04-11 Andreas Schwab <schwab@suse.de>
30812
6ecec3b6
AS
30813 [BZ #13988]
30814 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
30815 accept exponent character only when digits were seen.
30816 * stdio-common/Makefile (tests): Add bug26.
30817 * stdio-common/bug26.c: New file.
30818
273cdee8
AS
30819 [BZ #14293]
30820 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
30821 non-freeable.
30822
8da491f5
SP
308232013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
30824
01dc6df9
SP
30825 * Makeconfig (rtld-prefix): Define built linker prefix.
30826 * Rules (run-bench): Use it.
30827 * math/Makefile (run-regen-ulps): Likewise.
30828
8da491f5
SP
30829 * Rules (bench): Remove eval.
30830
abe7f530
SP
308312013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30832 Roland McGrath <roland@hack.frob.com>
30833 Ondrej Bilka <neleai@seznam.cz>
30834
30835 [BZ #15346]
30836 * time/getdate.c: Include ctype.h and alloca.h.
30837 (__getdate_r): Trim leading and trailing spaces of input.
30838 * time/tst-getdate.c (tests): Add tests with leading and
30839 trailing spaces.
30840
61c23e62
RM
308412013-04-08 Roland McGrath <roland@hack.frob.com>
30842
30843 [BZ #14280]
30844 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
30845 when computing value.
30846
7208a313
CD
308472013-04-06 Carlos O'Donell <carlos@redhat.com>
30848
085b2d41
CD
30849 * math/README.libm-test (How can I generate "libm-test-ulps"?):
30850 Use testrun.sh to run libm tests.
30851
7208a313
CD
30852 [BZ #15309]
30853 * elf/dl-open.c (dl_open_worker): memset all of seen array.
30854
872c0acd
MM
308552013-04-06 Marko Myllynen <myllynen@redhat.com>
30856
30857 [BZ #15264]
30858 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
30859
26510bdd
CD
308602013-04-06 Carlos O'Donell <carlos@redhat.com>
30861
30862 * Makefile.in (regen-ulps): New target.
30863 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
30864 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
30865 [ifneq (no,$(PERL)] (regen-ulps): New target.
30866 [ifeq (no,$(PERL)] (regen-ulps): New target.
30867 * math/libm-test.inc (ulps_file_name): Define.
30868 (output_dir): New variable.
30869 (options): Add "output-dir" option.
30870 (parse_opt): Handle 'o' case.
30871 (main): If output_dir is non-NULL use it as a prefix
30872 otherwise use "".
30873 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
30874
a01f19c8
CD
308752013-04-06 Carlos O'Donell <carlos@redhat.com>
30876
30877 [BZ #10060, #10062]
30878 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
30879 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
30880 fail configure if __sync_val_compare_and_swap is not inlined.
30881 * sysdeps/i386/configure: Regenerate.
30882 * configure.in: Build for i686 when configured for i386.
30883 * configure: Regenerate.
30884 * README: Remove i386 reference.
30885
b7a329a5
CD
308862013-04-06 Carlos O'Donell <carlos@redhat.com>
30887
30888 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
30889 * sysdeps/s390/s390-64/sysdep.h: Likewise.
30890
bf0f50df
TS
308912013-04-05 Thomas Schwinge <thomas@codesourcery.com>
30892
ee091edf
TS
30893 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
30894 (lmsnanval): New variables.
30895 (F): Add conversion tests.
30896 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
30897 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
30898
a8b792d6
TS
30899 * stdio-common/tstdiomisc.c (F): Properly collect individual
30900 tests' results.
30901
a1cbf437
TS
30902 [BZ #14686, #15336]
30903 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
30904 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
30905 Instead, use input NaN values or generate a qNaN by arithmetic
30906 operation. Also fix bugs to comply with the standard.
30907 * math/libm-test.inc (remainder_test): Add more tests.
30908
8b43a0c9
TS
30909 [BZ #15335, #15342]
30910 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
30911 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
30912 input NaN values or generate a qNaN by arithmetic operation.
30913
d91da4ce
TS
30914 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
30915 unreachable code.
30916
bf0f50df
TS
30917 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
30918 definitions.
30919
05e166c8
JM
309202013-04-03 Joseph Myers <joseph@codesourcery.com>
30921
30922 [BZ #14478]
30923 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
30924 underflowed result.
30925 * math/s_cexpf.c (__cexpf): Likewise.
30926 * math/s_cexpl.c (__cexpl): Likewise.
30927 * math/libm-test.inc (cexp_test): Add more tests.
30928
1cef1b19
AS
309292013-04-03 Andreas Schwab <schwab@suse.de>
30930
30931 [BZ #15330]
30932 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
30933 order arrays from heap if bigger than alloca cutoff.
30934
74d87055
TS
309352013-04-03 Thomas Schwinge <thomas@codesourcery.com>
30936
30937 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
30938 (SNAN_TESTS_double): Refer to GCC PR56831.
30939 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
30940 GCC PR56828.
30941
d755bba4
SP
309422013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
30943
90d5d5bb
SP
30944 * Rules (bench): Move bench.out after the run is complete.
30945
73e0cd5d
SP
30946 * Rules (bench): Echo currently running benchmark.
30947
64aabd4b
SP
30948 * benchtests/Makefile (bench): Add atan and slowatan.
30949 * benchtests/atan-inputs: New file.
30950 * benchtests/slowatan-inputs: New file.
30951 * benchtests/slowatan.c: New file.
30952
c871eccd
SP
30953 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
30954 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
30955 its value.
30956
d755bba4
SP
30957 [BZ #15305]
30958 * sysdeps/unix/sysv/linux/kernel-features.h
30959 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
30960 __ASSUME_XFS_RESTRICTED_CHOWN.
30961 * sysdeps/unix/sysv/linux/pathconf.c
30962 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
30963 Save and restore errno.
30964
52ce4860
JM
309652013-04-02 Joseph Myers <joseph@codesourcery.com>
30966
30967 [BZ #15327]
30968 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
30969 arguments using __kernel_casinh.
30970 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
30971 arguments using __kernel_casinhf.
30972 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
30973 arguments using __kernel_casinhl.
30974 * math/libm-test.inc (cacosh_test): Add more tests.
30975 * sysdeps/i386/fpu/libm-test-ulps: Update.
30976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30977
81f311c2
SP
309782013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
30979
e7906a47
SP
30980 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
30981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
30982
92e3664b
SP
30983 * bench/Makefile (bench): Add sin and slowsin.
30984 * benchtests/sin-inputs: New file.
30985 * benchtests/slowsin-inputs: New file.
30986 * benchtests/slowsin.c: New file.
30987
81f311c2
SP
30988 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
30989 (bench): Add slowexp and slowpow.
30990 (exp-ITER): Increase iterations.
30991 (pow-ITER): Likewise.
30992 * benchtests/exp-inputs: Change input.
30993 * benchtests/pow-inputs: Likewise.
30994 * benchtests/slowexp-inputs: New file.
30995 * benchtests/slowexp.c: New file.
30996 * benchtests/slowpow-inputs: New file.
30997 * benchtests/slowpow.c: New file.
30998
ab0f1aa9
AZ
309992013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31000
31001 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
31002 instructions.
31003 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
31004 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
31005 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
31006 * benchtests/Makefile: Add rint benchtest.
31007 * benchtests/rint-inputs: Input for rint benchtest.
31008
57267616
TS
310092013-04-02 Thomas Schwinge <thomas@codesourcery.com>
31010
31011 * Versions.def (libm): Add GLIBC_2.18.
31012 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
31013 hidden libm prototypes.
31014 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
31015 * math/Makefile (libm-calls): Add s_issignaling.
31016 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
31017 __issignalingf, __issignalingl. Adjust all libm.abilist files.
31018 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
31019 declaration.
31020 * math/math.h [__USE_GNU] (issignaling): New macro.
31021 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
31022 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
31023 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
31024 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
31025 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
31026 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
31027 * manual/arith.texi (issignaling): New section.
31028 * manual/libm-err-tab.pl (@all_functions): Update comment.
31029 * math/gen-libm-test.pl (parse_args): Apply special handling for
31030 issignaling.
31031 * math/libm-test.inc (print_float, issignaling_test): New
31032 functions.
31033 (check_float_internal): Add issignaling checks.
31034 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
31035 default definition.
31036 * sysdeps/powerpc/math-tests.h: New file.
31037 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
31038 tests.
31039 * math/test-snan.c (TEST_FUNC): Likewise.
31040
6142896d
DM
310412013-03-30 David S. Miller <davem@davemloft.net>
31042
31043 * po/de.po: Update from translation team.
31044
ccc8cadf
JM
310452013-03-30 Joseph Myers <joseph@codesourcery.com>
31046
31047 [BZ #10357]
31048 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31049 imaginary part less than 1.0 and real part less than 0.5
31050 specially.
31051 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31052 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31053 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
31054 (cacos_test): Add more tests.
31055 (casin_test): Likewise.
31056 (casinh_test): Likewise.
31057 * sysdeps/i386/fpu/libm-test-ulps: Update.
31058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31059
0f6a8d4b
SP
310602013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31061
0d1029de
SP
31062 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
31063 ONE with its value.
31064
c2d94018
SP
31065 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
31066 (__pow_mp): Replace ONE and MONE with their values.
31067 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31068 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
31069 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31070 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
31071 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31072 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31073
27ec37f1
SP
31074 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
31075
a64d7e0e
SP
31076 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
31077 (__pow_mp): Replace ZERO and MZERO with their values.
31078 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31079 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31080 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31081 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31082 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31083 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
31084 (__sqr): Likewise.
31085
d26dd3eb
SP
31086 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
31087
0f6a8d4b
SP
31088 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
31089
e57b0c61
RM
310902013-03-28 Roland McGrath <roland@hack.frob.com>
31091
31092 * include/stdlib.h [!SHARED] (__call_tls_dtors):
31093 Declare with __attribute__ ((weak)).
31094 * stdlib/exit.c (__libc_atexit) [!SHARED]:
31095 Call __call_tls_dtors only if it's not NULL.
31096
356b3480
RM
310972013-03-28 Roland McGrath <roland@hack.frob.com>
31098
288f7d79
RM
31099 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
31100 didn't do it already, then set _dl_phdr and _dl_phnum based on the
31101 magic __ehdr_start linker symbol if it's defined.
31102 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
31103 them up here if it was already done.
31104
dc0a0263
RM
31105 * elf/dl-support.c (_dl_phdr): Make pointer to const.
31106 (_dl_aux_init): Use const in cast when setting it.
31107 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
31108 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
31109 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
31110
3d3436ae
RM
31111 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
31112 Declare them here.
31113 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
31114 * csu/libc-tls.c: Nor here.
31115 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
31116
356b3480
RM
31117 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
31118 (__libc_message): Never call vsyslog.
31119
b0f1246a
AM
311202013-03-28 Alan Modra <amodra@gmail.com>
31121
31122 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
31123 Define as empty.
31124 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
31125 Likewise.
31126
fbbe2b9a
AZ
311272013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31128
31129 [BZ #15214]
31130 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
31131 underflow.
31132 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31133
1728ab37
SP
311342013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31135
7a86be6e
SP
31136 [BZ #15304]
31137 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
31138 Don't add gid passed as argument.
31139
1728ab37
SP
31140 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
31141
3a7182a1
JM
311422013-03-27 Joseph Myers <joseph@codesourcery.com>
31143
31144 [BZ #15307]
31145 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31146 imaginary part between 1.0 and 1.5 and real part less than 0.5
31147 specially.
31148 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31149 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31150 * math/libm-test.inc (cacos_test): Add more tests.
31151 (casin_test): Likewise.
31152 (casinh_test): Likewise.
31153 * sysdeps/i386/fpu/libm-test-ulps: Update.
31154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31155
6f2e90e7
SP
311562013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31157
5739f705
SP
31158 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
31159 constants.
31160 (norm): Likewise.
31161 (denorm): Likewise.
31162 (__dbl_mp): Likewise.
31163 (add_magnitudes): Likewise.
31164 (sub_magnitudes): Likewise.
31165 (__add): Likewise.
31166 (__sub): Likewise.
31167 (__mul): Likewise.
31168 (__sqr): Likewise.
31169 (__inv): Likewise.
31170 (__dvd): Likewise.
31171
e375e83d
SP
31172 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
31173 commented code.
31174 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
31175 (__dubcos): Likewise.
31176 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
31177 (__ieee754_acos): Likewise.
31178 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
31179 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
31180 (__exp1): Likewise.
31181 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
31182 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
31183 (log1): Likewise.
31184 (my_log2): Likewise.
31185 (checkint): Likewise.
31186 * sysdeps/ieee754/dbl-64/e_remainder.c
31187 (__ieee754_remainder): Likewise.
31188 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
31189 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
31190 (bsloww): Likewise.
31191 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31192
6f2e90e7
SP
31193 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31194 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
31195 MANTISSA_STORE_T to store computations on mantissa. Use
31196 macros for rounding and division.
31197 (denorm): Likewise.
31198 (__dbl_mp): Likewise.
31199 (add_magnitudes): Likewise.
31200 (sub_magnitudes): Likewise.
31201 (__mul): Likewise.
31202 (__sqr): Likewise.
31203 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31204 powers of two in terms of TWOPOW macro.
31205 (mp_no): Make type of mantissa as MANTISSA_T.
31206 [!RADIXI]: Define RADIXI.
31207 [!TWO52]: Define TWO52.
31208 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31209
fce14d4e
AZ
312102013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31211
31212 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
31213 llroundl symbol when building for PPC32.
31214
9ad027fb
MW
312152013-03-24 Mark H Weaver <mhw@netris.org>
31216
31217 * manual/arith.texi (Normalization Functions): Fix prototypes for
31218 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
31219
e42a38dd
AZ
312202013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31221
31222 [BZ #13889]
31223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
31224 high value to check if expl overflow.
31225 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
31226 to check for underflow and overflow.
31227 * math/libm-test.inc: Add exp test.
31228
2e0fb521
DL
312292013-03-21 Dmitry V. Levin <ldv@altlinux.org>
31230
31231 [BZ #11120]
31232 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
31233 with NOT_IN_libc.
31234
b5784d95
AZ
312352013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31236
31237 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
31238 symbol.
31239
5aa4a1a1
TS
312402013-03-21 Thomas Schwinge <thomas@codesourcery.com>
31241
bdef0be7
TS
31242 * math/gen-libm-test.pl (parse_args, special_functions): Properly
31243 wrap blocks consisting of several statements.
31244
5aa4a1a1
TS
31245 * sysdeps/generic/math-tests.h: New file.
31246 * sysdeps/i386/fpu/math-tests.h: Likewise.
31247 * math/test-snan.c: Include it.
31248 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
31249
98c48fe5
JM
312502013-03-21 Joseph Myers <joseph@codesourcery.com>
31251
31252 [BZ #15285]
31253 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
31254 (__ieee754_j0l): Do not improve calculations using cos of twice
31255 input for inputs above LDBL_MAX / 2.0L.
31256 (__ieee754_y0l): Likewise.
31257 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
31258 (__ieee754_j1l): Do not improve calculations using cos of twice
31259 input for inputs above LDBL_MAX / 2.0L.
31260 (__ieee754_y1l): Likewise.
31261 * math/libm-test.inc (j0_test): Add another test.
31262 (j1_test): Likewise.
31263 (y0_test): Likewise.
31264 (y1_test): Likewise.
31265 * sysdeps/i386/fpu/libm-test-ulps: Update.
31266
3775a8bc
SP
312672013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31268
31269 * Rules ($(objpfx)bench-%.c): Include code from a C source
31270 file.
31271
0a1b2ae6
JM
312722013-03-21 Joseph Myers <joseph@codesourcery.com>
31273
31274 [BZ #15287]
31275 * math/k_casinh.c (__kernel_casinh): Handle arguments with
31276 imaginary part 1.0 and real part less than 0.5 specially.
31277 * math/k_casinhf.c (__kernel_casinhf): Likewise.
31278 * math/k_casinhl.c (__kernel_casinhl): Likewise.
31279 * math/libm-test.inc (cacos_test): Add more tests.
31280 (casin_test): Likewise.
31281 (casinh_test): Likewise.
31282 * sysdeps/i386/fpu/libm-test-ulps: Update.
31283 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31284
b33d4ce4
SP
312852013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
31286
31287 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
31288 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
31289
bef0b507
JM
312902013-03-20 Joseph Myers <joseph@codesourcery.com>
31291
31292 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
31293 * config.make.in (config-cflags-sse4): Remove variable.
31294 (config-cflags-avx): Likewise.
31295 (config-cflags-sse2avx): Likewise.
31296 (config-cflags-novzeroupper): Likewise.
31297 (config-asflags-i686): Likewise.
31298 (have-mfma4): Likewise.
31299 (have-as-vis3): Likewise.
31300 (MIG): Likewise.
31301 * configure.in (MIG): Do not AC_SUBST.
31302 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
31303 (libc_cv_cc_sse4): Do not AC_SUBST.
31304 (libc_cv_cc_avx): Likewise.
31305 (libc_cv_cc_sse2avx): Likewise.
31306 (libc_cv_cc_novzeroupper): Likewise.
31307 (libc_cv_cc_fma4): Likewise.
31308 (libc_cv_as_i686): Likewise.
31309 (libc_cv_sparc_as_vis3): Likewise.
31310 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
31311 LIBC_CONFIG_VAR.
31312 (config-asflags-i686): Likewise.
31313 (config-cflags-avx): Likewise.
31314 (config-cflags-sse2avx): Likewise.
31315 (have-mfma4): Likewise.
31316 (config-cflags-novzeroupper): Likewise.
31317 * sysdeps/mach/configure.in (MIG): Likewise.
31318 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
31319 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
31320 LIBC_CONFIG_VAR.
31321 (config-cflags-avx): Likewise.
31322 (config-cflags-sse2avx): Likewise.
31323 (have-mfma4): Likewise.
31324 (config-cflags-novzeroupper): Likewise.
31325 * configure: Regenerated.
31326 * sysdeps/i386/configure: Likewise.
31327 * sysdeps/mach/configure: Likewise.
31328 * sysdeps/sparc/configure: Likewise.
31329 * sysdeps/x86_64/configure: Likewise.
31330
912cc4b3
RM
313312013-03-20 Roland McGrath <roland@hack.frob.com>
31332
31333 [BZ #14812]
31334 * locale/programs/localedef.c (options): Put N_ translation marker
31335 on argument names, not just descriptions.
31336
04eed2b0
MS
313372013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31338
31339 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
31340
a065ceff
OB
313412013-03-20 Ondřej Bílka <neleai@seznam.cz>
31342
9bb2a810 31343 [BZ #14176]
a065ceff
OB
31344 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
31345
a600e5ce
RM
313462013-03-19 Roland McGrath <roland@hack.frob.com>
31347
31348 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
31349 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
31350 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
31351 [!BEFORE_ABORT] (before_abort): New function.
31352 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
31353 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
31354 (writev_for_fatal): New function.
31355 (WRITEV_FOR_FATAL): New macro; call that.
31356 (backtrace_and_maps): New function.
31357 (BEFORE_ABORT): New macro; call that.
31358 (struct str_list): Type removed.
31359 (__libc_message, __libc_fatal): Functions removed.
31360 Include <sysdeps/posix/libc_fatal.c> instead.
31361
6b18bea6
JM
313622013-03-19 Joseph Myers <joseph@codesourcery.com>
31363
31364 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
31365 constants.
31366 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
31367 double constants.
31368
aaa8cb4b
AS
313692013-03-19 Andreas Schwab <schwab@suse.de>
31370
44673770
AS
31371 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
31372 * sysdeps/gnu/configure: Regenerate.
31373
aaa8cb4b
AS
31374 * configure.in: Substitute libc_cv_rtlddir.
31375 * configure: Regenerate.
31376 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
31377 * Makeconfig (rtlddir, inst_rtlddir): New variables.
31378 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
31379 * elf/Makefile (install-others, CFLAGS-interp.c)
31380 (ldso_install, common-ldd-rewrite): Likewise.
31381 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
31382 $(inst_slibdir)/$(rtld-installed-name).
31383 * scripts/rellns-sh: Add -p option.
31384 * Makerules (make-shlib-link): Use rellns-sh to get relative name
31385 for source.
31386
d3cfc668
SP
313872013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
31388
31389 * manual/nptl.texi: Renamed to ...
31390 * manual/threads.texi: ... this.
31391 * manual/Makefile (chapters): Update.
31392
0e2b9cdd
RM
313932013-03-18 Roland McGrath <roland@hack.frob.com>
31394
31395 [BZ #14812]
31396 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
31397 on argument names, not just descriptions.
0e2b9cdd
RM
31398 * malloc/memusagestat.c (options): Likewise.
31399 * nss/getent.c (options): Likewise.
63270c24
RM
31400
314012013-03-18 Benno Schulenberg <bensberg@justemail.net>
31402
31403 [BZ #14812]
31404 * iconv/iconv_prog.c (options): Put N_ translation marker
31405 on argument names, not just descriptions.
31406 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 31407
b2e1393c
OB
314082013-03-18 Ondrej Bilka <neleai@seznam.cz>
31409
31410 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
31411 implementation which is faster on all x86_64 architectures.
31412 Tested on AMD, Intel Nehalem, SNB, IVB.
31413 * sysdeps/x86_64/strnlen.S: Likewise.
31414
31415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
31416 Remove all multiarch strlen and strnlen versions.
31417 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
31418 Remove strlen and strnlen related parts.
31419
31420 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
31421 Inline strlen part.
31422 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
31423
31424 * sysdeps/x86_64/multiarch/strlen.S: Remove.
31425 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
31426 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
31427 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
31428 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
31429 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
31430
ec4ff04d
CD
314312013-03-17 Carlos O'Donell <carlos@redhat.com>
31432
31433 * manual/memory.texi (Malloc Tunable Parameters):
31434 Sort parameters alphabetically. Add comments for missing entries.
31435
cd18e90a
DM
314362013-03-17 David S. Miller <davem@davemloft.net>
31437
31438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31439
2a185d32
JM
314402013-03-16 Joseph Myers <joseph@codesourcery.com>
31441
d2f9799e
JM
31442 [BZ #15283]
31443 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
31444 for arguments at most half maximum finite value.
31445 * math/libm-test.inc (j0_test): Add more tests.
31446 (j1_test): Likewise.
31447 (y0_test): Likewise.
31448 (y1_test): Likewise.
31449 * sysdeps/i386/fpu/libm-test-ulps: Update.
31450 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31451
2a185d32
JM
31452 [BZ #14155]
31453 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
31454 1 / x and functions P and Q for arguments above 0x1p256L.
31455 (__ieee754_y0l): Likewise.
31456 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
31457 (__ieee754_y1l): Likewise.
31458 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
31459 (j1_test): Likewise.
31460 (y0_test): Likewise.
31461 (y1_test): Likewise.
31462
6cbec759
TS
314632013-03-16 Thomas Schwinge <thomas@codesourcery.com>
31464
31465 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
31466 variable.
31467
bc16e260
RM
314682013-03-15 Roland McGrath <roland@hack.frob.com>
31469
aefc9b8c
RM
31470 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
31471 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
31472 zero since it's initialized to EXEC_PAGESIZE.
31473
bc16e260
RM
31474 * sysdeps/unix/sysv/linux/ldsodefs.h
31475 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
31476 * sysdeps/generic/ldsodefs.h: ... here.
31477
a57da955
TS
314782013-03-15 Thomas Schwinge <thomas@codesourcery.com>
31479
af00a34d
TS
31480 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
31481
495ded2c
TS
31482 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
31483 math/test-snan.c.
31484 * math/test-snan.c: Renamed from
31485 sysdeps/powerpc/fpu/test-powerpc-snan.c.
31486 * math/Makefile (tests): Add test-snan.
31487 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
31488 test-powerpc-snan.
31489
777b0332
TS
31490 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
31491 SUFFIX. Initialize qNaN_var with __builtin_nan family of
31492 functions.
31493 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
31494 __builtin_nan family of functions.
31495 * math/libm-test.inc (initialize): Initialize qnan_value with
31496 __builtin_nan family of functions.
31497 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
31498 Remove variables.
31499 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
31500 Remove functions.
31501 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
31502 storage class. Initialize qNaN_var and sNaN_var with
31503 __builtin_nan and __builtin_nans families of functions,
31504 respectively.
31505
64d063b8
TS
31506 * math/libm-test.inc (acosh_test): Also test with qNaN input.
31507 (sqrt_test): Remove duplicate test with qNaN input.
31508 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
31509 (round_test, signbit_test, significand_test): Note missing +/-Inf
31510 as well as qNaN tests.
31511
67e971f1
TS
31512 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
31513 qNaN_var. Fix a few strings, too.
31514 * math/libm-test.inc (nan_value): Rename to qnan_value.
31515 * math/gen-libm-test.pl (%beautify): Adjust to that.
31516 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
31517 * math/test-misc.c (main): Likewise.
31518 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
31519 to __qnan_bytes, and __qnan_union, respectively.
31520 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
31521 Likewise.
31522 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
31523 and lqnanval, respectively.
31524 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
31525 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
31526 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
31527 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
31528
64487e12
TS
31529 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
31530 * math/test-misc.c (main) [__x86_64__]: Enable test for long
31531 doubles.
31532
e015e27b
TS
31533 * math/test-misc.c (main): Fix copy'n'pastos.
31534 * misc/tst-efgcvt.c (special): Likewise.
31535
a57da955
TS
31536 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
31537 Remove declarations.
31538
1e380345
SP
315392013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31540
31541 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
31542 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
31543 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
31544 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
31545
ef26eece
AZ
315462013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31547
31548 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
31549 macro to return vdso values correctly in IFUNC implementations.
31550 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
31551 Optimization by using IFUNC.
31552
8cfdb7e0
SP
315532013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31554 Richard Henderson <rth@redhat.com>
31555 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31556
31557 * Makefile.in (bench): New target.
31558 * NEWS: Mention the benchmark framework.
31559 * Rules (bench): Likewise.
31560 (binaries-bench): Generate binaries for functions to
31561 benchmark.
31562 * benchtests/Makefile: New makefile for benchmark tests.
31563 * benchtests/bench-skeleton.c: New skeleton file for benchmark
31564 programs.
31565 * benchtests/exp-inputs: New input file for EXP function.
31566 * benchtests/pow-inputs: New input file for POW function.
31567 * scripts/bench.pl: New script to generate source files for
31568 benchmark programs.
31569
bcda9880
SP
315702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
31571
d22ca8cd
SP
31572 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
31573 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
31574 computations on mantissa. Use macros for rounding and
31575 division.
31576 (denorm): Likewise.
31577 (__dbl_mp): Likewise.
31578 (add_magnitudes): Likewise.
31579 (sub_magnitudes): Likewise.
31580 (__mul): Likewise.
31581 (__sqr): Likewise.
31582 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
31583 powers of two in terms of TWOPOW macro.
31584 (mp_no): Make type of mantissa as MANTISSA_T.
31585 [!RADIXI]: Define RADIXI.
31586 [!TWO52]: Define TWO52.
31587 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
31588
bcda9880
SP
31589 * manual/nptl.texi (cindex): Modify threads to pthreads.
31590
06d5adfb
JM
315912013-03-15 Joseph Myers <joseph@codesourcery.com>
31592
31593 * sysdeps/x86_64/preconfigure: Regenerated.
31594
41c7328e
JM
315952013-03-14 Joseph Myers <joseph@codesourcery.com>
31596
31597 [BZ #14155]
31598 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
31599 0x1p28 and above.
31600 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
31601 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
31602 0x1p28 and above.
31603 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
31604 * math/libm-test.inc (j0_test): Do not allow one spurious
31605 underflow exception.
31606 (y1_test): Likewise.
31607
e25cfa60
SP
316082013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31609
0409959c
SP
31610 * manual/Makefile (chapters): Add nptl.
31611 * manual/debug.texi (Debugging Support): Add link to Threads
31612 chapter.
31613 * manual/nptl.texi: New file.
31614
e25cfa60
SP
31615 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
31616
58a1335e
PB
316172013-03-14 Petr Baudis <pasky@ucw.cz>
31618
31619 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
31620 for non-NULL pointer before the memory validity test. Pointed
31621 out by Holger Brunck <holger.brunck@keymile.com>.
31622
9dc7c64f
AS
316232013-03-13 Andreas Schwab <schwab@suse.de>
31624
31625 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
31626 instead of .os.
31627
54206aa6
JM
316282013-03-13 Joseph Myers <joseph@codesourcery.com>
31629
31630 * timezone/zic.c: Update from tzcode 2013b.
31631
e98cdb38
CD
316322013-03-12 Carlos O'Donell <carlos@redhat.com>
31633
31634 * manual/install.texi (Configuring and compiling):
31635 Mention i686 and i586.
31636 * INSTALL: Regenerate.
31637
9967e003
RM
316382013-03-12 Roland McGrath <roland@hack.frob.com>
31639
31640 * sysdeps/init_array/elf-init.c: New file.
31641 * csu/elf-init.c
31642 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
31643 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
31644
31645 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
31646 __gmon_start__ as global, but as static with a .preinit_array pointer.
31647 * sysdeps/init_array/gmon-start.c: New file. Use that.
31648 * sysdeps/init_array/crti.S: New file, empty except for comments.
31649 * sysdeps/init_array/crtn.S: Likewise.
31650
e6b5a293 316512013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
31652
31653 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
31654 definining bcopy.
80f844c9
OB
31655 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31656 Remove Prefer_SSE_for_memop.
31657 * sysdeps/x86_64/multiarch/init-arch.h: Remove
31658 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
31659 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
31660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
31661 memset-x86-64.
80f844c9 31662 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 31663 Remove bzero, memset ifunc support.
80f844c9
OB
31664 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
31665 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
31666 * sysdeps/x86_64/multiarch/memset.S: Likewise.
31667 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
31668
fb6b0fcb
AS
316692013-03-11 Andreas Schwab <schwab@suse.de>
31670
31671 [BZ #15234]
31672 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
31673 by SHLIB_COMPAT.
31674 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
31675 (GLIBC_2.16): Remove pthread_atfork.
31676
3e6bd4b1
PP
316772013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
31678
31679 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
31680 (ptestcases.h): Likewise.
31681
222d7f00
RM
316822013-03-08 Roland McGrath <roland@hack.frob.com>
31683
31684 * Makeconfig ($(common-objpfx)config.status): Depend on
31685 sysdeps/*/preconfigure{,.in} too.
31686
1ba4f030
JM
316872013-03-08 Joseph Myers <joseph@codesourcery.com>
31688
a222d91a
JM
31689 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
31690 (__free_hook): Use void * instead of __malloc_ptr_t.
31691 (__malloc_hook): Likewise.
31692 (__realloc_hook): Likewise.
31693 (__memalign_hook): Likewise.
31694 (__after_morecore_hook): Likewise.
31695 * malloc/arena.c (save_malloc_hook): Likewise.
31696 (save_free_hook): Likewise.
31697 * malloc/hooks.c (malloc_hook_ini): Likewise.
31698 (realloc_hook_ini): Likewise.
31699 (memalign_hook_ini): Likewise.
31700 * malloc/malloc.c (malloc_hook_ini): Likewise.
31701 (realloc_hook_ini): Likewise.
31702 (memalign_hook_ini): Likewise.
31703 (__free_hook): Likewise.
31704 (__malloc_hook): Likewise.
31705 (__realloc_hook): Likewise.
31706 (__memalign_hook): Likewise.
31707 (__libc_malloc): Likewise.
31708 (__libc_free): Likewise.
31709 (__libc_realloc): Likewise.
31710 (__libc_memalign): Likewise.
31711 (__libc_valloc): Likewise.
31712 (__libc_pvalloc): Likewise.
31713 (__libc_calloc): Likewise.
31714 (__posix_memalign): Likewise.
31715 * malloc/morecore.c (__sbrk): Likewise.
31716 (__default_morecore): Likewise.
31717
5cc45e10
JM
31718 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
31719
dd54b864
JM
31720 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
31721 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
31722 __malloc_ptrdiff_t.
31723
1ba4f030
JM
31724 * malloc/malloc.h (__malloc_size_t): Remove macro.
31725 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
31726 __malloc_size_t.
31727 (old_memalign_hook): Likewise.
31728 (old_realloc_hook): Likewise.
31729 (struct hdr): Likewise.
31730 (flood): Likewise.
31731 (mallochook): Likewise.
31732 (memalignhook): Likewise.
31733 (reallochook): Likewise.
31734 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
31735 (tr_old_realloc_hook): Likewise.
31736 (tr_old_memalign_hook): Likewise.
31737 (tr_mallochook): Likewise.
31738 (tr_reallochook): Likewise.
31739 (tr_memalignhook): Likewise.
31740
edf66e57
AZ
317412013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31742
31743 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
31744 default_ldbl_pack and using as default implementation.
31745 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
31746 implementation.
31747 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
31748 redundant definition.
31749 (ldbl_insert_mantissa): Likewise.
31750 (ldbl_canonicalize): Likewise.
31751 (ldbl_nearbyint): Likewise.
31752 (ldbl_pack): Rename to ldbl_pack_ppc.
31753 (ldbl_unpack): Rename to ldbl_unpack_ppc.
31754 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
31755 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
31756
6d9145d8
SP
317572013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31758
31759 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
31760 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
31761 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
31762 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
31763 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
31764 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
31765 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
31766 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
31767
4dd4e157
AJ
317682013-03-07 Andreas Jaeger <aj@suse.de>
31769
31770 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
31771 bits/mman-linux.h.
31772
adbb8027
SP
317732013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
31774
ce544b5b
SP
31775 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
31776 Include mpa.h and declare __MPEXP.
31777 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
31778 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31779 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31780 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
31781 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31782 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
31783 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
31784
4cc149fd
SP
31785 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
31786 (__slowpow): Use long double EXPL and LOGL functions to
31787 compute POW.
31788 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
31789 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31790 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
31791 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
31792 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
31793 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
31794
e6ebd4a7
SP
31795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
31796 intermediate variable to calculate exponent.
31797 (__sqr): Likewise.
31798 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31799 Likewise.
31800 (__sqr): Likewise.
31801
82a9811d
SP
31802 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
31803 [!NO__SQR]: Define __sqr.
31804 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
31805 and NO__SQR. Remove all code except __mul and __sqr. Include
31806 sysdeps/ieee754/dbl-64/mpa.c.
31807 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31808
adbb8027
SP
31809 [BZ #12723]
31810 * posix/Makefile (tests): Add tst-pathconf.
31811 * posix/tst-pathconf.c: New test case.
31812 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
31813 _PC_PIPE_BUF.
31814 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
31815
39120df9
PF
318162013-03-06 Patsy Franklin <pfrankli@redhat.com>
31817
31818 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
31819
67525cb8
AJ
318202013-03-06 Andreas Jaeger <aj@suse.de>
31821
664a9ce4
AJ
31822 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
31823 definition via __MAP_ANONYMOUS.
31824
8e39047d
AJ
31825 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
31826 it's not part of Linux headers.
31827
67525cb8
AJ
31828 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
31829 (MAP_HUGE_MASK): Define.
31830
31831 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31832 Define.
31833 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31834 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31835 Define.
31836 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31837 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
31838 Define.
31839 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31840 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
31841 Define.
31842 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
31843
31844 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
31845 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
31846 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
31847 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
31848 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
31849 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
31850
31851 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31852 Handle f2fs.
31853
31854 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31855 Handle f2fs and efivarfs.
31856
31857 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
31858 f2fs.
31859
31860 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
31861 (EFIVARFS_MAGIC): Add.
31862 (F2FS_LINK_MAX): Add.
31863
e1b42695
PP
318642013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31865
31866 * stdio-common/vfprintf.c: Replace __builtin_expect with
31867 __glibc_unlikely.
31868
2d67d91a
JM
318692013-03-06 Joseph Myers <joseph@codesourcery.com>
31870
31871 [BZ #13550]
31872 * sysdeps/generic/bp-sym.h: Remove file.
31873 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
31874 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
31875 <bp-sym.h> and <bp-asm.h>.
31876 (__longjmp): Don't use BP_SYM.
31877 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
31878 and <bp-asm.h>.
31879 (memcpy): Don't use BP_SYM.
31880 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
31881 <bp-sym.h> and <bp-asm.h>.
31882 (memcpy): Don't use BP_SYM.
31883 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
31884 <bp-asm.h>.
31885 (memcpy): Don't use BP_SYM.
31886 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
31887 <bp-asm.h>.
31888 (memset): Don't use BP_SYM.
31889 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31890 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31891 (__bzero): Don't use BP_SYM.
31892 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31893 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31894 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
31895 <bp-sym.h> and <bp-asm.h>.
31896 (memcmp): Don't use BP_SYM. Remove comment about bounded
31897 pointers.
31898 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
31899 <bp-sym.h> and <bp-asm.h>.
31900 (memcpy): Don't use BP_SYM.
31901 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
31902 <bp-sym.h> and <bp-asm.h>.
31903 (memset): Don't use BP_SYM.
31904 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31905 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31906 (__bzero): Don't use BP_SYM.
31907 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31908 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31909 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
31910 <bp-sym.h> and <bp-asm.h>.
31911 (strncmp): Don't use BP_SYM. Remove comment about bounded
31912 pointers.
31913 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
31914 <bp-sym.h> and <bp-asm.h>.
31915 (memcpy): Don't use BP_SYM.
31916 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
31917 <bp-sym.h> and <bp-asm.h>.
31918 (memset): Don't use BP_SYM.
31919 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
31920 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
31921 (__bzero): Don't use BP_SYM.
31922 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
31923 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
31924 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
31925 <bp-sym.h> and <bp-asm.h>.
31926 (__memchr): Don't use BP_SYM.
31927 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
31928 <bp-sym.h> and <bp-asm.h>.
31929 (memcmp): Don't use BP_SYM. Remove comment about bounded
31930 pointers.
31931 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
31932 <bp-sym.h> and <bp-asm.h>.
31933 (memcpy): Don't use BP_SYM.
31934 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
31935 <bp-sym.h> and <bp-asm.h>.
31936 (__mempcpy): Don't use BP_SYM.
31937 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
31938 <bp-sym.h> and <bp-asm.h>.
31939 (__memrchr): Don't use BP_SYM.
31940 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
31941 <bp-sym.h> and <bp-asm.h>.
31942 (memset): Don't use BP_SYM.
31943 (__bzero): Likewise.
31944 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
31945 <bp-sym.h> and <bp-asm.h>.
31946 (__rawmemchr): Don't use BP_SYM.
31947 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
31948 <bp-sym.h> and <bp-asm.h>.
31949 (__STRCMP): Don't use BP_SYM.
31950 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
31951 <bp-sym.h> and <bp-asm.h>.
31952 (strchr): Don't use BP_SYM.
31953 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
31954 <bp-sym.h> and <bp-asm.h>.
31955 (__strchrnul): Don't use BP_SYM.
31956 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
31957 <bp-sym.h> and <bp-asm.h>.
31958 (strlen): Don't use BP_SYM.
31959 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
31960 <bp-sym.h> and <bp-asm.h>.
31961 (strncmp): Don't use BP_SYM. Remove comment about bounded
31962 pointers.
31963 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
31964 <bp-sym.h> and <bp-asm.h>.
31965 (__strnlen): Don't use BP_SYM.
31966 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
31967 <bp-sym.h> and <bp-asm.h>.
31968 (__GI__setjmp): Don't use BP_SYM.
31969 (_setjmp): Likewise.
31970 (__sigsetjmp): Likewise.
31971 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
31972 (L(start_addresses)): Don't use BP_SYM.
31973 (_start): Likewise.
31974 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
31975 <bp-asm.h>.
31976 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
31977 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
31978 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31979 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31980 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
31981 <bp-asm.h>.
31982 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
31983 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
31984 about bounded pointers.
31985 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31986 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31987 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
31988 <bp-asm.h>.
31989 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
31990 about bounded pointers. Remove GKM FIXME comments.
31991 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31992 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
31993 <bp-asm.h>.
31994 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
31995 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
31996 Remove GKM FIXME comments.
31997 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31998 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
31999 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
32000 <bp-asm.h>.
32001 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
32002 about bounded pointers. Remove GKM FIXME comment.
32003 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
32004 and <bp-asm.h>.
32005 (strncmp): Don't use BP_SYM. Remove comment about bounded
32006 pointers.
32007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
32008 <bp-sym.h> and <bp-asm.h>.
32009 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
32011 <bp-sym.h> and <bp-asm.h>.
32012 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32013 comment.
32014
cdcf361f
PP
320152013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
32016
32017 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
32018 call free(NULL).
32019
3c4a2b15
DM
320202013-03-05 David S. Miller <davem@davemloft.net>
32021
32022 * po/es.po: Update from translation team.
32023
cdcf361f 320242013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
32025
32026 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
32027 <bits/mman-linux.h>.
32028 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32029 is fine.
32030 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
32031 <bits/mman-linux.h> to end of file.
32032 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32033 is fine.
32034 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
32035 <bits/mman-linux.h> to end of file.
32036 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
32037 is fine.
32038 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
32039 <bits/mman-linux.h> to end of file.
32040
32041 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
32042 (MCL_CURRENT, MCL_FUTURE): Define here.
32043
5f67c04f
AK
320442013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32045
8a4473cc 32046 [BZ #15232]
5f67c04f
AK
32047 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
32048 attribute_hidden.
32049 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
32050
c3e94a95
AK
320512013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32052
32053 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
32054 fourth parameter needed for rt_sigprocmask syscall.
32055 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32056 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
32057 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
32058 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
32059 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
32060 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
32061
cfb6382a
JM
320622013-03-04 Joseph Myers <joseph@codesourcery.com>
32063
32064 [BZ #13550]
32065 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
32066 comment about bounded pointers.
32067 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
32068 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
32069
539d8e01
AJ
320702013-03-04 Andreas Jaeger <aj@suse.de>
32071
32072 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
32073 common definitions.
32074
32075 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
32076 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
32077 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
32078 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32079 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
32080 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32081
2e167a70 320822013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
32083
32084 [BZ #15055]
32085 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
32086 __ieee754_sqrl instead of __sqrl.
32087
68508633
JM
320882013-03-01 Joseph Myers <joseph@codesourcery.com>
32089
32090 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
32091 * sysdeps/powerpc/fpu_control.h: ... here.
32092 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
32093 * sysdeps/powerpc/bits/fenvinline.h: ... here.
32094 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
32095 * sysdeps/powerpc/bits/mathinline.h: ... here.
32096
7775448e
RM
320972013-03-01 Roland McGrath <roland@hack.frob.com>
32098
32099 * elf/dl-hwcaps.c (_dl_important_hwcaps):
32100 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
32101 to just [NEED_DL_SYSINFO_DSO].
32102 * elf/dl-support.c: Likewise.
32103 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
32104 * elf/rtld.c (dl_main): Likewise.
32105 * elf/setup-vdso.h (setup_vdso): Likewise.
32106 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
32107 * sysdeps/unix/sysv/linux/dl-sysdep.c
32108 (_dl_discover_osversion): Likewise.
32109
4e9b5995
CD
321102013-03-01 Carlos O'Donell <carlos@redhat.com>
32111
32112 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
32113 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32114
e23872c8
SP
321152013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
32116
e5c74c63
SP
32117 * NEWS: Mention libm performance improvements and non-x86 PI
32118 futex support.
32119
e23872c8
SP
32120 * csu/libc-start.c (__pthread_initialize_minimal): Change
32121 function arguments.
32122 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
32123
b5510883
JM
321242013-02-28 Joseph Myers <joseph@codesourcery.com>
32125
32126 [BZ #13550]
32127 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
32128 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
32129 <bp-sym.h> and <bp-asm.h>.
32130 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32131 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
32132 and <bp-asm.h>.
32133 (memcpy): Don't use BP_SYM.
32134 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
32135 <bp-asm.h>.
32136 (__mpn_add_n): Don't use BP_SYM.
32137 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
32138 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
32139 and <bp-asm.h>.
32140 (__mpn_addmul_1): Don't use BP_SYM.
32141 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32142 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
32143 <bp-sym.h>.
32144 (_setjmp): Don't use BP_SYM.
32145 (__novmx_setjmp): Likewise.
32146 (__GI__setjmp): Likewise.
32147 (__vmx_setjmp): Likewise.
32148 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
32149 <bp-sym.h>.
32150 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
32151 (__bzero): Don't use BP_SYM.
32152 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
32153 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
32154 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
32155 <bp-sym.h> and <bp-asm.h>.
32156 (memcpy): Don't use BP_SYM.
32157 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
32158 <bp-sym.h> and <bp-asm.h>.
32159 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32160 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
32161 <bp-sym.h> and <bp-asm.h>.
32162 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
32163 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
32164 <bp-asm.h>.
32165 (__mpn_lshift): Don't use BP_SYM.
32166 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32167 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
32168 <bp-asm.h>.
32169 (memset): Don't use BP_SYM.
32170 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
32171 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
32172 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
32173 <bp-asm.h>.
32174 (__mpn_mul_1): Don't use BP_SYM.
32175 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32176 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
32177 <bp-sym.h> and <bp-asm.h>.
32178 (memcmp): Don't use BP_SYM.
32179 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
32180 <bp-sym.h> and <bp-asm.h>.
32181 (memcpy): Don't use BP_SYM.
32182 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
32183 <bp-sym.h> and <bp-asm.h>.
32184 (memset): Don't use BP_SYM.
32185 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
32186 <bp-sym.h> and <bp-asm.h>.
32187 (strncmp): Don't use BP_SYM.
32188 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
32189 <bp-sym.h> and <bp-asm.h>.
32190 (memcpy): Don't use BP_SYM.
32191 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
32192 <bp-sym.h> and <bp-asm.h>.
32193 (memset): Don't use BP_SYM.
32194 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
32195 <bp-sym.h> and <bp-asm.h>.
32196 (__memchr): Don't use BP_SYM.
32197 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
32198 <bp-sym.h> and <bp-asm.h>.
32199 (memcmp): Don't use BP_SYM.
32200 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
32201 <bp-sym.h> and <bp-asm.h>.
32202 (memcpy): Don't use BP_SYM.
32203 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
32204 <bp-sym.h> and <bp-asm.h>.
32205 (__mempcpy): Don't use BP_SYM.
32206 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
32207 <bp-sym.h> and <bp-asm.h>.
32208 (__memrchr): Don't use BP_SYM.
32209 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
32210 <bp-sym.h> and <bp-asm.h>.
32211 (memset): Don't use BP_SYM.
32212 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
32213 <bp-sym.h> and <bp-asm.h>.
32214 (__rawmemchr): Don't use BP_SYM.
32215 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
32216 <bp-sym.h> and <bp-asm.h>.
32217 (__STRCMP): Don't use BP_SYM.
32218 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
32219 <bp-sym.h> and <bp-asm.h>.
32220 (strchr): Don't use BP_SYM.
32221 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
32222 <bp-sym.h> and <bp-asm.h>.
32223 (__strchrnul): Don't use BP_SYM.
32224 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
32225 <bp-sym.h> and <bp-asm.h>.
32226 (strlen): Don't use BP_SYM.
32227 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
32228 <bp-sym.h> and <bp-asm.h>.
32229 (strncmp): Don't use BP_SYM.
32230 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
32231 <bp-sym.h> and <bp-asm.h>.
32232 (__strnlen): Don't use BP_SYM.
32233 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
32234 <bp-asm.h>.
32235 (__mpn_rshift): Don't use BP_SYM.
32236 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32237 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
32238 <bp-sym.h> and <bp-asm.h>.
32239 (__sigsetjmp): Don't use BP_SYM.
32240 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
32241 (L(start_addresses)): Don't use BP_SYM.
32242 (_start): Likewise.
32243 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
32244 <bp-asm.h>.
32245 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
32246 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32247 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32248 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
32249 <bp-asm.h>.
32250 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
32251 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32252 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32253 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
32254 <bp-asm.h>.
32255 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32256 comments.
32257 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32258 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
32259 <bp-asm.h>.
32260 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
32261 FIXME comments.
32262 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32263 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
32264 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
32265 <bp-asm.h>.
32266 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
32267 comment.
32268 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
32269 and <bp-asm.h>.
32270 (strncmp): Don't use BP_SYM,
32271 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
32272 <bp-asm.h>.
32273 (__mpn_sub_n): Don't use BP_SYM.
32274 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32275 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
32276 and <bp-asm.h>.
32277 (__mpn_submul_1): Don't use BP_SYM.
32278 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
32280 <bp-sym.h> and <bp-asm.h>.
32281 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
32282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
32283 <bp-sym.h> and <bp-asm.h>.
32284 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
32285 comment.
32286
8d19fe64
SP
322872013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32288
32289 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
32290 Use ZK to minimize writes to Z.
32291 (sub_magnitudes): Simplify code a bit.
32292 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
32293 Use ZK to minimize writes to Z.
32294 (sub_magnitudes): Simplify code a bit.
32295
85bd816a
RM
322962013-02-27 Roland McGrath <roland@hack.frob.com>
32297
32298 * csu/gmon-start.c: Add special exception to license text.
32299
b5977bf2
RH
323002013-02-27 Richard Henderson <rth@redhat.com>
32301
32302 * scripts/config.guess: Update from config.git.
32303 * scripts/config.sub: Likewise.
32304
11d6e2f2
SP
323052013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32306
09c14ed2
SP
32307 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
32308
a688864e
SP
32309 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
32310
6295157a
SP
32311 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
32312
b8de2202
SP
32313 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
32314
11d6e2f2
SP
32315 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
32316
7e80ddb8
RM
323172013-02-26 Roland McGrath <roland@hack.frob.com>
32318
32319 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
32320 [$(build-shared = yes].
7e80ddb8 32321
7da6d9ed
SP
323222013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32323
45f05884
SP
32324 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
32325 (__mul): Reduce iterations for calculating mantissa.
32326
2236d359
SP
32327 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
32328 MPTWO.
32329 (__mpranred): Likewise.
32330
7da6d9ed
SP
32331 [BZ #15160]
32332 * malloc/memusagestat.c (main): Draw graphs for heap and stack
32333 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
32334
b7688c42
PE
323352013-02-26 Paul Eggert <eggert@cs.ucla.edu>
32336
32337 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
32338 Define __attribute__.
32339
53a5c423
SP
323402013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
32341
32342 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
32343 unused.
32344 * posix/regex_internal.h (__attribute): Remove.
32345 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
32346 (re_string_context_at): Likewise.
32347 (bitset_not): Use __attribute__ and mark function as possibly
32348 unused.
32349 (bitset_merge): Likewise.
32350 (bitset_mask): Likewise.
32351 (re_string_char_size_at): Likewise.
32352 (re_string_wchar_at): Likewise.
32353 (re_string_elem_size_at): Likewise.
32354
60f5a8b5
SP
323552013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
32356
2a983a2e
SP
32357 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
32358 code.
32359 (cc32): Likewise.
32360
e69804d1
SP
32361 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
32362 (__acr): Likewise.
32363 (__cpy): Likewise.
32364 (norm): Likewise.
32365 (denorm): Likewise.
32366 (__dbl_mp): Likewise.
32367 (add_magnitudes): Likewise.
32368 (sub_magnitudes): Likewise.
32369 (__mul): Likewise.
32370 (__inv): Likewise.
32371
2f22a1e8
SP
32372 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
32373 style.
32374
8930ddc7
SP
32375 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
32376 style.
32377
dc60cb11
SP
32378 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
32379 code.
32380
60f5a8b5
SP
32381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
32382 up changes with default code.
32383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
32384 Likewise.
32385
b4d1fd33
AM
323862013-02-24 Allan McRae <allan@archlinux.org>
32387
faf6f8bc
AM
32388 * manual/socket.texi (The Internet Namespace): Order menu items
32389 to match that in the file.
32390
b4d1fd33
AM
32391 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
32392 node listing of the info page menu.
32393
2366713d
JM
323942013-02-21 Joseph Myers <joseph@codesourcery.com>
32395
32396 [BZ #13550]
32397 * sysdeps/i386/bp-asm.h: Remove file.
32398 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32399 (PARMS): Do not use macros from bp-asm.h.
32400 (S1): Likewise.
32401 (S2): Likewise.
32402 (SIZE): Likewise.
32403 (__mpn_add_n): Do not use BP_SYM
32404 * sysdeps/i386/addmul_1.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 (SIZE): Likewise.
32409 (__mpn_addmul_1): Do not use BP_SYM
32410 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
32411 "bp-asm.h".
32412 (PARMS): Do not use macros from bp-asm.h.
32413 (SIGMSK): Likewise.
32414 (_setjmp): Likewise. Do not use BP_SYM.
32415 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
32416 "bp-asm.h".
32417 (PARMS): Do not use macros from bp-asm.h.
32418 (SIGMSK): Likewise.
32419 (setjmp): Likewise. Do not use BP_SYM.
32420 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
32421 "bp-asm.h".
32422 (PARMS): Do not use macros from bp-asm.h.
32423 (__frexp): Do not use BP_SYM.
32424 (frexp): Likewise.
32425 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
32426 "bp-asm.h".
32427 (PARMS): Do not use macros from bp-asm.h.
32428 (__frexpf): Do not use BP_SYM.
32429 (frexpf): Likewise.
32430 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
32431 "bp-asm.h".
32432 (PARMS): Do not use macros from bp-asm.h.
32433 (__frexpl): Do not use BP_SYM.
32434 (frexpl): Likewise.
32435 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
32436 "bp-asm.h".
32437 (PARMS): Do not use macros from bp-asm.h.
32438 (__remquo): Do not use BP_SYM.
32439 (remquo): Likewise.
32440 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
32441 "bp-asm.h".
32442 (PARMS): Do not use macros from bp-asm.h.
32443 (__remquof): Do not use BP_SYM.
32444 (remquof): Likewise.
32445 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
32446 "bp-asm.h".
32447 (PARMS): Do not use macros from bp-asm.h.
32448 (__remquol): Do not use BP_SYM.
32449 (remquol): Likewise.
32450 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
32451 "bp-asm.h".
32452 (PARMS): Do not use macros from bp-asm.h.
32453 (DEST): Likewise.
32454 (SRC): Likewise.
32455 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
32456 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
32457 "bp-asm.h".
32458 (PARMS): Do not use macros from bp-asm.h.
32459 (strlen): Do not use BP_SYM.
32460 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
32461 "bp-asm.h".
32462 (PARMS): Do not use macros from bp-asm.h.
32463 (S1): Likewise.
32464 (S2): Likewise.
32465 (SIZE): Likewise.
32466 (__mpn_add_n): Do not use BP_SYM.
32467 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
32468 "bp-asm.h".
32469 (PARMS): Do not use macros from bp-asm.h.
32470 (S1): Likewise.
32471 (SIZE): Likewise.
32472 (__mpn_addmul_1): Do not use BP_SYM.
32473 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
32474 weak_alias.
32475 (bzero): Likewise.
32476 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
32477 "bp-asm.h".
32478 (PARMS): Do not use macros from bp-asm.h.
32479 (S): Likewise.
32480 (SIZE): Likewise.
32481 (__mpn_lshift): Do not use BP_SYM.
32482 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
32483 "bp-asm.h".
32484 (PARMS): Do not use macros from bp-asm.h.
32485 (DEST): Likewise.
32486 (SRC): Likewise.
32487 (LEN): Likewise.
32488 (memcpy): Likewise. Do not use BP_SYM.
32489 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
32490 libc_hidden_def and weak_alias.
32491 (mempcpy): Do not use BP_SYM in weak_alias.
32492 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
32493 "bp-asm.h".
32494 (PARMS): Do not use macros from bp-asm.h.
32495 (DEST): Likewise.
32496 (LEN): Likewise.
32497 [!BZERO_P] (CHR): Likewise.
32498 (memset): Likewise. Do not use BP_SYM.
32499 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
32500 "bp-asm.h".
32501 (PARMS): Do not use macros from bp-asm.h.
32502 (S1): Likewise.
32503 (SIZE): Likewise.
32504 (__mpn_mul_1): Do not use BP_SYM.
32505 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
32506 "bp-asm.h".
32507 (PARMS): Do not use macros from bp-asm.h.
32508 (S): Likewise.
32509 (SIZE): Likewise.
32510 (__mpn_rshift): Do not use BP_SYM.
32511 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
32512 "bp-asm.h".
32513 (PARMS): Do not use macros from bp-asm.h.
32514 (STR): Likewise.
32515 (CHR): Likewise.
32516 (strchr): Likewise. Do not use BP_SYM.
32517 (index): Do not use BP_SYM in weak_alias.
32518 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
32519 "bp-asm.h".
32520 (PARMS): Do not use macros from bp-asm.h.
32521 (DEST): Likewise.
32522 (SRC): Likewise.
32523 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
32524 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
32525 "bp-asm.h".
32526 (PARMS): Do not use macros from bp-asm.h.
32527 (strlen): Do not use BP_SYM.
32528 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
32529 "bp-asm.h".
32530 (PARMS): Do not use macros from bp-asm.h.
32531 (S1): Likewise.
32532 (S2): Likewise.
32533 (SIZE): Likewise.
32534 (__mpn_sub_n): Do not use BP_SYM.
32535 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
32536 "bp-asm.h".
32537 (PARMS): Do not use macros from bp-asm.h.
32538 (S1): Likewise.
32539 (SIZE): Likewise.
32540 (__mpn_submul_1): Do not use BP_SYM.
32541 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
32542 "bp-asm.h".
32543 (PARMS): Do not use macros from bp-asm.h.
32544 (S1): Likewise.
32545 (S2): Likewise.
32546 (SIZE): Likewise.
32547 (__mpn_add_n): Do not use BP_SYM.
32548 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
32549 weak_alias.
32550 (bzero): Likewise.
32551 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
32552 "bp-asm.h".
32553 (PARMS): Do not use macros from bp-asm.h.
32554 (BLK2): Likewise.
32555 (LEN): Likewise.
32556 (memcmp): Do not use BP_SYM.
32557 (bcmp): Do not use BP_SYM in weak_alias.
32558 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
32559 "bp-asm.h".
32560 (PARMS): Do not use macros from bp-asm.h.
32561 (DEST): Likewise.
32562 (SRC): Likewise.
32563 (LEN): Likewise.
32564 (memcpy): Likewise. Do not use BP_SYM.
32565 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
32566 "bp-asm.h".
32567 (PARMS): Do not use macros from bp-asm.h.
32568 (DEST): Likewise.
32569 (SRC): Likewise.
32570 (LEN): Likewise.
32571 (memmove): Likewise. Do not use BP_SYM.
32572 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
32573 "bp-asm.h".
32574 (PARMS): Do not use macros from bp-asm.h.
32575 (DEST): Likewise.
32576 (SRC): Likewise.
32577 (LEN): Likewise.
32578 (__mempcpy): Likewise. Do not use BP_SYM.
32579 (mempcpy): Do not use BP_SYM in weak_alias.
32580 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
32581 "bp-asm.h".
32582 (PARMS): Do not use macros from bp-asm.h.
32583 (DEST): Likewise.
32584 (LEN): Likewise.
32585 [!BZERO_P] (CHR): Likewise.
32586 (memset): Likewise. Do not use BP_SYM.
32587 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
32588 "bp-asm.h".
32589 (PARMS): Do not use macros from bp-asm.h.
32590 (STR2): Likewise.
32591 (strcmp): Do not use BP_SYM.
32592 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
32593 "bp-asm.h".
32594 (PARMS): Do not use macros from bp-asm.h.
32595 (STR): Likewise.
32596 (DELIM): Likewise.
32597 [USE_AS_STRTOK_R] (SAVE): Likewise.
32598 (FUNCTION): Likewise. Do not use BP_SYM.
32599 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
32600 aliases.
32601 (strtok_r): Likewise.
32602 (__GI___strtok_r): Likewise.
32603 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32604 (PARMS): Do not use macros from bp-asm.h.
32605 (S): Likewise.
32606 (SIZE): Likewise.
32607 (__mpn_lshift): Do not use BP_SYM.
32608 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32609 (PARMS): Do not use macros from bp-asm.h.
32610 (STR): Likewise.
32611 (CHR): Likewise.
32612 (__memchr): Do not use BP_SYM.
32613 (memchr): Do not use BP_SYM in weak_alias.
32614 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32615 (PARMS): Do not use macros from bp-asm.h.
32616 (BLK2): Likewise.
32617 (LEN): Likewise.
32618 (memcmp): Do not use BP_SYM.
32619 (bcmp): Do not use BP_SYM in weak_alias.
32620 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
32621 (PARMS): Do not use macros from bp-asm.h.
32622 (S1): Likewise.
32623 (SIZE): Likewise.
32624 (__mpn_mul_1): Do not use BP_SYM.
32625 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
32626 "bp-asm.h".
32627 (PARMS): Do not use macros from bp-asm.h.
32628 (STR): Likewise.
32629 (CHR): Likewise.
32630 (__rawmemchr): Do not use BP_SYM.
32631 (rawmemchr): Do not use BP_SYM in weak_alias.
32632 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
32633 (PARMS): Do not use macros from bp-asm.h.
32634 (S): Likewise.
32635 (SIZE): Likewise.
32636 (__mpn_rshift): Do not use BP_SYM.
32637 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
32638 (PARMS): Do not use macros from bp-asm.h.
32639 (SIGMSK): Likewise.
32640 (__sigsetjmp): Likewise. Do not use BP_SYM.
32641 * sysdeps/i386/start.S: Do not include "bp-sym.h".
32642 (_start): Do not use BP_SYM.
32643 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
32644 (PARMS): Do not use macros from bp-asm.h.
32645 (DEST): Likewise.
32646 (SRC): Likewise.
32647 (__stpcpy): Likewise. Do not use BP_SYM.
32648 (stpcpy): Do not use BP_SYM in weak_alias.
32649 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
32650 "bp-asm.h".
32651 (PARMS): Do not use macros from bp-asm.h.
32652 (DEST): Likewise.
32653 (SRC): Likewise.
32654 (LEN): Likewise.
32655 (__stpncpy): Likewise. Do not use BP_SYM.
32656 (stpncpy): Do not use BP_SYM in weak_alias.
32657 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
32658 (PARMS): Do not use macros from bp-asm.h.
32659 (STR): Likewise.
32660 (CHR): Likewise.
32661 (strchr): Likewise. Do not use BP_SYM.
32662 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
32663 "bp-asm.h".
32664 (PARMS): Do not use macros from bp-asm.h.
32665 (STR): Likewise.
32666 (CHR): Likewise.
32667 (__strchrnul): Likewise. Do not use BP_SYM.
32668 (strchrnul): Do not use BP_SYM in weak_alias.
32669 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
32670 "bp-asm.h".
32671 (PARMS): Do not use macros from bp-asm.h.
32672 (STOP): Likewise.
32673 (strcspn): Do not use BP_SYM.
32674 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
32675 "bp-asm.h".
32676 (PARMS): Do not use macros from bp-asm.h.
32677 (STR): Likewise.
32678 (STOP): Likewise.
32679 (strpbrk): Likewise. Do not use BP_SYM.
32680 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
32681 "bp-asm.h".
32682 (PARMS): Do not use macros from bp-asm.h.
32683 (STR): Likewise.
32684 (CHR): Likewise.
32685 (strrchr): Likewise. Do not use BP_SYM.
32686 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
32687 (PARMS): Do not use macros from bp-asm.h.
32688 (SKIP): Likewise.
32689 (strspn): Do not use BP_SYM.
32690 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
32691 (PARMS): Do not use macros from bp-asm.h.
32692 (STR): Likewise.
32693 (DELIM): Likewise.
32694 (SAVE): Likewise.
32695 (FUNCTION): Likewise. Do not use BP_SYM.
32696 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
32697 aliases.
32698 (strtok_r): Likewise.
32699 (__GI___strtok_r): Likewise.
32700 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
32701 (PARMS): Do not use macros from bp-asm.h.
32702 (S1): Likewise.
32703 (S2): Likewise.
32704 (SIZE): Likewise.
32705 (__mpn_sub_n): Do not use BP_SYM.
32706 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
32707 "bp-asm.h".
32708 (PARMS): Do not use macros from bp-asm.h.
32709 (S1): Likewise.
32710 (SIZE): Likewise.
32711 (__mpn_submul_1): Do not use BP_SYM.
32712 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
32713 <bp-sym.h>.
32714 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
32715 and <bp-asm.h>.
32716 (PARMS): Do not use macros from bp-asm.h.
32717 (FLAGS): Likewise.
32718 (PTID): Likewise.
32719 (TLS): Likewise.
32720 (CTID): Likewise.
32721 (__clone): Do not use BP_SYM.
32722 (clone): Do not use BP_SYM in weak_alias.
32723 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
32724 and <bp-asm.h>.
32725 (PARMS): Do not use macros from bp-asm.h.
32726 (LEN): Likewise.
32727 (__mmap64): Do not use BP_SYM.
32728 (mmap64): Do not use BP_SYM in weak_alias.
32729 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
32730 <bp-sym.h> and <bp-asm.h>.
32731 (PARMS): Do not use macros from bp-asm.h.
32732 (__posix_fadvise64_l64): Do not use BP_SYM.
32733 * sysdeps/unix/sysv/linux/i386/semtimedop.S
32734 (PARMS): Do not use macros from bp-asm.h.
32735 (NSOPS): Likewise.
32736 (semtimedop): Do not use BP_SYM.
32737 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
32738 and <bp-asm.h>.
32739
582a3cff
AM
327402013-02-21 Allan McRae <allan@archlinux.org>
32741
32742 * manual/message.texi (Charset conversion in gettext):
32743 Move @end statement to beginning of line.
32744
bab8a695
SP
327452013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32746
80945231
SP
32747 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
32748 static.
32749 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32750 Likewise.
32751
bab8a695
SP
32752 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
32753 (denorm): Likewise.
32754 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
32755 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
32756
e21d7aa7
AK
327572013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32758
32759 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
32760 tail-call to the resolved function if pltexit isn't needed.
32761
4c7a4263
SP
327622013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
32763
32764 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
32765 or Y being zero as being unlikely.
32766 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
32767 Likewise.
32768
41f49342
CD
327692013-02-20 Carlos O'Donell <carlos@redhat.com>
32770
32771 * manual/nss.texi (System Databases and Name Service Switch):
32772 Remove frobnicate @pxref.
32773
50022a93
TS
327742013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32775
32776 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32777 __attribute__ ((unused)) to __attribute__ ((__unused__)).
32778
08cbd996
PM
327792013-02-20 Petr Machata <pmachata@redhat.com>
32780
32781 * elf/elf.h (R_ARM_TARGET1): New macro.
32782 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
32783 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
32784 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
32785 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
32786 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
32787 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
32788 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
32789 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
32790 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
32791 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
32792 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
32793 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
32794 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
32795 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
32796 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
32797 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
32798 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
32799 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
32800 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
32801 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
32802 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
32803 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
32804 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
32805 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
32806 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
32807 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
32808 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
32809 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
32810 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
32811 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
32812 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
32813 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
32814 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
32815 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
32816 (R_ARM_THM_GOT_BREL12): Likewise.
32817 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
32818 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
32819 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
32820 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
32821 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
32822 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
32823 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
32824 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
32825 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
32826
c7b275d6
TS
328272013-02-20 Thomas Schwinge <thomas@codesourcery.com>
32828
32829 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
32830 __attribute_used__ to __attribute__ ((unused)).
32831
20cd7fb3
SP
328322013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
32833
32834 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
32835 powerpc mpa.c.
32836 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
32837 comment formatting.
32838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
32839
92945b52
JM
328402013-02-19 Joseph Myers <joseph@codesourcery.com>
32841
32842 [BZ #13550]
32843 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
32844 Remove macro.
32845 (ENTER): Remove both macro definitions.
32846 (LEAVE): Likewise.
32847 (CHECK_BOUNDS_LOW): Likewise.
32848 (CHECK_BOUNDS_HIGH): Likewise.
32849 (CHECK_BOUNDS_BOTH): Likewise.
32850 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
32851 (RETURN_BOUNDED_POINTER): Likewise.
32852 (RETURN_NULL_BOUNDED_POINTER): Likewise.
32853 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
32854 (POP_ERRNO_LOCATION_RETURN): Likewise.
32855 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
32856 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32857 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
32858 macros.
32859 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32860 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
32861 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
32862 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
32863 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
32864 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
32865 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
32866 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
32867 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
32868 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
32869 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
32870 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
32871 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32872 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
32873 removed macros.
32874 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32875 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
32876 macros.
32877 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32878 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
32879 * sysdeps/i386/i586/memset.S (memset): Likewise.
32880 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
32881 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32882 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
32883 macros.
32884 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32885 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
32886 Change uses of L(2) to L(out).
32887 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
32888 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
32889 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
32890 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32891 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
32892 removed macros.
32893 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32894 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
32895 macros.
32896 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32897 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
32898 (RETURN): Do not use macro LEAVE.
32899 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
32900 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
32901 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
32902 * sysdeps/i386/i686/memset.S (memset): Likewise.
32903 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
32904 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
32905 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
32906 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
32907 Likewise.
32908 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32909 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
32910 L(1_2) and L(1_3) into L(1).
32911 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32912 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
32913 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32914 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
32915 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
32916 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
32917 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
32918 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32919 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
32920 macros.
32921 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
32922 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
32923 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
32924 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
32925 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
32926 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
32927 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
32928 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
32929 * sysdeps/i386/strcspn.S (strcspn): Likewise.
32930 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
32931 * sysdeps/i386/strrchr.S (strrchr): Likewise.
32932 * sysdeps/i386/strspn.S (strspn): Likewise.
32933 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
32934 conditional code.
32935 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
32936 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
32937 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
32938 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
32939 L(1_3) into L(1_1).
32940 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
32941 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
32942 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
32943 macros.
32944 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
32945
2389741a
JJ
329462013-02-19 Jakub Jelinek <jakub@redhat.com>
32947
32948 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
32949 macro.
32950
2016b3cd
SP
329512013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32952
e4f22324
SP
32953 * math/atest-exp.c (exp_mpn): Remove ROUND.
32954 * math/atest-exp2.c (exp_mpn): Likewise.
32955 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
32956
2016b3cd
SP
32957 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
32958 * stdlib/tst-tls-atexit-lib.c: Likewise.
32959 * stdlib/tst-tls-atexit.c: Likewise.
32960
4be9b544
MF
329612013-02-18 Mike Frysinger <vapier@gentoo.org>
32962
32963 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
32964 and __attribute_alloc_size__.
32965
2f62b9ee
MF
329662013-02-18 Mike Frysinger <vapier@gentoo.org>
32967
32968 * include/programs/xmalloc.h: Change __attribute_alloc_size to
32969 __attribute_alloc_size__.
32970 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
32971 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
32972
6ff444c4
MF
329732013-02-18 Mike Frysinger <vapier@gentoo.org>
32974
32975 * include/programs/xmalloc.h: New file.
32976 * catgets/gencat.c: Include it.
32977 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
32978 * elf/pldd.c: Likewise.
32979 * iconv/iconv_charmap.c: Likewise.
32980 * iconv/iconvconfig.c: Likewise.
32981 * iconv/strtab.c: Likewise.
32982 * locale/programs/locale.c: Likewise.
32983 * locale/programs/localedef.h: Likewise.
32984 * locale/programs/simple-hash.c: Likewise.
32985 * nscd/nscd.h: Likewise.
32986 * nss/makedb.c: Likewise.
32987 * sysdeps/generic/ldconfig.h: Likewise.
32988
be179c8a
SP
329892013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32990
ba384f6e
SP
32991 * Versions.def: Add GLIBC_2.18.
32992 * include/link.h (struct link_map): New member l_tls_dtor_count.
32993 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
32994 (__call_tls_dtors): Likewise.
32995 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
32996 __cxa_thread_atexit_impl.
32997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32998 Likewise.
32999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33000 Likewise.
33001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
33002 Likewise.
33003 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
33004 Likewise.
33005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
33006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
33007 Likewise.
33008 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
33009 Likewise.
33010 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
33011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
33012 Likewise.
33013 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
33014 (tests): Add test case tst-tls-atexit.
33015 (modules-names): Add shared library for tst-tls-atexit.
85891aca 33016 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
33017 (GLIBC_PRIVATE): Add __call_tls_dtors.
33018 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
33019 for libstdc++.
33020 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
33021 * stdlib/tst-tls-atexit.c: New test case.
33022 * stdlib/tst-tls-atexit-lib.c: New test case.
33023
ffaa74cf 33024 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 33025
be179c8a
SP
33026 * elf/Versions (ld): Add _dl_find_dso_for_object.
33027 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
33028 * elf/dl-open.c (_dl_find_dso_for_object): New function.
33029 (dl_open_worker): Use _dl_find_dso_for_object.
33030 * elf/dl-sym.c (do_sym): Likewise.
33031 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
33032
f78b5caa
AK
330332013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33034
33035 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
33036 Syntactic changes only.
33037 (_dl_runtime_profile): Do a tail-call to the resolved function.
33038
29691210
JM
330392013-02-17 Joseph Myers <joseph@codesourcery.com>
33040
33041 [BZ #13550]
33042 * sysdeps/x86_64/bp-asm.h: Remove file.
33043 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
33044 <bp-sym.h> and <bp-asm.h>.
33045 (__clone): Do not use BP_SYM.
33046 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
33047 <bp-sym.h> and <bp-asm.h>.
33048 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33049 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
33050 "bp-asm.h".
33051 (_setjmp): Do not use BP_SYM.
33052 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
33053 "bp-asm.h".
33054 (setjmp): Do not use BP_SYM.
33055 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
33056 libc_hidden_def.
33057 (mempcpy): Do not use BP_SYM in weak_alias.
33058 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
33059 "bp-asm.h".
33060 (strchr): Do not use BP_SYM.
33061 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
33062 "bp-asm.h".
33063 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
33064 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
33065 (_start): Do not use BP_SYM.
33066 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
33067 "bp-asm.h".
33068 (strcat): Do not use BP_SYM.
33069 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
33070 "bp-asm.h".
33071 (STRCMP): Do not use BP_SYM.
33072 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
33073 "bp-asm.h".
33074 (STRCPY): Do not use BP_SYM.
33075 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
33076 "bp-asm.h".
33077 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
33078 "bp-asm.h".
33079 (FUNCTION): Do not use BP_SYM.
33080 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
33081 weak_alias.
33082 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
33083
f238fd19
AJ
330842013-02-17 Andreas Jaeger <aj@suse.de>
33085
33086 * time/Versions: Sort entries.
33087 * string/Versions: Likewise.
33088 * resolv/Versions: Likewise.
33089 * posix/Versions: Likewise.
33090 * iconv/Versions: Likewise.
33091 * elf/Versions: Likewise.
33092 * wcsmbs/Versions: Likewise.
33093
bd07f23c 330942013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 33095
22af19f9
SP
33096 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
33097 loop termination condition.
33098
4709fe76
SP
33099 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
33100 variable to calculate EZ.
33101 (__sqr): Likewise.
2d0e0f29
SP
33102
33103 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
33104 the lower precision input.
33105
daaa7713
JM
331062013-02-15 Joseph Myers <joseph@codesourcery.com>
33107
33108 [BZ #13550]
33109 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
33110 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
33111 (run-via-rtld-prefix): Do not handle %-bp tests.
33112 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
33113 (all-object-suffixes): Remove .ob.
33114 (bppfx): Remove variable.
33115 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
33116 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
33117 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
33118 [$(build-bounded) = yes] (libtype.ob): Likewise.
33119 * Makerules (elide-routines.ob): Remove variable.
33120 (do-tests-clean): Do not handle *-bp.out.
33121 (common-mostlyclean): Do not handle *-bp and *-bp.out.
33122 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
33123 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
33124 (tests): Do not include $(tests-bp.out).
33125 (xtests): Do not include $(xtests-bp.out).
33126 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
33127 [$(build-bounded) = yes] ($(addprefix
33128 $(objpfx),$(binaries-bounded))): Remove rule.
33129 ($(objpfx)%-bp.out): Remove rule.
33130 * config.make.in (build-bounded): Remove variable.
33131 * crypt/Makefile [$(build-bounded) = yes]
33132 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
33133 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
33134 append to variable.
33135 [$(build-bounded) = yes] (install-lib): Likewise.
33136 [$(build-bounded) = yes] (generated): Likewise.
33137 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
33138 Remove rule.
33139 * intl/Makefile [$(build-bounded) = yes]
33140 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
33141 * math/Makefile [$(build-bounded) = yes]
33142 ($(tests:%=$(objpfx)%-bp): Likewise.
33143 * misc/Makefile [$(build-bounded) = yes]
33144 ($(objpfx)tst-tsearch-bp): Likewise.
33145 * nptl/Makeconfig (bounded-thread-library): Remove variable.
33146 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
33147 Remove dependency.
33148 * string/Makefile (o-objects.ob): Remove variable.
33149 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
33150 (CFLAGS-.ob): Remove variable.
33151 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
33152 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
33153 both definitions of variable.
33154 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
33155 (ASFLAGS-.ob): Remove variable.
33156
e97ed6dd
JM
331572013-02-14 Joseph Myers <joseph@codesourcery.com>
33158
2bdd4ca6
JM
33159 [BZ #13550]
33160 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
33161 Remove __BOUNDED_POINTERS__ from condition.
33162 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
33163 * string/bits/string2.h [!__NO_STRING_INLINES &&
33164 !__BOUNDED_POINTERS__]: Likewise.
33165 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
33166 Likewise.
33167 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
33168 Remove conditional code.
33169 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
33170 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
33171 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
33172 condition.
33173
e97ed6dd
JM
33174 [BZ #13550]
33175 * csu/libc-start.c: Do not include <bp-sym.h>.
33176 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
33177 * elf/dl-open.c: Do not include <bp-sym.h>.
33178 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
33179 * math/fegetenv.c: Do not include <bp-sym.h>.
33180 (fegetenv): Do not use BP_SYM in versioned symbols.
33181 * nptl/sysdeps/pthread/bits/libc-lockP.h
33182 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
33183 <bp-sym.h>.
33184 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33185 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
33186 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33187 (__pthread_mutex_destroy): Likewise.
33188 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33189 (__pthread_mutex_lock): Likewise.
33190 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33191 (__pthread_mutex_trylock): Likewise.
33192 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33193 (__pthread_mutex_unlock): Likewise.
33194 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33195 (__pthread_mutexattr_init): Likewise.
33196 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33197 (__pthread_mutexattr_destroy): Likewise.
33198 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33199 (__pthread_mutexattr_settype): Likewise.
33200 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33201 (__pthread_rwlock_init): Likewise.
33202 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33203 (__pthread_rwlock_destroy): Likewise.
33204 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33205 (__pthread_rwlock_rdlock): Likewise.
33206 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33207 (__pthread_rwlock_tryrdlock): Likewise.
33208 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33209 (__pthread_rwlock_wrlock): Likewise.
33210 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33211 (__pthread_rwlock_trywrlock): Likewise.
33212 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33213 (__pthread_rwlock_unlock): Likewise.
33214 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33215 (__pthread_key_create): Likewise.
33216 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33217 (__pthread_setspecific): Likewise.
33218 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33219 (__pthread_getspecific): Likewise.
33220 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
33221 Likewise.
33222 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33223 (_pthread_cleanup_push_defer): Likewise.
33224 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33225 (_pthread_cleanup_pop_restore): Likewise.
33226 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
33227 (pthread_setcancelstate): Likewise.
33228 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
33229 <bp-sym.h>.
33230 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
33231 (memchr): Do not use BP_SYM in weak_alias.
33232 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
33233 (fegetenv): Do not use BP_SYM in versioned symbols.
33234 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
33235 (fesetenv): Do not use BP_SYM in versioned symbols.
33236 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33237 (feupdateenv): Do not use BP_SYM in versioned symbols.
33238 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33239 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33240 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
33241 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
33242 (open64): Do not use BP_SYM in weak_alias.
33243 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
33244 (fegetenv): Do not use BP_SYM in versioned symbols.
33245 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
33246 (fesetenv): Do not use BP_SYM in versioned symbols.
33247 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
33248 (feupdateenv): Do not use BP_SYM in versioned symbols.
33249 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
33250 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
33251 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
33252 (feraiseexcept): Do not use BP_SYM in versioned symbols.
33253 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
33254 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
33255 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
33256 <bp-sym.h>.
33257 (__libc_start_main): Do not use BP_SYM.
33258
d6752ccd
SP
332592013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
33260
cb57ce60
SP
33261 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
33262 redundant return line.
33263 (norm): Likewise.
33264 (denorm): Likewise.
33265 (dbl_mp): Likewise.
33266 (sub_magnitudes): Likewise.
33267 (__add): Likewise.
33268 (__sub): Likewise.
33269 (__mul): Likewise.
33270 (__inv): Likewise.
33271 (__dvd): Likewise.
33272 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
33273 (norm): Likewise.
33274 (denorm): Likewise.
33275 (dbl_mp): Likewise.
33276 (sub_magnitudes): Likewise.
33277 (__add): Likewise.
33278 (__sub): Likewise.
33279 (__mul): Likewise.
33280 (__inv): Likewise.
33281 (__dvd): Likewise.
33282
f414520d
SP
33283 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
33284 instead of __mul.
33285 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
33286 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
33287 (cc32): Likewise.
33288
d6752ccd
SP
33289 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
33290 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
33291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
33292 of __mul for squares.
33293 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
33294 function
33295 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
33296 Likewise.
33297 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
33298 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33299
70d9946a
JM
333002013-02-13 Joseph Myers <joseph@codesourcery.com>
33301
33302 [BZ #13550]
33303 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
33304 code.
33305 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
33306 prototype or function definition. Rename ubp_* variables and
33307 parameters. Remove argv definitions conditional on
33308 [__BOUNDED_POINTERS__].
33309 * debug/backtrace.c (__backtrace): Do not use __unbounded.
33310 * elf/dl-runtime.c (_dl_fixup): Likewise.
33311 * include/set-hooks.h (RUN_HOOK): Likewise.
33312 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
33313 definition.
33314 * string/strcpy.c (strcpy): Do not use __unbounded.
33315 * sysdeps/generic/frame.h (struct layout): Likewise.
33316 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
33317 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
33318 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
33319 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
33320 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
33321 (__backtrace): Likewise.
33322 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
33323 use __ptrvalue.
33324 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
33325 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
33326 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
33327 Likewise.
33328 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
33329 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
33330 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
33331 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33332 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
33333 Do not use __unbounded.
33334 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
33335 Rename __unboundedrlimits parameter to rlimits in prototype.
33336 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
33337 Do not use __unbounded.
33338 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
33339 not use __ptrvalue.
33340 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33341 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
33342 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33343 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
33344 __ptrvalue or __unbounded.
33345 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
33346 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
33347 use __unbounded.
33348 (__new_msgctl): Do not use __ptrvalue.
33349 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
33350 __unbounded.
33351 (__libc_msgrcv): Do not use __ptrvalue.
33352 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
33353 startup_info): Do not use __unbounded.
33354 (__libc_start_main): Likewise. Rename ubp_* variables and
33355 parameters. Remove argv definitions conditional on
33356 [__BOUNDED_POINTERS__].
33357 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
33358 __ptrvalue.
33359 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
33360 use __unbounded.
33361 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
33362 or __ptrvalue.
33363 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
33364 use __unbounded.
33365 (__new_shmctl): Do not use __ptrvalue.
33366 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
33367 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
33368 Likewise.
33369 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
33370 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
33371 (__libc_sigaction): Likewise.
33372 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
33373 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
33374 Likewise.
33375 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33376
cc7834d6
OB
333772013-02-13 Ondřej Bílka <neleai@seznam.cz>
33378
ffb1ec7b 33379 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
33380
33381 * string/mempcpy.c: Implement by calling memcpy.
33382
bdf02814
SP
333832013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
33384
c2af38aa
SP
33385 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
33386
4e92d59e
SP
33387 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
33388 evaluation.
33389
909279a5
SP
33390 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
33391 values in the mantissa.
33392
bdf02814
SP
33393 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
33394 minimize writes to Z.
33395 (sub_magnitudes): Simplify code a bit.
33396
cd525923
RM
333972013-02-12 Roland McGrath <roland@hack.frob.com>
33398
33399 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
33400 from the message. The linker prefixes all warnings with that already.
33401
7e2f0d2d
AS
334022013-02-12 Andreas Schwab <schwab@suse.de>
33403
a445af0b
AS
33404 [BZ #15078]
33405 * posix/regexec.c (extend_buffers): Add parameter min_len.
33406 (check_matching): Pass minimum needed length.
33407 (clean_state_log_if_needed): Likewise.
33408 (get_subexp): Likewise.
33409 * posix/Makefile (tests): Add bug-regex34.
33410 (bug-regex34-ENV): Define.
33411 * posix/bug-regex34.c: New file.
33412
7e2f0d2d
AS
33413 [BZ #11561]
33414 * posix/regcomp.c (parse_bracket_exp): When looking up collating
33415 elements compare against the byte sequence of it, not its name.
33416 * posix/Makefile (tests): Add bug-regex35.
33417 (bug-regex35-ENV): Define.
33418 * posix/bug-regex35.c: New file.
33419
a175b684
TV
334202013-02-11 Tom de Vries <tom@codesourcery.com>
33421
33422 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
33423 comment.
33424 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
33425 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
33426 (CHECK_EOL): Add undef.
33427
310998fe 334282013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
33429
33430 * bits/stdlib-bsearch.h: New file.
33431 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 33432 * stdlib/stdlib.h: Likewise.
41eda41d 33433
8ded91fb
RM
334342013-02-11 Roland McGrath <roland@hack.frob.com>
33435
33436 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
33437 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
33438 declaration.
33439 * manual/search.texi (Array Search Function): Add missing const in
33440 lfind prototype.
33441 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
33442 declaration to use rlim_t.
33443 (Basic Scheduling Functions): Remove erroneous const from
33444 sched_getparam prototype. Remove erroneous * from
33445 sched_get_priority_max and sched_get_priority_min prototypes.
33446 (Resource Usage): Fix summary @comment on vtimes to refer to
33447 sys/vtimes.h rather than vtimes.h.
33448 Add missing *s in vtimes prototype.
33449 (Limits on Resources): Fix ulimit prototype to return long int.
33450 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
33451 prototypes to use long int rather than double.
33452 (BSD Random): Fix initstate and setstate to use char *, not void *.
33453 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
33454 prototype to make second argument 'struct aiocb64 *const[]'.
33455 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
33456 (Status of AIO Operations): Remove erroneous const in aio_return and
33457 aio_return64 prototypes.
33458 (Synchronizing I/O): Fix sync prototype to return void.
33459 * manual/startup.texi (Suboptions): Remove an erroneous const in
33460 getsubopt prototype.
33461 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
33462 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
33463 use size_t rather than int.
33464 (Scanning All Users): Likewise for getpwent_r.
33465 (Setting Groups): Add missing const to setgroups prototype.
33466 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
33467 * manual/socket.texi (Host Names): Fix gethostbyaddr and
33468 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
33469 'const void *' rather than 'const char *'.
33470 (Host Address Functions): Likewise for inet_ntop.
33471 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
33472 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
33473 ssize_t for return value.
33474 (Sending Data): Likewise for send, sendto, sendmsg.
33475 (Socket Option Functions): Add a missing const in setsockopt prototype.
33476 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
33477 use wchar_t for the argument.
33478 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
33479 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
33480 take no arguments.
33481 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
33482 double/float/long double for second argument.
33483 Fix return types of significand, significandf, significandl.
33484 * manual/filesys.texi (Setting Permissions): Use mode_t for second
33485 argument in fchmod prototype.
33486 (File Owner): Use uid_t and gid_t in fchown prototype.
33487 (File Times): Add const to utimes, futimes, and lutimes prototypes.
33488 (Making Special Files): Use mode_t and dev_t in mknod prototype.
33489 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
33490 use 'const struct dirent **' as argument types to CMP function pointer
33491 argument.
33492 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
33493 (File Times): Fix summary magic @comment for struct utimbuf and utime
33494 to refer to utime.h, not time.h.
33495 * manual/string.texi (Argz Functions): Add missing const in
33496 argz_extract and argz_next prototypes.
33497 (Finding Tokens in a String): Likewise for basename.
33498 (String/Array Comparison): Fix typo in wcscasecmp prototype.
33499 (Copying and Concatenation): Fix typo in wmemmove prototype.
33500 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
33501 (Signal Stack): Remove erroneous const in sigstack prototype.
33502 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
33503 prototype.
33504 (Simple Calendar Time): Likewise for stime.
33505 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
33506 prototype.
33507 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
33508 say sys/sysctl.h instead.
33509 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
33510 and vsyslog prototypes.
33511
fe77fe6d
TV
335122013-02-11 Tom de Vries <tom@codesourcery.com>
33513
33514 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
33515 Remove.
33516
3a09b620
RM
335172013-02-11 Roland McGrath <roland@hack.frob.com>
33518
33519 * misc/sys/mman.h: Fix typo in mremap comment.
33520
550a0b89
RM
335212013-02-08 Roland McGrath <roland@hack.frob.com>
33522
33523 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
33524 the '\0' terminator.
33525
a2da1673
JM
335262013-02-08 Joseph Myers <joseph@codesourcery.com>
33527
33528 [BZ #13550]
33529 * debug/segfault.c: Don't include <bp-checks.h>.
33530 * sysdeps/generic/bp-checks.h: Remove file.
33531 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
33532 (__GETDENTS): Don't use CHECK_N.
33533 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
33534 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
33535 (__getgroups): Don't use CHECK_N.
33536 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
33537 (setgroups): Don't use CHECK_N.
33538 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
33539 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
33540 (__libc_msgrcv): Don't use CHECK_N.
33541 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
33542 (__libc_msgsnd): Don't use CHECK_N.
33543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
33544 <bp-checks.h>.
33545 (__libc_pread): Don't use CHECK_N.
33546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
33547 include <bp-checks.h>.
33548 (__libc_pread64): Don't use CHECK_N.
33549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
33550 include <bp-checks.h>.
33551 (__libc_pwrite): Don't use CHECK_N.
33552 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
33553 include <bp-checks.h>.
33554 (__libc_pwrite64): Don't use CHECK_N.
33555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
33556 <bp-checks.h>.
33557 (__libc_pread): Don't use CHECK_N.
33558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
33559 include <bp-checks.h>.
33560 (__libc_pread64): Don't use CHECK_N.
33561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
33562 include <bp-checks.h>.
33563 (__libc_pwrite): Don't use CHECK_N.
33564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
33565 include <bp-checks.h>.
33566 (__libc_pwrite64): Don't use CHECK_N.
33567 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
33568 (do_pread): Don't use CHECK_N.
33569 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
33570 (do_pread64): Don't use CHECK_N.
33571 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
33572 (do_pwrite): Don't use CHECK_N.
33573 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
33574 (do_pwrite64): Don't use CHECK_N.
33575 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
33576 (__libc_readv): Don't use CHECK_N.
33577 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
33578 (semop): Don't use CHECK_N.
33579 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
33580 <bp-checks.h>.
33581 (semtimedop): Don't use CHECK_N.
33582 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
33583 (__libc_pread): Don't use CHECK_N.
33584 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
33585 <bp-checks.h>.
33586 (__libc_pread64): Don't use CHECK_N.
33587 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
33588 <bp-checks.h>.
33589 (__libc_pwrite): Don't use CHECK_N.
33590 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
33591 <bp-checks.h>.
33592 (__libc_pwrite64): Don't use CHECK_N.
33593 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
33594 <bp-checks.h>.
33595 (__libc_msgrcv): Don't use CHECK_N.
33596 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
33597 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
33598 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
33599 (__libc_writev): Don't use CHECK_N.
33600
b84660a8
RM
336012013-02-08 Roland McGrath <roland@hack.frob.com>
33602
7f3e75f8
RM
33603 * string/strcpy.c: Removed unused variable.
33604
b84660a8
RM
33605 * Makeconfig (+sysdep-includes): Define with := rather than =.
33606 Use an existing include/ subdir of each sysdeps dir before it.
33607
471514d3
CD
336082013-02-08 Carlos O'Donell <carlos@redhat.com>
33609
33610 * nscd/connection.c (register_traced_file): Comment function.
33611 [HAVE_INOTIFY] (union __inev): Define.
33612 [HAVE_INOTIFY] (inotify_check_files): New function.
33613 [HAVE_INOTIFY] (clear_db_cache): Likewise.
33614 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
33615 clear_db_cache.
33616 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
33617
b2d3c3be
CD
336182013-02-08 Carlos O'Donell <carlos@redhat.com>
33619
33620 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
33621 loaded if not already and that a failure is permanent.
33622
b39949d2
CD
336232013-02-08 Carlos O'Donell <carlos@redhat.com>
33624
ddacd1db 33625 [BZ #15006]
b39949d2
CD
33626 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
33627 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
33628
b2c9eff4
JM
336292013-02-08 Joseph Myers <joseph@codesourcery.com>
33630
f3aae3f3
JM
33631 [BZ #13550]
33632 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
33633 (CHECK_1_NULL_OK): Likewise.
33634 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
33635 (__fxstat): Do not use CHECK_1.
33636 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
33637 <bp-checks.h>.
33638 (___fxstat64): Do not use CHECK_1.
33639 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33640 <bp-checks.h>.
33641 (__fxstatat): Do not use CHECK_1.
33642 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33643 <bp-checks.h>.
33644 (__fxstatat64): Do not use CHECK_1.
33645 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
33646 <bp-checks.h>.
33647 (__fxstat): Do not use CHECK_1.
33648 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33649 <bp-checks.h>.
33650 (__fxstatat): Do not use CHECK_1.
33651 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
33652 <bp-checks.h>.
33653 (__getresgid): Do not use CHECK_1.
33654 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
33655 <bp-checks.h>.
33656 (__getresuid): Do not use CHECK_1.
33657 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
33658 <bp-checks.h>.
33659 (__lxstat): Do not use CHECK_1.
33660 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
33661 <bp-checks.h>.
33662 (__old_msgctl): Do not use CHECK_1.
33663 (__new_msgctl): Likewise.
33664 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
33665 <bp-checks.h>.
33666 (__new_setrlimit): Do not use CHECK_1.
33667 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
33668 <bp-checks.h>.
33669 (__old_shmctl): Do not use CHECK_1.
33670 (__new_shmctl): Likewise.
33671 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
33672 <bp-checks.h>.
33673 (__xstat): Do not use CHECK_1.
33674 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
33675 (__lxstat): Do not use CHECK_1.
33676 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
33677 <bp-checks.h>.
33678 (___lxstat64): Do not use CHECK_1.
33679 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
33680 (__old_msgctl): Do not use CHECK_1.
33681 (__new_msgctl): Likewise.
33682 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
33683 <bp-checks.h>.
33684 (__gettimeofday): Do not use CHECK_1.
33685 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
33686 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
33687 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
33688 <bp-checks.h>.
33689 (__gettimeofday): Do not use CHECK_1.
33690 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
33691 (__old_shmctl): Do not use CHECK_1_NULL_OK.
33692 (__new_shmctl): Do not use CHECK_1.
33693 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
33694 <bp-checks.h>.
33695 (do_sigtimedwait): Do not use CHECK_1.
33696 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
33697 <bp-checks.h>.
33698 (do_sigwaitinfo): Do not use CHECK_1.
33699 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
33700 <bp-checks.h>.
33701 (msgctl): Do not use CHECK_1.
33702 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
33703 <bp-checks.h>.
33704 (shmctl): Do not use CHECK_1.
33705 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
33706 (ustat): Do not use CHECK_1.
33707 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
33708 <bp-checks.h>.
33709 (__fxstat): Do not use CHECK_1.
33710 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33711 <bp-checks.h>.
33712 (__fxstatat): Do not use CHECK_1.
33713 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
33714 <bp-checks.h>.
33715 (__lxstat): Do not use CHECK_1.
33716 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
33717 <bp-checks.h>.
33718 (__xstat): Do not use CHECK_1.
33719 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
33720 (__xstat): Do not use CHECK_1.
33721 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
33722 (___xstat64): Do not use CHECK_1.
33723
b2c9eff4
JM
33724 [BZ #13550]
33725 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
33726 definitions.
33727 (CHECK_BOUNDS_HIGH): Likewise.
33728 * string/strcpy.c: Do not include <bp-checks.h>.
33729 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
33730
f1d70dad
RM
337312013-02-07 Roland McGrath <roland@hack.frob.com>
33732
33733 * nscd/nscd-client.h (__nscd_drop_map_ref):
33734 Add __attribute__ ((unused)).
33735 * nis/nss-nisplus.h (niserr2nss): Likewise.
33736
33737 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
33738 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
33739
33740 * csu/libc-tls.c (init_static_tls, init_slotinfo):
33741 Remove inline keyword.
33742 * include/rounding-mode.h (round_away): Likewise.
33743 * libio/wfileops.c (adjust_wide_data): Likewise.
33744 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
33745 (__m128i_strloadu_tolower): Likewise.
33746 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
33747 (__m128i_strloadu_tolower): Likewise.
33748 * time/mktime.c (ydhms_diff): Likewise.
33749 * locale/elem-hash.h (elem_hash): Likewise.
33750 * locale/setlocale.c (setdata): Likewise.
33751 * posix/regex_internal.h (re_string_char_size_at): Likewise.
33752 (re_string_wchar_at): Likewise.
33753 (bitset_not, bitset_merge, bitset_mask): Likewise.
33754 [!(__GNUC__ > 3)] (inline): Remove macro.
33755 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
33756 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
33757 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33758 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
33759 * string/memcmp.c (memcmp_bytes): Likewise.
33760 * locale/programs/locarchive.c (compute_hashval): Likewise.
33761 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
33762 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33763 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
33764 * nss/getent.c (print_rpc, print_protocols): Likewise.
33765 (print_passwd, print_group, print_aliases): Likewise.
33766 * nis/nss-nisplus.h (niserr2nss): Likewise.
33767 * nscd/connections.c (restart_p): Likewise.
33768 Change return type to bool.
33769
eab55bfb
RM
337702013-02-05 Roland McGrath <roland@hack.frob.com>
33771
7bd642f5
RM
33772 * Makeconfig (all-Depend-files): Add existing
33773 $(sorted-subdirs:=/Depend) files.
33774 (all-subdirs): Remove nss.
33775 * sysdeps/unix/inet/Subdirs: Add it here instead.
33776 * hesiod/Depend: New file.
33777
573c29b2
RM
33778 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
33779 instead of calling alloca.
33780
b2e25af0
RM
33781 * io/lseek.c (__lseek): Rename to __libc_lseek.
33782 Define __lseek as an alias.
33783
eab55bfb
RM
33784 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
33785
9a0d1941
CD
337862013-02-04 Carlos O'Donell <carlos@redhat.com>
33787
33788 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
33789 else clause and remove check for non-standard endianness.
33790
b83bbec4
DM
337912013-02-04 David S. Miller <davem@davemloft.net>
33792
33793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33794
6277fdab
JM
337952013-02-04 Joseph Myers <joseph@codesourcery.com>
33796
33797 [BZ #13550]
33798 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
33799 (__ubp_memchr): Remove prototype.
33800 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
33801 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33802 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
33803 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
33804 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
33805 Remove alias.
33806 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
33807 (__ubp_memchr): Likewise.
33808 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
33809 (__ubp_memchr): Likewise.
33810 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
33811 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
33812 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
33813 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
33814 CHECK_STRING.
33815 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
33816 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
33817 (__getcwd): Do not use CHECK_STRING.
33818 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
33819 <bp-checks.h>.
33820 (__real_chown): Do not use CHECK_STRING.
33821 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
33822 <bp-checks.h>.
33823 (fchownat): Do not use CHECK_STRING.
33824 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
33825 CHECK_STRING.
33826 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
33827 <bp-checks.h>.
33828 (__lchown): Do not use CHECK_STRING.
33829 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
33830 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
33831 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
33832 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
33833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
33834 include <bp-checks.h>.
33835 (truncate64): Do not use CHECK_STRING.
33836 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
33837 <bp-checks.h>.
33838 (__real_chown): Do not use CHECK_STRING.
33839 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
33840 <bp-checks.h>.
33841 (__lchown): Do not use CHECK_STRING.
33842 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
33843 <bp-checks.h>.
33844 (__chown): Do not use CHECK_STRING.
33845 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
33846 <bp-checks.h>.
33847 (truncate64): Do not use CHECK_STRING.
33848 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
33849 Likewise.
33850 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
33851 (__xmknod): Do not use CHECK_STRING.
33852 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33853 <bp-checks.h>.
33854 (__xmknodat): Do not use CHECK_STRING.
33855 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
33856 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
33857
903ae060
AS
338582013-02-04 Andreas Schwab <schwab@suse.de>
33859
33860 [BZ #14142]
33861 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
33862 * include/netdb.h: Likewise for h_errno.
33863 * elf/tst-stackguard1.c: Include <tls.h>.
33864
542f9466
JK
338652013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
33866
33867 * elf/link.h (struct link_map): Extend the l_addr comment.
33868 * include/link.h (struct link_map): Likewise.
33869
e782a927
JM
338702013-02-01 Joseph Myers <joseph@codesourcery.com>
33871
33872 [BZ #13550]
33873 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
33874 (BOUNDED_1): Remove macro.
33875 * debug/backtrace.c: Don't include <bp-checks.h>.
33876 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
33877 (__backtrace): Likewise.
33878 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
33879 <bp-checks.h>.
33880 (__backtrace): Don't use BOUNDED_1.
33881 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
33882 <bp-checks.h>.
33883 (__backtrace): Don't use BOUNDED_1.
33884 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
33885 (__backtrace): Don't use BOUNDED_1.
33886 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
33887 (shmat): Don't use BOUNDED_N.
33888
8cf28c5e
JM
338892013-01-31 Joseph Myers <joseph@codesourcery.com>
33890
3a7ac8a0
JM
33891 [BZ #13550]
33892 * sysdeps/generic/bp-start.h: Remove file.
33893 * csu/libc-start.c: Don't include <bp-start.h>.
33894 (LIBC_START_MAIN): Set up __environ directly instead of using
33895 INIT_ARGV_and_ENVIRON.
33896 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
33897 <bp-start.h>.
33898
f3499f95
JM
33899 [BZ #13550]
33900 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
33901 definitions.
33902 (CHECK_FCNTL): Likewise.
33903 (CHECK_N_PAGES): Likewise.
33904
32a45bea
JM
33905 [BZ #13550]
33906 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
33907 definitions.
33908 (CHECK_SIGSET_NULL_OK): Likewise.
33909 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
33910 <bp-checks.h>.
33911 (sigpending): Don't use CHECK_SIGSET.
33912 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
33913 <bp-checks.h>.
33914 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33915 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
33916 <bp-checks.h>.
33917 (do_sigsuspend): Don't use CHECK_SIGSET.
33918 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
33919 use CHECK_SIGSET.
33920 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
33921 (do_sigwait): Don't use CHECK_SIGSET.
33922 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
33923 use CHECK_SIGSET.
33924 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
33925 include <bp-checks.h>.
33926 (sigpending): Don't use CHECK_SIGSET.
33927 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
33928 include <bp-checks.h>.
33929 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33930 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
33931 <bp-checks.h>.
33932 (sigpending): Don't use CHECK_SIGSET.
33933 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
33934 <bp-checks.h>.
33935 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
33936
2e8a5c8c
JM
33937 [BZ #13550]
33938 * sysdeps/generic/bp-semctl.h: Remove file.
33939 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
33940 <bp-checks.h> and <bp-semctl.h>.
33941 (__old_semctl): Don't use CHECK_SEMCTL.
33942 (__new_semctl): Likewise.
33943 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
33944 and <bp-semctl.h>.
33945 (__old_semctl): Don't use CHECK_SEMCTL.
33946 (__new_semctl): Likewise.
33947 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
33948 <bp-checks.h> and <bp-semctl.h>.
33949 (__old_semctl): Don't use CHECK_SEMCTL.
33950 (__new_semctl): Likewise.
33951 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
33952 <bp-checks.h> and <bp-semctl.h>.
33953 (semctl): Don't use CHECK_SEMCTL.
33954
c2d54929
JM
33955 [BZ #13550]
33956 * Makerules (elide-bp-thunks): Remove variable.
33957 (elide-routines.oS): Don't use $(elide-bp-thunks).
33958 (elide-routines.os): Likewise.
33959 (elide-routines.o): Likewise.
33960 (elide-routines.op): Likewise.
33961 (elide-routines.og): Likewise.
33962 (objects): Don't use $(bp-thunks).
33963 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
33964 include.
33965 (common-generated): Do not add s-proto-bp.d.
33966 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
33967 (int): Likewise.
33968 (typ): Likewise.
33969 Do not generate makefile rules for bounded-pointer thunks.
33970 * sysdeps/generic/bp-thunks.h: Remove file.
33971 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
33972 * sysdeps/unix/s-proto-bp.S: Likewise.
33973
8cf28c5e
JM
33974 [BZ #15062]
33975 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
33976 parts of result separately when argument is not close to line from
33977 -i to i and one part of argument is small.
33978 * math/k_casinhf.c (__kernel_casinhf): Likewise.
33979 * math/k_casinhl.c (__kernel_casinhl): Likewise.
33980 * math/libm-test.inc (cacos_test): Add more tests.
33981 (casin_test): Likewise.
33982 (casinh_test): Likewise.
33983 * sysdeps/i386/fpu/libm-test-ulps: Update.
33984 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33985
c4e33b8d
DM
339862013-01-31 David S. Miller <davem@davemloft.net>
33987
33988 * po/de.po: Update from translation team.
33989
3b60b421
MK
339902013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
33991
33992 * time/tzfile.c: Include stdint.h for SIZE_MAX.
33993
bb931195
TS
339942013-01-25 Thomas Schwinge <thomas@codesourcery.com>
33995
b5a5da23
TS
33996 * configure.in (_AC_PROG_CC_C89): New definition.
33997 * configure: Regenerate.
33998
bb931195
TS
33999 * configure.in (AC_PROG_CPP): New definition.
34000 * configure: Regenerate.
34001
8c53a12c
JM
340022013-01-23 Joseph Myers <joseph@codesourcery.com>
34003
34004 * debug/tst-backtrace.h: New file.
34005 * debug/tst-backtrace2.c: Include tst-backtrace.h.
34006 (ret): Remove variable.
34007 (x): Likewise.
34008 (FAIL): Remove macro.
34009 (NO_INLINE): Likewise.
34010 (fn1): Use match function instead of strstr.
34011 * debug/tst-backtrace3.c: Include tst-backtrace.h.
34012 (ret): Remove variable.
34013 (x): Likewise.
34014 (FAIL): Remove macro.
34015 (NO_INLINE): Likewise.
34016 (fn): Use match function instead of strstr.
34017 * debug/tst-backtrace4.c: Include tst-backtrace.h.
34018 (ret): Remove variable.
34019 (x): Likewise.
34020 (FAIL): Remove macro.
34021 (NO_INLINE): Likewise.
34022 (handle_signal): Use match function instead of strstr.
34023 * debug/tst-backtrace5.c: Include tst-backtrace.h.
34024 (ret): Remove variable.
34025 (x): Likewise.
34026 (FAIL): Remove macro.
34027 (NO_INLINE): Likewise.
34028 (handle_signal): Use match function instead of strstr.
34029
4858fa2a
RM
340302013-01-23 Roland McGrath <roland@hack.frob.com>
34031
34032 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
34033
bae8e7f5
DM
340342013-01-23 David S. Miller <davem@davemloft.net>
34035
34036 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
34037 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
34038 argument of CAS if possible.
34039 * sysdeps/sparc/sparc64/bits/atomic.h
34040 (__arch_compare_and_exchange_val_32_acq): Likewise.
34041 (__arch_compare_and_exchange_val_64_acq): Likewise.
34042
9cbbc4ae
PT
340432013-01-23 Pino Toscano <toscano.pino@tiscali.it>
34044
34045 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
34046 * sysdeps/posix/ulimit.c: ... this.
92a601b8 34047 Include <limits.h>.
67b3f58c 34048 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 34049
5655a0b5
AC
340502013-01-23 Adam Conrad <adconrad@0c3.net>
34051
34052 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
34053 (LDFLAGS-tst-array5): Likewise.
34054
052aff95
JM
340552013-01-23 Joseph Myers <joseph@codesourcery.com>
34056
34057 [BZ #15036]
34058 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
34059 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
34060 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
34061 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
34062
7c1e01aa
DM
340632013-01-21 David S. Miller <davem@davemloft.net>
34064
34065 * sysdeps/sparc/backtrace.c: New file.
34066 * sysdeps/sparc/sparc32/backtrace.h: New file.
34067 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
34068 * sysdeps/sparc/sparc64/backtrace.h: New file.
34069 * sysdeps/sparc/sparc64/backtrace.c: Delete.
34070 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
34071 -funwind-tables.
34072
ab087e0a
AS
340732013-01-21 Andreas Schwab <schwab@suse.de>
34074
34075 [BZ #15020]
34076 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
34077 closed its stdout.
34078
ed689c2f
AS
340792013-01-20 Andreas Schwab <schwab@linux-m68k.org>
34080
34081 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
34082 "mpa2.h".
34083 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34084
31d470ac
JM
340852013-01-18 Joseph Myers <joseph@codesourcery.com>
34086 Mark Mitchell <mark@codesourcery.com>
34087 Tom de Vries <tom@codesourcery.com>
34088 Paul Pluzhnikov <ppluzhnikov@google.com>
34089
34090 * debug/tst-backtrace2.c: New file.
34091 * debug/tst-backtrace3.c: Likewise.
34092 * debug/tst-backtrace4.c: Likewise.
34093 * debug/tst-backtrace5.c: Likewise.
34094 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
34095 (CFLAGS-tst-backtrace3.c): Likewise.
34096 (CFLAGS-tst-backtrace4.c): Likewise.
34097 (CFLAGS-tst-backtrace5.c): Likewise.
34098 (LDFLAGS-tst-backtrace2): Likewise.
34099 (LDFLAGS-tst-backtrace3): Likewise.
34100 (LDFLAGS-tst-backtrace4): Likewise.
34101 (LDFLAGS-tst-backtrace5): Likewise.
34102 (tests): Add new tests tst-backtrace2, tst-backtrace3,
34103 tst-backtrace4 and tst-backtrace5.
34104
90567f30 341052013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
34106 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
34107
34108 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
34109 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
34110 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
34111 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
34112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34113 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
34114 "+r" and remove output regs list as redundant. Add explicit inline
34115 asm to specify register of return val to work around compiler codegen
34116 bug. Remove (int) cast on return value. Add return type parameter to
34117 use in macro so that this macro does not truncate return value for
34118 64-bit values.
34119 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
34120 pass to INTERNAL_VSYSCALL_NCS.
34121 (INLINE_VSYSCALL): Add 'long int' as return type to
34122 INTERNAL_VSYSCALL_NCS macro invocation.
34123 (INTERNAL_VSYSCALL): Add 'long int' as return type to
34124 INTERNAL_VSYSCALL_NCS macro invocation.
34125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
34126
d3b9ea61
SP
341272013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34128
0b57daeb
SP
34129 [BZ #14496]
34130 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
34131 Fix application of SIMD FP exception mask.
34132
caa99d06
SP
34133 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
34134 mp_no from a power of two.
34135 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
34136 __mpexp_twomm1. Use __pow_mp.
34137
d3b9ea61
SP
34138 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
34139 multiplication.
34140
1dbaee3c
DM
341412013-01-17 David S. Miller <davem@davemloft.net>
34142
34143 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34144
728d7b43
JM
341452013-01-17 Joseph Myers <joseph@codesourcery.com>
34146
34147 [BZ #15023]
34148 * include/complex.h: Condition contents on [!_COMPLEX_H].
34149 (__kernel_casinhf): New prototype.
34150 (__kernel_casinh): Likewise.
34151 (__kernel_casinhl): Likewise.
34152 * math/Makefile (libm_calls): Add k_casinh.
34153 * math/k_casinh.c: New file.
34154 * math/k_casinhf.c: Likewise.
34155 * math/k_casinhl.c: Likewise.
34156 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
34157 finite nonzero arguments.
34158 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
34159 finite nonzero arguments.
34160 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
34161 finite nonzero arguments.
34162 * math/s_casinh.c: Do not include <float.h>.
34163 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
34164 * math/s_casinhf.c: Do not include <float.h>.
34165 (__casinhf): Move code for finite nonzero arguments to
34166 k_casinhf.c.
34167 * math/s_casinhl.c: Do not include <float.h>.
34168 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
34169 redefine.
34170 (__casinhl): Move code for finite nonzero arguments to
34171 k_casinhl.c.
34172 * math/libm-test.inc (cacos_test): Add more tests.
34173 * sysdeps/i386/fpu/libm-test-ulps: Update.
34174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34175
2a26ef3a
PT
341762013-01-17 Pino Toscano <toscano.pino@tiscali.it>
34177
34178 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
34179 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
34180 [!HAVE_MREMAP]: Remove [defined linux] case.
34181 * malloc/arena.c: Do not include <malloc-sysdep.h>.
34182
a897655d
SP
341832013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
34184
34185 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
34186
881ebe89 341872013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
34188
34189 * elf/elf.h (R_386_SIZE32): New relocation.
34190 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
34191 R_386_SIZE32.
34192 (elf_machine_rela): Likewise.
34193 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
34194 R_X86_64_SIZE64 and R_X86_64_SIZE32.
34195
59981e9b
JM
341962013-01-17 Joseph Myers <joseph@codesourcery.com>
34197
34198 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
34199 (FP_FAST_FMA): Do not define.
34200 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
34201 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
34202 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
34203 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
34204 !_SOFT_FLOAT]: Likewise.
34205 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
34206 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
34207 value.
34208 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
34209 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
34210 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
34211 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
34212 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
34213 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
34214 file.
34215
cfa8054f
AS
342162013-01-16 Andreas Schwab <schwab@suse.de>
34217
34218 [BZ #14327]
34219 * include/stdlib.h (__mktemp): Add declaration.
34220 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
34221 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
34222
dd930cc5
SP
342232013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34224
881ebe89
SP
34225 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
34226 definitions.
34227 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
34228 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
34229 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
34230 definitions here.
34231 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
34232 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
34233 definitions.
34234 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
34235 and ONE.
34236 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
34237 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
34238 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
34239 definitions.
34240 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
34241 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
34242 definitions.
34243 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 34244
dd930cc5
SP
34245 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
34246
c19a9f89
DM
342472013-01-15 David S. Miller <davem@davemloft.net>
34248
1aa61767
DM
34249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34250 trunc{,f} to libm-sysdep_routes.
34251 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
34253 file.
34254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
34255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
34256 file.
34257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
34258 file.
34259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
34260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
34261 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
34262 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
34263 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
34264 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
34265 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
34266 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
34267
c42d5e98
DM
34268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34269 nearbyint{,f} to libm-sysdep_routes.
34270 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
34272 New file.
34273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
34274 file.
34275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
34276 New file.
34277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
34278 file.
34279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
34280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
34281 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
34282 file.
34283 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
34284 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
34285 file.
34286 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
34287 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
34288 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
34289
c19a9f89
DM
34290 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
34291 libc_feholdexcept and libc_fesetenv.
34292
357679d2
MF
342932013-01-15 Mike Frysinger <vapier@gentoo.org>
34294
34295 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
34296
65a82e3d
DM
342972013-01-14 David S. Miller <davem@davemloft.net>
34298
8b954ab9
DM
34299 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
34300 (SPARC_ASM_VIS2_IFUNC): Likewise.
34301 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
34302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
34303 use of 'siam' instruction.
34304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
34305 Likewise.
34306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
34307 Likewise.
34308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
34309 Likewise.
34310 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
34311 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
34312 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
34313 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
34314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
34315 file.
34316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
34317 file.
34318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
34319 file.
34320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
34321 file.
34322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
34323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
34324 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
34325 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
34326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
34327 new VIS2 routines.
34328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34331 Likewise.
34332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34333 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34334 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34335 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
34337 routines to libm-sysdep_routines.
34338 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
34339
65a82e3d
DM
34340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
34341 fdim/fdimf to libm-sysdep_routines.
34342 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
34343 file.
34344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
34345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
34346 file.
34347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
34348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
34349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
34350 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
34351 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
34352 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
34353 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
34354
e34ab705
SP
343552013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
34356
2a91b573
SP
34357 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
34358 to optimize copies.
34359
1066a534
SP
34360 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
34361 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34363
e34ab705
SP
34364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
34365 local variable MPTWO.
34366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
34367 Likewise.
34368
aba5e596
MF
343692013-01-13 Mike Frysinger <vapier@gentoo.org>
34370
34371 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
34372 GLOB_NOESCAPE.
34373
e557e9e5
MF
343742013-01-13 Mike Frysinger <vapier@gentoo.org>
34375
34376 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
34377
0428cec9
MF
343782013-01-13 Mike Frysinger <vapier@gentoo.org>
34379
34380 * manual/pattern.texi (glob_t): Document gl_flags.
34381 (glob64_t): Likewise.
34382
8794a964
DM
343832013-01-11 David S. Miller <davem@davemloft.net>
34384
66438c3f
RM
34385 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
34386 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
34387 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
34388 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
34389 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
34390 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
34391 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
34392 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
34393 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
34394 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
34395 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
34396 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
34397 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
34398
4ae4244d
DM
34399 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34400 sparc V9 rather than using V8 code.
34401 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34402 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34403
8794a964
DM
34404 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34405 Move to...
34406 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
34407 Here.
34408
6270516e
RM
344092013-01-11 Roland McGrath <roland@hack.frob.com>
34410
34411 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
34412 not in the main loop.
34413 * configure: Regenerated.
34414
6a57d931
JM
344152013-01-11 Joseph Myers <joseph@codesourcery.com>
34416
34417 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
34418 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
34419 to just #else.
34420 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
34421 [!__GLIBC_HAVE_LONG_LONG] case.
34422 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
34423 condition to just #else.
34424 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
34425 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
34426 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
34427 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
34428 unconditional.
34429 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
34430 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34431 #elif condition to just #else.
34432 * sysdeps/unix/sysv/linux/sys/sysmacros.h
34433 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
34434 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
34435 #elif condition to just #else.
34436
0e8529e9
SE
344372013-01-11 Steve Ellcey <sellcey@mips.com>
34438
34439 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
34440 (EF_MIPS_ARCH_64): Fix value.
34441 (EF_MIPS_ARCH_32R2): New.
34442 (EF_MIPS_ARCH_64R2): New.
34443
740b3dbe
L
344442013-01-11 H.J. Lu <hongjiu.lu@intel.com>
34445
34446 * Makeconfig (+link-pie-before-libc): New.
34447 (+link-pie-after-libc): Likewise.
34448 (+link-pie-tests): Likewise.
34449 (+link-pie): Rewritten.
34450 (link-before-libc): Remove $(config-LDFLAGS).
34451 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
34452 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
34453 (config-LDFLAGS): Renamed to ...
34454 (rtld-LDFLAGS): This.
34455 (rtld-tests-LDFLAGS): New macro.
34456 (link-libc-rpath-link): Likewise.
34457 (link-libc-tests-rpath-link): Likewise.
34458 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
34459 (link-libc): Prepand $(link-libc-rpath-link).
34460 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
34461 (test-program-prefix): New macro.
34462 (test-via-rtld-prefix): Likewise.
34463 (test-program-cmd): Likewise.
34464 (host-test-program-cmd): Likewise.
34465 * Makefile ($(common-objpfx)testrun.sh): Replace
34466 $(run-program-prefix) with $(test-program-prefix).
34467 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
34468 $(rtld-LDFLAGS).
34469 ($(common-objpfx)shlib.lds): Likewise.
34470 (build-module-helper): Likewise.
34471 ($(common-objpfx)format.lds): Likewise.
34472 * Rules (binaries-pie-tests): New.
34473 (binaries-pie-notests): Likewise.
34474 (binaries-pie): Rewritten.
34475 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
34476 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
34477 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
34478 (make-test-out): Replace $(host-built-program-cmd) with
34479 $(host-test-program-cmd).
34480 * config.make.in (build-hardcoded-path-in-tests): New variable.
34481 * configure.in (--enable-hardcoded-path-in-tests): New configure
34482 option.
34483 (hardcoded_path_in_tests): New AC_SUBST.
34484 * configure: Regenerated.
34485 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
34486 $(built-program-cmd) with $(test-program-cmd).
34487 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
34488 (test_program_cmd): This.
34489 * elf/Makefile ($(objpfx)order.out): Run test with
34490 $(test-program-prefix).
34491 ($(objpfx)order2.out): Likewise.
34492 ($(objpfx)tst-initorder.out): Likewise.
34493 ($(objpfx)tst-initorder2.out): Likewise.
34494 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
34495 $(test-program-cmd).
34496 ($(objpfx)tst-array1-static.out): Likewise.
34497 ($(objpfx)tst-array2.out): Likewise.
34498 ($(objpfx)tst-array3.out): Likewise.
34499 ($(objpfx)tst-array4.out): Likewise.
34500 ($(objpfx)tst-array5.out): Likewise.
34501 ($(objpfx)tst-array5-static.out): Likewise.
34502 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
34503 $(test-program-cmd).
34504 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
34505 $(run-program-prefix) with $(test-program-prefix).
34506 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
34507 (test_program_prefix): This.
34508 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
34509 $(run-program-prefix) with $(test-program-prefix).
34510 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
34511 (test_program_prefix): This.
34512 * iconvdata/tst-tables.sh: Likewise.
34513 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
34514 $(run-program-prefix) with $(test-program-prefix).
34515 ($(objpfx)tst-translit.out): Likewise.
34516 ($(objpfx)tst-gettext2.out): Likewise.
34517 ($(objpfx)tst-gettext4.out): Likewise.
34518 ($(objpfx)tst-gettext6.out): Likewise.
34519 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
34520 (test_program_prefix): This.
34521 * intl/tst-gettext2.sh: Likewise.
34522 * intl/tst-gettext4.sh Likewise.
34523 * intl/tst-gettext6.sh: Likewise.
34524 * intl/tst-translit.sh: Likewise.
34525 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
34526 with $(test-program-cmd).
34527 * libio/Makefile ($(objpfx)test-freopen.out): Replace
34528 $(run-program-prefix) with $(test-program-prefix).
34529 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
34530 (test_program_prefix): This.
34531 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
34532 $(run-program-prefix) with $(test-program-prefix).
34533 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
34534 (test_program_prefix): This.
34535 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
34536 * posix/Makefile ($(objpfx)globtest.out): Replace
34537 $(run-via-rtld-prefix) and $(test-wrapper) with
34538 $(test-program-prefix) and $(test-via-rtld-prefix).
34539 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
34540 $(test-program-prefix).
34541 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
34542 $(host-test-program-cmd).
34543 (tst-spawn-ARGS): Likewise.
34544 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
34545 $(test-program-prefix).
34546 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
34547 (test_via_rtld_prefix): This.
34548 (test_wrapper): Renamed to ...
34549 (test_program_prefix): This.
34550 (run_program_prefix): Replaced by test_program_prefix.
34551 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
34552 (test_program_prefix): This.
34553 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
34554 with $(host-test-program-cmd).
34555 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
34556 $(run-program-prefix) with $(test-program-prefix).
34557 ($(objpfx)tst-printf.out): Likewise.
34558 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
34559 $(test-program-cmd).
34560 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
34561 (test_program_prefix): This.
34562 * stdio-common/tst-unbputc.sh: Likewise.
34563 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
34564 $(run-program-prefix) with $(test-program-prefix).
34565 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
34566 (test_program_prefix): This.
34567 * string/Makefile ($(objpfx)tst-svc.out): Replace
34568 $(built-program-cmd) with $(test-program-cmd).
34569
c6fe55cf
AJ
345702013-01-11 Andreas Jaeger <aj@suse.de>
34571
34572 [BZ #15003]
34573 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
34574 value. Sync with Linux 3.7.
34575
9e6919c8
DM
345762013-01-10 David S. Miller <davem@davemloft.net>
34577
34578 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
34579 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34580 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34581
1c9f1a02
RM
345822013-01-10 Roland McGrath <roland@hack.frob.com>
34583
34584 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
34585 never set.
34586 * configure: Regenerated.
34587
b9de2dde
DM
345882013-01-10 David S. Miller <davem@davemloft.net>
34589
34590 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
34591 sparc V9 rather than using V8 code.
34592 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
34593 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
34594
e7f68ef4
RM
345952013-01-10 Roland McGrath <roland@hack.frob.com>
34596
34597 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
34598 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
34599 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
34600 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
34601 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
34602 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
34603 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
34604 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
34605 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
34606 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
34607 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
34608 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
34609 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
34610 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
34611 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
34612 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
34613 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
34614 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
34615 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
34616 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
34617 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
34618 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
34619 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
34620 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
34621 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
34622 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
34623 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
34624
5a47cc9c
DM
346252013-01-10 David S. Miller <davem@davemloft.net>
34626
34627 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34628
4cf8f209
L
346292013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34630
34631 * posix/Makefile (tests-static): New variable.
34632 (tests): Add $(tests-static).
34633 (tst-exec-static-ARGS): New variable.
34634 (tst-spawn-static-ARGS): Likewise.
34635 * posix/tst-exec-static.c: New file.
34636 * posix/tst-spawn-static.c: Likewise.
34637 * posix/tst-exec.c: Support run directly.
34638 * posix/tst-spawn.c: Likewise.
34639
fed0faa1
JM
346402013-01-10 Joseph Myers <joseph@codesourcery.com>
34641
828beb13
JM
34642 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
34643 long.
34644 * math/bits/mathcalls.h (llrint): Likewise.
34645 (llround): Likewise.
34646 * stdlib/stdlib.h (struct drand48_data): Likewise.
34647 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
34648 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
34649 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
34650 Likewise.
34651 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
34652 Likewise.
34653 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
34654 (elf_greg_t): Likewise.
34655 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
34656 (__jmp_buf): Likewise.
34657 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
34658 definitions.
34659 (llrint): Likewise, for all definitions.
34660 (llrintl): Likewise.
34661
fed0faa1
JM
34662 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
34663 Remove [__GNUC__] condition.
34664 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
34665 condition to just [__USE_ISOC99].
34666 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
34667
1a20cb20
L
346682013-01-10 H.J. Lu <hongjiu.lu@intel.com>
34669
34670 [BZ #14200]
34671 * sysdeps/unix/sysv/linux/x86/bits/environments.h
34672 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
34673 defined.
34674 (_POSIX_V6_ILP32_OFF32): Likewise.
34675 (_XBS5_ILP32_OFF32): Likewise.
34676 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
34677 (__ILP32_OFFBIG_LDFLAGS): Likewise.
34678
751b85f7
SP
346792013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
34680
7490eb81
SP
34681 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
34682
751b85f7
SP
34683 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
34684 doubles __mpexp_twomm1. Adjust usage.
34685 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
34686 Remove.
34687
988197f0
AS
346882013-01-10 Andreas Schwab <schwab@suse.de>
34689
34690 [BZ #14964]
34691 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
34692 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
34693
e83d7298
DM
346942013-01-09 David S. Miller <davem@davemloft.net>
34695
034ed64b 34696 [BZ #15003]
57f41c40
AS
34697 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
34698 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
34699 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
34700 (TCP_FASTOPEN): Define.
e83d7298
DM
34701 (tcp_repair_opt): New structure.
34702 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
34703 enum values.
57f41c40
AS
34704 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
34705 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
34706 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
34707 (tcp_cookie_transactions): New structure.
34708
d5e0b9bd
AB
347092013-01-09 Anton Blanchard <anton@samba.org>
34710
34711 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
34712 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
34713 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
34714 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
34715
0c07e3ea
JM
347162013-01-09 Joseph Myers <joseph@codesourcery.com>
34717
34718 * include/features.h (__USE_ANSI): Remove.
34719
232f7002
RM
347202013-01-09 Roland McGrath <roland@hack.frob.com>
34721
ad98e30c
RM
34722 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
34723
232f7002
RM
34724 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
34725
950c99ca
SP
347262013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
34727
b5792741
SP
34728 * sysdeps/s390/fpu/libm-test-ulps: Update.
34729
47cf2278
SP
34730 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34731
950c99ca
SP
34732 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
34733 (__acr): Likewise.
34734 (__cpy): Likewise.
34735 (norm): Likewise.
34736 (denorm): Likewise.
34737 (__mp_dbl): Likewise.
34738 (__dbl_mp): Likewise.
34739 (add_magnitudes): Likewise.
34740 (sub_magnitudes): Likewise.
34741 (__add): Likewise.
34742 (__sub): Likewise.
34743 (__mul): Likewise.
34744 (__inv): Likewise.
34745 (__dvd): Likewise.
34746 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
34747 (__acr): Likewise.
34748 (__cpy): Likewise.
34749 (norm): Likewise.
34750 (denorm): Likewise.
34751 (__mp_dbl): Likewise.
34752 (__dbl_mp): Likewise.
34753 (add_magnitudes): Likewise.
34754 (sub_magnitudes): Likewise.
34755 (__add): Likewise.
34756 (__sub): Likewise.
34757 (__mul): Likewise.
34758 (__inv): Likewise.
34759 (__dvd): Likewise.
34760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
34761 (__acr): Likewise.
34762 (__cpy): Likewise.
34763 (norm): Likewise.
34764 (denorm): Likewise.
34765 (__mp_dbl): Likewise.
34766 (__dbl_mp): Likewise.
34767 (add_magnitudes): Likewise.
34768 (sub_magnitudes): Likewise.
34769 (__add): Likewise.
34770 (__sub): Likewise.
34771 (__mul): Likewise.
34772 (__inv): Likewise.
34773 (__dvd): Likewise.
34774
eede9df9
JM
347752013-01-08 Joseph Myers <joseph@codesourcery.com>
34776
34777 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
34778 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
34779 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
34780 2 && __USE_EXTERN_INLINES]: Likewise.
34781
c40ea3d9
AJ
347822013-01-08 Andreas Jaeger <aj@suse.de>
34783
34784 [BZ# 14985]
34785 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
34786 Remove.
34787 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34788 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
34789
2ccdea26
AB
347902013-01-07 Anton Blanchard <anton@samba.org>
34791
34792 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
34793 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
34794 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
34795 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
34796 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
34797 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34798 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
34799 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
34800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
34801 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
34802 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
34803 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
34804 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34805 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
34806 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
34807 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
34808 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
34809 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
34810 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
34811 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
34812 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
34813 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
34814 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34815 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
34816 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
34817 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
34818 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
34819 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
34820 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
34821 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34822 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
34823 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
34824 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
34825 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
34826 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
34827 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34828 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
34829 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
34830 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
34831 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
34832 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
34833 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34834 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
34835
a9708fed
JM
348362013-01-07 Joseph Myers <joseph@codesourcery.com>
34837
375607b9
JM
34838 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
34839 (__MALLOC_PMT): Likewise.
34840 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
34841 [__GNUC__], only on [_LIBC].
34842 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34843 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
34844 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
34845 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
34846 forward declaration.
34847 (realloc_hook_ini): Likewise.
34848 (memalign_hook_ini): Likewise.
34849 (__libc_memalign): Do not use __MALLOC_PMT in variable
34850 declaration.
34851 (__libc_valloc): Likewise.
34852 (__libc_pvalloc): Likewise.
34853 (__libc_calloc): Likewise.
34854 (__posix_memalign): Likewise.
34855
a9708fed
JM
34856 [BZ #14996]
34857 * math/s_casinh.c: Include <float.h>.
34858 (__casinh): Do not do computation with squaring and square root
34859 for large arguments.
34860 * math/s_casinhf.c: Include <float.h>.
34861 (__casinhf): Do not do computation with squaring and square root
34862 for large arguments.
34863 * math/s_casinhl.c: Include <float.h>.
34864 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
34865 (__casinhl): Do not do computation with squaring and square root
34866 for large arguments.
34867 * math/libm-test.inc (casin_test): Add more tests.
34868 (casinh_test): Likewise.
34869 * sysdeps/i386/fpu/libm-test-ulps: Update.
34870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34871
afec409a
L
348722013-01-04 H.J. Lu <hongjiu.lu@intel.com>
34873
34874 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
34875 (__x86_64_raw_data_cache_size): Likewise.
34876 (__x86_64_data_cache_size_half): Likewise.
34877 (__x86_64_raw_data_cache_size_half): Likewise.
34878 (__x86_64_shared_cache_size): Likewise.
34879 (__x86_64_raw_shared_cache_size): Likewise.
34880 (__x86_64_shared_cache_size_half): Likewise.
34881 (__x86_64_raw_shared_cache_size_half): Likewise.
34882 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
34883 to ...
34884 (__x86_data_cache_size): This.
34885 (__x86_64_raw_data_cache_size): Renamed to ...
34886 (__x86_raw_data_cache_size): This.
34887 (__x86_64_data_cache_size_half): Renamed to ...
34888 (__x86_data_cache_size_half): This.
34889 (__x86_64_raw_data_cache_size_half): Renamed to ...
34890 (__x86_raw_data_cache_size_half): This.
34891 (__x86_64_shared_cache_size): Renamed to ...
34892 (__x86_shared_cache_size): This.
34893 (__x86_64_raw_shared_cache_size): Renamed to ...
34894 (__x86_raw_shared_cache_size): This.
34895 (__x86_64_shared_cache_size_half): Renamed to ...
34896 (__x86_shared_cache_size_half): This.
34897 (__x86_64_raw_shared_cache_size_half): Renamed to ...
34898 (__x86_raw_shared_cache_size_half): This.
34899 * sysdeps/x86_64/memcpy.S: Updated.
34900 * sysdeps/x86_64/memset.S: Likewise.
34901 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
34902 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34903 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34904
0b3986d0
DM
349052013-01-04 David S. Miller <davem@davemloft.net>
34906
34907 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34908
e47686e9
AS
349092013-01-04 Andreas Schwab <schwab@linux-m68k.org>
34910
d643bac1
AS
34911 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
34912 1 to avoid redefinition warning.
34913 (__USE_GNU): Don't define.
34914 (init_signaling_nan): Protoize.
34915
e47686e9
AS
34916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34917
b18decba
SP
349182013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34919
fffb407f
SP
34920 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
34921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
34922 (__cpymn): Likewise.
34923 (norm): Remove commented code.
34924 (denorm): Likewise.
34925 (__mp_dbl): Likewise.
34926 (__inv): Likewise.
34927 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
34928 (__cpymn): Likewise.
34929 (norm): Remove commented code.
34930 (denorm): Likewise.
34931 (__mp_dbl): Likewise.
34932 (__inv): Likewise.
34933
b18decba
SP
34934 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
34935 mp_no value for 1.0 and 2.0.
34936 (norm): Use RADIXI instead of radixi.d.
34937 (denorm): Likewise.
34938 (__mul): Use 0.0 instead of zero.d.
34939 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
34940 mp_no value for 1.0 and 2.0.
34941 (norm): Use RADIXI instead of radixi.d.
34942 (denorm): Likewise.
34943 (__mul): Use 0.0 instead of zero.d.
34944
cdc1c96f
JM
349452013-01-04 Joseph Myers <joseph@codesourcery.com>
34946
34947 [BZ #14994]
34948 * math/s_casinh.c (__casinh): Reduce finite argument to first
34949 quadrant then set signs of results at the end.
34950 * math/s_casinhf.c (__casinhf): Likewise.
34951 * math/s_casinhl.c (__casinhl): Likewise.
34952 * math/libm-test.inc (casin_test): Add more tests.
34953 (casinh_test): Likewise.
34954 * sysdeps/i386/fpu/libm-test-ulps: Update.
34955 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34956
302913e1
SP
349572013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
34958
6420d207
SP
34959 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
34960
a9e48ab4
SP
34961 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
34962
b7837264
SP
34963 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
34964 declarations.
34965 (denorm): Likewise.
34966 (__mp_dbl): Likewise.
34967 (__inv): Likewise.
34968
f8af25d2
SP
34969 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
34970 and adjust the header comment.
34971
302913e1
SP
34972 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
34973 variable name from declaration.
34974
5d7dd1ca
L
349752013-01-03 H.J. Lu <hongjiu.lu@intel.com>
34976
34977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34978 Initialize COMMON_CPUID_INDEX_7 element.
34979 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
34980 (CPUID_RTM): Likewise.
34981 (HAS_RTM): Likewise.
34982 (COMMON_CPUID_INDEX_7): New enum.
34983
2f5f40f4
AS
349842013-01-03 Andreas Schwab <schwab@linux-m68k.org>
34985
34986 [BZ #14981]
34987 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
34988 size is zero, record memory as freed.
34989
4056f4a0
AJ
349902013-01-03 Andreas Jaeger <aj@suse.de>
34991
34992 * po/ia.po: Add new Interlingua translation.
34993
ab15736f 349942012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
34995
34996 * locale/programs/localedef.c: Fix description of '--posix' flag.
34997
568035b7
JM
349982013-01-02 Joseph Myers <joseph@codesourcery.com>
34999
e6898b8d
JM
35000 * NEWS: Update dates in second copyright notice.
35001 * README: Update copyright dates in example.
35002 * manual/libc.texinfo: Update copyright dates.
35003 * scripts/test-installation.pl: Update copyright date in --version
35004 output.
35005
0e2f9562
JM
35006 * hurd/ctty-input.c: Fix copyright notice formatting.
35007 * hurd/ctty-output.c: Likewise.
35008 * hurd/dtable.c: Likewise.
35009 * hurd/hurd-raise.c: Likewise.
35010 * hurd/hurdprio.c: Likewise.
35011 * hurd/msgportdemux.c: Likewise.
35012 * misc/sys/file.h: Likewise.
35013 * misc/sys/ioctl.h: Likewise.
35014 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
35015 * sysdeps/mach/hurd/chdir.c: Likewise.
35016 * sysdeps/mach/hurd/fchdir.c: Likewise.
35017 * sysdeps/mach/hurd/rename.c: Likewise.
35018 * sysdeps/mach/hurd/rmdir.c: Likewise.
35019 * sysdeps/mach/hurd/seekdir.c: Likewise.
35020 * sysdeps/mach/hurd/setsid.c: Likewise.
35021 * sysdeps/posix/wait3.c: Likewise.
35022
568035b7
JM
35023 * All files with FSF copyright notices: Update copyright dates
35024 using scripts/update-copyrights.
35025 * intl/plural.c: Regenerated.
35026 * locale/programs/charmap-kw.h: Likewise.
35027 * locale/programs/locfile-kw.h: Likewise.
35028
da08f647
SP
350292013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
35030
0f5477af
SP
35031 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
35032 four values.
35033
44e0d4c2
SP
35034 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
35035 calculation loop and add branch prediction.
35036
4d55b4e5
SP
35037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
35038 check access beyond bounds of m1np.
35039
da08f647
SP
35040 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35041 MPTWO.
35042 (__inv): Remove local variable MPTWO to use the global
35043 constant.
35044 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
35045 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35046 variable MPTWO.
35047 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
35048 MP3HALFS static const.
35049
8e051029
DM
350502013-01-01 David S. Miller <davem@davemloft.net>
35051
35052 * po/ca.po: Update from translation team.
35053
f4cf5f2d
JM
350542013-01-01 Joseph Myers <joseph@codesourcery.com>
35055
35056 * scripts/update-copyrights: New file.
35057 * Makeconfig: Reformat copyright notice.
35058 * ctype/ctype.h: Likewise.
35059 * debug/swprintf_chk.c: Likewise.
35060 * elf/dl-cache.c: Likewise.
35061 * elf/dl-debug.c: Likewise.
35062 * elf/dl-object.c: Likewise.
35063 * grp/initgroups.c: Likewise.
35064 * hurd/Makefile: Likewise.
35065 * hurd/hurd/signal.h: Likewise.
35066 * hurd/hurdfault.c: Likewise.
35067 * hurd/hurdioctl.c: Likewise.
35068 * hurd/hurdlookup.c: Likewise.
35069 * hurd/intr-msg.c: Likewise.
35070 * iconv/gconv_open.c: Likewise.
35071 * libio/swprintf.c: Likewise.
35072 * locale/lc-ctype.c: Likewise.
35073 * locale/nl_langinfo.c: Likewise.
35074 * mach/Machrules: Likewise.
35075 * mach/Makefile: Likewise.
35076 * malloc/obstack.h: Likewise.
35077 * manual/Makefile: Likewise.
35078 * manual/tsort.awk: Likewise.
35079 * misc/bits/stab.def: Likewise.
35080 * nis/nis_print_group_entry.c: Likewise.
35081 * nis/nis_table.c: Likewise.
35082 * nis/nss_compat/compat-pwd.c: Likewise.
35083 * nis/nss_compat/compat-spwd.c: Likewise.
35084 * po/Makefile: Likewise.
35085 * posix/fnmatch.c: Likewise.
35086 * posix/regex.h: Likewise.
35087 * resolv/Makefile: Likewise.
35088 * resolv/nss_dns/dns-network.c: Likewise.
35089 * resolv/res_hconf.c: Likewise.
35090 * scripts/gen-sorted.awk: Likewise.
35091 * soft-fp/soft-fp.h: Likewise.
35092 * stdio-common/printf.h: Likewise.
35093 * stdlib/monetary.h: Likewise.
35094 * stdlib/random.c: Likewise.
35095 * stdlib/random_r.c: Likewise.
35096 * sysdeps/generic/Makefile: Likewise.
35097 * sysdeps/gnu/Makefile: Likewise.
35098 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35099 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35100 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35101 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35102 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35103 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35104 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35105 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35106 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35108 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
35109 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
35110 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
35111 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
35112 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
35113 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
35114 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
35115 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35116 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35117 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35118 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35119 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35120 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35121 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
35122 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
35123 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
35124 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
35125 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
35126 * sysdeps/mach/hurd/errnos.awk: Likewise.
35127 * sysdeps/mach/hurd/fork.c: Likewise.
35128 * sysdeps/mach/hurd/getcwd.c: Likewise.
35129 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
35130 * sysdeps/mach/hurd/mmap.c: Likewise.
35131 * sysdeps/mach/hurd/utimes.c: Likewise.
35132 * sysdeps/mach/hurd/xmknod.c: Likewise.
35133 * sysdeps/posix/profil.c: Likewise.
35134 * sysdeps/posix/readdir_r.c: Likewise.
35135 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35136 * sysdeps/powerpc/bits/setjmp.h: Likewise.
35137 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
35138 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
35139 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
35140 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35141 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35142 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35143 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
35144 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35145 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35146 * sysdeps/pthread/lio_listio.c: Likewise.
35147 * sysdeps/sparc/dl-procinfo.h: Likewise.
35148 * sysdeps/unix/i386/sysdep.S: Likewise.
35149 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
35150 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
35151 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
35152 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
35153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35154 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
35155 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
35156 * sysdeps/unix/sysv/linux/speed.c: Likewise.
35157 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
35158 * sysdeps/wordsize-32/divdi3.c: Likewise.
35159 * time/sys/time.h: Likewise.
35160 * wcsmbs/Makefile: Likewise.
35161
0549fbba
DM
351622013-01-01 David S. Miller <davem@davemloft.net>
35163
a141f1a7
DM
35164 * po/fr.po: Update from translation team.
35165
0549fbba
DM
35166 * catgets/gencat.c: Update copyright year.
35167 * csu/version.c: Likewise.
35168 * debug/catchsegv.sh: Likewise.
35169 * debug/pcprofiledump.c: Likewise.
35170 * debug/xtrace.sh: Likewise.
35171 * elf/ldconfig.c: Likewise.
35172 * elf/ldd.bash.in: Likewise.
35173 * elf/pldd.c: Likewise.
35174 * elf/sotruss.ksh: Likewise.
35175 * elf/sprof.c: Likewise.
35176 * iconv/iconv_prog.c: Likewise.
35177 * iconv/iconvconfig.c: Likewise.
35178 * locale/programs/locale.c: Likewise.
35179 * locale/programs/localedef.c: Likewise.
35180 * login/programs/pt_chown.c: Likewise.
35181 * malloc/memusage.sh: Likewise.
35182 * malloc/memusagestat.c: Likewise.
35183 * malloc/mtrace.pl: Likewise.
35184 * nscd/nscd.c: Likewise.
35185 * nss/getent.c: Likewise.
35186 * nss/makedb.c: Likewise.
35187 * posix/getconf.c: Likewise.
35188
18ea052c
SP
351892012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
35190
35191 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
35192 numbers.
35193
9c89fca6
MF
351942012-12-30 Mike Frysinger <vapier@gentoo.org>
35195
35196 * math/bits/mathcalls.h (modf): Use __nonnull.
35197
085ec079
SP
351982012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35199
35200 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
35201 (split): Use macro CN instead of the bare value.
35202 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
35203 could be used.
35204 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
35205 instead of the bare value.
35206 (power1): Likewise.
35207
6d9f97e1
SP
352082012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35209
d63f73be
SP
35210 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
35211 __ATAN_TWOM.
35212 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35213
6d9f97e1
SP
35214 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
35215 their values.
35216 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
35217 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
35218 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
35219 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
35220
4c4febf5
AJ
352212012-12-28 Andreas Jaeger <aj@suse.de>
35222
af5843ef
AJ
35223 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
35224 values are from Linux 3.7.
35225
4c4febf5
AJ
35226 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
35227 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
35228
99136f82
SP
352292012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35230
2f216c3c 35231 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
35232 TRUE case.
35233
99136f82
SP
35234 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
35235 (norm): Likewise.
35236 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
35237 variables with preprocessor constants.
35238 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
35239 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
35240 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
35241
7fffbdff
BH
352422012-12-27 Bruno Haible <bruno@clisp.org>
35243
35244 [BZ #14317]
35245 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
35246 only if needed.
35247
b76eb5f0
SP
352482012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35249
31a7fe5c
SP
35250 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
35251 and use variable directly.
35252 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
35253
b76eb5f0
SP
35254 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
35255 MPONE.
35256 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
35257 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
35258 variable MPONE.
35259 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
35260 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
35261 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
35262 include directive. Remove local variable MPONE.
35263 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
35264 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
35265 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
35266
2c8bfe7d
DM
352672012-12-25 David S. Miller <davem@davemloft.net>
35268
35269 * version.h (RELEASE): Set to "development".
35270 (VERSION): Set to "2.17.90".
35271 * NEWS: Add 2.18 section.
35272
147d03b0
DM
352732012-12-21 David S. Miller <davem@davemloft.net>
35274
35275 * po/hr.po: Update from translation team.
35276
a8ebb2b9
AK
352772012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35278
35279 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
35280
95b4f1b6
SE
352812012-12-19 Steve Ellcey <sellcey@mips.com>
35282
b2d94007 35283 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 35284
cedb2a90
MS
352852012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
35286
35287 * manual/contrib.texi (Contributors): Spelling correction.
35288
bbf527d6
DM
352892012-12-15 David S. Miller <davem@davemloft.net>
35290
35291 * po/ru.po: Update from translation team.
35292
bc38c906
DM
352932012-12-13 David S. Miller <davem@davemloft.net>
35294
85429b1a
DM
35295 * NEWS: Mention IFUNC testsuite enhancements.
35296
d283e353
DM
35297 * po/pl.po: Update from translation team.
35298 * po/bg.po: Likewise.
35299
bc38c906
DM
35300 * manual/contrib.texi (Contributors): Update entries for Hongjiu
35301 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
35302
a181b0d7
DM
353032012-12-11 David S. Miller <davem@davemloft.net>
35304
4641d57e
DM
35305 * po/sv.po: Update from translation team.
35306
f7bc6495
DM
35307 * po/vi.po: Update from translation team.
35308
6fc9048f
DM
35309 * po/cs.po: Update from translation team.
35310
a181b0d7
DM
35311 * po/de.po: Update from translation team.
35312 * po/eo.po: Likewise.
35313 * po/nl.po: Likewise.
35314
f70bfe80
SP
353152012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
35316
3c8b4190
SP
35317 [BZ #14246]
35318 * manual/argp.texi (Argp Helper Functions): Move node to follow
35319 Argp Parsing State.
35320
f70bfe80
SP
35321 [BZ #14872]
35322 * manual/conf.texi (Limits on File System Capacity): Mention if
35323 terminating null is included in the max size.
35324
188f0adf
AJ
353252012-12-10 Andreas Jaeger <aj@suse.de>
35326
35327 * po/cs.po: Update from translation team.
35328
56e7d3ad
SP
353292012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
35330
35331 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
35332 void pointer and cast to uintptr_t.
35333 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
35334 path.
35335 * sysdeps/s390/s390-64/memcpy.S: Likewise.
35336 * sysdeps/s390/s390-64/memset.S: Likewise.
35337
76f2d2ea 353382012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
35339
35340 [BZ #14833]
35341 * menual/message.texi (Message Translation): Fix typos.
35342 (Helper programs for gettext): Likewise.
35343
67cbf9a2
AS
353442012-12-07 Andreas Schwab <schwab@linux-m68k.org>
35345
35346 [BZ #14898]
35347 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
35348 Change to -1.
35349
682d0e9a
DM
353502012-12-07 David S. Miller <davem@davemloft.net>
35351
35352 * po/libc.pot: Update.
35353
573cd484
RH
353542012-12-07 Richard Henderson <rth@redhat.com>
35355
7e9da188 35356 [BZ #10114]
573cd484
RH
35357 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
35358 normal/normal case to before the switch.
35359 (_FP_DIV): Likewise.
35360
e933a943
MF
353612012-12-06 Carlos O'Donell <carlos@systemhalted.org>
35362 Mike Frysinger <vapier@gentoo.org>
35363
35364 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
35365 check for __NR_fadvise64_64.
35366
82123268
CM
353672012-12-06 Chris Metcalf <cmetcalf@tilera.com>
35368
35369 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
35370 0, not just to plain "0" as a statement.
35371 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
35372 with cw.
35373
d9814526
JM
353742012-12-06 Joseph Myers <joseph@codesourcery.com>
35375
35376 * NEWS: Use sourceware.org in Bugzilla URL.
35377
7728c574
SP
353782012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
35379
f16946dd
SP
35380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35381 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35382
5704bbcb
SP
35383 * stdio-common/tst-put-error.c (do_test): Add newline to the
35384 padded test to ensure flush.
35385
17aa0516
JL
353862012-12-05 Jeff Law <law@redhat.com>
35387
35388 * sunrpc/etc.rpc (fedfs_admin): Add entry.
35389
363313b5
JM
353902012-12-05 Joseph Myers <joseph@codesourcery.com>
35391
effbd42a
JM
35392 * README: Don't refer to ports add-on as distributed separately.
35393 Mention AArch64 in list of systems supported in the ports add-on.
35394
87600365
JM
35395 * LICENSES: Add more non-FSF copyright and license notices.
35396
a0d7066a
JM
35397 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
35398 ((unused)).
35399
66ca5a5b
JM
35400 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
35401
363313b5
JM
35402 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
35403 10000 as width of padded output.
35404
b37984ad
JM
354052012-12-04 Joseph Myers <joseph@codesourcery.com>
35406
9003570a
JM
35407 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
35408
b37984ad
JM
35409 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
35410 variable LX with __attribute__ ((unused)).
35411 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35412 Likewise.
35413 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
35414 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
35415 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
35416 with __attribute__ ((unused)).
35417
c8df52ec
DM
354182012-12-04 David S. Miller <davem@abraco.davemloft.net>
35419
35420 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
35421
b3b099af
JM
354222012-12-04 Joseph Myers <joseph@codesourcery.com>
35423
c33aa6e3
JM
35424 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
35425 (CFLAGS-nldbl-acos.c): New variable.
35426 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
35427 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
35428 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
35429 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
35430 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
35431 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
35432 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
35433 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
35434 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
35435 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
35436 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
35437 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
35438 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
35439 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
35440 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
35441 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
35442 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
35443 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
35444 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
35445 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
35446 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
35447 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
35448 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
35449 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
35450 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
35451 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
35452 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
35453 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
35454 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
35455 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
35456 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
35457 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
35458 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
35459 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
35460 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
35461 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
35462 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
35463 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
35464 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
35465 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
35466 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
35467 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
35468 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
35469 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
35470 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
35471 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
35472 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
35473 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
35474 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
35475 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
35476 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
35477 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
35478 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
35479 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
35480 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
35481 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
35482 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
35483 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
35484 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
35485 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
35486 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
35487 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
35488 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
35489 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
35490 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
35491 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
35492 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
35493 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
35494 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
35495 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
35496 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
35497 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
35498 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
35499 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
35500 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
35501 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
35502 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
35503 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
35504 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
35505 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
35506 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
35507 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
35508 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
35509 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
35510 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
35511 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
35512 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
35513 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
35514 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
35515 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
35516 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
35517 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
35518 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
35519 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
35520 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
35521 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
35522 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
35523
20f0018d
JM
35524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35525 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
35526
b3b099af
JM
35527 [BZ #14914]
35528 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
35529 whole low double instead of just low 47 bits when splitting values
35530 into two parts.
35531
029264d1
AM
355322012-12-03 Allan McRae <allan@archlinux.org>
35533
35534 * manual/stdio.texi (Predefined Printf Handlers): Remove
35535 @hsep and @vsep usage.
35536
c9d6789e
MF
355372012-12-03 Mike Frysinger <vapier@gentoo.org>
35538
35539 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
35540 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
35541
4b7634a5
JL
355422012-12-03 Jeff Law <law@redhat.com>
35543
35544 * time/sys/time.h (settimeofday): Do not mark TV argument
35545 as __nonnull.
35546
eb6cbd24
MF
355472012-12-01 Mike Frysinger <vapier@gentoo.org>
35548
35549 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
35550 when currently writing and seek to current position when not.
35551 * libio/Makefile (tests): Remove bug-fclose1.
35552 * libio/bug-fclose1.c: Delete.
35553
f638872a
JM
355542012-12-01 Joseph Myers <joseph@codesourcery.com>
35555
35556 * manual/arith.texi (feenableexcept): Fix typo.
35557 (fedisableexcept): Likewise.
35558
48085d14
RM
355592012-11-30 Roland McGrath <roland@hack.frob.com>
35560
35561 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
35562 second, differently-typed declaration, rather than a cast.
35563
1a538b9f
SP
355642012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
35565
35566 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
35567 * include/rpc/svc.h: ... here.
35568
d07f2ff1 355692012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
35570
35571 [BZ #13013]
35572 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
35573 depending n and resplen2 to catch cases where answer
35574 equals answerp2.
35575
c93ec1f0
CD
355762012-11-29 Carlos O'Donell <carlos@systemhalted.org>
35577
35578 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
35579 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
35580
37db69de
MF
355812012-11-29 Mike Frysinger <vapier@gentoo.org>
35582
35583 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
35584
e10c4e4f
RM
355852012-11-29 Roland McGrath <roland@hack.frob.com>
35586
35587 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
35588
2af1b328
JL
355892012-11-28 Jeff Law <law@redhat.com>
35590
35591 [BZ #13761]
35592 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
35593 dataset_temporary. Track alloca usage into alloca_used.
35594 If dataset is large allocate and release it via malloc/free.
35595
111db5b1
FW
355962012-06-04 Florian Weimer <fweimer@redhat.com>
35597
f06cc227 35598 [BZ #14197]
111db5b1
FW
35599 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
35600
dd694abd
DM
356012012-11-28 David S. Miller <davem@davemloft.net>
35602
35603 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35604
9984dd01
JM
356052012-11-28 Joseph Myers <joseph@codesourcery.com>
35606
35607 [BZ #14803]
35608 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
35609 of pi/2 rounded to nearest to 64 bits.
35610 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
35611 nearest to 64 bits.
35612 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
35613 bits.
35614
14bc93a9
JL
356152012-11-28 Jeff Law <law@redhat.com>
35616 Martin Osvald <mosvald@redhat.com>
35617
35618 [BZ #14889]
35619 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
35620 * sunrpc/svc.c: Include time.h.
35621 (__svc_accept_failed): New function.
35622 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
35623 any reason other than EINTR, call __svc_accept_failed.
35624 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
35625 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
35626
e3c6aa3a
AS
356272012-11-28 Andreas Schwab <schwab@suse.de>
35628
35629 * scripts/abilist.awk: Also handle indirect functions in .opd
35630 section.
35631
1bead169
JM
356322012-11-28 Joseph Myers <joseph@codesourcery.com>
35633
35634 [BZ #13881]
35635 * sysdeps/x86/fpu/powl_helper.c: New file.
35636 * sysdeps/x86/fpu/Makefile: Likewise.
35637 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
35638 (p3): New object.
35639 (__ieee754_powl): Use __powl_helper for finite arguments except
35640 integer exponents below 8.
35641 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
35642 (p3): New object.
35643 (__ieee754_powl): Use __powl_helper for finite arguments except
35644 integer exponents below 8.
35645 * math/libm-test.inc (pow_test): Add more tests and enable some
35646 previously disabled tests.
35647 * sysdeps/i386/fpu/libm-test-ulps: Update.
35648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35649
0817d63d
SP
356502012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35651 Carlos O'Donell <carlos_odonell@mentor.com>
35652
35653 * nss/makedb.c (is_prime): Assert that input is odd and greater
35654 than 4. Note that fact in a comment too.
35655 (next_prime): Add 4 to input.
35656
de2fd463
SP
356572012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
35658
35659 [BZ #11741]
35660 * libio/Makefile (tests): Add test case tst-fwrite-error.
35661 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
35662 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
35663 * libio/tst-fwrite-error.c: New test case.
35664
c515fb51
L
356652012-11-26 H.J. Lu <hongjiu.lu@intel.com>
35666
35667 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
35668 before casting to void *.
35669 * include/libc-internal.h (__pointer_type): New macro.
35670 (__integer_if_pointer_type_sub): Likewise.
35671 (__integer_if_pointer_type): Likewise.
35672 (cast_to_integer): Likewise.
35673 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
35674 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
35675 before casting to atomic64_t.
35676 (atomic_exchange_acq): Likewise.
35677 (__arch_exchange_and_add_body): Likewise.
35678 (__arch_add_body): Likewise.
35679 (atomic_add_negative): Likewise.
35680 (atomic_add_zero): Likewise.
35681
4cf77aa9
JM
356822012-11-26 Joseph Myers <joseph@codesourcery.com>
35683
35684 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
35685 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
35686 (add_fdes): Likewise.
35687 (linear_search_fdes): Likewise.
35688 (binary_search_unencoded_fdes): Likewise.
35689
d260b3b4
AS
356902012-11-26 Andreas Schwab <schwab@linux-m68k.org>
35691
35692 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
35693
67060746
AC
356942012-11-24 Adam Conrad <adconrad@0c3.net>
35695
35696 * configure.in: Autodetect C++ header directories.
35697 * configure: Regenerated.
35698
800938a1
MF
356992012-11-23 Mike Frysinger <vapier@gentoo.org>
35700
35701 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
35702
4e6e34e6
AS
357032012-11-23 Andreas Schwab <schwab@linux-m68k.org>
35704
35705 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35706
7c7feb47
JM
357072012-11-22 Joseph Myers <joseph@codesourcery.com>
35708
7184dcdf
JM
35709 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
35710 LDBL_MANT_DIG == 106]: Disable some tests.
35711 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35712 Likewise.
35713 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
35714 Likewise.
35715
0a42601f
JM
35716 [BZ #14871]
35717 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
35718 input for small inputs. Return +/- pi/2 for large inputs.
35719 * math/libm-test.inc (atan_test): Add more tests.
35720
79c9b9fe
JM
35721 * sysdeps/generic/unwind-dw2-fde-glibc.c
35722 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
35723 __attribute__ ((unused)).
35724
c60d3bf2
JM
35725 [BZ #14645]
35726 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
35727 x * y if x and y are nonzero and z is zero.
35728
ef1e0867
JM
35729 [BZ #14811]
35730 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
35731 nonzero exponents with absolute value below 0x1p-117 to +/-
35732 0x1p-117.
35733
1468ded3
JM
35734 [BZ #14869]
35735 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
35736 up arguments below 2**-450, not just those below 2**-500.
35737 * math/libm-test.inc (hypot_test): Add another test.
35738
8e27e3cc
JM
35739 [BZ #14868]
35740 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
35741 Return a+b for ratio over 2**120, not 2**60.
35742 * math/libm-test.inc (hypot_test): Add another test.
35743
c9c0279b
JM
35744 * math/libm-test.inc (clog_test): Use
35745 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
35746 (clog10_test): Likewise.
35747
7c7feb47
JM
35748 [BZ #6778]
35749 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
35750
fff1530e
AS
357512012-11-22 Andreas Schwab <schwab@suse.de>
35752
35753 * sysdeps/i386/fpu/libm-test-ulps: Update.
35754
94558d30
PT
357552012-11-22 Pino Toscano <toscano.pino@tiscali.it>
35756
35757 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
35758 printf output with newline.
35759
7e1be741
L
357602012-11-21 H.J. Lu <hongjiu.lu@intel.com>
35761
6bfea974
L
35762 [BZ #14865]
35763 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
35764 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
35765 -z nodlopen, -z initfirst and -z execstack support.
35766 * configure: Regenerated.
35767
7e1be741
L
35768 * elf/elf.h (DF_1_NODIRECT): New macro.
35769 (DF_1_IGNMULDEF): Likewise.
35770 (DF_1_NOKSYMS): Likewise.
35771 (DF_1_NOHDR): Likewise.
35772 (DF_1_EDITED): Likewise.
35773 (DF_1_NORELOC): Likewise.
35774 (DF_1_SYMINTPOSE): Likewise.
35775 (DF_1_GLOBAUDIT): Likewise.
35776 (DF_1_SINGLETON): Likewise.
35777 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
35778 DT_1_SUPPORTED_MASK bits.
35779 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
35780
105ce2ce
CD
357812012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
35782
35783 * sysdeps/unix/make-syscalls.sh: Document prefixes.
35784
123be9de
TS
357852012-11-20 Thomas Schwinge <thomas@codesourcery.com>
35786
d072f3f7
TS
35787 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
35788 macro.
35789
123be9de
TS
35790 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
35791 (sendmmsg): Move declarations...
35792 * socket/sys/socket.h: ... here.
35793 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
35794 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
35795 include it from...
35796 * socket/recvmmsg.c: ... this new file.
35797 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
35798 (sendmmsg): Rename to __sendmmsg, create weak alias and make
35799 definition of __sendmmsg hidden.
35800 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35801 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
35802 Move ENOSYS stub into and include it from...
35803 * socket/sendmmsg.c: ... this new file.
35804 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
35805 (sysdep_routines): Move recvmmsg and sendmmsg...
35806 * socket/Makefile (routines): ... here.
35807 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
35808 (GLIBC_PRIVATE): Add __sendmmsg.
35809 * include/sys/socket.h (__sendmmsg): Add declarations.
35810 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
35811 sendmmsg.
35812
cf9a5d18
JM
358132012-11-20 Joseph Myers <joseph@codesourcery.com>
35814
35815 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
35816 variable I1 with __attribute__ ((unused)).
35817 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35818
ecd4caf9
JM
358192012-11-19 Joseph Myers <joseph@codesourcery.com>
35820
be14d48f
JM
35821 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
35822 DUMMY variables with __attribute__ ((unused)).
35823
ecd4caf9
JM
35824 * bits/byteswap.h: Include <bits/types.h>.
35825 (__bswap_64): Use __uint64_t instead of unsigned long long int.
35826
986cab95
PT
358272012-11-19 Pino Toscano <toscano.pino@tiscali.it>
35828
35829 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
35830 string_t. Do not manually set errno.
35831 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
35832 length with __strnlen. Make sure to both set errno and return it on
35833 failure.
35834
6d33cc9d
DM
358352012-11-19 David S. Miller <davem@davemloft.net>
35836
35837 With help from Joseph Myers.
35838 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
35839 very large arguments properly.
35840 * math/libm-test.inc (atan_test): New tests.
35841 (atan2_test): New tests.
35842 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35844
ee663277
JM
358452012-11-19 Joseph Myers <joseph@codesourcery.com>
35846
877f2d8e
JM
35847 [BZ #14856]
35848 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
35849 Define to 3.
35850
116fc08a
JM
35851 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
35852 [POSIX] (EADDRNOTAVAIL): Likewise.
35853 [POSIX] (EAFNOSUPPORT): Likewise.
35854 [POSIX] (EALREADY): Likewise.
35855 [POSIX] (ECONNABORTED): Likewise.
35856 [POSIX] (ECONNREFUSED): Likewise.
35857 [POSIX] (ECONNRESET): Likewise.
35858 [POSIX] (EDESTADDRREQ): Likewise.
35859 [POSIX] (EDQUOT): Likewise.
35860 [POSIX] (EHOSTUNREACH): Likewise.
35861 [POSIX] (EIDRM): Likewise.
35862 [POSIX] (EISCONN): Likewise.
35863 [POSIX] (ELOOP): Likewise.
35864 [POSIX] (EMULTIHOP): Likewise.
35865 [POSIX] (ENETDOWN): Likewise.
35866 [POSIX] (ENETUNREACH): Likewise.
35867 [POSIX] (ENOBUFS): Likewise.
35868 [POSIX] (ENODATA): Likewise.
35869 [POSIX] (ENOLINK): Likewise.
35870 [POSIX] (ENOMSG): Likewise.
35871 [POSIX] (ENOPROTOOPT): Likewise.
35872 [POSIX] (ENOSR): Likewise.
35873 [POSIX] (ENOSTR): Likewise.
35874 [POSIX] (ENOTCONN): Likewise.
35875 [POSIX] (ENOTSOCK): Likewise.
35876 [POSIX] (EOPNOTSUPP): Likewise.
35877 [POSIX] (EOVERFLOW): Likewise.
35878 [POSIX] (EPROTO): Likewise.
35879 [POSIX] (EPROTONOSUPPORT): Likewise.
35880 [POSIX] (EPROTOTYPE): Likewise.
35881 [POSIX] (ESTALE): Likewise.
35882 [POSIX] (ETIME): Likewise.
35883 [POSIX] (ETXTBSY): Likewise.
35884 [POSIX] (EWOULDBLOCK): Likewise.
35885 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
35886 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
35887 [POSIX] (SEEK_CUR): Likewise.
35888 [POSIX] (SEEK_END): Likewise.
35889 [POSIX || UNIX98] (mode_t): Do not require.
35890 [POSIX] (off_t): Likewise.
35891 [POSIX] (pid_t): Likewise.
35892 [POSIX] (sys/stat.h): Do not allow header.
35893 [POSIX] (unistd.h): Likewise.
35894 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
35895 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
35896 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
35897 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
35898 require.
35899 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
35900 sigevent): Specify elements.
35901 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
35902 entry.
35903 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
35904 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
35905
a483863f
JM
35906 * conform/data/cpio.h-data [POSIX]: Disable whole file.
35907 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
35908 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
35909 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
35910 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
35911 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
35912 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
35913 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
35914 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
35915 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
35916 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
35917 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
35918 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
35919 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
35920 Likewise.
35921 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
35922 Likewise.
35923 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
35924 Likewise.
35925 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
35926 Likewise.
35927 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
35928 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
35929 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
35930 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
35931 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
35932 Specify lower bound on value.
35933 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
35934 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
35935 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
35936 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
35937 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
35938 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
35939 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
35940 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
35941 value.
35942 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
35943 as optional.
35944 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
35945 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
35946 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
35947 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
35948 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
35949 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
35950 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
35951 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
35952 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
35953 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
35954 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
35955 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
35956 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
35957 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
35958 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
35959 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
35960 entry.
35961 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
35962 optional.
35963 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
35964 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
35965 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
35966 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
35967 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
35968 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
35969 Likewise.
35970 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
35971 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
35972 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
35973 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
35974 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
35975 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
35976 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
35977 as optional.
35978 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
35979 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
35980 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
35981 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
35982 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
35983 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
35984 specify as optional.
35985 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
35986 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
35987 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
35988 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
35989 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
35990 [XPG3] (NL_LANGMAX): Likewise.
35991 [POSIX || XPG3] (NL_MSGMAX): Likewise.
35992 [POSIX || XPG3] (NL_NMAX): Likewise.
35993 [POSIX || XPG3] (NL_SETMAX): Likewise.
35994 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
35995 [XPG3] (NZERO): Likewise.
35996 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
35997 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
35998 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
35999 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
36000 (REG_ERANGE): Expect.
36001 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
36002 optional-constant.
36003 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
36004 Use (void) in prototype.
36005 [POSIX] (*_t): Allow.
36006 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
36007 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
36008 (WRDE_BADVAL): Expect.
36009
5ba924e3
JM
36010 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
36011 expect.
36012 [XPG3 || XPG4] (O_RSYNC): Likewise.
36013 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
36014 Likewise.
36015 [XPG3 || XPG4] (pthread_sigmask): Likewise.
36016 [XPG3 || XPG4] (sigqueue): Likewise.
36017 [XPG3 || XPG4] (sigtimedwait): Likewise.
36018 [XPG3 || XPG4] (sigwaitinfo): Likewise.
36019 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
36020 [XPG3 || XPG4] (vsnprintf): Likewise.
36021 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
36022 Likewise.
36023 [XPG3 || XPG4] (blksize_t): Likewise.
36024 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
36025 Likewise.
36026 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
36027 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36028 [XPG3 || XPG4] (struct itimerspec): Likewise.
36029 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
36030 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
36031 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
36032 [XPG3 || XPG4] (clockid_t): Likewise.
36033 [XPG3 || XPG4] (timer_t): Likewise.
36034 [XPG3 || XPG4] (clock_getres): Likewise.
36035 [XPG3 || XPG4] (clock_gettime): Likewise.
36036 [XPG3 || XPG4] (clock_settime): Likewise.
36037 [XPG3 || XPG4] (nanosleep): Likewise.
36038 [XPG3 || XPG4] (timer_create): Likewise.
36039 [XPG3 || XPG4] (timer_delete): Likewise.
36040 [XPG3 || XPG4] (timer_gettime): Likewise.
36041 [XPG3 || XPG4] (timer_getoverrun): Likewise.
36042 [XPG3 || XPG4] (timer_settime): Likewise.
36043 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
36044 [XPG3 || XPG4] (getlogin_r): Likewise.
36045 [XPG3 || XPG4] (pread): Likewise.
36046 [XPG3 || XPG4] (pthread_atfork): Likewise.
36047 [XPG3 || XPG4] (pwrite): Likewise.
36048
ee663277
JM
36049 [BZ #14835]
36050 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
36051 <bits/siginfo.h>.
36052
942caa16
PT
360532012-11-19 Pino Toscano <toscano.pino@tiscali.it>
36054
e19af380
PT
36055 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
36056 finalizing MALLSTREAM.
36057
942caa16
PT
36058 * sysdeps/mach/hurd/syncfs.c: New file.
36059
cfde9b46
SP
360602012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
36061
36062 [BZ #14719]
36063 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
36064 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
36065 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
36066 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
36067 (_nss_dns_gethostbyname4_r): Likewise.
36068 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
36069 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
36070
f6da27e5
PH
360712012-11-19 Peng Haitao <penght@cn.fujitsu.com>
36072
36073 [BZ #13763]
36074 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
36075
6665d4a2
SM
360762012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
36077
1f51ee92
SM
36078 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
36079 * elf/cache.c (print_entry): Print ",AArch64" for
36080 FLAG_AARCH64_LIB64
36081
6665d4a2
SM
36082 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
36083 * elf/cache.c (print_entry): Print ",hard-float" for
36084 FLAG_ARM_LIBHF.
36085
05b227bd
DM
360862012-11-18 David S. Miller <davem@davemloft.net>
36087
36088 With help from Joseph Myers.
36089 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
36090 cutoff to 2**-13.
36091 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
36092 cutoff to 2**-25.
36093 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
36094 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
36095 small.
36096 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
36097 * math/libm-test.inc (y0_test): New tests.
36098 (y1_test): New tests.
36099 * sysdeps/i386/fpu/libm-test-ulps: Update.
36100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36101 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36102
786b0b67
AS
361032012-11-18 Andreas Schwab <schwab@linux-m68k.org>
36104
36105 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
36106 64-bit targets.
36107 * configure: Regenerated.
36108
8e18b86d
DM
361092012-11-17 David S. Miller <davem@davemloft.net>
36110
36111 [BZ #14811]
36112 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
36113 nonzero exponents with absolute value below 0x1p-128 to +/-
36114 0x1p-128.
36115
531f1ae0
JM
361162012-11-17 Joseph Myers <joseph@codesourcery.com>
36117
12df29e2
JM
36118 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
36119
150dc1a0
JM
36120 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
36121
531f1ae0
JM
36122 * posix/getconf-speclist.c: New file.
36123 * posix/posix-envs.def: Likewise.
36124 * posix/confstr.c (START_ENV_GROUP): New macro.
36125 (END_ENV_GROUP): Likewise.
36126 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36127 (KNOWN_PRESENT_ENV_STRING): Likewise.
36128 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36129 (UNKNOWN_ENVIRONMENT): Likewise.
36130 (confstr): Include posix-envs.def instead of handling
36131 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
36132 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
36133 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
36134 (END_ENV_GROUP): Likewise.
36135 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
36136 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
36137 (UNKNOWN_ENVIRONMENT): Likewise.
36138 (__sysconf): Include posix-envs.def instead of handling associated
36139 cases directly here.
36140 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
36141 preprocessing getconf-speclist.c rather than running getconf or
36142 generating empty file.
36143
a93f9cbc
PT
361442012-11-16 Pino Toscano <toscano.pino@tiscali.it>
36145
36146 * scripts/check-local-headers.sh: Ignore 'mach' headers.
36147
d64d9f87
AL
361482012-11-16 Andrej Lajovic <natrij@gmail.com>
36149
36150 [BZ #14672]
36151 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
36152
447885eb
DM
361532012-11-16 David S. Miller <davem@davemloft.net>
36154
36155 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
36156 smaller than LDBL_EPSILON/2.0L, just return xm1.
36157
bcbf9830
L
361582012-11-16 H.J. Lu <hongjiu.lu@intel.com>
36159
36160 * elf/tst-array1.c (init): Set constructor priority to 1000.
36161 (fini): Set destructor priority to 1000.
36162 * elf/tst-array2dep.c: Likewise.
36163
2b766585
SP
361642012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36165
36166 [BZ #11741]
36167 * libio/fileops.c (_IO_new_file_write): Correctly return error.
36168 (_IO_new_file_xsputn): Also return EOF if none of the input
36169 data was written when overflow failed.
36170 * libio/iopadn.c (_IO_padn): Likewise.
36171 * libio/iowpadn.c (_IO_wpadn): Likewise.
36172 * stdio-common/tst-put-error.c: Add copyright notice.
36173 (do_test): Add case for printing padded string.
36174 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
36175 _IO_padn returned error.
36176 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
36177 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
36178 return EOF.
36179
b1848fde
SP
361802012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36181
36182 * libio/libioP.h: Add comment note that the references to C++
36183 bits are now obsolete.
36184
2fd89785
MS
361852012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36186
36187 * math/libm-test.inc (check_complex): Use asprintf.
36188
e3ea5409
JM
361892012-11-14 Joseph Myers <joseph@codesourcery.com>
36190
36191 * debug/pcprofiledump.c (print_version): Update copyright year.
36192 * malloc/memusagestat.c (print_version): Likewise.
36193
2e64d265
L
361942012-11-14 H.J. Lu <hongjiu.lu@intel.com>
36195
36196 [BZ #14831]
36197 * elf/Makefile (tests): Add tst-audit8.
36198 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
36199 ($(objpfx)tst-audit8.out): New target.
36200 (tst-audit8-ENV): New variable.
36201 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
36202 audit if l_reloc_result is NULL.
36203 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
36204 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
36205 * elf/tst-audit8.c: New file.
36206
c485e4d2
MS
362072012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36208
36209 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
36210 * misc/Makefile (CFLAGS-select.c): Define.
36211 * posix/Makefile (CFLAGS-pause.c): Define.
36212
3a0d900a
DM
362132012-11-13 David S. Miller <davem@davemloft.net>
36214
36215 * crypt/Makefile: Move test targets after toplevel Rules
36216 inclusion. Grab any necessary sysdep routines when linking.
36217 * crypt/md5.c (md5_process_block): Remove define, we will always
36218 name it __md5_process_block.
36219 (md5_finish_ctx): Update md5_process_block call.
36220 (md5_stream): Likewise.
36221 (md5_process_bytes): Likewise.
36222 (md5_process_block): Rename to __md5_process_block and move to ...
36223 * crypt/md5-block.c: ... here.
36224 * crypt/sha256.c (sha256_process_block): Move to ...
36225 * crypt/sha256-block.c: ... here.
36226 * crypt/sha512.c (sha512_process_block): Move to ...
36227 * crypt/sha512-block.c: ... here.
36228 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
36229 path.
36230 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
36231 * sysdeps/sparc/sparc64/multiarch/Makefile
36232 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
36233 crypt subdir.
36234 (localedef-aux): Add md5 crypto assembler when in locale subdir.
36235 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
36236 multiarch changes.
36237 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
36238 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
36239 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
36240 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
36241 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
36242 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
36243 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
36244 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
36245 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
36246 file.
36247 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
36248 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
36249 file.
36250 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
36251
8ca89318
JM
362522012-11-13 Joseph Myers <joseph@codesourcery.com>
36253
e27d476a
JM
36254 * timezone/tzselect.ksh: Update from tzcode git revision
36255 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
36256 * timezone/zdump.c: Likewise.
36257 * timezone/zic.c: Likewise.
36258 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
36259 in TZVERSION setting, not $(PKGVERSION).
36260 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
36261 REPORT_BUGS_TO settings.
36262
8ca89318
JM
36263 [BZ #14838]
36264 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
36265 macro.
36266
47594329
MS
362672012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36268
36269 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
36270 detection to immediately after _FP_ROUND().
36271 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
36272 bits are 0.
36273
640ac3f1
DM
362742012-11-11 David S. Miller <davem@davemloft.net>
36275
36276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
36277 inttypes.h
36278 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
36279 __close rather than their public counterparts.
36280
3d2577bb
JM
362812012-11-10 Joseph Myers <joseph@codesourcery.com>
36282
36283 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
36284 file.
36285 [UNIX98] (sem_timedwait): Do not expect.
36286 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
36287 [XPG4 || UNIX98] (sockatmark): Do not expect.
36288 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
36289 (clock_getcpuclockid): Do not expect.
36290 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
36291 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
36292 Do not expect.
36293 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
36294 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
36295 [UNIX98] (vwscanf): Likewise.
36296 [UNIX98] (vswscanf): Likewise.
36297
fb1ae1ee
JM
362982012-11-09 Joseph Myers <joseph@codesourcery.com>
36299
9ec6f8bd
JM
36300 * timezone/version.h: Remove file.
36301 * timezone/README: Do not refer to version.h.
36302 * timezone/Makefile ($(objpfx)zic.o): New dependency on
36303 $(objpfx)version.h.
36304 ($(objpfx)zdump.o): Likewise.
c3f81911 36305 ($(objpfx)version.h): New target.
9ec6f8bd 36306
0aa8f8a1
JM
36307 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
36308 2012i.
36309 * timezone/README: Don't mention modification to tzselect.ksh.
36310 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
36311 work on unmodified tzselect.ksh. Substitute version numbers in
36312 tzselect.ksh.
36313
4e87147f
JM
36314 * Makefile (format-me): Remove.
36315 (INSTALL): Adjust indentation. Use commands directly instead of
36316 using $(format-me).
36317
8b748aed
JM
36318 * aclocal.m4 (ACX_PKGVERSION): New macro.
36319 (ACX_BUGURL): Likewise.
36320 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
36321 (PKGVERSION): New AC_DEFINE_UNQUOTED.
36322 (REPORT_BUGS_TO): Likewise.
36323 * configure: Regenerated.
36324 * config.h.in (PKGVERSION): New macro.
36325 (REPORT_BUGS_TO): Likewise.
36326 * config.make.in (PKGVERSION): New variable.
36327 (PKGVERSION_TEXI): Likewise.
36328 (REPORT_BUGS_TO): Likewise.
36329 (REPORT_BUGS_TEXI): Likewise.
36330 * Makefile (format-me): Use -I$(common-objpfx)manual.
36331 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
36332 ($(common-objpfx)manual/%): New target.
36333 (manual/%): Remove target.
36334 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
36335 (print_version): Use PKGVERSION.
36336 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
36337 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
36338 and REPORT_BUGS_TO.
36339 ($(objpfx)xtrace): Likewise.
36340 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
36341 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
36342 (print_version): Use PKGVERSION.
36343 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
36344 (do_version): Use PKGVERSION.
36345 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
36346 REPORT_BUGS_TO.
36347 (common-ldd-rewrite): Likewise.
36348 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
36349 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
36350 (print_version): Use PKGVERSION.
36351 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
36352 * elf/pldd.c (argp_program_bug_address): Remove variable.
36353 (more_help): New function.
36354 (argp): Use more_help.
36355 (print_version): Use PKGVERSION.
36356 * elf/sln.c (main): Use PKGVERSION.
36357 (usage): Use REPORT_BUGS_TO.
36358 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
36359 (top level): Use PKGVERSION.
36360 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
36361 (print_version): Use PKGVERSION.
36362 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
36363 (print_version): Use PKGVERSION.
36364 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
36365 (print_version): Use PKGVERSION.
36366 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
36367 (print_version): Use PKGVERSION.
36368 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
36369 (print_version): Use PKGVERSION.
36370 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
36371 (print_version): Use PKGVERSION.
36372 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
36373 and BUGURL.
36374 ($(objpfx)memusage): Likewise.
36375 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
36376 (do_version): Use PKGVERSION.
36377 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
36378 (print_version): Use PKGVERSION.
36379 * malloc/mtrace.pl ($PACKAGE): Remove variable.
36380 ($PKGVERSION): New variable.
36381 ($REPORT_BUGS_TO): Likewise.
36382 (usage): Use $REPORT_BUGS_TO.
36383 (top level): Use $PKGVERSION.
36384 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
36385 ($(objpfx)pkgvers.texi): New rule.
36386 ($(objpfx)stamp-pkgvers): Likewise.
36387 * manual/install.texi: Include pkgvers.texi.
36388 (--with-pkgversion): Document new configure option.
36389 (--with-bugurl): Likewise.
36390 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
36391 than necessarily for this particular distribution. Use
36392 REPORT_BUGS_TO for where to report bugs.
36393 * INSTALL: Regenerated.
36394 * manual/libc.texinfo: Include pkgvers.texi.
36395 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
36396 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
36397 (print_version): Use PKGVERSION.
36398 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
36399 (print_version): Use PKGVERSION.
36400 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
36401 (print_version): Use PKGVERSION.
36402 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
36403 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
36404 macro.
36405 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
36406 (print_version): Use PKGVERSION.
36407 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
36408 (print_version): Use PKGVERSION.
36409 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
36410 and PKGVERSION.
36411
92e4b6a9
JM
36412 * timezone/checktab.awk: Update from tzcode 2012i.
36413 * timezone/ialloc.c: Likewise.
36414 * timezone/private.h: Likewise.
36415 * timezone/scheck.c: Likewise.
36416 * timezone/tzfile.h: Likewise.
36417 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
36418 (TZVERSION): Hardcode tzcode version number.
36419 * timezone/zdump.c: Update from tzcode 2012i.
36420 * timezone/zic.c: Likewise.
36421 * timezone/version.h: New file.
36422 * timezone/README: Describe version.h. Update upstream location.
36423
9bde902c
JM
36424 [BZ #14824]
36425 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
36426 (mktemp): Enable declaration.
36427 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
36428 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
36429 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
36430 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
36431 Likewise.
36432 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
36433 Likewise.
36434 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
36435 Likewise.
36436 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
36437 Likewise.
36438 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
36439 Likewise.
36440 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
36441 Likewise.
36442
fb1ae1ee
JM
36443 [BZ #14821]
36444 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
36445 offset in buffer as u_int32_t not u_long. Consistently use memcpy
36446 for copies of such integer values.
36447 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36448 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36449
2c1adbcb
AJ
364502012-11-09 Andreas Jaeger <aj@suse.de>
36451
36452 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
36453 definitions and declarations that are provided by
36454 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36455
d0f8457e
AK
364562012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36457
3a235abb 36458 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
36459 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
36460 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
36461 definition.
36462
57241e26
MS
364632012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36464
36465 * elf/elf.h: Update comment before AArch64 relocations.
36466
60e8270d
DM
364672012-11-07 David S. Miller <davem@davemloft.net>
36468
36469 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
36470 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
36471 (__start_context): Declare.
36472 (__makecontext_ret): Delete.
36473 (__makecontext): Hook up __start_context instead of
36474 __makecontext_ret.
36475 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
36476 (sysdep_routines): Add __start_context when in stdlib.
36477
0fbb0fbc
JM
364782012-11-07 Joseph Myers <joseph@codesourcery.com>
36479
36480 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
36481 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
36482 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
36483 hardcoded "nm".
36484 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
36485 (READELF): New variable. Use it instead of hardcoded "readelf".
36486
eb48db7e
L
364872012-11-07 H.J. Lu <hongjiu.lu@intel.com>
36488
36489 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
36490 * sysdeps/x86/Makefile: Here.
36491 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
36492 * sysdeps/x86/tst-xmmymm.sh: This.
36493
05bcf62a
JM
364942012-11-07 Joseph Myers <joseph@codesourcery.com>
36495
c4b6cf53
JM
36496 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
36497 expectations.
36498 [UNIX98] (pthread_barrier_t): Do not expect.
36499 [UNIX98] (pthread_barrierattr_t): Likewise.
36500 [UNIX98] (pthread_spinlock_t): Likewise.
36501 [UNIX98] (pthread_barrier_destroy): Likewise.
36502 [UNIX98] (pthread_barrier_init): Likewise.
36503 [UNIX98] (pthread_barrier_wait): Likewise.
36504 [UNIX98] (pthread_barrierattr_destroy): Likewise.
36505 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
36506 [UNIX98] (pthread_barrierattr_init): Likewise.
36507 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
36508 [UNIX98] (pthread_getcpuclockid): Likewise.
36509 [UNIX98] (pthread_mutex_timedlock): Likewise.
36510 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
36511 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
36512 [UNIX98] (pthread_sigmask): Likewise.
36513 [UNIX98] (pthread_spin_destroy): Likewise.
36514 [UNIX98] (pthread_spin_init): Likewise.
36515 [UNIX98] (pthread_spin_lock): Likewise.
36516 [UNIX98] (pthread_spin_trylock): Likewise.
36517 [UNIX98] (pthread_spin_unlock): Likewise.
36518 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
36519 Do not expect.
36520 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
36521 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
36522 [XPG3 || XPG4] (pthread_cond_t): Likewise.
36523 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
36524 [XPG3 || XPG4] (pthread_key_t): Likewise.
36525 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
36526 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
36527 [XPG3 || XPG4] (pthread_once_t): Likewise.
36528 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
36529 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
36530 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
36531 [XPG3 || XPG4] (pthread_t): Likewise.
36532
cbe6e120
JM
36533 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
36534 not expect.
36535 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
36536
1b126443
JM
36537 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
36538 Change function return type to int.
36539
b961a573
JM
36540 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
36541 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
36542 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
36543 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
36544 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
36545 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
36546 [!POSIX] (posix_madvise): Likewise.
36547 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
36548 && !UNIX98].
36549 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
36550 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
36551 (mode_t): Likewise.
36552 (posix_mem_offset): Likewise.
36553 (posix_typed_mem_get_info): Likewise.
36554 (posix_typed_mem_open): Likewise.
36555
9e188909
JM
36556 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
36557 Change condition to [XOPEN2K8].
36558
05bcf62a
JM
36559 * conform/conformtest.pl: Preprocess allow-header data with -x c
36560 instead of from stdin.
36561 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
36562 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
36563 [C99-based standards] (cerfc): Likewise.
36564 [C99-based standards] (cexp2): Likewise.
36565 [C99-based standards] (cexpm1): Likewise.
36566 [C99-based standards] (clog10): Likewise.
36567 [C99-based standards] (clog1p): Likewise.
36568 [C99-based standards] (clog2): Likewise.
36569 [C99-based standards] (clgamma): Likewise.
36570 [C99-based standards] (ctgamma): Likewise.
36571 [C99-based standards] (cerff): Likewise.
36572 [C99-based standards] (cerfcf): Likewise.
36573 [C99-based standards] (cexp2f): Likewise.
36574 [C99-based standards] (cexpm1f): Likewise.
36575 [C99-based standards] (clog10f): Likewise.
36576 [C99-based standards] (clog1pf): Likewise.
36577 [C99-based standards] (clog2f): Likewise.
36578 [C99-based standards] (clgammaf): Likewise.
36579 [C99-based standards] (ctgammaf): Likewise.
36580 [C99-based standards] (cerfl): Likewise.
36581 [C99-based standards] (cerfcl): Likewise.
36582 [C99-based standards] (cexp2l): Likewise.
36583 [C99-based standards] (cexpm1l): Likewise.
36584 [C99-based standards] (clog10l): Likewise.
36585 [C99-based standards] (clog1pl): Likewise.
36586 [C99-based standards] (clog2l): Likewise.
36587 [C99-based standards] (clgammal): Likewise.
36588 [C99-based standards] (ctgammal): Likewise.
36589 * conform/data/inttypes.h-data [C99-based standards]: Include
36590 stdint.h-data. Remove all expectations for stdint.h contents.
36591 [C99-based standards] (PRI*): Do not allow.
36592 [C99-based standards] (SCN*): Likewise.
36593 [C99-based standards] (*_t): Likewise.
36594 [C99-based-standards] (PRId8): Expect macro.
36595 [C99-based-standards] (PRIi8): Likewise.
36596 [C99-based-standards] (PRIo8): Likewise.
36597 [C99-based-standards] (PRIu8): Likewise.
36598 [C99-based-standards] (PRIx8): Likewise.
36599 [C99-based-standards] (PRIX8): Likewise.
36600 [C99-based-standards] (SCNd8): Likewise.
36601 [C99-based-standards] (SCNi8): Likewise.
36602 [C99-based-standards] (SCNo8): Likewise.
36603 [C99-based-standards] (SCNu8): Likewise.
36604 [C99-based-standards] (SCNx8): Likewise.
36605 [C99-based-standards] (PRIdLEAST8): Likewise.
36606 [C99-based-standards] (PRIiLEAST8): Likewise.
36607 [C99-based-standards] (PRIoLEAST8): Likewise.
36608 [C99-based-standards] (PRIuLEAST8): Likewise.
36609 [C99-based-standards] (PRIxLEAST8): Likewise.
36610 [C99-based-standards] (PRIXLEAST8): Likewise.
36611 [C99-based-standards] (SCNdLEAST8): Likewise.
36612 [C99-based-standards] (SCNiLEAST8): Likewise.
36613 [C99-based-standards] (SCNoLEAST8): Likewise.
36614 [C99-based-standards] (SCNuLEAST8): Likewise.
36615 [C99-based-standards] (SCNxLEAST8): Likewise.
36616 [C99-based-standards] (PRIdFAST8): Likewise.
36617 [C99-based-standards] (PRIiFAST8): Likewise.
36618 [C99-based-standards] (PRIoFAST8): Likewise.
36619 [C99-based-standards] (PRIuFAST8): Likewise.
36620 [C99-based-standards] (PRIxFAST8): Likewise.
36621 [C99-based-standards] (PRIXFAST8): Likewise.
36622 [C99-based-standards] (SCNdFAST8): Likewise.
36623 [C99-based-standards] (SCNiFAST8): Likewise.
36624 [C99-based-standards] (SCNoFAST8): Likewise.
36625 [C99-based-standards] (SCNuFAST8): Likewise.
36626 [C99-based-standards] (SCNxFAST8): Likewise.
36627 [C99-based-standards] (PRId16): Likewise.
36628 [C99-based-standards] (PRIi16): Likewise.
36629 [C99-based-standards] (PRIo16): Likewise.
36630 [C99-based-standards] (PRIu16): Likewise.
36631 [C99-based-standards] (PRIx16): Likewise.
36632 [C99-based-standards] (PRIX16): Likewise.
36633 [C99-based-standards] (SCNd16): Likewise.
36634 [C99-based-standards] (SCNi16): Likewise.
36635 [C99-based-standards] (SCNo16): Likewise.
36636 [C99-based-standards] (SCNu16): Likewise.
36637 [C99-based-standards] (SCNx16): Likewise.
36638 [C99-based-standards] (PRIdLEAST16): Likewise.
36639 [C99-based-standards] (PRIiLEAST16): Likewise.
36640 [C99-based-standards] (PRIoLEAST16): Likewise.
36641 [C99-based-standards] (PRIuLEAST16): Likewise.
36642 [C99-based-standards] (PRIxLEAST16): Likewise.
36643 [C99-based-standards] (PRIXLEAST16): Likewise.
36644 [C99-based-standards] (SCNdLEAST16): Likewise.
36645 [C99-based-standards] (SCNiLEAST16): Likewise.
36646 [C99-based-standards] (SCNoLEAST16): Likewise.
36647 [C99-based-standards] (SCNuLEAST16): Likewise.
36648 [C99-based-standards] (SCNxLEAST16): Likewise.
36649 [C99-based-standards] (PRIdFAST16): Likewise.
36650 [C99-based-standards] (PRIiFAST16): Likewise.
36651 [C99-based-standards] (PRIoFAST16): Likewise.
36652 [C99-based-standards] (PRIuFAST16): Likewise.
36653 [C99-based-standards] (PRIxFAST16): Likewise.
36654 [C99-based-standards] (PRIXFAST16): Likewise.
36655 [C99-based-standards] (SCNdFAST16): Likewise.
36656 [C99-based-standards] (SCNiFAST16): Likewise.
36657 [C99-based-standards] (SCNoFAST16): Likewise.
36658 [C99-based-standards] (SCNuFAST16): Likewise.
36659 [C99-based-standards] (SCNxFAST16): Likewise.
36660 [C99-based-standards] (PRId32): Likewise.
36661 [C99-based-standards] (PRIi32): Likewise.
36662 [C99-based-standards] (PRIo32): Likewise.
36663 [C99-based-standards] (PRIu32): Likewise.
36664 [C99-based-standards] (PRIx32): Likewise.
36665 [C99-based-standards] (PRIX32): Likewise.
36666 [C99-based-standards] (SCNd32): Likewise.
36667 [C99-based-standards] (SCNi32): Likewise.
36668 [C99-based-standards] (SCNo32): Likewise.
36669 [C99-based-standards] (SCNu32): Likewise.
36670 [C99-based-standards] (SCNx32): Likewise.
36671 [C99-based-standards] (PRIdLEAST32): Likewise.
36672 [C99-based-standards] (PRIiLEAST32): Likewise.
36673 [C99-based-standards] (PRIoLEAST32): Likewise.
36674 [C99-based-standards] (PRIuLEAST32): Likewise.
36675 [C99-based-standards] (PRIxLEAST32): Likewise.
36676 [C99-based-standards] (PRIXLEAST32): Likewise.
36677 [C99-based-standards] (SCNdLEAST32): Likewise.
36678 [C99-based-standards] (SCNiLEAST32): Likewise.
36679 [C99-based-standards] (SCNoLEAST32): Likewise.
36680 [C99-based-standards] (SCNuLEAST32): Likewise.
36681 [C99-based-standards] (SCNxLEAST32): Likewise.
36682 [C99-based-standards] (PRIdFAST32): Likewise.
36683 [C99-based-standards] (PRIiFAST32): Likewise.
36684 [C99-based-standards] (PRIoFAST32): Likewise.
36685 [C99-based-standards] (PRIuFAST32): Likewise.
36686 [C99-based-standards] (PRIxFAST32): Likewise.
36687 [C99-based-standards] (PRIXFAST32): Likewise.
36688 [C99-based-standards] (SCNdFAST32): Likewise.
36689 [C99-based-standards] (SCNiFAST32): Likewise.
36690 [C99-based-standards] (SCNoFAST32): Likewise.
36691 [C99-based-standards] (SCNuFAST32): Likewise.
36692 [C99-based-standards] (SCNxFAST32): Likewise.
36693 [C99-based-standards] (PRId64): Likewise.
36694 [C99-based-standards] (PRIi64): Likewise.
36695 [C99-based-standards] (PRIo64): Likewise.
36696 [C99-based-standards] (PRIu64): Likewise.
36697 [C99-based-standards] (PRIx64): Likewise.
36698 [C99-based-standards] (PRIX64): Likewise.
36699 [C99-based-standards] (SCNd64): Likewise.
36700 [C99-based-standards] (SCNi64): Likewise.
36701 [C99-based-standards] (SCNo64): Likewise.
36702 [C99-based-standards] (SCNu64): Likewise.
36703 [C99-based-standards] (SCNx64): Likewise.
36704 [C99-based-standards] (PRIdLEAST64): Likewise.
36705 [C99-based-standards] (PRIiLEAST64): Likewise.
36706 [C99-based-standards] (PRIoLEAST64): Likewise.
36707 [C99-based-standards] (PRIuLEAST64): Likewise.
36708 [C99-based-standards] (PRIxLEAST64): Likewise.
36709 [C99-based-standards] (PRIXLEAST64): Likewise.
36710 [C99-based-standards] (SCNdLEAST64): Likewise.
36711 [C99-based-standards] (SCNiLEAST64): Likewise.
36712 [C99-based-standards] (SCNoLEAST64): Likewise.
36713 [C99-based-standards] (SCNuLEAST64): Likewise.
36714 [C99-based-standards] (SCNxLEAST64): Likewise.
36715 [C99-based-standards] (PRIdFAST64): Likewise.
36716 [C99-based-standards] (PRIiFAST64): Likewise.
36717 [C99-based-standards] (PRIoFAST64): Likewise.
36718 [C99-based-standards] (PRIuFAST64): Likewise.
36719 [C99-based-standards] (PRIxFAST64): Likewise.
36720 [C99-based-standards] (PRIXFAST64): Likewise.
36721 [C99-based-standards] (SCNdFAST64): Likewise.
36722 [C99-based-standards] (SCNiFAST64): Likewise.
36723 [C99-based-standards] (SCNoFAST64): Likewise.
36724 [C99-based-standards] (SCNuFAST64): Likewise.
36725 [C99-based-standards] (SCNxFAST64): Likewise.
36726 [C99-based-standards] (PRIdMAX): Likewise.
36727 [C99-based-standards] (PRIiMAX): Likewise.
36728 [C99-based-standards] (PRIoMAX): Likewise.
36729 [C99-based-standards] (PRIuMAX): Likewise.
36730 [C99-based-standards] (PRIxMAX): Likewise.
36731 [C99-based-standards] (PRIXMAX): Likewise.
36732 [C99-based-standards] (SCNdMAX): Likewise.
36733 [C99-based-standards] (SCNiMAX): Likewise.
36734 [C99-based-standards] (SCNoMAX): Likewise.
36735 [C99-based-standards] (SCNuMAX): Likewise.
36736 [C99-based-standards] (SCNxMAX): Likewise.
36737 [C99-based-standards] (PRIdPTR): Likewise.
36738 [C99-based-standards] (PRIiPTR): Likewise.
36739 [C99-based-standards] (PRIoPTR): Likewise.
36740 [C99-based-standards] (PRIuPTR): Likewise.
36741 [C99-based-standards] (PRIxPTR): Likewise.
36742 [C99-based-standards] (PRIXPTR): Likewise.
36743 [C99-based-standards] (SCNdPTR): Likewise.
36744 [C99-based-standards] (SCNiPTR): Likewise.
36745 [C99-based-standards] (SCNoPTR): Likewise.
36746 [C99-based-standards] (SCNuPTR): Likewise.
36747 [C99-based-standards] (SCNxPTR): Likewise.
36748 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
36749 allow.
36750 * conform/data/stdint.h-data: Update comments to clarify
36751 requirements.
36752 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
36753 type.
36754 [C99-based standards] (INT8_MAX): Likewise.
36755 [C99-based standards] (INT16_MIN): Likewise.
36756 [C99-based standards] (INT16_MAX): Likewise.
36757 [C99-based standards] (INT32_MIN): Likewise.
36758 [C99-based standards] (INT32_MAX): Likewise.
36759 [C99-based standards] (INT64_MIN): Likewise.
36760 [C99-based standards] (INT64_MAX): Likewise.
36761 [C99-based standards] (UINT8_MAX): Likewise.
36762 [C99-based standards] (UINT16_MAX): Likewise.
36763 [C99-based standards] (UINT32_MAX): Likewise.
36764 [C99-based standards] (UINT64_MAX): Likewise.
36765 [C99-based standards] (INT_LEAST8_MIN): Likewise.
36766 [C99-based standards] (INT_LEAST8_MAX): Likewise.
36767 [C99-based standards] (INT_LEAST16_MIN): Likewise.
36768 [C99-based standards] (INT_LEAST16_MAX): Likewise.
36769 [C99-based standards] (INT_LEAST32_MIN): Likewise.
36770 [C99-based standards] (INT_LEAST32_MAX): Likewise.
36771 [C99-based standards] (INT_LEAST64_MIN): Likewise.
36772 [C99-based standards] (INT_LEAST64_MAX): Likewise.
36773 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
36774 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
36775 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
36776 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
36777 [C99-based standards] (INT_FAST8_MIN): Likewise.
36778 [C99-based standards] (INT_FAST8_MAX): Likewise.
36779 [C99-based standards] (INT_FAST16_MIN): Likewise.
36780 [C99-based standards] (INT_FAST16_MAX): Likewise.
36781 [C99-based standards] (INT_FAST32_MIN): Likewise.
36782 [C99-based standards] (INT_FAST32_MAX): Likewise.
36783 [C99-based standards] (INT_FAST64_MIN): Likewise.
36784 [C99-based standards] (INT_FAST64_MAX): Likewise.
36785 [C99-based standards] (UINT_FAST8_MAX): Likewise.
36786 [C99-based standards] (UINT_FAST16_MAX): Likewise.
36787 [C99-based standards] (UINT_FAST32_MAX): Likewise.
36788 [C99-based standards] (UINT_FAST64_MAX): Likewise.
36789 [C99-based standards] (INTPTR_MIN): Likewise.
36790 [C99-based standards] (INTPTR_MAX): Likewise.
36791 [C99-based standards] (UINTPTR_MAX): Likewise.
36792 [C99-based standards] (INTMAX_MIN): Likewise.
36793 [C99-based standards] (INTMAX_MAX): Likewise.
36794 [C99-based standards] (UINTMAX_MAX): Likewise.
36795 [C99-based standards] (PTRDIFF_MIN): Likewise.
36796 [C99-based standards] (PTRDIFF_MAX): Likewise.
36797 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
36798 [C99-based standards] (SIZE_MAX): Likewise.
36799 [C99-based standards] (WCHAR_MAX): Likewise.
36800 [C99-based standards] (WINT_MAX): Likewise.
36801 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
36802 constraint on value.
36803 [C99-based standards] (WCHAR_MIN): Likewise.
36804 [C99-based standards] (WINT_MIN): Likewise.
36805 [C99-based standards] (*_t): Allow.
36806 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
36807 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
36808 Include math.h-data and complex.h-data. Remove all expectations
36809 of math.h and complex.h contents.
36810 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
36811 at end of line.
36812 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
36813 (struct tm): Expect tag.
36814 [C99-based-standards] (wcstof): Expect function.
36815 [C99-based-standards] (wcstold): Likewise.
36816 [C99-based-standards] (wcstoll): Likewise.
36817 [C99-based-standards] (wcstoull): Likewise.
36818 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
36819 macro-int-constant. Specify type.
36820 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
36821 constraint on value.
36822 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36823 Specify type.
36824 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
36825 Specify value.
36826 [ISO C standards]: Do not allow headers.
36827 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
36828 wcs[abcdefghijklmnopqrstuvwxyz]*.
36829 [ISO C standards] (*_t): Do not allow.
36830 * conform/data/wctype.h-data [C99-based standards] (iswblank):
36831 Expect function.
36832 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
36833 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
36834 Specify type.
36835 [ISO C standards]: Do not allow headers.
36836 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
36837 is[abcdefghijklmnopqrstuvwxyz]*.
36838 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
36839 to[abcdefghijklmnopqrstuvwxyz]*.
36840 [ISO C standards] (*_t): Do not allow.
36841 * conform/data/stdalign.h-data: New file.
36842 * conform/data/stdbool.h-data: Likewise.
36843 * conform/data/stdnoreturn.h-data: Likewise.
36844
7514feb8
RM
368452012-11-07 Roland McGrath <roland@hack.frob.com>
36846
36847 [BZ #14815]
36848 * manual/filesys.texi (Directory Entries): Typo fix.
36849 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
36850
19b2ecfc
MS
368512012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
36852
36853 * elf/elf.h (EM_AARCH64): New macro.
36854 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
36855 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
36856 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
36857 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
36858 (R_AARCH64_TLSDESC): Likewise.
36859 (NT_ARM_TLS): Likewise.
36860 (NT_ARM_HW_BREAK): Likewise.
36861 (NT_ARM_HW_WATCH): Likewise.
36862
60e235ee
JM
368632012-11-07 Joseph Myers <joseph@codesourcery.com>
36864
36865 [BZ #14811]
36866 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
36867 (__ieee754_powl): Saturate nonzero exponents with absolute value
36868 below 0x1p-79 to +/- 0x1p-79.
36869 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
36870 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
36871 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
36872 nonzero exponents with absolute value below 0x1p-32 to +/-
36873 0x1p-32.
36874 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
36875 (__ieee754_powl): Saturate nonzero exponents with absolute value
36876 below 0x1p-79 to +/- 0x1p-79.
36877 * math/libm-test.inc (pow_test): Add more tests.
36878
0ab234b7
AK
368792012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36880
36881 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
36882 _dl_s390_cap_flags with kernel. Increase string length.
36883 (_dl_s390_platforms): Add z196 and zEC12.
36884
45832f74
JM
368852012-11-07 Joseph Myers <joseph@codesourcery.com>
36886
36887 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
36888 Change XOPEN21K to XOPEN2K.
36889
19218757
MK
368902012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
36891
36892 * string/memmove.c: Use memcpy when possible.
36893
c5f45721
AJ
368942012-11-06 Andreas Jaeger <aj@suse.de>
36895
36896 * po/eo.po: Update from translation team.
36897
82477c28
JM
368982012-11-06 Joseph Myers <joseph@codesourcery.com>
36899
36900 [BZ #14793]
36901 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
36902 exponent and small x and y exponents, scale x or y up. Increase
36903 by 2 the exponent used in scaling up.
36904 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36905 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36906 * math/libm-test.inc (fma_test): Add more tests.
36907 (fma_test_towardzero): Likewise.
36908 (fma_test_downward): Likewise.
36909 (fma_test_upward): Likewise.
36910
99252c8c
JM
369112012-11-05 Joseph Myers <joseph@codesourcery.com>
36912
acfa885f
JM
36913 [BZ #14805]
36914 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
36915 fenv_t *.
36916
99252c8c
JM
36917 [BZ #14801]
36918 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
36919 namespace for names of struct fields.
36920 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
36921 fenv_t fields.
36922 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
36923 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
36924
d6d98dea
ST
369252012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
36926
36927 [BZ #3665]
36928 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
36929
e10bb107
TS
369302012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36931
36932 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
36933 PTR_DEMANGLE.
36934
36935 [BZ #5246]
36936 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
36937 PTR_DEMANGLE.
36938
a0c2940d
JM
369392012-11-04 Joseph Myers <joseph@codesourcery.com>
36940
36941 [BZ #14797]
36942 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
36943 definitely overflow as x * y not x * y + z.
36944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36945 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36946 * math/libm-test.inc (fma_test): Add more tests.
36947 (fma_test_towardzero): Likewise.
36948 (fma_test_downward): Likewise.
36949 (fma_test_upward): Likewise.
36950
b830319d
TS
369512012-11-04 Thomas Schwinge <thomas@codesourcery.com>
36952
36953 [BZ #157]
36954
36955 * include/stub-tag.h: Remove file.
36956 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
36957 '#include' of it.
36958 * manual/maint.texi (Porting): Don't reference it.
36959 * Makerules ($(objpfx)stubs): Likewise.
36960 * dirent/closedir.c: Don't include <stub-tag.h>.
36961 * dirent/dirfd.c: Likewise.
36962 * dirent/fdopendir.c: Likewise.
36963 * dirent/getdents.c: Likewise.
36964 * dirent/getdents64.c: Likewise.
36965 * dirent/opendir.c: Likewise.
36966 * dirent/readdir.c: Likewise.
36967 * dirent/readdir64.c: Likewise.
36968 * dirent/readdir64_r.c: Likewise.
36969 * dirent/readdir_r.c: Likewise.
36970 * dirent/rewinddir.c: Likewise.
36971 * dirent/seekdir.c: Likewise.
36972 * dirent/telldir.c: Likewise.
36973 * gmon/profil.c: Likewise.
36974 * grp/setgroups.c: Likewise.
36975 * inet/if_index.c: Likewise.
36976 * io/access.c: Likewise.
36977 * io/chdir.c: Likewise.
36978 * io/chmod.c: Likewise.
36979 * io/chown.c: Likewise.
36980 * io/close.c: Likewise.
36981 * io/dup.c: Likewise.
36982 * io/dup2.c: Likewise.
36983 * io/dup3.c: Likewise.
36984 * io/euidaccess.c: Likewise.
36985 * io/faccessat.c: Likewise.
36986 * io/fchdir.c: Likewise.
36987 * io/fchmod.c: Likewise.
36988 * io/fchmodat.c: Likewise.
36989 * io/fchown.c: Likewise.
36990 * io/fchownat.c: Likewise.
36991 * io/fcntl.c: Likewise.
36992 * io/flock.c: Likewise.
36993 * io/fstatfs.c: Likewise.
36994 * io/fstatfs64.c: Likewise.
36995 * io/fstatvfs.c: Likewise.
36996 * io/fstatvfs64.c: Likewise.
36997 * io/futimens.c: Likewise.
36998 * io/fxstat.c: Likewise.
36999 * io/fxstat64.c: Likewise.
37000 * io/fxstatat.c: Likewise.
37001 * io/fxstatat64.c: Likewise.
37002 * io/getcwd.c: Likewise.
37003 * io/isatty.c: Likewise.
37004 * io/lchmod.c: Likewise.
37005 * io/lchown.c: Likewise.
37006 * io/link.c: Likewise.
37007 * io/linkat.c: Likewise.
37008 * io/lseek.c: Likewise.
37009 * io/lseek64.c: Likewise.
37010 * io/lxstat64.c: Likewise.
37011 * io/mkdir.c: Likewise.
37012 * io/mkdirat.c: Likewise.
37013 * io/mkfifo.c: Likewise.
37014 * io/mkfifoat.c: Likewise.
37015 * io/open.c: Likewise.
37016 * io/open64.c: Likewise.
37017 * io/openat.c: Likewise.
37018 * io/openat64.c: Likewise.
37019 * io/pipe.c: Likewise.
37020 * io/pipe2.c: Likewise.
37021 * io/poll.c: Likewise.
37022 * io/posix_fadvise.c: Likewise.
37023 * io/posix_fadvise64.c: Likewise.
37024 * io/posix_fallocate.c: Likewise.
37025 * io/posix_fallocate64.c: Likewise.
37026 * io/read.c: Likewise.
37027 * io/readlink.c: Likewise.
37028 * io/readlinkat.c: Likewise.
37029 * io/rmdir.c: Likewise.
37030 * io/sendfile.c: Likewise.
37031 * io/sendfile64.c: Likewise.
37032 * io/statfs.c: Likewise.
37033 * io/statfs64.c: Likewise.
37034 * io/statvfs.c: Likewise.
37035 * io/statvfs64.c: Likewise.
37036 * io/symlink.c: Likewise.
37037 * io/symlinkat.c: Likewise.
37038 * io/ttyname.c: Likewise.
37039 * io/ttyname_r.c: Likewise.
37040 * io/umask.c: Likewise.
37041 * io/unlink.c: Likewise.
37042 * io/unlinkat.c: Likewise.
37043 * io/utime.c: Likewise.
37044 * io/utimensat.c: Likewise.
37045 * io/write.c: Likewise.
37046 * io/xmknod.c: Likewise.
37047 * io/xmknodat.c: Likewise.
37048 * io/xstat.c: Likewise.
37049 * io/xstat64.c: Likewise.
37050 * login/getpt.c: Likewise.
37051 * login/grantpt.c: Likewise.
37052 * login/unlockpt.c: Likewise.
37053 * math/e_acoshl.c: Likewise.
37054 * math/e_acosl.c: Likewise.
37055 * math/e_asinl.c: Likewise.
37056 * math/e_atan2l.c: Likewise.
37057 * math/e_atanhl.c: Likewise.
37058 * math/e_coshl.c: Likewise.
37059 * math/e_expl.c: Likewise.
37060 * math/e_fmodl.c: Likewise.
37061 * math/e_gammal_r.c: Likewise.
37062 * math/e_hypotl.c: Likewise.
37063 * math/e_j0l.c: Likewise.
37064 * math/e_j1l.c: Likewise.
37065 * math/e_jnl.c: Likewise.
37066 * math/e_lgammal_r.c: Likewise.
37067 * math/e_log10l.c: Likewise.
37068 * math/e_log2l.c: Likewise.
37069 * math/e_logl.c: Likewise.
37070 * math/e_powl.c: Likewise.
37071 * math/e_rem_pio2l.c: Likewise.
37072 * math/e_sinhl.c: Likewise.
37073 * math/e_sqrtl.c: Likewise.
37074 * math/fclrexcpt.c: Likewise.
37075 * math/fedisblxcpt.c: Likewise.
37076 * math/feenablxcpt.c: Likewise.
37077 * math/fegetenv.c: Likewise.
37078 * math/fegetexcept.c: Likewise.
37079 * math/fegetround.c: Likewise.
37080 * math/feholdexcpt.c: Likewise.
37081 * math/fesetenv.c: Likewise.
37082 * math/fesetround.c: Likewise.
37083 * math/feupdateenv.c: Likewise.
37084 * math/fgetexcptflg.c: Likewise.
37085 * math/fraiseexcpt.c: Likewise.
37086 * math/fsetexcptflg.c: Likewise.
37087 * math/ftestexcept.c: Likewise.
37088 * math/k_cosl.c: Likewise.
37089 * math/k_rem_pio2l.c: Likewise.
37090 * math/k_sinl.c: Likewise.
37091 * math/k_tanl.c: Likewise.
37092 * math/s_asinhl.c: Likewise.
37093 * math/s_atanl.c: Likewise.
37094 * math/s_cbrtl.c: Likewise.
37095 * math/s_erfl.c: Likewise.
37096 * math/s_expm1l.c: Likewise.
37097 * math/s_log1pl.c: Likewise.
37098 * math/s_tanhl.c: Likewise.
37099 * misc/acct.c: Likewise.
37100 * misc/brk.c: Likewise.
37101 * misc/chflags.c: Likewise.
37102 * misc/chroot.c: Likewise.
37103 * misc/fchflags.c: Likewise.
37104 * misc/fgetxattr.c: Likewise.
37105 * misc/flistxattr.c: Likewise.
37106 * misc/fremovexattr.c: Likewise.
37107 * misc/fsetxattr.c: Likewise.
37108 * misc/fsync.c: Likewise.
37109 * misc/ftruncate.c: Likewise.
37110 * misc/futimes.c: Likewise.
37111 * misc/futimesat.c: Likewise.
37112 * misc/getdomain.c: Likewise.
37113 * misc/getdtsz.c: Likewise.
37114 * misc/gethostid.c: Likewise.
37115 * misc/gethostname.c: Likewise.
37116 * misc/getloadavg.c: Likewise.
37117 * misc/getpagesize.c: Likewise.
37118 * misc/getsysstats.c: Likewise.
37119 * misc/getxattr.c: Likewise.
37120 * misc/gtty.c: Likewise.
37121 * misc/ioctl.c: Likewise.
37122 * misc/lgetxattr.c: Likewise.
37123 * misc/listxattr.c: Likewise.
37124 * misc/llistxattr.c: Likewise.
37125 * misc/lremovexattr.c: Likewise.
37126 * misc/lsetxattr.c: Likewise.
37127 * misc/lutimes.c: Likewise.
37128 * misc/madvise.c: Likewise.
37129 * misc/mincore.c: Likewise.
37130 * misc/mlock.c: Likewise.
37131 * misc/mlockall.c: Likewise.
37132 * misc/mmap.c: Likewise.
37133 * misc/mprotect.c: Likewise.
37134 * misc/msync.c: Likewise.
37135 * misc/munlock.c: Likewise.
37136 * misc/munlockall.c: Likewise.
37137 * misc/munmap.c: Likewise.
37138 * misc/preadv.c: Likewise.
37139 * misc/preadv64.c: Likewise.
37140 * misc/ptrace.c: Likewise.
37141 * misc/pwritev.c: Likewise.
37142 * misc/pwritev64.c: Likewise.
37143 * misc/readv.c: Likewise.
37144 * misc/reboot.c: Likewise.
37145 * misc/remap_file_pages.c: Likewise.
37146 * misc/removexattr.c: Likewise.
37147 * misc/revoke.c: Likewise.
37148 * misc/select.c: Likewise.
37149 * misc/setdomain.c: Likewise.
37150 * misc/setegid.c: Likewise.
37151 * misc/seteuid.c: Likewise.
37152 * misc/sethostid.c: Likewise.
37153 * misc/sethostname.c: Likewise.
37154 * misc/setregid.c: Likewise.
37155 * misc/setreuid.c: Likewise.
37156 * misc/setxattr.c: Likewise.
37157 * misc/sstk.c: Likewise.
37158 * misc/stty.c: Likewise.
37159 * misc/swapoff.c: Likewise.
37160 * misc/swapon.c: Likewise.
37161 * misc/sync.c: Likewise.
37162 * misc/syncfs.c: Likewise.
37163 * misc/syscall.c: Likewise.
37164 * misc/truncate.c: Likewise.
37165 * misc/ualarm.c: Likewise.
37166 * misc/usleep.c: Likewise.
37167 * misc/ustat.c: Likewise.
37168 * misc/utimes.c: Likewise.
37169 * misc/vhangup.c: Likewise.
37170 * misc/writev.c: Likewise.
37171 * posix/_exit.c: Likewise.
37172 * posix/alarm.c: Likewise.
37173 * posix/execve.c: Likewise.
37174 * posix/fexecve.c: Likewise.
37175 * posix/fork.c: Likewise.
37176 * posix/fpathconf.c: Likewise.
37177 * posix/getaddrinfo.c: Likewise.
37178 * posix/getegid.c: Likewise.
37179 * posix/geteuid.c: Likewise.
37180 * posix/getgid.c: Likewise.
37181 * posix/getgroups.c: Likewise.
37182 * posix/getlogin.c: Likewise.
37183 * posix/getlogin_r.c: Likewise.
37184 * posix/getpgid.c: Likewise.
37185 * posix/getpid.c: Likewise.
37186 * posix/getppid.c: Likewise.
37187 * posix/getresgid.c: Likewise.
37188 * posix/getresuid.c: Likewise.
37189 * posix/getsid.c: Likewise.
37190 * posix/getuid.c: Likewise.
37191 * posix/glob64.c: Likewise.
37192 * posix/nanosleep.c: Likewise.
37193 * posix/pathconf.c: Likewise.
37194 * posix/pause.c: Likewise.
37195 * posix/posix_madvise.c: Likewise.
37196 * posix/pread.c: Likewise.
37197 * posix/pread64.c: Likewise.
37198 * posix/pwrite.c: Likewise.
37199 * posix/pwrite64.c: Likewise.
37200 * posix/sched_getaffinity.c: Likewise.
37201 * posix/sched_getp.c: Likewise.
37202 * posix/sched_gets.c: Likewise.
37203 * posix/sched_primax.c: Likewise.
37204 * posix/sched_primin.c: Likewise.
37205 * posix/sched_rr_gi.c: Likewise.
37206 * posix/sched_setaffinity.c: Likewise.
37207 * posix/sched_setp.c: Likewise.
37208 * posix/sched_sets.c: Likewise.
37209 * posix/sched_yield.c: Likewise.
37210 * posix/setgid.c: Likewise.
37211 * posix/setlogin.c: Likewise.
37212 * posix/setpgid.c: Likewise.
37213 * posix/setresgid.c: Likewise.
37214 * posix/setresuid.c: Likewise.
37215 * posix/setsid.c: Likewise.
37216 * posix/setuid.c: Likewise.
37217 * posix/sleep.c: Likewise.
37218 * posix/spawni.c: Likewise.
37219 * posix/sysconf.c: Likewise.
37220 * posix/times.c: Likewise.
37221 * posix/wait.c: Likewise.
37222 * posix/wait3.c: Likewise.
37223 * posix/wait4.c: Likewise.
37224 * posix/waitpid.c: Likewise.
37225 * resolv/gai_sigqueue.c: Likewise.
37226 * resource/getpriority.c: Likewise.
37227 * resource/getrlimit.c: Likewise.
37228 * resource/getrusage.c: Likewise.
37229 * resource/nice.c: Likewise.
37230 * resource/setpriority.c: Likewise.
37231 * resource/setrlimit.c: Likewise.
37232 * resource/ulimit.c: Likewise.
37233 * rt/aio_cancel.c: Likewise.
37234 * rt/aio_fsync.c: Likewise.
37235 * rt/aio_read.c: Likewise.
37236 * rt/aio_sigqueue.c: Likewise.
37237 * rt/aio_suspend.c: Likewise.
37238 * rt/aio_write.c: Likewise.
37239 * rt/clock_getres.c: Likewise.
37240 * rt/clock_gettime.c: Likewise.
37241 * rt/clock_nanosleep.c: Likewise.
37242 * rt/clock_settime.c: Likewise.
37243 * rt/lio_listio.c: Likewise.
37244 * rt/mq_close.c: Likewise.
37245 * rt/mq_getattr.c: Likewise.
37246 * rt/mq_notify.c: Likewise.
37247 * rt/mq_open.c: Likewise.
37248 * rt/mq_receive.c: Likewise.
37249 * rt/mq_send.c: Likewise.
37250 * rt/mq_setattr.c: Likewise.
37251 * rt/mq_timedreceive.c: Likewise.
37252 * rt/mq_timedsend.c: Likewise.
37253 * rt/mq_unlink.c: Likewise.
37254 * rt/shm_open.c: Likewise.
37255 * rt/shm_unlink.c: Likewise.
37256 * rt/timer_create.c: Likewise.
37257 * rt/timer_delete.c: Likewise.
37258 * rt/timer_getoverr.c: Likewise.
37259 * rt/timer_gettime.c: Likewise.
37260 * rt/timer_settime.c: Likewise.
37261 * setjmp/__longjmp.c: Likewise.
37262 * setjmp/setjmp.c: Likewise.
37263 * signal/kill.c: Likewise.
37264 * signal/killpg.c: Likewise.
37265 * signal/raise.c: Likewise.
37266 * signal/sigaction.c: Likewise.
37267 * signal/sigaltstack.c: Likewise.
37268 * signal/sigblock.c: Likewise.
37269 * signal/sigignore.c: Likewise.
37270 * signal/sigintr.c: Likewise.
37271 * signal/signal.c: Likewise.
37272 * signal/sigpause.c: Likewise.
37273 * signal/sigpending.c: Likewise.
37274 * signal/sigqueue.c: Likewise.
37275 * signal/sigreturn.c: Likewise.
37276 * signal/sigset.c: Likewise.
37277 * signal/sigsetmask.c: Likewise.
37278 * signal/sigstack.c: Likewise.
37279 * signal/sigsuspend.c: Likewise.
37280 * signal/sigtimedwait.c: Likewise.
37281 * signal/sigvec.c: Likewise.
37282 * signal/sigwait.c: Likewise.
37283 * signal/sigwaitinfo.c: Likewise.
37284 * signal/sysv_signal.c: Likewise.
37285 * socket/accept.c: Likewise.
37286 * socket/accept4.c: Likewise.
37287 * socket/bind.c: Likewise.
37288 * socket/connect.c: Likewise.
37289 * socket/getpeername.c: Likewise.
37290 * socket/getsockname.c: Likewise.
37291 * socket/getsockopt.c: Likewise.
37292 * socket/isfdtype.c: Likewise.
37293 * socket/listen.c: Likewise.
37294 * socket/recv.c: Likewise.
37295 * socket/recvfrom.c: Likewise.
37296 * socket/recvmsg.c: Likewise.
37297 * socket/send.c: Likewise.
37298 * socket/sendmsg.c: Likewise.
37299 * socket/sendto.c: Likewise.
37300 * socket/setsockopt.c: Likewise.
37301 * socket/shutdown.c: Likewise.
37302 * socket/sockatmark.c: Likewise.
37303 * socket/socket.c: Likewise.
37304 * socket/socketpair.c: Likewise.
37305 * stdio-common/ctermid.c: Likewise.
37306 * stdio-common/cuserid.c: Likewise.
37307 * stdio-common/remove.c: Likewise.
37308 * stdio-common/rename.c: Likewise.
37309 * stdio-common/renameat.c: Likewise.
37310 * stdio-common/tempname.c: Likewise.
37311 * stdlib/getcontext.c: Likewise.
37312 * stdlib/makecontext.c: Likewise.
37313 * stdlib/setcontext.c: Likewise.
37314 * stdlib/swapcontext.c: Likewise.
37315 * stdlib/system.c: Likewise.
37316 * streams/fattach.c: Likewise.
37317 * streams/fdetach.c: Likewise.
37318 * streams/getmsg.c: Likewise.
37319 * streams/getpmsg.c: Likewise.
37320 * streams/putmsg.c: Likewise.
37321 * streams/putpmsg.c: Likewise.
37322 * sysdeps/unix/bsd/getpt.c: Likewise.
37323 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
37324 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
37325 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
37326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
37327 Likewise.
37328 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
37329 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
37330 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
37331 * sysvipc/msgctl.c: Likewise.
37332 * sysvipc/msgget.c: Likewise.
37333 * sysvipc/msgrcv.c: Likewise.
37334 * sysvipc/msgsnd.c: Likewise.
37335 * sysvipc/semctl.c: Likewise.
37336 * sysvipc/semget.c: Likewise.
37337 * sysvipc/semop.c: Likewise.
37338 * sysvipc/semtimedop.c: Likewise.
37339 * sysvipc/shmat.c: Likewise.
37340 * sysvipc/shmctl.c: Likewise.
37341 * sysvipc/shmdt.c: Likewise.
37342 * sysvipc/shmget.c: Likewise.
37343 * termios/tcdrain.c: Likewise.
37344 * termios/tcflow.c: Likewise.
37345 * termios/tcflush.c: Likewise.
37346 * termios/tcgetattr.c: Likewise.
37347 * termios/tcgetpgrp.c: Likewise.
37348 * termios/tcsendbrk.c: Likewise.
37349 * termios/tcsetattr.c: Likewise.
37350 * termios/tcsetpgrp.c: Likewise.
37351 * time/adjtime.c: Likewise.
37352 * time/clock.c: Likewise.
37353 * time/getitimer.c: Likewise.
37354 * time/gettimeofday.c: Likewise.
37355 * time/setitimer.c: Likewise.
37356 * time/settimeofday.c: Likewise.
37357 * time/stime.c: Likewise.
37358 * time/time.c: Likewise.
37359
373602012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 37361
a20492cf
PT
37362 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
37363 /usr/old/bin.
37364
72e182e3
PT
37365 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
37366 instead of spaces.
37367 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
37368
fbeafede
JM
373692012-11-03 Joseph Myers <joseph@codesourcery.com>
37370
5b5b04d6
JM
37371 [BZ #14796]
37372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
37373 FE_TONEAREST before applying Dekker multiplication and Knuth
37374 addition. Clear inexact exceptions and check for exact zero
37375 results afterwards.
37376 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37377 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37378 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37379 * math/libm-test.inc (fma_test): Add more tests.
37380 (fma_test_towardzero): Likewise.
37381 (fma_test_downward): Likewise.
37382 (fma_test_upward): Likewise.
37383 * sysdeps/generic/math_private.h (default_libc_fesetround): New
37384 function.
37385 (libc_fesetround): New macro.
37386 (libc_fesetroundf): Likewise.
37387 (libc_fesetroundl): Likewise.
37388 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
37389 function.
37390 (libc_fesetround_387): Likewise.
37391 (libc_fesetroundf): New macro.
37392 (libc_fesetround): Likewise.
37393 (libc_fesetroundl): Likewise.
37394 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
37395 function.
37396 (libc_fesetroundf): New macro.
37397 (libc_fesetround): Likewise.
37398 (libc_fesetroundl): Likewise.
37399 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
37400 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
37401 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
37402 libm_hidden_ver.
37403 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
37404 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
37405 libm_hidden_def.
37406 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
37407 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
37408 libm_hidden_ver.
37409 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
37410 libm_hidden_def.
37411
fbeafede
JM
37412 [BZ #3439]
37413 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
37414 integer constant usable in #if and use that to give value to enum
37415 constant.
37416 (FE_DIVBYZERO): Likewise.
37417 (FE_UNDERFLOW): Likewise.
37418 (FE_OVERFLOW): Likewise.
37419 (FE_INVALID): Likewise.
37420 (FE_INVALID_SNAN): Likewise.
37421 (FE_INVALID_ISI): Likewise.
37422 (FE_INVALID_IDI): Likewise.
37423 (FE_INVALID_ZDZ): Likewise.
37424 (FE_INVALID_IMZ): Likewise.
37425 (FE_INVALID_COMPARE): Likewise.
37426 (FE_INVALID_SOFTWARE): Likewise.
37427 (FE_INVALID_SQRT): Likewise.
37428 (FE_INVALID_INTEGER_CONVERSION): Likewise.
37429 (FE_TONEAREST): Likewise.
37430 (FE_TOWARDZERO): Likewise.
37431 (FE_UPWARD): Likewise.
37432 (FE_DOWNWARD): Likewise.
37433 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
37434 (FE_DIVBYZERO): Likewise.
37435 (FE_OVERFLOW): Likewise.
37436 (FE_UNDERFLOW): Likewise.
37437 (FE_INEXACT): Likewise.
37438 (FE_TONEAREST): Likewise.
37439 (FE_DOWNWARD): Likewise.
37440 (FE_UPWARD): Likewise.
37441 (FE_TOWARDZERO): Likewise.
37442 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
37443 (FE_UNDERFLOW): Likewise.
37444 (FE_OVERFLOW): Likewise.
37445 (FE_DIVBYZERO): Likewise.
37446 (FE_INVALID): Likewise.
37447 (FE_TONEAREST): Likewise.
37448 (FE_TOWARDZERO): Likewise.
37449 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
37450 (FE_OVERFLOW): Likewise.
37451 (FE_UNDERFLOW): Likewise.
37452 (FE_DIVBYZERO): Likewise.
37453 (FE_INEXACT): Likewise.
37454 (FE_TONEAREST): Likewise.
37455 (FE_TOWARDZERO): Likewise.
37456 (FE_UPWARD): Likewise.
37457 (FE_DOWNWARD): Likewise.
37458 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
37459 (FE_DIVBYZERO): Likewise.
37460 (FE_OVERFLOW): Likewise.
37461 (FE_UNDERFLOW): Likewise.
37462 (FE_INEXACT): Likewise.
37463 (FE_TONEAREST): Likewise.
37464 (FE_DOWNWARD): Likewise.
37465 (FE_UPWARD): Likewise.
37466 (FE_TOWARDZERO): Likewise.
37467
105ca950
CM
374682012-11-02 Chris Metcalf <cmetcalf@tilera.com>
37469
37470 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
37471
a542b389
AS
374722012-11-03 Andreas Schwab <schwab@linux-m68k.org>
37473
37474 * scripts/cross-test-ssh.sh (command): Use newlines to separate
37475 commands. Quote $PWD.
37476 (blacklist_exports): Don't use remove_newlines. Replace "declare
37477 -x" by "export".
37478 (remove_newlines): Remove.
37479
f62c8abc
L
374802012-11-02 H.J. Lu <hongjiu.lu@intel.com>
37481
37482 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
37483 * stdlib/stdlib.h (atof): Moved to ...
37484 * include/bits/stdlib-float.h: Here. New file.
37485 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
37486 * stdlib/bits/stdlib-float.h: New file.
37487 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
37488 -mno-sse -mno-mmx.
37489 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
37490 <xmmintrin.h>.
37491
0155d5b2
JM
374922012-11-02 Joseph Myers <joseph@codesourcery.com>
37493
a68d0680
JM
37494 * conform/conformtest.pl (@headers): Add fenv.h.
37495 * conform/data/fenv.h-data: New file.
37496 * include/fenv.h [_ISOMAC]: Disable all contents of file except
37497 include of <math/fenv.h>.
37498
caf7f573
JM
37499 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
37500 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
37501 && !UNIX98]. Enables tests for XOPEN2K8.
37502 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
37503 POSIX2008]: Likewise.
37504
6c073ad6
JM
37505 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
37506 (struct rusage): Do not expect type or its members.
37507
0155d5b2
JM
37508 [BZ #3439]
37509 * math/math.h (FP_NAN): Define macro to integer constant usable in
37510 #if and use that to give value to enum constant.
37511 (FP_INFINITE): Likewise.
37512 (FP_ZERO): Likewise.
37513 (FP_SUBNORMAL): Likewise.
37514 (FP_NORMAL): Likewise.
37515
b5dcacb4
AS
375162012-11-02 Andreas Schwab <schwab@linux-m68k.org>
37517
37518 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
37519 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
37520 arguments.
37521
f7934be8
RM
375222012-11-02 Roland McGrath <roland@hack.frob.com>
37523
37524 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
37525 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
37526 autoconf-time if not.
37527 * configure.in: Remove AC_PREREQ.
37528
d7d08bde
TMQMF
375292012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37530
37531 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
37532 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
37533 of the internal implementation.
37534
dcdae19a
JM
375352012-11-02 Joseph Myers <joseph@codesourcery.com>
37536
37537 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
37538 except include of <misc/sys/syslog.h>.
37539
d6cffd3e
AS
375402012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37541
37542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
37543 function returns with a NULL context exit with zero.
37544
b3563932
TMQMF
375452012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37546
37547 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
37548
b288a93d
L
375492012-11-01 H.J. Lu <hongjiu.lu@intel.com>
37550
37551 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
37552 (run_program_cmd): This.
37553 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
37554 (tst_langinfo): New variable. Use it.
37555
a2421a68
SAS
375562012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
37557
37558 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
37559 floating point opcodes.
37560
6f796e1b
TS
375612012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37562
7402596b
TS
37563 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
37564 variable.
37565
d0d4f868
TS
37566 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
37567
6f796e1b
TS
37568 * sysdeps/mach/hurd/powerpc: Remove directory.
37569 * sysdeps/mach/powerpc: Likewise.
37570
4da224a2
AS
375712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
37572
37573 * scripts/check-local-headers.sh: Ignore c++ headers.
37574
341dd673
TS
375752012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37576
37577 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
37578 __libc_cleanup_region_start argument.
37579
473611b2
JM
375802012-11-01 Joseph Myers <joseph@codesourcery.com>
37581
37582 [BZ #14784]
37583 [BZ #14785]
37584 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
37585 x * y using scaling, not as x * y + z.
37586 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37587 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37588 * math/libm-test.inc (fma_test): Add more tests.
37589 (fma_test_towardzero): Likewise.
37590 (fma_test_downward): Likewise.
37591 (fma_test_upward): Likewise.
37592
4078da3d
TS
375932012-11-01 Thomas Schwinge <thomas@codesourcery.com>
37594
37595 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
37596
903252aa
JM
375972012-10-31 Joseph Myers <joseph@codesourcery.com>
37598
37599 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
37600 New variable.
37601
cbc818d0
TS
376022012-10-31 Thomas Schwinge <thomas@codesourcery.com>
37603
37604 * rt/tst-shm.c (worker): Correct checking for mmap failure.
37605
5a03cb1e
AS
376062012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37607
37608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37609 Fix sort order.
37610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37611 Likewise.
37612
90aff2ff
TMQMF
376132012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37614
37615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37616 Fix the order of the list for glibc 2.17.
37617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37618 Likewise.
37619
1818fcb7
AS
376202012-10-31 Andreas Schwab <schwab@linux-m68k.org>
37621
37622 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37623
ef82f4da
JM
376242012-10-31 Joseph Myers <joseph@codesourcery.com>
37625
16a0e2ec
JM
37626 [BZ #14610]
37627 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
37628 for low part of x being zero before using __atanl (y).
37629 * math/libm-test.inc (atan2_test): Add another test.
37630
0eb69512
JM
37631 * manual/install.texi (Configuring and compiling): Document
37632 general use of test-wrapper and test-wrapper-env.
37633 * INSTALL: Regenerated.
37634
ef82f4da
JM
37635 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
37636 (__fma): Do not extract and scale down low bits on after-rounding
37637 systems when result rounded to normal precision would have normal
37638 exponent.
37639 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
37640 (__fmal): Do not extract and scale down low bits on after-rounding
37641 systems when result rounded to normal precision would have normal
37642 exponent.
37643 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
37644 (__fmal): Do not extract and scale down low bits on after-rounding
37645 systems when result rounded to normal precision would have normal
37646 exponent.
37647 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
37648 macro.
37649 (fma_test): Add more tests.
37650 (fma_test_towardzero): Likewise.
37651 (fma_test_downward): Likewise.
37652 (fma_test_upward): Likewise.
37653
954ef0d9
L
376542012-10-30 H.J. Lu <hongjiu.lu@intel.com>
37655
37656 * sysdeps/i386/tininess.h: Renamed to ...
37657 * sysdeps/x86/tininess.h: This.
37658 * sysdeps/x86_64/tininess.h: Removed.
37659
df61ffb2
JM
376602012-10-30 Joseph Myers <joseph@codesourcery.com>
37661
37662 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
37663 input. Use $(build-program-cmd).
37664 ($(objpfx)tst-array1-static.out): Likewise.
37665 ($(objpfx)tst-array2.out): Likewise.
37666 ($(objpfx)tst-array3.out): Likewise.
37667 ($(objpfx)tst-array4.out): Likewise.
37668 ($(objpfx)tst-array5.out): Likewise.
37669 ($(objpfx)tst-array5-static.out): Likewise.
37670
01767843
CM
376712012-10-30 Chris Metcalf <cmetcalf@tilera.com>
37672
47cc1490
CM
37673 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
37674 if defined.
37675
01767843
CM
37676 * nss/nsswitch.h (nss_interface_function): Provide new
37677 macro for use with NSS functions.
37678 * grp/initgroups.c: Use new macro.
37679 * nss/getXXbyYY.c: Likewise.
37680 * nss/getXXbyYY_r.c: Likewise.
37681 * nss/getXXent.c: Likewise.
37682 * nss/getXXent_r.c: Likewise.
37683 * sysdeps/posix/getaddrinfo.c: Likewise.
37684
8321aa97
AJ
376852012-10-30 Andreas Jaeger <aj@suse.de>
37686
37687 * po/ru.po: Update Russion translation from translation project.
37688
2a27fd6d
JM
376892012-10-30 Joseph Myers <joseph@codesourcery.com>
37690
8627a232
JM
37691 [BZ #14152]
37692 [BZ #14783]
37693 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
37694 result and shift together with sticky bit instead of replicating
37695 round-to-nearest rounding.
37696 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37697 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37698 * math/libm-test.inc (fma_test): Add more tests. Do not permit
37699 missing underflow exceptions.
37700 (fma_test_towardzero): Add more tests.
37701 (fma_test_downward): Likewise.
37702 (fma_test_upward): Likewise.
37703
2a27fd6d
JM
37704 [BZ #14047]
37705 * sysdeps/generic/tininess.h: New file.
37706 * sysdeps/i386/tininess.h: Likewise.
37707 * sysdeps/sh/tininess.h: Likewise.
37708 * sysdeps/x86_64/tininess.h: Likewise.
37709 * stdlib/tst-strtod-underflow.c: Likewise.
37710 * stdlib/tst-tininess.c: Likewise.
37711 * stdlib/strtod_l.c: Include <tininess.h>.
37712 (round_and_return): Do not set errno for exact underflow cases.
37713 Force an underflow exception when setting errno for underflow.
37714 Determine underflow based on rounding to normal precision if
37715 TININESS_AFTER_ROUNDING.
37716 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
37717 ERANGE for exact underflow cases.
37718 * stdlib/Makefile (tests): Add tst-tininess and
37719 tst-strtod-underflow.
37720 ($(objpfx)tst-tininess): Use $(link-libm).
37721 ($(objpfx)tst-strtod-underflow): Likewise.
37722
e7170363
AJ
377232012-10-30 Andreas Jaeger <aj@suse.de>
37724
e5088dc6
AJ
37725 [BZ#14767]
37726 * elf/Makefile (tests): Remove conditional for have-initfini-array
37727 since this is now always required and the variable does not exist
37728 anymore.
37729 (tests-static): Likewise.
37730 (modules-names): Likewise.
37731
e7170363 37732 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
37733
37734 * elf/tst-array1.c (fini_array): Make writeable so that it can be
37735 merged with constructor/destructor.
37736 (init_array): Likewise.
37737 * elf/tst-array2dep.c (fini_array): Likewise.
37738 (init_array): Likewise.
37739
60457d8a
MF
377402012-10-29 Mike Frysinger <vapier@gentoo.org>
37741
37742 * manual/message.texi: Delete @cartouche tags.
37743
8bece752
PT
377442012-10-29 Pino Toscano <toscano.pino@tiscali.it>
37745
94ce799f
PT
37746 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
37747 EOPNOTSUPP.
37748 * sysdeps/mach/hurd/fsync.c: Likewise.
37749
8bece752
PT
37750 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
37751 [_POSIX_REALTIME_SIGNALS]: Change condition to
37752 [_POSIX_REALTIME_SIGNALS > 0].
37753
86ebe6b1
AJ
377542012-10-27 Andreas Jaeger <aj@suse.de>
37755
37756 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
37757 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
37758 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
37759 [__WORDSIZE != 64]: Likewise.
37760
54399c08
L
377612012-10-26 H.J. Lu <hongjiu.lu@intel.com>
37762
37763 * iconvdata/tst-table.sh: Remove ${SHELL}.
37764 * iconvdata/tst-tables.sh: Likewise.
37765
e2211bed
DM
377662012-10-25 David S. Miller <davem@davemloft.net>
37767
37768 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37769 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
37770 of strtoull.
37771
f303f97c
DM
37772 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
37773 ifunc-impl-list.c
37774 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
37775 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
37776 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
37777 file.
37778
1e9d84cd
RM
377792012-10-25 Roland McGrath <roland@hack.frob.com>
37780
37781 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37782 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
37783 __getdirentries.
37784
df381762
JM
377852012-10-25 Joseph Myers <joseph@codesourcery.com>
37786 Jim Blandy <jimb@codesourcery.com>
37787
37788 * scripts/cross-test-ssh.sh: New file.
37789 * manual/install.texi (Configuring and compiling): Document use of
37790 cross-test-ssh.sh.
37791 * INSTALL: Regenerated.
37792
bff64913
PT
377932012-10-25 Pino Toscano <toscano.pino@tiscali.it>
37794
37795 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
37796 EOPNOTSUPP.
37797
25fe8932
JM
377982012-10-25 Joseph Myers <joseph@codesourcery.com>
37799
37800 * Makeconfig (run-program-prefix): Fix comment.
37801
cc1290d0
JM
378022012-10-24 Joseph Myers <joseph@codesourcery.com>
37803 Jim Blandy <jimb@codesourcery.com>
37804
37805 * Makeconfig (test-wrapper): New variable,
37806 (test-wrapper-env): Likewise.
37807 [$(cross-compiling) = yes && $(test-wrapper) != ""]
37808 (run-built-tests): Define to yes.
37809 (run-program-prefix): Use $(test-wrapper).
37810 (built-program-cmd): Likewise.
37811 * Rules (make-test-out): Use $(test-wrapper-env) and
37812 $(host-built-program-cmd).
37813 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
37814 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
37815 tst-pathopt.sh.
37816 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
37817 $(test-wrapper-env) to tst-rtld-load-self.sh.
37818 ($(objpfx)order2.out): Use $(test-wrapper).
37819 ($(objpfx)tst-initorder.out): Likewise.
37820 ($(objpfx)tst-initorder2.out): Likewise.
37821 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
37822 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
37823 (test_wrapper_env): New variable. Use it to run ld.so.
37824 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
37825 Use it to run ld.so.
37826 (test_wrapper_env): Likewise.
37827 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
37828 $(test-wrapper) to run-iconv-test.sh.
37829 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
37830 (ICONV): Use $test_wrapper.
37831 * posix/Makefile ($(objpfx)globtest.out): Pass
37832 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
37833 globtest.sh, not $(run-program-prefix).
37834 * posix/globtest.sh (run_via_rtld_prefix): New variable.
37835 (test_wrapper): Likewise.
37836 (test_wrapper_env): Likewise. Use it to run globtest with HOME
37837 set together with run_via_rtld_prefix.
37838 (run_program_prefix): Define in terms of test_wrapper and
37839 run_via_rtld_prefix.
37840
6e6249d0
RM
378412012-10-24 Roland McGrath <roland@hack.frob.com>
37842
37843 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
37844 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
37845 Targets removed.
37846
37847 [BZ #14743]
37848 * include/time.h: Remove librt_hidden_proto (clock_gettime).
37849 Declare __clock_getres, __clock_gettime, __clock_settime,
37850 __clock_nanosleep, and __clock_getcpuclockid.
37851 * rt/clock_gettime.c: Define __clock_gettime as an alias.
37852 Remove librt_hidden_def (clock_gettime).
37853 * sysdeps/unix/clock_gettime.c: Likewise.
37854 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
37855 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
37856 * rt/clock_getres.c: Define __clock_getres as an alias.
37857 * sysdeps/posix/clock_getres.c: Likewise.
37858 * rt/clock_settime.c: Define __clock_settime as an alias.
37859 * sysdeps/unix/clock_settime.c: Likewise.
37860 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
37861 * sysdeps/unix/clock_nanosleep.c: Likewise.
37862 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
37863 * rt/clock-compat.c: New file.
37864 * rt/Makefile (librt-routines): Add clock-compat and move
37865 $(clock-routines) to ...
37866 (routines): ... here, new variable.
37867 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
37868 Don't add get_clockfreq here.
37869 * rt/Versions (libc: GLIBC_2.17): New version set.
37870 Add clock_* symbols here.
37871 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
37872 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
37873 (GLIBC_2.17): Add clock_* symbols.
37874 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37876 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37878 Likewise.
37879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37880 Likewise.
37881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37885 * NEWS: Mention the move.
37886
37887 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
37888 Use __open, __read, __close rather than their public counterparts.
37889 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
37890 (__get_clockfreq_via_cpuinfo): Likewise.
37891 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
37892 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
37893
37894 * config.h.in (HAVE_IFUNC): New #undef.
37895 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
37896 was successful.
37897 * configure: Regenerated.
37898
0cae3f4b
MF
378992012-10-24 Mike Frysinger <vapier@gentoo.org>
37900
37901 * configure.in: Move READELF check to start of file.
37902 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
37903 libc_cv_asm_gnu_indirect_function in the process.
37904 * configure: Regenerated.
37905
8175a253
MF
379062012-10-24 Mike Frysinger <vapier@gentoo.org>
37907
37908 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
37909 send the output to /dev/null.
37910 (libc_cv_cc_with_libunwind): Likewise.
37911 (libc_cv_as_noexecstack): Likewise.
37912 * configure: Regenerate.
37913
0708a7d1
JM
379142012-10-24 Joseph Myers <joseph@codesourcery.com>
37915
10b40d85
JM
37916 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
37917
0708a7d1
JM
37918 * posix/globtest.sh (TMPDIR): Do not set.
37919 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
37920 (testout): Likewise.
37921
9fddec1a
AJ
379222012-10-24 Andreas Jaeger <aj@suse.de>
37923
3a8db22f
AJ
37924 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
37925 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
37926 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
37927 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
37928 posix_fadvise64, posix_fallocate64.
37929
9fddec1a
AJ
37930 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
37931 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
37932 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
37933 Likewise.
37934 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
37935 Likewise.
37936 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
37937
37938 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
37939 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
37940 <bits/fcntl-linux.h>.
37941 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
37942
37943 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
37944 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
37945 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
37946 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
37947 [__WORDSIZE != 64]: Likewise.
37948
ebfd1bbd
JM
379492012-10-23 Joseph Myers <joseph@codesourcery.com>
37950
03ac099f
JM
37951 * Makeconfig (run-built-tests): New variable.
37952 * Rules [$(cross-compiling) = yes]: Change condition to
37953 [$(run-built-tests) = no].
37954 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
37955 to [$(run-built-tests) = yes].
37956 * elf/Makefile [$(cross-compiling) = no]: Likewise
37957 * grp/Makefile [$(cross-compiling) = no]: Likewise.
37958 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
37959 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
37960 * intl/Makefile [$(cross-compiling) = no]: Likewise.
37961 * io/Makefile [$(cross-compiling) = no]: Likewise.
37962 * libio/Makefile [$(cross-compiling) = no]: Likewise.
37963 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
37964 * misc/Makefile [$(cross-compiling) = no]: Likewise.
37965 * posix/Makefile [$(cross-compiling) = no]: Likewise.
37966 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
37967 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
37968 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
37969 * string/Makefile [$(cross-compiling) = no]: Likewise.
37970
ebfd1bbd
JM
37971 * posix/Makefile ($(objpfx)globtest.out): Pass
37972 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
37973 $(rtld-installed-name).
37974 * posix/globtest.sh (elf_objpfx): Remove variable.
37975 (rtld_installed_name): Likewise.
37976 (library_path): Likewise.
37977 (run_program_prefix): New variable. Use for running globtest
37978 binary.
37979
166bca24
JB
379802012-10-23 Jim Blandy <jimb@codesourcery.com>
37981 Joseph Myers <joseph@codesourcery.com>
37982
37983 * Makeconfig (host-built-program-cmd): New variable.
37984 * elf/Makefile (tst-stackguard1-ARGS): Use
37985 $(host-built-program-cmd).
37986 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
37987 (tst-spawn-ARGS): Likewise.
37988 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
37989
88866099
JM
379902012-10-23 Joseph Myers <joseph@codesourcery.com>
37991 Jim Blandy <jimb@codesourcery.com>
37992
37993 * Makeconfig (run-via-rtld-prefix): New variable.
37994 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
37995 (built-program-cmd): Likewise.
37996
b4b4c296
AJ
379972012-10-22 Andreas Jaeger <aj@suse.de>
37998
37999 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
38000 __O_RSYNC if it exists, otherwise to O_SYNC.
38001
6fb54a22
JB
380022012-10-22 Jim Blandy <jimb@codesourcery.com>
38003 Joseph Myers <joseph@codesourcery.com>
38004
38005 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
38006 /dev/null.
38007 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
38008 from /dev/null
38009 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
38010 /dev/null.
38011
481b90b9
AJ
380122012-10-22 Andreas Jaeger <aj@suse.de>
38013
2a0e2669
AJ
38014 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
38015 Define always.
38016 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
38017
76e38f9a
AJ
38018 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38019 bits/fcntl-linux.h.
38020
7cd37b43
AJ
38021 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
38022 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
38023
481b90b9
AJ
38024 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
38025 to __O_LARGEFILE.
38026 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
38027 to __O_LARGEFILE.
38028
aba75984
JB
380292012-10-21 Jim Blandy <jimb@codesourcery.com>
38030 Joseph Myers <joseph@codesourcery.com>
38031
38032 * config.make.in (NM): New variable.
38033
88d4247f
AJ
380342012-10-21 Andreas Jaeger <aj@suse.de>
38035
38036 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
38037 definitions and declarations that are provided by
38038 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
38039
f2eed205
L
380402012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38041
38042 [BZ #14683]
38043 * elf/Makefile (tests-static): Add tst-leaks1-static.
38044 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
38045 ($(objpfx)tst-leaks1-static): New rule.
38046 ($(objpfx)tst-leaks1-static-mem): Likewise.
38047 (tst-leaks1-static-ENV): New macro.
38048 * elf/dl-open.c (dl_open_worker): Check the main application
38049 only if SHARED is defined.
38050 * elf/tst-leaks1-static.c: New file.
38051
335e6931
AJ
380522012-10-20 Andreas Jaeger <aj@suse.de>
38053
38054 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
38055 generic values for Linux.
38056 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
38057 and declarations that are provided by <bits/fcntl-linux.h> and
38058 include <bits/fcntl-linux.h>.
38059 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
38060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
38061
ac5c94d3
RM
380622012-10-20 Roland McGrath <roland@hack.frob.com>
38063
38064 * io/fcntl.h: Move include of <bits/types.h> to the top and
38065 include it unconditionally.
38066
de54b33a
L
380672012-10-20 H.J. Lu <hongjiu.lu@intel.com>
38068
228cfb01
L
38069 * wcsmbs/Makefile (tests-ifunc): New variable.
38070 (tests): Add $(tests-ifunc).
38071 * wcsmbs/test-wcschr-ifunc.c: New file.
38072 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
38073 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
38074 * wcsmbs/test-wcslen-ifunc.c: Likewise.
38075 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
38076 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
38077
69f07e5f
L
38078 * string/Makefile (tests-ifunc): New variable.
38079 (tests): Add $(tests-ifunc).
38080 * string/test-memccpy.c (TEST_NAME): New macro.
38081 * string/test-memchr.c (TEST_NAME): Likewise.
38082 * string/test-memcmp.c (TEST_NAME): Likewise.
38083 * string/test-memcpy.c (TEST_NAME): Likewise.
38084 * string/test-memmem.c (TEST_NAME): Likewise.
38085 * string/test-memmove.c (TEST_NAME): Likewise.
38086 * string/test-memset.c (TEST_NAME): Likewise.
38087 * string/test-rawmemchr.c (TEST_NAME): Likewise.
38088 * string/test-stpcpy.c (TEST_NAME): Likewise.
38089 * string/test-stpncpy.c (TEST_NAME): Likewise.
38090 * string/test-strcasecmp.c (TEST_NAME): Likewise.
38091 * string/test-strcasestr.c (TEST_NAME): Likewise.
38092 * string/test-strcat.c (TEST_NAME): Likewise.
38093 * string/test-strchr.c (TEST_NAME): Likewise.
38094 * string/test-strcmp.c(TEST_NAME): Likewise.
38095 * string/test-strcpy.c (TEST_NAME): Likewise.
38096 * string/test-strcspn.c (TEST_NAME): Likewise.
38097 * string/test-strlen.c (TEST_NAME): Likewise.
38098 * string/test-strncasecmp.c (TEST_NAME): Likewise.
38099 * string/test-strncmp.c (TEST_NAME): Likewise.
38100 * string/test-strncpy.c (TEST_NAME): Likewise.
38101 * string/test-strnlen.c (TEST_NAME): Likewise.
38102 * string/test-strpbrk.c (TEST_NAME): Likewise.
38103 * string/test-strrchr.c (TEST_NAME): Likewise.
38104 * string/test-strspn.c (TEST_NAME): Likewise.
38105 * string/test-strstr.c (TEST_NAME): Likewise.
38106 * string/test-bcopy-ifunc.c: New file.
38107 * string/test-bzero-ifunc.c: Likewise.
38108 * string/test-memccpy-ifunc.c: Likewise.
38109 * string/test-memchr-ifunc.c: Likewise.
38110 * string/test-memcmp-ifunc.c: Likewise.
38111 * string/test-memcpy-ifunc.c: Likewise.
38112 * string/test-memmem-ifunc.c: Likewise.
38113 * string/test-memmove-ifunc.c: Likewise.
38114 * string/test-mempcpy-ifunc.c: Likewise.
38115 * string/test-memset-ifunc.c: Likewise.
38116 * string/test-rawmemchr-ifunc.c: Likewise.
38117 * string/test-stpcpy-ifunc.c: Likewise.
38118 * string/test-stpncpy-ifunc.c: Likewise.
38119 * string/test-strcasecmp-ifunc.c: Likewise.
38120 * string/test-strcasestr-ifunc.c: Likewise.
38121 * string/test-strcat-ifunc.c: Likewise.
38122 * string/test-strchr-ifunc.c: Likewise.
38123 * string/test-strchrnul-ifunc.c: Likewise.
38124 * string/test-strcmp-ifunc.c: Likewise.
38125 * string/test-strcpy-ifunc.c: Likewise.
38126 * string/test-strcspn-ifunc.c: Likewise.
38127 * string/test-strlen-ifunc.c: Likewise.
38128 * string/test-strncasecmp-ifunc.c: Likewise.
38129 * string/test-strncat-ifunc.c: Likewise.
38130 * string/test-strncmp-ifunc.c: Likewise.
38131 * string/test-strncpy-ifunc.c: Likewise.
38132 * string/test-strnlen-ifunc.c: Likewise.
38133 * string/test-strpbrk-ifunc.c: Likewise.
38134 * string/test-strrchr-ifunc.c: Likewise.
38135 * string/test-strspn-ifunc.c: Likewise.
38136 * string/test-strstr-ifunc.c: Likewise.
38137
de54b33a
L
38138 * debug/Makefile (tests-ifunc): New variable.
38139 (tests): Add $(tests-ifunc).
38140 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
38141 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
38142 * debug/test-stpcpy_chk-ifunc.c: New file.
38143 * debug/test-strcpy_chk-ifunc.c: Likewise.
38144
88481c16
SP
381452012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
38146
38147 [BZ #13601]
38148 * elf/dl-load.c (open_verify): Retry read if the entire ELF
38149 header is not read in.
38150
135948bd
JM
381512012-10-19 Joseph Myers <joseph@codesourcery.com>
38152
89f1c388
JM
38153 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
38154 script to $(SHELL) as $<. Pass $(common-objpfx) to script
38155 directly. Pass built executable to script as
38156 $(built-program-cmd).
38157 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
38158 $testprogram without using LD_LIBRARY_PATH and $ldso.
38159
e40a0d21
JM
38160 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
38161 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
38162 $(rtld-installed-name).
38163 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
38164 (rtld_installed_name): Likewise.
38165 (library_path): Likewise.
38166 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
38167 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
38168 $(run-program-prefix) to tst-tables.sh.
38169 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
38170 it to run tst-table-from and tst-table-to.
38171 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
38172 Pass it to tst-table.sh.
38173 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
38174 $(run-program-prefix) to tst-gettext.sh.
38175 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
38176 tst-translit.sh.
38177 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
38178 tst-gettext2.sh.
38179 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
38180 to run tst-gettext.
38181 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
38182 to run tst-gettext2.
38183 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
38184 to run tst-translit.
38185 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
38186 $(run-program-prefix) to tst-mtrace.sh.
38187 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
38188 to run tst-mtrace.
38189 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
38190 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
38191 $(rtld-installed-name).
38192 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
38193 (rtld_installed_name): Likewise.
38194 (run_program_prefix): New variable. Use it to run wordexp-test.
38195
728e272a
JM
38196 * Makeconfig (ARCH): Remove all definitions.
38197 (machine): Likewise.
38198 [ARCH]: Remove conditional code.
38199 [!objdir]: Give error.
38200 [!objdir] (objpfx): Remove.
38201 [!objdir] (common-objpfx): Likewise.
38202 [!objdir] (common-objdir): Likewise.
38203 * configure.in (config_makefile): Remove. Hardcode Makefile in
38204 AC_CONFIG_FILES call.
38205 * configure: Regenerated.
38206
d528cdcf
JM
38207 [BZ #13888]
38208 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
38209 or TMPDIR.
38210 (testout): Likewise.
38211
135948bd
JM
38212 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
38213 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
38214 $(rtld-installed-name).
38215 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
38216 (rtld_installed_name): Likwise.
38217 (runit): Remove function.
38218 (run_getconf): New variable, Use it for running getconf binary.
38219
38c78296
L
382202012-10-18 H.J. Lu <hongjiu.lu@intel.com>
38221
38222 [BZ #14716]
38223 * string/test-memmem.c (check_result): New function.
38224 (do_one_test): Use it.
38225 (check1): New function.
38226 (test_main): Use it.
38227
d077f65f
MT
382282012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
38229
38230 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
38231
ced52c71
JM
382322012-10-18 Joseph Myers <joseph@codesourcery.com>
38233
38234 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
38235 (_G_LSEEK64): Likewise.
38236 (_G_MMAP64): Likewise.
38237 (_G_FSTAT64): Likewise.
38238 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
38239 (_G_LSEEK64): Likewise.
38240 (_G_MMAP64): Likewise.
38241 (_G_FSTAT64): Likewise.
38242 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
38243 unconditional. Call __mmap64 directly.
38244 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
38245 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
38246 __lseek64 directly.
38247 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
38248 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
38249 __mmap64 directly.
38250 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
38251 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
38252 __lseek64 directly.
38253 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
38254 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
38255 __lseek64 directly.
38256 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
38257 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
38258 __lseek64 directly.
38259 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
38260 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
38261 __fxstat64 directly.
38262 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
38263 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
38264 unconditional.
38265 (freopen64) [!_G_OPEN64]: Remove conditional code.
38266 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
38267 unconditional.
38268 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
38269 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
38270 unconditional.
38271 (ftello64) [!_G_LSEEK64]: Remove conditional code.
38272 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
38273 unconditional.
38274 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38275 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
38276 unconditional.
38277 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
38278 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
38279 unconditional.
38280 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38281 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
38282 unconditional.
38283 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
38284 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
38285 unconditional.
38286 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
38287
b741de23
SP
382882012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
38289
38290 [BZ #12140]
38291 * manual/memory.texi (Malloc Tunable Parameters): Add note
38292 about free list pointers overwriting some perturb bytes.
38293 Wording suggested by Roland McGrath.
38294
f9b9d9c9
JM
382952012-10-17 Joseph Myers <joseph@codesourcery.com>
38296
38297 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
38298 (lgamma_test): Likewise.
38299 (tgamma_test): Likewise.
38300
172a631a
FW
383012012-10-16 Florian Weimer <fweimer@redhat.com>
38302
38303 [BZ #14700]
38304 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
38305 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
38306
e9f37252
MK
383072012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
38308
38309 * NEWS: Mention BZ #14716.
38310 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
38311 when removing AVAILABLE1_USES_J macro.
38312
d394eb74
L
383132012-10-12 H.J. Lu <hongjiu.lu@intel.com>
38314
38315 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
38316 (__bswap_64): __uint64_t for unsigned 64-bit int.
38317
ca38dc17
AS
383182012-10-12 Andreas Schwab <schwab@linux-m68k.org>
38319
38320 * include/string.h (memmem): Declare libc hidden alias.
38321 * string/memmem.c (memmem): Define libc hidden alias.
38322 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
38323 __read, __close instead of open, read, close.
38324
9a387d1f
L
383252012-10-11 H.J. Lu <hongjiu.lu@intel.com>
38326
ac49ecaf
L
38327 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
38328 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
38329 global and hidden.
38330 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
38331 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
38332 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
38333 Likewise.
38334 (__rawmemchr_sse2): Likewise.
38335 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
38336 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
38337 (__strchr_sse2): Likewise.
38338 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
38339 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
38340 (__strcasecmp_sse2): Likewise.
38341 (__strncasecmp_sse2): Likewise.
38342 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
38343 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
38344 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
38345 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
38346 (__strrchr_sse2): Likewise.
38347 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
38348 ifunc-impl-list.c.
38349 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
38350 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
38351 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
38352 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
38353 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
38354 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
38355 * sysdeps/x86_64/multiarch/memset.S: Likewise.
38356 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
38357 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
38358 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
38359 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
38360 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
38361 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
38362 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
38363 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
38364 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
38365 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
38366 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
38367 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
38368 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
38369 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
38370 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
38371 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
38372 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
38373 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
38374 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
38375 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
38376 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38377 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
38378 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
38379
b090e8ea
L
38380 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
38381 global and hidden.
38382 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
38383 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
38384 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
38385 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
38386 Likewise.
38387 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
38388 Likewise.
38389 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
38390 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
38391 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
38392 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
38393 ifunc-impl-list.c.
38394 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
38395 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
38396 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
38397 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38398 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38399 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38400 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38401 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38402 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38403 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
38404 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
38405 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
38406 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
38407 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
38408 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
38409 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
38410 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
38411 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
38412 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
38413 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
38414 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38415 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
38416 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
38417 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
38418 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38419 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
38420 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
38421 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
38422 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
38423 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
38424 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
38425 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
38426 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
38427 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
38428 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
38429 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
38430 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
38431 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
38432 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
38433 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
38434 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
38435
11dd4af6
L
38436 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
38437 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
38438 * include/ifunc-impl-list.h: New file.
38439 * misc/ifunc-impl-list.c: Likewise.
38440 * misc/Makefile (routines): Add ifunc-impl-list.
38441 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
38442 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
38443 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
38444 TEST_NAME]: New variables.
11dd4af6
L
38445 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
38446 are defined.
38447 (test_init): Call __libc_ifunc_impl_list to initialize
38448 func_list if TEST_IFUNC and TEST_NAME are defined.
38449
9a387d1f
L
38450 * string/Makefile (strop-tests): Add bcopy and bzero.
38451 * string/test-bcopy.c: New file.
38452 * string/test-bzero.c: Likewise.
38453 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
38454 defined.
38455 * string/test-memset.c: Support bzero test if TEST_BZERO is
38456 defined.
38457 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
38458 __libc_memmove.
38459 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
38460 __libc_memset.
38461 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
38462 of memset.
38463
472371b9
JM
384642012-10-10 Joseph Myers <joseph@codesourcery.com>
38465
1e4a9536
JM
38466 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
38467 * configure: Regenerated.
38468
d173d12e
JM
38469 * Makeconfig (+link-static-before-libc): Don't include
38470 $(link-static-libc).
38471
472371b9
JM
38472 * libio/libio.h (_IO_pos_t): Remove.
38473
89a3ad0b
AO
384742012-10-10 Alexandre Oliva <aoliva@redhat.com>
38475
38476 * NEWS: Add note about FIPS mode. Wording suggested by Roland
38477 McGrath.
38478
e7451425
AO
384792012-10-10 Alexandre Oliva <aoliva@redhat.com>
38480
38481 * crypt/crypt-entry.c: Include fips-private.h.
38482 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
38483 * crypt/md5c-test.c (main): Tolerate disabled MD5.
38484 * sysdeps/unix/sysv/linux/fips-private.h: New file.
38485 * sysdeps/generic/fips-private.h: New file, dummy fallback.
38486
4ba74a35
AO
384872012-10-10 Alexandre Oliva <aoliva@redhat.com>
38488
38489 * crypt/crypt-private.h: Include stdbool.h.
38490 (_ufc_setup_salt_r): Return bool.
38491 * crypt/crypt-entry.c: Include errno.h.
38492 (__crypt_r): Return NULL with EINVAL for bad salt.
38493 * crypt/crypt_util.c (bad_for_salt): New.
38494 (_ufc_setup_salt_r): Check that salt is long enough and within
38495 the specified alphabet.
38496 * crypt/badsalttest.c: New file.
38497 * crypt/Makefile (tests): Add it.
38498 ($(objpfx)badsalttest): New.
38499
f96f1242
MK
385002012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
38501
38502 * NEWS: Add entry for BZ #14602.
38503
0e8e0c1c
JM
385042012-10-09 Joseph Myers <joseph@codesourcery.com>
38505
38506 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
38507 type-generic.
38508 * math/libm-test.inc: Update comment listing what functions and
38509 macros are tested.
38510 (isgreater_test): New function.
38511 (isgreaterequal_test): Likewise.
38512 (isless_test): Likewise.
38513 (islessequal_test): Likewise.
38514 (islessgreater_test): Likewise.
38515 (isunordered_test): Likewise.
38516 (main): Call the new functions.
38517
273edc5e
RM
385182012-10-09 Roland McGrath <roland@hack.frob.com>
38519
b8493de0
RM
38520 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
38521 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
38522 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
38523 * sysdeps/i386/configure: Regenerated.
38524 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
38525 * sysdeps/mach/configure: Regenerated.
38526 * sysdeps/mach/hurd/configure: Regenerated.
38527 * sysdeps/powerpc/configure: Regenerated.
38528 * sysdeps/powerpc/powerpc32/configure: Regenerated.
38529 * sysdeps/powerpc/powerpc64/configure: Regenerated.
38530 * sysdeps/s390/s390-32/configure: Regenerated.
38531 * sysdeps/s390/s390-64/configure: Regenerated.
38532 * sysdeps/sh/configure: Regenerated.
38533 * sysdeps/sparc/configure: Regenerated.
38534 * sysdeps/unix/sysv/linux/configure: Regenerated.
38535 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
38536 * sysdeps/x86_64/configure: Regenerated.
38537
273edc5e
RM
38538 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
38539 defined. Don't check if MAP is NULL.
38540
c8450f70
JM
385412012-10-09 Joseph Myers <joseph@codesourcery.com>
38542
38543 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
38544 (_G_stat64): Likewise.
38545 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
38546 (_G_stat64): Likewise.
38547 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
38548 instead of struct _G_stat64.
38549 * libio/fileops.c (mmap_remap_check): Likewise.
38550 (decide_maybe_mmap): Likewise.
38551 (_IO_new_file_seekoff): Likewise.
38552 (_IO_file_stat): Likewise.
38553 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
38554 _G_off64_t.
38555 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
38556 instead of struct _G_stat64.
38557 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38558
57e605ba
MK
385592012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
38560
38561 [BZ #14602]
38562 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38563 Replace with ...
38564 (CHECK_EOL): New macro.
38565 (two_way_short_needle): Check beginning of haystack for EOL. Use
38566 CHECK_EOL.
38567 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38568 Replace with CHECK_EOL.
38569 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
38570 Replace with CHECK_EOL.
38571
ef1bb361
JM
385722012-10-08 Joseph Myers <joseph@codesourcery.com>
38573
38574 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
38575 type-generic.
38576 * math/libm-test.inc: Update comment listing what functions and
38577 macros are tested.
38578 (finite_test): New function.
38579 (isinf_test): Likewise.
38580 (isnan_test): Likewise.
38581 (fpclassify_test): Test subnormal input.
38582 (isfinite_test): Likewise.
38583 (isnormal_test): Likewise.
38584 (main): Call the new functions.
38585
55f11534
JN
385862012-10-08 Jonathan Nieder <jrnieder@gmail.com>
38587
38588 [BZ #14660]
38589 * Makerules (%.dynsym): Force C locale when running
38590 $(OBJDUMP) --dynamic-syms.
38591
1ab29350
AS
385922012-10-08 Andreas Schwab <schwab@linux-m68k.org>
38593
38594 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
38595 <stdint.h>.
38596
f1ecb7ef
DM
385972012-10-06 David S. Miller <davem@davemloft.net>
38598
38599 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
38600 upper 32-bits of the length value in %o2 since we use branch-on-register
38601 tests which consider the entire 64-bit register.
38602
5d41d91a
L
386032012-10-06 H.J. Lu <hongjiu.lu@intel.com>
38604
38605 * string/test-strstr.c (check2): Add a test for page boundary.
38606
3baddb72
DM
386072012-10-05 David S. Miller <davem@davemloft.net>
38608
38609 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
38610 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
38611 file.
38612 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38613 sysdep_routines.
38614 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38615 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
38616 and bzero when HWCAP_SPARC_CRYPTO is present.
38617
9cee5585
L
386182012-10-05 H.J. Lu <hongjiu.lu@intel.com>
38619
d7e0dab9
L
38620 [BZ #14602]
38621 * string/test-strstr.c (check2): New function.
38622 (test_main): Call check2.
38623
03759f47
L
38624 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
38625 and bug-strchr1.
38626 * string/bug-strcasestr1.c (do_test): Moved to ...
38627 * string/test-strcasestr.c (check1): Here. New function.
38628 (do_one_test): Break out result checking code into ...
38629 (check_result): This. New function.
38630 (do_one_test): Call check_result.
38631 (test_main): Call check1.
38632 * string/bug-strchr1.c (do_test): Moved to ...
38633 * string/test-strchr.c (check1): Here. New function.
38634 (do_one_test): Break out result checking code into ...
38635 (check_result): This. New function.
38636 (do_one_test): Call check_result.
38637 (test_main): Call check1.
38638 * string/bug-strstr1.c (main): Moved to ...
046f153e 38639 * string/test-strstr.c (check1): Here. New function.
03759f47
L
38640 (do_one_test): Break out result checking code into ...
38641 (check_result): This. New function.
38642 (do_one_test): Call check_result.
38643 (test_main): Call check1.
38644 * string/bug-strcasestr1.c: Removed.
38645 * string/bug-strchr1.c: Likewise.
38646 * string/bug-strstr1.c: Likewise.
38647
53cea63e
L
38648 * elf/Makefile (dl-routines): Add hwcaps.
38649 * elf/dl-support.c (_dl_important_hwcaps): Removed.
38650 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
38651 (_dl_important_hwcaps): Moved to ...
38652 * elf/dl-hwcaps.c: Here. New file.
38653 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
38654
9cee5585 38655 [BZ #14557]
bb859b06
L
38656 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
38657 if IS_IN_rtld isn't defined.
38658
9cee5585
L
38659 * elf/dl-support.c (_dl_sysinfo_map): New.
38660 Include "get-dynamic-info.h" and "setup-vdso.h".
38661 (_dl_non_dynamic_init): Call setup_vdso.
38662 * elf/dynamic-link.h: Don't include <assert.h>.
38663 (elf_get_dynamic_info): Moved to ...
38664 * elf/get-dynamic-info.h: Here. New file.
38665 * elf/dynamic-link.h: Include "get-dynamic-info.h".
38666 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
38667 * elf/setup-vdso.h: Here. New file.
38668 * elf/rtld.c: Include "setup-vdso.h".
38669 (dl_main): Call setup_vdso.
38670
23c31b76
JM
386712012-10-05 Joseph Myers <joseph@codesourcery.com>
38672
28234b07
JM
38673 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
38674 creal in comment listing functions tested. List finite, isinf,
38675 isnan, isless, islessequal, isgreater, isgreaterequal,
38676 islessgreater, isunordered, lgamma_r and pow10 as functions and
38677 macros not tested. Mention which functions not tested are aliases
38678 for other functions. Fix typo. Note that signs of NaNs are not
38679 tested.
38680
23c31b76
JM
38681 * scripts/config.guess: Update from config.git.
38682 * scripts/config.sub: Likewise.
38683
9043e228
RM
386842012-10-04 Roland McGrath <roland@hack.frob.com>
38685
38686 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
38687 * misc/madvise.c (madvise): Renamed to __madvise.
38688 Make madvise a weak alias.
38689 * include/sys/mman.h: Declare __madvise.
38690 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
38691 * sysdeps/unix/syscalls.list
38692 (madvise): Make __madvise the strong name, and madvise a weak alias.
38693 * sysdeps/unix/sysv/linux/syscalls.list
38694 (madvise, mmap): Remove redundant entries.
38695 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
38696 * malloc/malloc.c (mtrim): Likewise.
38697 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
38698
f57f8055
RM
386992012-10-03 Roland McGrath <roland@hack.frob.com>
38700
38701 * sysdeps/mach/hurd/dl-cache.c: File removed.
38702 * config.h.in (USE_LDCONFIG): New #undef.
38703 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
38704 * configure: Regenerated.
38705 * elf/Makefile (dl-routines): Add dl-cache only under
38706 [$(use-ldconfig) = yes].
38707 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
38708 cache on [USE_LDCONFIG].
38709 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
38710 [USE_LDCONFIG].
38711 * elf/rtld.c (dl_main): Likewise.
38712
5bb0c10a
PT
387132012-10-03 Pino Toscano <toscano.pino@tiscali.it>
38714
38715 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
38716 _SC_LEVEL4_CACHE_LINESIZE.
38717
010188c6
RM
387182012-10-03 Roland McGrath <roland@hack.frob.com>
38719
38720 * sysdeps/unix/bsd/confstr.h: File removed.
38721
b6c5ec07
AO
387222012-10-02 Alexandre Oliva <aoliva@redhat.com>
38723
38724 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
38725 sys/sdt-config.h.
38726
408223d4
RM
387272012-10-02 Roland McGrath <roland@hack.frob.com>
38728
38729 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
38730 Make 'mapoff' field ElfW(Off) rather than off_t.
38731
bb9510dc
DL
387322012-10-02 Dmitry V. Levin <ldv@altlinux.org>
38733
fc997c6e
DL
38734 * nscd/Makefile: Remove nscd-cflags and all its users.
38735 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
38736 (CFLAGS-nonlib): Add compiler flags for nscd modules.
38737
bb9510dc
DL
38738 [BZ #10631]
38739 * malloc.c (malloc_printerr): Clarify error message.
38740
05699367
L
387412012-10-02 H.J. Lu <hongjiu.lu@intel.com>
38742
38743 [BZ #14648]
38744 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38745 Set bit_FMA_Usable if FMA is supported.
38746 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
38747 macro.
38748 (bit_FMA4_Usable): Updated.
38749 (index_FMA_Usable): New macro.
38750 (CPUID_FMA): Likewise
38751 (HAS_FMA): Defined with bit_FMA_Usable.
38752
51367701
RM
387532012-10-01 Roland McGrath <roland@hack.frob.com>
38754
38755 * bits/types.h (__swblk_t): Type removed.
38756 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
38757 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
38758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38759 (__SWBLK_T_TYPE): Likewise.
38760 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38761 (__SWBLK_T_TYPE): Likewise.
38762 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38763 (__SWBLK_T_TYPE): Likewise.
38764 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
38765 (__SWBLK_T_TYPE): Likewise.
38766
4d57bf63 387672012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 38768 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
38769
38770 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
38771 (xdr_mapname): Use YPMAXMAP as maxsize.
38772 (xdr_peername): Use YPMAXPEER as maxsize.
38773 (xdr_keydat): Use YPAXRECORD as maxsize.
38774 (xdr_valdat): Use YPMAXRECORD as maxsize.
38775
93c65d43
RM
387762012-10-01 Roland McGrath <roland@hack.frob.com>
38777
497a03d6
RM
38778 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
38779
93c65d43
RM
38780 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
38781 * csu/init-first.c: ... here.
38782 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
38783 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
38784 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
38785 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
38786 * sysdeps/i386/init-first.c: File removed.
38787 * sysdeps/sh/init-first.c: File removed.
38788
bec749fd
JM
387892012-10-01 Joseph Myers <joseph@codesourcery.com>
38790
38791 [BZ #14645]
38792 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
38793 if x * y might underflow to zero and z is zero.
38794 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
38795 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38796 * math/libm-test.inc (min_subnorm_value): New variable.
38797 (fma_test): Add more tests.
38798 (fma_test_towardzero): Likewise.
38799 (fma_test_downward): Likewise
38800 (fma_test_upward): Likewise.
38801 (initialize): Set min_subnorm_value.
38802
8ec5b013
JM
388032012-09-29 Joseph Myers <joseph@codesourcery.com>
38804
38805 [BZ #14638]
38806 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
38807 0 + 0.
38808 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
38809 mode for addition resulting in exact zero.
38810 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
38811 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
38812 exact 0 + 0.
38813 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
38814 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
38815 * math/libm-test.inc (fma_test): Add more tests.
38816 (fma_test_towardzero): New function.
38817 (fma_test_downward): Likewise.
38818 (fma_test_upward): Likewise.
38819 (main): Call the new functions.
38820
b1fa802e
DM
388212012-09-28 David S. Miller <davem@davemloft.net>
38822
38823 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
38824
d3b9fd9e
RM
388252012-09-28 Roland McGrath <roland@hack.frob.com>
38826
ea4d37b3
RM
38827 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
38828 instead of SIGALRM.
38829
ac51c949
RM
38830 * sysdeps/gnu/_G_config.h: Moved to ...
38831 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
38832 * sysdeps/mach/hurd/_G_config.h: Moved to ...
38833 * sysdeps/generic/_G_config.h: ... here.
38834
28c195f7
RM
38835 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
38836
848917f9
RM
38837 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
38838
6bacf05b
RM
38839 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
38840 Conditionalize target on [libnss_test1.so-version].
38841
91363dbb
RM
38842 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
38843
cc87f7d8
RM
38844 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
38845 (elfobjdir): Move out of conditionals.
38846
b1c608fe
RM
38847 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
38848 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
38849 (__nss_lookup_function): Conditionalize label remove_from_tree on
38850 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 38851
1d9a6d96
DM
388522012-09-28 David S. Miller <davem@davemloft.net>
38853
38854 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
38855 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
38856 file.
38857 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
38858 sysdep_routines.
38859 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
38860 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
38861 when HWCAP_SPARC_CRYPTO is present.
38862
72581615
PT
388632012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38864
38865 * io/tst-mknodat.c: Create a FIFO instead of a socket.
38866
715a900c
JL
388672012-09-28 Andreas Schwab <schwab@linux-m68k.org>
38868
38869 [BZ #6530]
38870 * stdio-common/vfprintf.c (process_string_arg): Revert
38871 2000-07-22 change.
38872
388732011-09-28 Jonathan Nieder <jrnieder@gmail.com>
38874
38875 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
38876 for testcase.
38877 * stdio-common/tst-sprintf.c: Include <locale.h>
38878 (main): Test sprintf's handling of incomplete multibyte
38879 characters.
38880
9bac1d86
L
388812012-09-28 H.J. Lu <hongjiu.lu@intel.com>
38882
38883 * elf/dl-runtime.c (VERSYMIDX): Removed.
38884 * elf/dl-version.c (VERSYMIDX): Likewise.
38885 * elf/do-rel.h (VERSYMIDX): Likewise.
38886 (VALIDX): Likewise.
38887 * elf/dynamic-link.h (VERSYMIDX): Likewise.
38888 * elf/rtld.c (VALIDX): Likewise.
38889 (ADDRIDX): Likewise.
9bac1d86
L
38890 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
38891 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
38892 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
38893 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
38894 (VALIDX): Likewise.
38895 (ADDRIDX): Likewise.
9bac1d86 38896
b31606c0
PT
388972012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38898
38899 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
38900
11541177
JL
389012012-09-28 Dmitry V. Levin <ldv@altlinux.org>
38902
38903 [BZ #11438]
38904 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
38905 to global scope.
38906 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
38907 addresses are in the same scope as 192.0.2/24.
38908 * posix/gai.conf: Document new scope table defaults.
38909
adb26fae
SP
389102012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38911
38912 [BZ #5298]
38913 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
38914 for ftell. Compute offsets from write pointers instead.
38915 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
38916
4573c6b0
SP
389172012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38918
38919 [BZ #14543]
38920 * libio/Makefile (tests): New test case tst-fseek.
38921 * libio/tst-fseek.c: New test case to verify that fseek/ftell
38922 combination works in wide mode.
38923 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
38924 state when the external buffer state changes.
38925
aa9bbfe6
DM
389262012-09-27 David S. Miller <davem@davemloft.net>
38927
38928 [BZ #14376]
38929 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
38930 pass reloc->r_addend in as the 'high' argument to
38931 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
38932
784421e7
DM
38933 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38934
c39bc8b8
PT
389352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
38936
38937 * rt/tst-aio2.c: Include <pthread.h>.
38938 * rt/tst-aio3.c: Likewise.
38939
1ccc2399
SE
389402012-09-27 Steve Ellcey <sellcey@mips.com>
38941
38942 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
38943
31ed4153
L
389442012-09-27 H.J. Lu <hongjiu.lu@intel.com>
38945
25f5f885
L
38946 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
38947 contents on [SHARED].
31ed4153 38948
b7bfe116
MP
389492012-09-26 Marek Polacek <polacek@redhat.com>
38950
38951 [BZ #14530]
38952 [BZ #13741]
38953 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
38954 for C++ and GCC <4.3 as well as for non GCC compilers.
38955
43c4edba
MT
389562012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
38957
38958 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38959
6a1bf82f
RM
389602012-09-25 Roland McGrath <roland@hack.frob.com>
38961
38962 * Makefile.in (all, install): Declare with .PHONY.
38963 Reported by Michael Hope <michael.hope@linaro.org>.
38964
8ad11b9a
TMQMF
389652012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38966
38967 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
38968 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
38969 system header.
38970 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
38971 Likewise.
38972 (sydep_routines): Add the new and the internal functions.
38973 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
38974 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
38975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
38976 (GLIBC_2.17): Add the new function.
38977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38978 (GLIBC_2.17): Likewise.
38979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
38980 (GLIBC_2.17): Likewise.
38981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
38982 (GLIBC_2.17): Likewise.
38983 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
38984
7e2fca8d
AM
389852012-09-25 Alan Modra <amodra@gmail.com>
38986
38987 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
38988 Add release barrier before setting once_control to say
38989 initialisation is done. Add hints on lwarx. Use macro in
38990 place of isync.
38991 (clear_once_control): Add release barrier.
38992
b87c4b24
JM
389932012-09-25 Joseph Myers <joseph@codesourcery.com>
38994
d032e0d2
JM
38995 [BZ #13629]
38996 * math/s_clog.c (__clog): Handle more values close to |z| = 1
38997 specially.
38998 * math/s_clog10.c (__clog10): Likewise.
38999 * math/s_clog10f.c (__clog10f): Likewise.
39000 * math/s_clog10l.c (__clog10l): Likewise.
39001 * math/s_clogf.c (__clogf): Likewise.
39002 * math/s_clogl.c (__clogl): Likewise.
39003 * math/Makefile (libm-calls): Add x2y2m1.
39004 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
39005 (__x2y2m1): Likewise.
39006 (__x2y2m1l): Likewise.
39007 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
39008 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
39009 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
39010 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
39011 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
39012 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
39013 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
39014 * sysdeps/i386/fpu/libm-test-ulps: Update.
39015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39016
b87c4b24
JM
39017 [BZ #14621]
39018 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
39019 int as type of variable DEPTH.
39020 (glob): Use size_t instead of int as type of variables NEWCOUNT
39021 and OLD_PATHC.
39022
6d3bf199
LD
390232012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39024
22bf5c17
LD
39025 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39026 Add s_sincosf-sse2.
39027 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
39028 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
39029 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
39030 macros for using routine as __sincosf_ia32.
39031 Use macro for function declaration and weak_alias.
39032 * sysdeps/i386/fpu/libm-test-ulps: Update.
39033
39034 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
39035 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39036
39037 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
39038 subnormal argument.
39039 * math/s_cexpf.c (__cexpf): Likewise.
39040 * math/s_csinf.c (__csinf): Likewise.
39041 * math/s_csinhf.c (__csinhf): Likewise.
39042 * math/s_ctanf.c (__ctanf): Likewise.
39043 * math/s_ctanhf.c (__ctanhf): Likewise.
39044 * math/s_ccosh.c (__ccoshf): Likewise.
39045 * math/s_cexp.c (__cexpl): Likewise.
39046 * math/s_csin.c (__csin): Likewise.
39047 * math/s_csinh.c (__csinh): Likewise.
39048 * math/s_ctan.c (__ctan): Likewise.
39049 * math/s_ctanh.c (ctanh): Likewise.
39050 * math/s_ccoshl.c (__ccoshl): Likewise.
39051 * math/s_cexpl.c (__cexpl): Likewise.
39052 * math/s_csinl.c (__csinl): Likewise.
39053 * math/s_csinhl.c (__csinhl): Likewise.
39054 * math/s_ctanl.c (__ctanl): Likewise.
39055 * math/s_ctanhl.c (__ctanhl): Likewise.
39056
203e5603
JM
390572012-09-25 Joseph Myers <joseph@codesourcery.com>
39058
39059 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
39060 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
39061 (_IO_off_t): Define to __off_t, not _G_off_t.
39062 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
39063 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
39064 (_IO_wint_t): Define to wint_t, not _G_wint_t.
39065 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
39066 type of __dummy and __dummy2 fields.
39067 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
39068 (_G_ssize_t): Likewise.
39069 (_G_off_t): Likewise.
39070 (_G_pid_t): Likewise.
39071 (_G_uid_t): Likewise.
39072 (_G_wchar_t): Likewise.
39073 (_G_wint_t): Likewise.
39074 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
39075 (_G_ssize_t): Likewise.
39076 (_G_off_t): Likewise.
39077 (_G_pid_t): Likewise.
39078 (_G_uid_t): Likewise.
39079 (_G_wchar_t): Likewise.
39080 (_G_wint_t): Likewise.
39081 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
39082 (_G_ssize_t): Likewise.
39083 (_G_off_t): Likewise.
39084 (_G_pid_t): Likewise.
39085 (_G_uid_t): Likewise.
39086 (_G_wchar_t): Likewise.
39087 (_G_wint_t): Likewise.
39088
9fab36eb
SP
390892012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39090
39091 * malloc/arena.c: Include malloc-sysdep.h.
39092 (shrink_heap): Use check_may_shrink_heap to decide if madvise
39093 is sufficient to shrink the heap or an unmap is needed.
39094 * sysdeps/generic/malloc-sysdep.h: New file. Define
39095 new function check_may_shrink_heap.
39096 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
39097 new function check_may_shrink_heap.
39098
2b4f00d1
SP
390992012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
39100
39101 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
39102 comments.
39103
9a9028b1
DL
391042012-09-24 Dmitry V. Levin <ldv@altlinux.org>
39105
57c69bef
DL
39106 * catgets/test-gencat.sh: Add "set -e".
39107 * elf/tst-pathopt.sh: Likewise.
39108 * grp/tst_fgetgrent.sh: Likewise.
39109 * iconvdata/run-iconv-test.sh: Likewise.
39110 * intl/tst-gettext.sh: Likewise.
39111 * intl/tst-gettext2.sh: Likewise.
39112 * intl/tst-gettext4.sh: Likewise.
39113 * intl/tst-gettext6.sh: Likewise.
39114 * intl/tst-translit.sh: Likewise.
39115 * io/ftwtest-sh: Likewise.
39116 * libio/test-freopen.sh: Likewise.
39117 * malloc/tst-mtrace.sh: Likewise.
39118 * posix/globtest.sh: Likewise.
39119 * posix/tst-getconf.sh: Likewise.
39120 * posix/wordexp-tst.sh: Likewise.
39121 * stdio-common/tst-printf.sh: Likewise.
39122 * stdio-common/tst-unbputc.sh: Likewise.
39123 * stdlib/tst-fmtmsg.sh: Likewise.
39124 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39125 * catgets/Makefile: Do not specify -e option when running
39126 testsuite shell scripts.
39127 * elf/Makefile: Likewise.
39128 * grp/Makefile: Likewise.
39129 * iconvdata/Makefile: Likewise.
39130 * intl/Makefile: Likewise.
39131 * io/Makefile: Likewise.
39132 * libio/Makefile: Likewise.
39133 * malloc/Makefile: Likewise.
39134 * posix/Makefile: Likewise.
39135 * stdio-common/Makefile: Likewise.
39136 * stdlib/Makefile: Likewise.
39137 * sysdeps/x86_64/Makefile: Likewise.
39138
9a9028b1
DL
39139 * io/ftwtest-sh: Add copyright header.
39140 * posix/globtest.sh: Likewise.
39141 * posix/tst-getconf.sh: Likewise.
39142 * posix/wordexp-tst.sh: Likewise.
39143 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
39144
ced6f16e
L
391452012-09-24 H.J. Lu <hongjiu.lu@intel.com>
39146
94b32c39
L
39147 [BZ #13679]
39148 * Makeconfig (+link): Defined as $(+link-static) if
39149 $(build-shared) isn't yes.
39150 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
39151 isn't yes.
39152 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
39153
189e935b
L
39154 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
39155
ced6f16e
L
39156 [BZ #14562]
39157 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
39158 new chunk size with MALLOC_ALIGN_MASK.
39159
a9f8e53a
JM
391602012-09-24 Joseph Myers <joseph@codesourcery.com>
39161
39162 [BZ #5044]
39163 * stdio-common/printf_fphex.c: Include <stdbool.h> and
39164 <rounding-mode.h>.
39165 (__printf_fphex): Determine rounding using get_rounding_mode and
39166 round_away.
39167 * stdio-common/tst-printf-round.c (struct hex_test): New
39168 structure.
39169 (hex_tests): New variable.
39170 (test_hex_in_one_mode): New function.
39171 (do_test): Also run tests for hex float output.
39172
43153109
JM
391732012-09-21 Joseph Myers <joseph@codesourcery.com>
39174
39175 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39176 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39177 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
39178 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
39179 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
39180 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
39181 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39182 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
39183
8a26625d
JM
391842012-09-20 Joseph Myers <joseph@codesourcery.com>
39185
39186 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
39187 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
39188 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
39189 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
39190
f3fd569c
DL
391912012-09-19 Dmitry V. Levin <ldv@altlinux.org>
39192
39193 [BZ #14579]
39194 * elf/rtld.c (dl_main): Limit the check for self loading to normal
39195 mode only.
39196 * elf/tst-rtld-load-self.sh: New test.
39197 * elf/Makefile: Run it.
39198
63bbedd4
JM
391992012-09-18 Joseph Myers <joseph@codesourcery.com>
39200
39201 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
39202 (tst-writev-ENV): Remove.
39203 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
39204
626f8b6a
CM
392052012-09-17 Chris Metcalf <cmetcalf@tilera.com>
39206
39207 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
39208
b7aaa4d6
JM
392092012-09-17 Joseph Myers <joseph@codesourcery.com>
39210
39211 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
39212 unconditional.
39213 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
39214 Likewise.
39215 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
39216 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
39217 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
39218 Likewise.
39219
65513990
L
392202012-09-14 H.J. Lu <hongjiu.lu@intel.com>
39221
39222 [BZ #14587]
39223 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
39224 * config.make.in (have-cpp-asm-debuginfo): Removed.
39225 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
39226 * configure: Regenerated.
39227
784761be
JM
392282012-09-14 Joseph Myers <joseph@codesourcery.com>
39229
39230 [BZ #5044]
39231 * stdio-common/printf_fp.c: Include <stdbool.h> and
39232 <rounding-mode.h>.
39233 (___printf_fp): Determine rounding using get_rounding_mode and
39234 round_away.
39235 * stdio-common/tst-printf-round.c: New file.
39236 * stdio-common/Makefile (tests): Add tst-printf-round.
39237 (link-libm): New variable.
39238 ($(objpfx)tst-printf-round): Depend in $(link-libm).
39239
9503345f
L
392402012-09-13 H.J. Lu <hongjiu.lu@intel.com>
39241
39242 [BZ #14576]
39243 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
39244 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
39245 Likewise.
39246 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
39247 Likewise.
39248
ad35fc00
JM
392492012-09-13 Joseph Myers <joseph@codesourcery.com>
39250
39251 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
39252 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39253 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39254 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
39255
6c9b0f68
JM
392562012-09-12 Joseph Myers <joseph@codesourcery.com>
39257
39258 [BZ #14518]
39259 * include/rounding-mode.h: New file.
39260 * sysdeps/generic/get-rounding-mode.h: Likewise.
39261 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
39262 * stdlib/strtod_l.c: Include <rounding-mode.h>.
39263 (MAX_VALUE): New macro.
39264 (MIN_VALUE): Likewise.
39265 (overflow_value): New function.
39266 (underflow_value): Likewise.
39267 (round_and_return): Use overflow_value and underflow_value to
39268 determine return values in overflow and underflow cases. Use
39269 round_away to determine rounding depending on rounding mode.
39270 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
39271 determine return values in overflow and underflow cases.
39272 * stdlib/tst-strtod-round.c: Include <fenv.h>.
39273 (struct test_results): New structure.
39274 (struct test): Use struct test_results to store expected results
39275 for all rounding modes.
39276 (TEST): Include expected results for all rounding modes.
39277 (test_in_one_mode): New function.
39278 (do_test): Use test_in_one_mode to compute and check results.
39279 Check results for all rounding modes.
39280 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
39281 $(link-libm).
39282
19fcedd5
AM
392832012-12-09 Allan McRae <allan@archlinux.org>
39284
1e9d84cd 39285 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 39286
8bbfd2f1
JM
392872012-09-11 Joseph Myers <joseph@codesourcery.com>
39288
39289 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
39290 (_G_int32_t): Likewise.
39291 (_G_uint16_t): Likewise.
39292 (_G_uint32_t): Likewise.
39293 (_G_HAVE_BOOL): Likewise.
39294 (_G_HAVE_ATEXIT): Likewise.
39295 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39296 (_G_HAVE_IO_FILE_OPEN): Likewise.
39297 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
39298 (_G_int32_t): Likewise.
39299 (_G_uint16_t): Likewise.
39300 (_G_uint32_t): Likewise.
39301 (_G_HAVE_BOOL): Likewise.
39302 (_G_HAVE_ATEXIT): Likewise.
39303 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39304 (_G_HAVE_IO_FILE_OPEN): Likewise.
39305 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
39306 (_G_int32_t): Likewise.
39307 (_G_uint16_t): Likewise.
39308 (_G_uint32_t): Likewise.
39309 (_G_HAVE_BOOL): Likewise.
39310 (_G_HAVE_ATEXIT): Likewise.
39311 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
39312 (_G_HAVE_IO_FILE_OPEN): Likewise.
39313
b1dc5912
L
393142012-09-11 H.J. Lu <hongjiu.lu@intel.com>
39315
39316 * csu/libc-tls.c: Update copyright years.
39317
0e886ef9
JM
393182012-09-10 Joseph Myers <joseph@codesourcery.com>
39319
28361c5e
JM
39320 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
39321 [!_G_USING_THUNKS]: Remove conditional code.
39322 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
39323 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
39324
0e886ef9
JM
39325 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
39326 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
39327 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39328 (_G_VTABLE_LABEL_PREFIX): Likewise.
39329 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39330 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39331 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39332 (_G_VTABLE_LABEL_PREFIX): Likewise.
39333 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39334 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
39335 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
39336 (_G_VTABLE_LABEL_PREFIX): Likewise.
39337 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
39338
bcba7aa2
L
393392012-09-10 H.J. Lu <hongjiu.lu@intel.com>
39340
39341 * libio/Makefile: Include ../Makeconfig before tests.
39342 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
39343 only if $(build-shared) is yes.
39344
06585ee8
L
39345 * iconv/gconv_db.c: Update copyright years.
39346
80ccd52c
LD
393472012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39348
39349 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
39350 unwind info if defined PIC. Fix special cases description.
39351 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
39352
39353 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
39354 DP_HI_MASK entry.
39355 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
39356
691bc9c1
L
393572012-09-07 H.J. Lu <hongjiu.lu@intel.com>
39358
3d9b46b3
L
39359 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
39360
de2139a9
L
39361 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
39362 is NULL.
39363
5ca78dd0
L
39364 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
39365 (LDLIBS-tst-chk4): This.
39366 (LDFLAGS-tst-chk5): Renamed to ...
39367 (LDLIBS-tst-chk5): This.
39368 (LDFLAGS-tst-chk6): Renamed to ...
39369 (LDLIBS-tst-chk6): This.
39370 (LDFLAGS-tst-lfschk4): Renamed to ...
39371 (LDLIBS-tst-lfschk4): This.
39372 (LDFLAGS-tst-lfschk5): Renamed to ...
39373 (LDLIBS-tst-lfschk5): This.
39374 (LDFLAGS-tst-lfschk6): Renamed to ...
39375 (LDLIBS-tst-lfschk6): This.
39376
691bc9c1
L
39377 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
39378 on $(common-objpfx)soversions.mk.
39379
65cafb1c
JM
393802012-09-07 Joseph Myers <joseph@codesourcery.com>
39381
39382 [BZ #10014]
39383 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
39384 example host name.
39385
c78ab094
SP
393862012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
39387
39388 * malloc/arena.c (arena_get_retry): New function that gets
39389 another arena for the caller to try its request on.
39390 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
39391 current arena cannot fulfill the request.
39392 (__libc_memalign): Likewise.
39393 (__libc_memalign): Likewise.
39394 (__libc_pvalloc): Likewise.
39395 (__libc_calloc): Likewise.
39396
01f49f59
JT
393972012-09-05 John Tobey <john.tobey@gmail.com>
39398
39399 [BZ #13542]
39400 * manual/arith.texi (Operations on Complex): Fix description
39401 of carg branch cut.
39402
4c23fed5
JM
394032012-09-06 Joseph Myers <joseph@codesourcery.com>
39404
1d3c8572
JM
39405 [BZ #10014]
39406 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
39407 host name.
39408
4c23fed5
JM
39409 [BZ #10038]
39410 * manual/memory.texi (Memory): Make order of menu items match
39411 order of sections.
39412
04570aaa
L
394132012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39414
39415 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
39416 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
39417 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
39418
b80af2f4
L
394192012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39420
39421 * csu/libc-tls.c (static_dtv): Renamed to ...
39422 (_dl_static_dtv): This. Make it global.
39423 (_dl_initial_dtv): Removed.
39424 (__libc_setup_tls): Updated.
39425 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
39426 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
39427 DL_INITIAL_DTV.
39428
2abe9f15
PM
394292012-09-06 Petr Machata <pmachata@redhat.com>
39430
39431 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
39432 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
39433 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
39434 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
39435
0948c3af
L
394362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39437
39438 [BZ #14545]
39439 * csu/libc-tls.c (_dl_initial_dtv): New variable.
39440 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
39441 freeing dtv[-1].
39442
a5055ad1
L
394432012-09-06 H.J. Lu <hongjiu.lu@intel.com>
39444
39445 [BZ #14544]
39446 * Makeconfig (link-static-before-libc): Replace $(+prector)
39447 with $(+prectorT).
39448 (link-static-after-libc): Replace $(+postctor) with
39449 $(+postctorT).
39450 (link-bounded): Replace $(+prector)/$(+postctor) with
39451 $(+prectorT)/$(+postctorT).
39452 (+prectorT): New macro.
39453 (+postctorT): Likewise.
39454
ed8c2ecd
JM
394552012-09-06 Joseph Myers <joseph@codesourcery.com>
39456
39457 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
39458 (round_str): Handle values above the maximum for IBM long double
39459 as inexact.
39460 * stdlib/tst-strtod-round.c (tests): Regenerated.
39461
14c996c8
AK
394622012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39463
39464 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
39465 assembler flag.
39466 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
39467 zarch_nohighgprs around the zarch optimized routines.
39468 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
39469 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
39470 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
39471 for zarch.
39472
430d6ce6
DM
394732012-09-05 David S. Miller <davem@davemloft.net>
39474
39475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39476
57f41c40
AS
39477 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
39478 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
39479 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
39480 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39481 entries.
39482
24d4e01b
AO
394832012-09-05 Alexandre Oliva <aoliva@redhat.com>
39484
39485 * malloc/arena.c: Fold copyright years.
39486 * malloc/mcheck.c, malloc/memusage.c: Likewise.
39487
61d58174
AO
394882012-09-05 Alexandre Oliva <aoliva@redhat.com>
39489
39490 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
39491
20196a5e
AO
394922012-09-05 Alexandre Oliva <aoliva@redhat.com>
39493
39494 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
39495
5c447383
AO
394962012-09-05 Alexandre Oliva <aoliva@redhat.com>
39497
39498 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
39499 change internal state upon failure.
39500
fad64255
AO
395012012-09-05 Alexandre Oliva <aoliva@redhat.com>
39502
39503 * malloc/mcheck.c (mcheck_check_all): Fix typo.
39504 * malloc/memusage.c (mmap): Likewise.
39505 (mmap64, mremap): Likewise. Adjust name in comment.
39506
1ffb8c90
SP
395072012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39508
39509 * libio/fileops.c: Fix typos in comments.
39510 * libio/oldfileops.c: Likewise.
39511 * libio/wfileops.c: Likewise.
39512
6ef9cc37
SP
395132012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
39514
39515 [BZ #1349]
39516 * malloc/Makefile (tests): Add tst-malloc-usable test case.
39517 (tst-malloc-usable-ENV): Set environment for test case.
39518 * malloc/hooks.c (malloc_check_get_size): New function to get
39519 requested size.
39520 * malloc/malloc.c (musable): Use malloc_check_get_size.
39521 * malloc/tst-malloc-usable.c: New test case.
39522
4d038ae3
AS
395232012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39524
39525 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
39526
c4e85184
AM
395272012-09-05 Allan McRae <allan@archlinux.org>
39528
b9dafc56 39529 [BZ #13966]
c4e85184
AM
39530 * configure.in (CXX_SYSINCLUDES): Use compiler output to
39531 determine header location.
39532 * configure: Regenerated.
39533
e1343020
AS
395342012-09-05 Andreas Schwab <schwab@linux-m68k.org>
39535
39536 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
39537 float format.
39538 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
39539 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
39540 format.
e1343020
AS
39541 (test): Regenerate.
39542
0a9f1987
DM
395432012-09-04 David S. Miller <davem@davemloft.net>
39544
39545 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
39546 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
39547 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
39548
29237804
FW
395492012-09-04 Florian Weimer <fweimer@redhat.com>
39550
39551 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
39552 failures.
39553
edb3cb88
FW
39554 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
39555
60160d83
JM
395562012-09-04 Joseph Myers <joseph@codesourcery.com>
39557
39558 [BZ #9914]
39559 * libio/iogetdelim.c: Include <limits.h>.
39560 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
39561 + len + 1 would overflow.
39562
bcd6c8dc
AJ
395632012-09-03 Andreas Jaeger <aj@suse.de>
39564
39565 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39566 * sysdeps/i386/fpu/libm-test-ulps: Update.
39567
4ffffbd2
LD
395682012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39569
39570 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
39571 Add s_sinf-sse2, s_conf-sse2.
39572
39573 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
39574 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
39575 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
39576 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
39577
39578 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
39579 for using routine as __sinf_ia32.
39580 Use macro for function declaration and weak_alias.
39581 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
39582 for using routine as __cosf_ia32.
39583 Use macro for function declaration and weak_alias.
39584
39585 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
39586 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
39587
39588 * sysdeps/x86_64/fpu/s_sinf.S: New file.
39589 * sysdeps/x86_64/fpu/s_cosf.S: New file.
39590 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39591
39592 * math/libm-test.inc (cos_test): Add more test cases.
39593 (sin_test): Likewise.
39594 (sincos_test): Likewise.
39595
511fa286
AK
395962012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39597
39598 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
39599 (IFUNC_RESOLVE): Make pointers to the specialized implementations
39600 hidden.
39601 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
39602
5f30cfec
L
396032012-09-02 H.J. Lu <hongjiu.lu@intel.com>
39604
39605 [BZ #14538]
39606 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
39607 first element of the GOT.
39608 (elf_machine_load_address): Return the difference between
39609 the runtime address of _DYNAMIC and elf_machine_dynamic ().
39610
0786794f
AM
396112012-09-01 Allan McRae <allan@archlinux.org>
39612
5f30cfec
L
39613 [BZ #13412]
39614 * configure.in (AWK): Require gawk version 3.0 or later.
39615 * configure: Regenerated.
0786794f 39616
26889eac
JM
396172012-09-01 Joseph Myers <joseph@codesourcery.com>
39618
39619 * sysdeps/unix/sysv/linux/kernel-features.h
39620 (__ASSUME_POSIX_CPU_TIMERS): Remove.
39621 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
39622 [__NR_clock_getres]: Make code unconditional.
39623 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
39624 (clock_getcpuclockid): Remove code left unreachable by removal of
39625 conditionals.
39626 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
39627 code unconditional.
39628 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39629 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39630 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
39631 Make code unconditional.
39632 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
39633 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39634 * sysdeps/unix/sysv/linux/clock_settime.c
39635 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
39636 conditional code.
39637 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
39638 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
39639
d22e28b0
L
396402012-08-29 H.J. Lu <hongjiu.lu@intel.com>
39641
39642 [BZ #14476]
39643 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
39644 scripts/test-installation.pl.
39645
39646 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
39647 and $ld_so_version if it is set.
39648
050af9c4
SP
396492012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
39650
39651 [BZ #14516]
39652 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
39653 failure if reading from procfs failed.
39654 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
39655
ad845c0b
JM
396562012-08-27 Joseph Myers <joseph@codesourcery.com>
39657
39658 * sysdeps/unix/sysv/linux/kernel-features.h
39659 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
39660 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39661 Remove conditional code.
39662 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39663 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
39664 Remove conditional code.
39665 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39666 * sysdeps/unix/sysv/linux/i386/fxstat.c
39667 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39668 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39669 * sysdeps/unix/sysv/linux/i386/fxstatat.c
39670 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39671 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39672 * sysdeps/unix/sysv/linux/i386/lxstat.c
39673 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
39674 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39675 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
39676 Remove conditional code.
39677 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39678 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
39679 Remove conditional code.
39680 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39681 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
39682 <kernel-features.h>.
39683 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
39684 Remove.
39685 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
39686 Remove conditional code.
39687 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
39688 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
39689 Remove conditional.
39690
5dbf56af
MF
396912012-08-27 Mike Frysinger <vapier@gentoo.org>
39692
39693 [BZ #5400]
39694 * NEWS: Add fixed bug number.
39695
d6e70f43
JM
396962012-08-27 Joseph Myers <joseph@codesourcery.com>
39697
7efb4737
JM
39698 [BZ #14519]
39699 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
39700 underflowing exponent in case of negative sign.
39701 * stdlib/tst-strtod-round-data: Add more tests.
39702 * stdlib/tst-strtod-round.c (tests): Regenerated.
39703
af92131a
JM
39704 [BZ #3479]
39705 * stdlib/strtod_l.c (NDIG): Remove.
39706 (HEXNDIG): Likewise.
39707 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
39708 smallest representable value.
39709 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
39710 lie within an exact representation of 1/2 ulp of the result.
39711 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
39712 unconditionally.
39713 (TENS_P9_IDX): Define unconditionally.
39714 (TENS_P9_SIZE): Likewise.
39715 (TENS_P10_IDX): Likewise.
39716 (TENS_P10_SIZE): Likewise.
39717 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
39718 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
39719 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
39720 entries for 10^2^13 and 10^2^14.
39721 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
39722 (TENS_P13_IDX): Define.
39723 (TENS_P13_SIZE): Likewise.
39724 (TENS_P14_IDX): Likewise.
39725 (TENS_P14_SIZE): Likewise.
39726 (_fpioconst_pow10): Change array size to
39727 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
39728 unconditional.
39729 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
39730 1024]: Add entries for 10^2^13 and 10^2^14.
39731 [LAST_POW10 > _LAST_POW10]: Remove #error.
39732 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
39733 (_fpioconst_pow10): Change array size to
39734 FPIOCONST_POW10_ARRAY_SIZE.
39735 * stdlib/gen-fpioconst.c: New file.
39736 * stdlib/gen-tst-strtod-round.c: Likewise.
39737 * stdlib/tst-strtod-round-data: Likewise.
39738 * stdlib/tst-strtod-round.c: Likewise.
39739 * stdlib/Makefile (tests): Add tst-strtod-round.
39740
d6e70f43
JM
39741 [BZ #14459]
39742 * stdlib/strtod_l.c: Include <stdint.h>.
39743 (NDEBUG): Do not define.
39744 (round_and_return): Change EXPONENT parameter to type intmax_t.
39745 Rearrange calculations to avoid internal overflow possibilities.
39746 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
39747 Rearrange calculations to avoid internal overflow possibilities.
39748 Assert that number fits inside MPNSIZE limbs.
39749 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
39750 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
39751 calculations and add assertions to avoid internal overflow
39752 possibilities. Add casts to avoid signed/unsigned operations.
39753 * stdlib/tst-strtod-overflow.c: New file.
39754 * stdlib/Makefile (tests): Add tst-strtod-overflow.
39755
1f529f7d
MP
397562012-08-25 Marek Polacek <polacek@redhat.com>
39757
39758 * time/time.h: Fix some typos in comments.
39759
59a629f1
RM
397602012-08-23 Roland McGrath <roland@hack.frob.com>
39761
39762 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
39763 * posix/tst-rfc3484-2.c: Likewise.
39764 * posix/tst-rfc3484-3.c: Likewise.
39765
d3bafbc9
SM
397662012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
39767
39768 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
39769 (EF_ARM_ABI_FLOAT_HARD): Likewise.
39770
4efcc022
JM
397712012-08-23 Joseph Myers <joseph@codesourcery.com>
39772
39773 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
39774 #include of fxstatat64.c.
39775
3cc3ef96
RM
397762012-08-22 Roland McGrath <roland@hack.frob.com>
39777
f04e2132
RM
39778 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
39779 * shadow/getspent_r.c: Likewise.
39780 * shadow/getspnam.c: Likewise.
39781 * shadow/getspnam_r.c: Likewise.
39782 * gshadow/getsgent.c: Likewise.
39783 * gshadow/getsgent_r.c: Likewise.
39784 * gshadow/getsgnam.c: Likewise.
39785 * gshadow/getsgnam_r.c: Likewise.
39786 * inet/getnetbyad.c: Likewise.
39787 * inet/getnetbyad_r.c: Likewise.
39788 * inet/getnetbynm.c: Likewise.
39789 * inet/getnetbynm_r.c: Likewise.
39790 * inet/getnetent.c: Likewise.
39791 * inet/getnetent_r.c: Likewise.
39792 * inet/getproto.c: Likewise.
39793 * inet/getproto_r.c: Likewise.
39794 * inet/getprtent.c: Likewise.
39795 * inet/getprtent_r.c: Likewise.
39796 * inet/getprtname.c: Likewise.
39797 * inet/getprtname_r.c: Likewise.
39798 * inet/getrpcbyname.c: Likewise.
39799 * inet/getrpcbyname_r.c: Likewise.
39800 * inet/getrpcbynumber.c: Likewise.
39801 * inet/getrpcbynumber_r.c: Likewise.
39802 * inet/getrpcent.c: Likewise.
39803 * inet/getrpcent_r.c: Likewise.
39804 * inet/getaliasent.c: Likewise.
39805 * inet/getaliasent_r.c: Likewise.
39806 * inet/getaliasname.c: Likewise.
39807 * inet/getaliasname_r.c: Likewise.
39808 * nscd/getgrgid_r.c: Likewise.
39809 * nscd/getgrnam_r.c: Likewise.
39810 * nscd/gethstbyad_r.c: Likewise.
39811 * nscd/gethstbynm3_r.c: Likewise.
39812 * nscd/getpwnam_r.c: Likewise.
39813 * nscd/getpwuid_r.c: Likewise.
39814 * nscd/getsrvbynm_r.c: Likewise.
39815 * nscd/getsrvbypt_r.c: Likewise.
39816 * nscd/gai.c: Likewise.
39817
c53d909c
RM
39818 * configure.in (build_nscd): New substituted variable, set
39819 by --disable-build-nscd and defaults to $use_nscd.
39820 * configure: Regenerated.
39821 * config.make.in (build-nscd): New substituted variable.
39822 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
39823 Change conditional to require [$(build-nscd) = yes] as well.
39824 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
39825
3cc3ef96
RM
39826 [BZ# 13696]
39827 * configure.in (use_nscd): New substituted variable, set by
39828 --disable-nscd. If enabled, define USE_NSCD.
39829 * configure: Regenerated.
39830 * config.h.in: Add USE_NSCD.
39831 * config.make.in (use-nscd): New substituted variable.
39832 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
39833 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
39834 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
39835 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
39836 (CFLAGS-getgrnam_r.c): Likewise.
39837 (CFLAGS-initgroups.c): Likewise.
39838 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
39839 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
39840 Variables removed.
39841 * inet/getnetgrent_r.c
39842 (nscd_setnetgrent): New function, broken out of ...
39843 (setnetgrent): ... here. Call it.
39844 (innetgr): Conditionalize nscd bits on [USE_NSCD].
39845 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
39846 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
39847 * nscd/Makefile (routines, aux): Move definitions after include of
39848 Makeconfig. Conditionalize on [$(use-nscd) != no].
39849 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
39850 Conditionalize on [USE_NSCD].
39851 (is_nscd, nscd_init_cb): Likewise.
39852 (nss_load_library): Conditionalize init callback on [USE_NSCD].
39853 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
39854 * nss/nss_db/db-init.c: Likewise.
39855 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
39856 [USE_NSCD].
39857 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
39858 (make_request): Use it.
39859 (cache_valid_p): New function.
39860 (__check_pf): Use it.
39861 * NEWS: Add item for --disable-nscd.
39862
07e51550
DL
398632012-08-22 Dmitry V. Levin <ldv@altlinux.org>
39864
39865 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
39866 to support sed >= 4.2.1-20-ga9bf076.
39867 * configure: Regenerated.
39868
35a5b08b
RM
398692012-08-22 Roland McGrath <roland@hack.frob.com>
39870
39871 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
39872 Conditionalize whole body on [IREL].
39873
8479f23a
JL
398742012-08-22 Jeff Law <law@redhat.com>
39875
39876 [BZ #14505]
39877 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
39878 if the family is PF_UNSPEC.
39879
48da0b21
MF
398802012-08-22 Mike Frysinger <vapier@gentoo.org>
39881
39882 * Makerules (lib-version): Rename from V.
39883 (install-lib-nosubdir): Change V to lib-version.
39884
15d0da8c
WS
398852012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
39886
39887 [BZ #14252]
39888 * powerpc32/power6/wcschr.c: New file.
39889 * powerpc32/power6/wcscpy.c: New file.
39890 * powerpc32/power6/wcsrchr.c: New file.
39891 * powerpc64/power6/wcschr.c: New file.
39892 * powerpc64/power6/wcscpy.c: New file.
39893 * powerpc64/power6/wcsrchr.c: New file.
39894
bcca0895
MK
398952012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39896
39897 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
39898 (two_way_short_needle): Use it.
5a4aaa33
RM
39899 * string/strstr.c (AVAILABLE1_USES_J): Define.
39900 * string/strcasestr.c: Likewise.
99677e57
MK
39901
39902 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
39903 array references.
39904 * string/strcasestr.c (TOLOWER): Make side-effect safe.
39905
400726de
MK
39906 [BZ #11607]
39907 * NEWS: Add an entry.
39908 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
39909 define their defaults.
39910 (two_way_short_needle): Detect end-of-string on-the-fly.
39911 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
39912 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
39913 * string/bug-strcasestr1.c: New test.
39914 * string/Makefile: Run it.
39915
20a71f2c
MK
399162012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
39917
39918 [BZ #11607]
39919 * string/str-two-way.h (two_way_short_needle): Optimize matching of
39920 the first character.
39921
21ad0558
RM
399222012-08-21 Roland McGrath <roland@hack.frob.com>
39923
39924 * csu/elf-init.c (__libc_csu_irel): Function removed.
39925 * csu/libc-start.c (apply_irel): New function.
39926 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
39927
0e1d9911
JM
399282012-08-21 Joseph Myers <joseph@codesourcery.com>
39929
39930 * sysdeps/unix/sysv/linux/kernel-features.h
39931 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
39932 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
39933 <kernel-features.h>.
39934 [__NR_fadvise64_64]: Make code unconditional.
39935 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
39936 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39937 !__NR_fadvise64_64)]: Likewise.
39938 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
39939 !__NR_fadvise64_64))]: Likewise.
39940 [__NR_fadvise64]: Make code unconditional.
39941 [!__NR_fadvise64]: Remove conditional code.
39942 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
39943 <kernel-features.h>.
39944 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39945 unconditional.
39946 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39947 conditional code.
39948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
39949 not include <kernel-features.h>.
39950 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39951 unconditional.
39952 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39953 conditional code.
39954 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
39955 include <kernel-features.h>.
39956 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
39957 unconditional.
39958 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
39959 conditional code.
39960
14a50c9d
WS
399612012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
39962
39963 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
39964 slight instruction rearrangements per scrollpipe analysis.
39965 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
39966
c0f4faf0
RM
399672012-08-20 Roland McGrath <roland@hack.frob.com>
39968
696da859
RM
39969 * manual/syslog.texi (syslog; vsyslog, closelog):
39970 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
39971 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
39972
c0f4faf0
RM
39973 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
39974 DSOCAPS to match condition on defining it.
39975
348363b2
JM
399762012-08-20 Joseph Myers <joseph@codesourcery.com>
39977
a35cbf28
JM
39978 * sysdeps/unix/sysv/linux/kernel-features.h
39979 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
39980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
39981 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39982 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
39984 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39985 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
39987 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
39988 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
39989
445f7ecd
JM
39990 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
39991 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
39992
348363b2
JM
39993 * sysdeps/unix/sysv/linux/kernel-features.h
39994 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
39995 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
39996 unconditional.
39997 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
39998 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
39999 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40000 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40001 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
40002 Make code unconditional.
40003 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40004 (__mmap64) [!__NR_mmap2]: Likewise.
40005 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
40006 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
40007 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40008 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
40009 [__NR_mmap2]: Make code unconditional.
40010 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
40011 (__mmap64) [!__NR_mmap2]: Likewise.
40012
bc5bc0e5
AK
400132012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40014
40015 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
40016
88d506de
AJ
400172012-08-18 Andreas Jaeger <aj@suse.de>
40018
40019 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
40020
493387d2
MF
400212012-08-18 Mike Frysinger <vapier@gentoo.org>
40022
40023 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
40024 * include/unistd.h (__have_sock_cloexec): Likewise.
40025 (__have_pipe2): Likewise.
40026 (__have_dup3): Likewise.
40027
a277af22
MF
400282012-08-18 Mike Frysinger <vapier@gentoo.org>
40029
40030 [BZ #9685]
40031 * include/unistd.h (__have_pipe2): Change define into an extern int.
40032 (__have_dup3): Likewise.
40033 * socket/have_sock_cloexec.c: Include fcntl.h.
40034 (__have_pipe2): New variable.
40035 (__have_dup3): Likewise.
40036
fdab8fd3
MF
400372012-08-17 Mike Frysinger <vapier@gentoo.org>
40038
40039 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
40040
31035e80
MP
400412012-08-17 Marek Polacek <polacek@redhat.com>
40042
40043 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
40044 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
40045
3bd9e993
RM
400462012-08-17 Roland McGrath <roland@hack.frob.com>
40047
c91c505f
RM
40048 * configure.in: Add AC_SUBST for sysheaders.
40049 * configure: Regenerated.
40050 * config.make.in (sysheaders): New substituted variable.
40051
7c6f9d53
RM
40052 * sysdeps/unix/mkfifo.c: Moved ...
40053 * sysdeps/posix/mkfifo.c: ... here.
40054 * sysdeps/unix/mkfifoat.c: Moved ...
40055 * sysdeps/posix/mkfifoat.c: ... here.
40056
40057 * sysdeps/unix/utime.c: Moved ...
40058 * sysdeps/posix/utime.c: ... here.
40059
40060 * sysdeps/unix/time.c: Moved ...
40061 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
40062 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
40063 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
40064
40065 * sysdeps/unix/nice.c: Moved ...
40066 * sysdeps/posix/nice.c: ... here.
40067
40068 * sysdeps/unix/alarm.c: Moved ...
40069 * sysdeps/posix/alarm.c: ... here.
40070
3bd9e993
RM
40071 * intl/Makefile ($(codeset_mo)): Depend on the input file.
40072
d1f09384
JL
400732012-08-17 Jeff Law <law@redhat.com>
40074
40075 * intl/Makefile (codeset_mo): New variable.
40076 ($(codeset_mo)): New target.
40077 (tst-codeset.out): Depend on that. Remove explicit rule.
40078 (tst-gettext3.out, tst-gettext5.out): Likewise.
40079 (LOCPATH-ENV, tst-codeset-ENV): New variables.
40080 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
40081 * intl/tst-codeset.sh: Remove.
40082 * intl/tst-gettext3.sh: Likewise.
40083 * intl/tst-gettext5.sh: Likewise.
40084
2ae1ae5c
RM
400852012-08-17 Roland McGrath <roland@hack.frob.com>
40086
c31fdb83
RM
40087 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
40088 * sysdeps/unix/syscalls.list: ... here.
40089
a0844057
RM
40090 * sysdeps/posix/getaddrinfo.c
40091 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
40092 (gaiconf_init, gaiconf_reload): Use them.
40093 [!_STATBUF_ST_NSEC]
40094 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
40095 Define using time_t rather than struct timespec.
40096
750c1f2a
RM
40097 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
40098 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
40099 Macros removed.
40100 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
40101 [!NO_THREADS].
40102 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
40103 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
40104 Likewise.
40105
2ae1ae5c
RM
40106 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
40107 __libc_cleanup_push argument.
40108
e66a42f5
RM
40109 * bits/param.h: New file.
40110 * misc/sys/param.h: New file.
40111 * include/sys/param.h: New file.
40112 * misc/Makefile (headers): Add bits/param.h.
40113 * sysdeps/generic/sys/param.h: File removed.
40114 * sysdeps/unix/sysv/linux/bits/param.h: New file.
40115 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
40116 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 40117 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 40118
b7c08a66
RM
40119 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
40120 last change.
40121
b2e1c562
RM
40122 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
40123 [_IO_MTSAFE_IO].
40124 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
40125 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
40126 New macros.
40127
c75ccd4c
RM
40128 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
40129 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
40130 rather than -D_IO_MTSAFE_IO conditionally.
40131 * stdio-common/Makefile (CPPFLAGS): Likewise.
40132 * wcsmbs/Makefile (CPPFLAGS): Likewise.
40133 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
40134 Use $(libio-mtsafe).
40135 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
40136 of -D_IO_MTSAFE_IO.
40137 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
40138 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
40139 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
40140 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
40141 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
40142 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
40143 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
40144 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
40145 (CFLAGS-fread_u_chk.c): Likewise.
40146 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
40147 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
40148 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
40149 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
40150 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
40151 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
40152 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
40153 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
40154 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
40155
40156 * libio/Makefile: Test [$(libc-reentrant) = yes]
40157 instead of [$(filter %REENTRANT, $(defines)) nonempty].
40158
40159 * Makeconfig
40160 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
40161 * sysdeps/pthread/configure: File removed.
40162 * sysdeps/pthread/Makeconfig: New file.
40163 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
40164 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
40165
d9195db8
GB
401662012-08-16 Gary Benson <gbenson@redhat.com>
40167
40168 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
40169 unmapping the first object in a namespace.
40170
86466cd9
RM
401712012-08-16 Roland McGrath <roland@hack.frob.com>
40172
40173 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
40174 (__internal_setnetgrent): ... this. Add internal_function to
40175 definition. Add libc_hidden_def.
40176 (setnetgrent): Update caller.
40177 (internal_endnetgrent): Renamed to ...
40178 (__internal_endnetgrent): ... this. Add internal_function to
40179 definition. Add libc_hidden_def.
40180 (endnetgrent): Update caller.
40181 (internal_getnetgrent_r): Renamed to ...
40182 (__internal_getnetgrent_r): ... this. Add internal_function to
40183 definition. Add libc_hidden_def.
40184 (__getnetgrent_r): Update caller.
40185 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
40186
c3c8283c
JM
401872012-08-16 Joseph Myers <joseph@codesourcery.com>
40188
40189 * stdlib/longlong.h: Update from GCC.
40190
db1ee0a8
RM
401912012-08-16 Roland McGrath <roland@hack.frob.com>
40192
40193 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
40194 on _QL, which is set by umul_ppmm but never used.
40195 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
40196 variables, which are set by GMP macros but never used.
40197 * stdio-common/_itowa.c (_itowa): Likewise.
40198 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
40199 * stdlib/mod_1.c (mpn_mod_1): Likewise.
40200
30f69637
CD
402012012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
40202
40203 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
40204 struct La_sh_regs is not constant.
40205 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
40206 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
40207 and struct La_sparc64_regs are not constant.
40208
93a78ac4
JM
402092012-08-16 Joseph Myers <joseph@codesourcery.com>
40210
40211 * sysdeps/unix/sysv/linux/kernel-features.h
40212 (__ASSUME_POSIX_TIMERS): Remove.
40213 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
40214 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40215 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
40216 Make code unconditional.
40217 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40218 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
40219 Make code unconditional.
40220 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40221 * sysdeps/unix/sysv/linux/clock_nanosleep.c
40222 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
40223 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40224 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
40225 Make code unconditional.
40226 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
40227 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
40228 (__libc_missing_posix_timers): Remove.
40229
dd924cd7
RM
402302012-08-15 Roland McGrath <roland@hack.frob.com>
40231
4b4f2771
RM
40232 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
40233 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
40234
601c888b
RM
40235 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
40236
176790a7
RM
40237 * elf/dl-sym.c: Include <stdlib.h>.
40238
329bc018
RM
40239 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
40240 constants, which avoids warnings in 32-bit builds.
40241
e04e272d
RM
40242 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
40243 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
40244
952bf94a
RM
40245 * misc/lseek.c: File moved to ...
40246 * io/lseek.c: ... here.
40247
7c99b50a
RM
40248 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
40249
dd924cd7
RM
40250 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
40251 shifting LEN more than 31 bits at once.
40252
b3f479a8
LD
402532012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40254
40255 [BZ #14195]
8c4ae0d4
RM
40256 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
40257 segmentation fault for a case of two empty input strings.
b3f479a8
LD
40258 * string/test-strncasecmp.c (check1): Renamed to...
40259 (bz12205): ...this.
40260 (bz14195): Add new testcase for two empty input strings and N > 0.
40261 (test_main): Call new testcase, adapt for renamed function.
40262
9c55864e
AJ
402632012-08-15 Andreas Jaeger <aj@suse.de>
40264
40265 [BZ #14090]
40266 * crypt/md5test2.c: New test, based on test supplied by Serge
40267 Belyshev <belyshev@depni.sinp.msu.ru>.
40268 * crypt/Makefile (xtests): Add md5test-giant..
40269 * crypt/Makefile ($(objpfx)md5test-giant): Add.
40270
02dcb6c5
PE
402712012-08-15 Paul Eggert <eggert@cs.ucla.edu>
40272
40273 [BZ #14090]
40274 * crypt/md5.c (md5_process_block): Don't assume the buffer
40275 length is less than 2**32.
40276 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
40277 length is less than 2**64.
40278
a3f95dcc
RM
402792012-08-15 Roland McGrath <roland@hack.frob.com>
40280
be75d758
RM
40281 * string/str-two-way.h: Include <sys/param.h>.
40282 (MAX): Macro removed.
40283
7312ca90
RM
40284 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
40285 Move #define and #undef of memmove to just before and after
40286 including <string.h>.
40287
9a0a5486
RM
40288 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
40289 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
40290 and after including <string.h>. Move declarations of
40291 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
40292 to before #include "string/memmove.c".
40293
67cc348d
RM
40294 * include/dirent.h: Declare __getdirentries.
40295
a3f95dcc
RM
40296 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
40297 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
40298
ca98e171
MF
402992012-08-14 Mike Frysinger <vapier@gentoo.org>
40300
40301 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
40302 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
40303 * sysdeps/i386/configure: Regenerated.
40304 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
40305 STABS_CURRENT_FILE, and STABS_FUN.
40306 (END): Remove call to STABS_FUN_END.
40307 (STABS_CURRENT_FILE1): Delete.
40308 (STABS_CURRENT_FILE): Likewise.
40309 (STABS_FUN): Likewise.
40310 (STABS_FUN_END): Likewise.
40311 (STABS_FUN2): Likewise.
40312 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
40313 * sysdeps/x86_64/configure: Regenerated.
40314
5908bf46
RM
403152012-08-14 Roland McGrath <roland@hack.frob.com>
40316
40317 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 40318 * elf/dl-lookup.c: Likewise.
5908bf46 40319
f2c05b9e
JM
403202012-08-14 Joseph Myers <joseph@codesourcery.com>
40321
40322 * sysdeps/unix/sysv/linux/kernel-features.h
40323 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
40324 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
40325 unconditionally.
40326 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
40327 unconditionally.
40328 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
40329 condition on __ASSUME_CLONE_THREAD_FLAGS.
40330
e11f5155
AJ
403312012-08-14 Andreas Jaeger <aj@suse.de>
40332
40333 * sysdeps/i386/fpu/libm-test-ulps: Update.
40334
51a9ba86
MK
403352012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
40336
2fdd4f78
AJ
40337 * include/atomic.h (atomic_exchange_and_add): Split into ...
40338 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
40339 New atomic macros.
51a9ba86 40340
ba6cba9e
MT
403412012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
40342
40343 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40344
42443a47
JL
403452012-08-13 Jeff Law <law@redhat.com>
40346
40347 * manual/stdio.texi (snprintf): Clarify handling of the trailing
40348 null byte in the output string.
40349
121dce05
JM
403502012-08-10 Joseph Myers <joseph@codesourcery.com>
40351
40352 * sysdeps/unix/sysv/linux/kernel-features.h
40353 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
40354 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
40355 (__ASSUME_ARG_MAX_STACK_BASED): Define.
40356 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
40357 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
40358 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
40359 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
40360
bf51f568
JL
403612012-08-09 Jeff Law <law@redhat.com>
40362
40363 [BZ #13939]
40364 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
40365 When avoid_arena is set, don't retry in the that arena. Pick the
40366 next one, whatever it might be.
40367 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
40368 (arena_lock): Pass in new parameter to arena_get2.
40369 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
40370 arena_get2.
40371 (__libc_malloc): Unify retrying after main arena failure with
40372 __libc_memalign version.
40373 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
40374
f85fa270
L
403752012-08-09 H.J. Lu <hongjiu.lu@intel.com>
40376
40377 [BZ #14166]
40378 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
40379 to __redirect_strstr.
40380 (__strstr_sse42): Use typeof __redirect_strstr.
40381 (__strstr_ia32): Likewise.
40382 (__libc_strstr): New prototype.
40383 (strstr): Renamed to ...
40384 (__libc_strstr): This.
40385 (strstr): New strong alias of __libc_strstr.
40386 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
40387 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
40388 __redirect_time.
40389 Include <time.h>.
40390 (__libc_time): New prototype.
40391 (time_ifunc): Replace time with __libc_time.
40392 (time): New strong alias and hidden definition of __libc_time.
40393 (__GI_time): Remove strong alias.
40394 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
40395 Include <stddef.h>.
40396 (memmove): Redefined to __redirect_memmove.
40397 (__memmove_sse2): Use typeof __redirect_memmove.
40398 (__memmove_ssse3): Likewise.
40399 (__memmove_ssse3_back): Likewise.
40400 (__libc_memmove): New prototype.
40401 (memmove): Renamed to ...
40402 (__libc_memmove): This.
40403 (memmove): New strong alias of __libc_memmove.
40404
33b4a91e
MS
404052012-08-08 Mark Salter <msalter@redhat.com>
40406
40407 * elf/elf.h
40408 (R_MN10300_TLS_GD): Define.
40409 (R_MN10300_TLS_LD): Likewise.
40410 (R_MN10300_TLS_LDO): Likewise.
40411 (R_MN10300_TLS_GOTIE): Likewise.
40412 (R_MN10300_TLS_IE): Likewise.
40413 (R_MN10300_TLS_LE): Likewise.
40414 (R_MN10300_TLS_DTPMOD): Likewise.
40415 (R_MN10300_TLS_DTPOFF): Likewise.
40416 (R_MN10300_TLS_TPOFF): Likewise.
40417 (R_MN10300_SYM_DIFF): Likewise.
40418 (R_MN10300_ALIGN): Likewise.
40419 (R_MN10300_NUM): Update.
40420
b36137f1
JM
404212012-08-08 Joseph Myers <joseph@codesourcery.com>
40422
40423 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
40424 Remove.
40425
cdd915fd
RM
404262012-08-08 Roland McGrath <roland@hack.frob.com>
40427
a2433aac
RM
40428 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
40429
cdd915fd
RM
40430 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
40431 sysdeps/unix -> sysdeps/posix move.
40432 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
40433
bf9b740a
AM
404342012-08-07 Allan McRae <allan@archlinux.org>
40435
40436 [BZ #14303]
40437 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
40438 (SUNOS_CPP): Likewise.
40439 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
40440 not found.
40441 (open_input): Call CPP using execvp.
40442
93df14ee
JM
404432012-08-07 Joseph Myers <joseph@codesourcery.com>
40444
40445 * sysdeps/unix/sysv/linux/kernel-features.h
40446 (__ASSUME_PROT_GROWSUPDOWN): Remove.
40447 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40448 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40449 (__ASSUME_WAITID_SYSCALL): Likewise.
40450 * sysdeps/unix/sysv/linux/dl-execstack.c
40451 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
40452 code unconditional.
40453 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
40454 conditional code.
40455 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
40456 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
40457 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
40458 code.
40459 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
40460 unconditional.
40461 [__ASSUME_WAITID_SYSCALL]: Likewise.
40462 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
40463
d34689de
RM
404642012-08-07 Roland McGrath <roland@hack.frob.com>
40465
a281decc
RM
40466 * sysdeps/unix/closedir.c: Renamed to ...
40467 * sysdeps/posix/closedir.c: ... here.
40468 * sysdeps/unix/dirfd.c: Renamed to ...
40469 * sysdeps/posix/dirfd.c: ... here.
40470 * sysdeps/unix/dirstream.h: Renamed to ...
40471 * sysdeps/posix/dirstream.h: ... here.
40472 * sysdeps/unix/fdopendir.c: Renamed to ...
40473 * sysdeps/posix/fdopendir.c: ... here.
40474 * sysdeps/unix/opendir.c: Renamed to ...
40475 * sysdeps/posix/opendir.c: ... here.
40476 * sysdeps/unix/readdir.c: Renamed to ...
40477 * sysdeps/posix/readdir.c: ... here.
40478 * sysdeps/unix/readdir_r.c: Renamed to ...
40479 * sysdeps/posix/readdir_r.c: ... here.
40480 * sysdeps/unix/rewinddir.c: Renamed to ...
40481 * sysdeps/posix/rewinddir.c: ... here.
40482 * sysdeps/unix/seekdir.c: Renamed to ...
40483 * sysdeps/posix/seekdir.c: ... here.
40484 * sysdeps/unix/telldir.c: Renamed to ...
40485 * sysdeps/posix/telldir.c: ... here.
40486 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
40487 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
40488 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
40489 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
40490
22895b47
RM
40491 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
40492 * bits/fcntl.h: ... here.
40493
707a53b6
RM
40494 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
40495 not 0.
40496 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
40497 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
40498 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
40499 (struct flock): Move l_start, l_len to the beginning.
40500 Use __pid_t for l_pid.
40501 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
40502 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
40503 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
40504 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
40505 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
40506 [__USE_LARGEFILE64] (struct flock64): New type.
40507 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
40508
f0bd3e25
RM
40509 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
40510 * bits/dirent.h: ... here.
40511
d34689de
RM
40512 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
40513 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
40514
6dad2c06
JM
405152012-08-07 Joseph Myers <joseph@codesourcery.com>
40516
40517 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40518 Change from 2.6.0 to 2.6.16.
40519 * sysdeps/unix/sysv/linux/configure: Regenerated.
40520 * sysdeps/unix/sysv/linux/kernel-features.h
40521 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
40522 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
40523 version.
40524 (__ASSUME_UTIMES): Likewise.
40525 (__ASSUME_CLONE_STOPPED): Remove.
40526 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
40527 architectures, not kernel version.
40528 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
40529 (__ASSUME_NO_CLONE_DETACHED): Likewise.
40530 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
40531 (__ASSUME_WAITID_SYSCALL): Likewise.
40532 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
40533 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
40534 * README: State 2.6.16 as minimum Linux kernel version. Do not
40535 refer to older versions.
40536
03af9520
RM
405372012-08-06 Roland McGrath <roland@hack.frob.com>
40538
8e49df1d
RM
40539 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
40540 Define alphasort64 as an alias.
40541 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
40542 Define versionsort64 as an alias.
40543 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
40544 Define scandir64 as an alias.
40545 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
40546 Define scandirat64 as an alias.
40547 * dirent/alphasort64.c (alphasort64):
40548 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
40549 * dirent/versionsort64.c: Likewise.
40550 * dirent/scandir64.c: Likewise.
40551 * dirent/scandirat64.c: Likewise.
40552 * sysdeps/wordsize-64/alphasort.c: File removed.
40553 * sysdeps/wordsize-64/alphasort64.c: File removed.
40554 * sysdeps/wordsize-64/scandir.c: File removed.
40555 * sysdeps/wordsize-64/scandir64.c: File removed.
40556 * sysdeps/wordsize-64/scandirat.c: File removed.
40557 * sysdeps/wordsize-64/scandirat64.c: File removed.
40558 * sysdeps/wordsize-64/versionsort.c: File removed.
40559 * sysdeps/wordsize-64/versionsort64.c: File removed.
40560 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
40561 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
40562 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
40563 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
40564 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
40565 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
40566 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
40567 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
40568
40569 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
40570 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40571 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
40572 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40573 [defined __arch64__ || defined __sparcv9]
40574 (__INO_T_MATCHES_INO64_T): New macro.
40575 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40576 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
40577 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
40578 * sysdeps/unix/sysv/linux/bits/dirent.h
40579 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
40580 (_DIRENT_MATCHES_DIRENT64): New macro.
40581
03af9520
RM
40582 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
40583 Define lockf64 as an alias.
40584 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
40585 Define fseeko64 as an alias.
40586 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
40587 Define ftello64 as an alias.
40588 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
40589 Define _IO_fgetpos64 and fgetpos64 as aliases.
40590 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
40591 Define _IO_fsetpos64 and fsetpos64 as aliases.
40592 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
40593 Conditionalize body on this.
40594 * libio/fseeko64.c: Likewise.
40595 * libio/ftello64.c: Likewise.
40596 * libio/iofgetpos64.c: Likewise.
40597 * libio/iofsetpos64.c: Likewise.
40598 * sysdeps/wordsize-64/lockf.c: File removed.
40599 * sysdeps/wordsize-64/lockf64.c: File removed.
40600 * sysdeps/wordsize-64/fseeko.c: File removed.
40601 * sysdeps/wordsize-64/fseeko64.c: File removed.
40602 * sysdeps/wordsize-64/ftello.c: File removed.
40603 * sysdeps/wordsize-64/ftello64.c: File removed.
40604 * sysdeps/wordsize-64/iofgetpos.c: File removed.
40605 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
40606 * sysdeps/wordsize-64/iofsetpos.c: File removed.
40607 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
40608 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
40609 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
40610 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
40611 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
40612 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
40613 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
40614 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
40615 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
40616 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
40617 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
40618
40619 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
40621 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
40622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40623 [defined __arch64__ || defined __sparcv9]
40624 (__OFF_T_MATCHES_OFF64_T): New macro.
40625 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
40626 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
40627 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40628 (__OFF_T_MATCHES_OFF64_T): New macro.
40629
c5757acd
L
406302012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40631
40632 * stdlib/secure-getenv.c (__secure_getenv): Replace
40633 GLIBC_2_16 with GLIBC_2_17.
40634
3a31811e
L
406352012-08-06 H.J. Lu <hongjiu.lu@intel.com>
40636
40637 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
40638 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40639
faa2bccb
DM
406402012-08-03 David S. Miller <davem@davemloft.net>
40641
40642 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40643
85fe1997
JM
406442012-08-03 Joseph Myers <joseph@codesourcery.com>
40645
40646 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
40647 Remove.
40648 (__ASSUME_CORRECT_SI_PID): Likewise.
40649 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
40650 (__ASSUME_TMPFS_NAME): Likewise.
40651 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
40652 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
40653 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
40654 (HAVE_AUX_SECURE): Make definition unconditional.
40655 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
40656 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
40657
4f75b7a0
RM
406582012-08-03 Roland McGrath <roland@hack.frob.com>
40659
40660 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
40661 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
40662 * sysdeps/mach/hurd/eloop-threshold.h: New file.
40663 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40664 __eloop_threshold instead of SYMLOOP_MAX.
40665
40666 * sysdeps/generic/eloop-threshold.h: New file.
40667 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
40668 of MAXSYMLINKS.
40669 * elf/chroot_canon.c (chroot_canon): Likewise.
40670
7aab07e4
JM
406712012-08-03 Joseph Myers <joseph@codesourcery.com>
40672
40673 [BZ #13717]
40674 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40675 Change to 2.6.0 everywhere.
40676 * sysdeps/unix/sysv/linux/configure: Regenerated.
40677 * sysdeps/unix/sysv/linux/kernel-features.h
40678 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
40679 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
40680 kernel versions.
40681 (__ASSUME_POSIX_TIMERS): Define unconditionally.
40682 (__ASSUME_FUTEX_REQUEUE): Remove.
40683 (__ASSUME_STATFS64): Define unconditionally.
40684 (__ASSUME_AT_SECURE): Likewise.
40685 (__ASSUME_CORRECT_SI_PID): Likewise.
40686 (__ASSUME_TGKILL): Define without depending on kernel version for
40687 i386.
40688 (__ASSUME_UTIMES): Likewise.
40689 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
40690 kernel version.
40691 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
40692 (__ASSUME_TMPFS_NAME): Likewise.
40693 * README: Update reference to Linux kernel versions.
40694
b67e9372
MP
406952012-08-02 Marek Polacek <polacek@redhat.com>
40696
1f529f7d 40697 [BZ# 14150]
b67e9372
MP
40698 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
40699 libc_cv_asm_type_prefix with %.
40700 * configure: Regenerated.
d2441631
RM
40701 * include/libc-symbols.h: Remove comment about
40702 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
40703 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
40704 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
40705 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
40706 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
40707 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
40708 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
40709 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
40710 * elf/tst-unique2mod1.c: Likewise.
40711 * elf/tst-unique1mod2.c: Likewise.
40712 * elf/tst-unique1mod1.c: Likewise.
40713 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
40714 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
40715 Replace ASM_TYPE_DIRECTIVE with .type.
40716 * sysdeps/s390/s390-64/sysdep.h: Likewise.
40717 * sysdeps/i386/sysdep.h: Likewise.
40718 * sysdeps/x86_64/sysdep.h: Likewise.
40719 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
40720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
40721 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 40722 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
40723 * sysdeps/powerpc/powerpc32/sysdep.h:
40724 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
40725 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40726 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40727 * sysdeps/i386/fpu/e_powf.S: Likewise.
40728 * sysdeps/i386/fpu/e_expl.S: Likewise.
40729 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
40730 * sysdeps/i386/fpu/e_acosh.S: Likewise.
40731 * sysdeps/i386/fpu/e_pow.S: Likewise.
40732 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
40733 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
40734 * sysdeps/i386/fpu/s_expm1.S: Likewise.
40735 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
40736 * sysdeps/i386/fpu/e_log2.S: Likewise.
40737 * sysdeps/i386/fpu/e_log2l.S: Likewise.
40738 * sysdeps/i386/fpu/e_scalb.S: Likewise.
40739 * sysdeps/i386/fpu/e_powl.S: Likewise.
40740 * sysdeps/i386/fpu/e_log10f.S: Likewise.
40741 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
40742 * sysdeps/i386/fpu/e_logl.S: Likewise.
40743 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
40744 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
40745 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
40746 * sysdeps/i386/fpu/e_log2f.S: Likewise.
40747 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
40748 * sysdeps/i386/fpu/e_log.S: Likewise.
40749 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
40750 * sysdeps/i386/fpu/e_logf.S: Likewise.
40751 * sysdeps/i386/fpu/e_log10l.S: Likewise.
40752 * sysdeps/i386/fpu/e_atanh.S: Likewise.
40753 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
40754 * sysdeps/i386/fpu/e_log10.S: Likewise.
40755 * sysdeps/i386/fpu/s_frexp.S: Likewise.
40756 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
40757 * sysdeps/i386/fpu/s_asinh.S: Likewise.
40758 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
40759 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
40760 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
40761 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
40762 * sysdeps/i386/i686/strtok.S: Likewise.
40763 * sysdeps/i386/i386-mcount.S: Likewise.
40764 * sysdeps/i386/strtok.S: Likewise.
40765 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
40766 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
40767 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
40768 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
40769 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
40770 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
40771 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
40772 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
40773 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
40774 * sysdeps/x86_64/_mcount.S: Likewise.
40775 * sysdeps/x86_64/strtok.S: Likewise.
40776 * sysdeps/sh/_mcount.S: Likewise.
40777
2747bf9a
RM
407782012-08-01 Roland McGrath <roland@hack.frob.com>
40779
40780 * libio/iofopen.c: Include <fcntl.h>.
40781 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
40782 (_IO_fopen64, fopen64): Define as aliases.
40783 * libio/iofopen64.c: Include <fcntl.h>.
40784 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
40785 Conditionalize body on this.
40786 * sysdeps/wordsize-64/iofopen.c: File removed.
40787 * sysdeps/wordsize-64/iofopen64.c: File removed.
40788
3fb791b8
MP
407892012-08-01 Marek Polacek <polacek@redhat.com>
40790
40791 * libc/Makeconfig: Use elf in place of binfmt-subdir.
40792 Use dlfcn directly instead of a variable.
40793 (binfmt-subdir): Do not define.
40794 (dlfcn): Likewise.
40795
a9f1039f
JM
407962012-08-01 Joseph Myers <joseph@codesourcery.com>
40797
23bddc06
JM
40798 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
40799 Remove all definitions.
40800 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
40801 <kernel-features.h>.
40802 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40803 (miss_F_GETOWN_EX): Remove all definitions.
40804 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
40805 macro definition.
40806 [!__ASSUME_FCNTL64]: Remove conditional code.
40807 [__ASSUME_FCNTL64]: Make code unconditional.
40808 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
40809 <kernel-features.h>.
40810 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
40811 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
40812 (lockf64) [__NR_fcntl64]: Make code unconditional.
40813 (lockf64) [__ASSUME_FCNTL64]: Likewise.
40814
a9f1039f
JM
40815 * sysdeps/unix/sysv/linux/kernel-features.h
40816 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
40817 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
40818 Make code unconditional.
40819 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40820 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
40822 [__NR_vfork]: Make code unconditional.
40823 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40824 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
40826 [__NR_vfork]: Make code unconditional.
40827 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
40828 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
40829
09c0ee5f
RM
408302012-08-01 Roland McGrath <roland@hack.frob.com>
40831
48aec5b9
RM
40832 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
40833 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
40834
cd97c966
RM
40835 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40836 Define mkstemp64 as an alias.
3f55550c
RM
40837 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40838 Define mkstemps64 as an alias.
cd97c966
RM
40839 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40840 Define mkostemp64 as an alias.
b8625cfc
RM
40841 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
40842 Define mkostemps64 as an alias.
cd97c966
RM
40843 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
40844 Conditionalize body on this.
40845 * misc/mkostemp64.c: Likewise.
b8625cfc 40846 * misc/mkostemps64.c: Likewise.
3f55550c 40847 * misc/mkstemps64.c: Likewise.
cd97c966
RM
40848 * sysdeps/wordsize-64/mkstemp64.c: File removed.
40849 * sysdeps/wordsize-64/mkostemp64.c: File removed.
40850 * sysdeps/wordsize-64/mkostemp.c: File removed.
40851 * sysdeps/wordsize-64/mkstemp.c: File removed.
40852 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
40853 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
40854 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
40855 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
40856
09c0ee5f
RM
40857 [BZ #14138]
40858 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
40859 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
40860 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
40861 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
40862
40863 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
40864 compat_symbol macros from <shlib-compat.h> rather than the underlying
40865 default_symbol_version and symbol_version macros, so that DEFAULT
40866 lines in shlib-versions are respected.
40867 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
40868
7e66ee51
FW
408692012-08-01 Florian Weimer <fweimer@redhat.com>
40870
40871 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
40872 Declare with warn_unused_result.
40873 (setgid, setregid, setegid, setresgid): Likewise.
40874 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
40875 Likewise.
40876 * WUR-REPORT: Remove set*id functions.
40877
d2a54255
PT
408782012-07-31 Pino Toscano <toscano.pino@tiscali.it>
40879
40880 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
40881
7ecdb005
RM
408822012-07-31 Roland McGrath <roland@hack.frob.com>
40883
b4180a5e 40884 [BZ #10191]
789bd351
RM
40885 * include/sys/socket.h (__libc_accept, __libc_accept4):
40886 Add attribute_hidden.
40887 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
40888
40ce302d
RM
40889 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
40890 use of PTR_MANGLE.
40891 * inet/getnetgrent_r.c (setup): Likewise.
40892
7ecdb005
RM
40893 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
40894
e2eabb2c
DM
408952012-07-31 David S. Miller <davem@davemloft.net>
40896
40897 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40898
d0419dbf
JM
408992012-07-31 Joseph Myers <joseph@codesourcery.com>
40900
40901 [BZ #13629]
40902 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
40903 value between 1.0 and 2.0 and smaller part has absolute value less
40904 than 1.0.
40905 * math/s_clog10.c (__clog10): Likewise.
40906 * math/s_clog10f.c (__clog10f): Likewise.
40907 * math/s_clog10l.c (__clog10l): Likewise.
40908 * math/s_clogf.c (__clogf): Likewise.
40909 * math/s_clogl.c (__clogl): Likewise.
40910 * math/libm-test.inc (clog_test): Add more tests.
40911 (clog10_test): Likewise.
40912 * sysdeps/i386/fpu/libm-test-ulps: Update.
40913 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40914
2bc13872
FW
409152012-07-31 Florian Weimer <fweimer@redhat.com>
40916
40917 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
40918 Exit with zero in case no suitable GID is found, and write a
40919 message to standard error.
40920
bea9b193
RM
409212012-07-30 Roland McGrath <roland@hack.frob.com>
40922
40923 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
40924 rather than to 1.
40925 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
40926 (MAXPATHLEN): Removed.
40927 (NOGROUP, NODEV): New macros.
40928 (setbit, clrbit, isset, isclr): New macros.
40929 (howmany, roundup, powerof2): New macros.
40930 (DEV_BSIZE): New macro.
40931
40932 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
40933 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
40934
40935 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
40936 definition on [!__NO_LONG_DOUBLE_MATH].
40937
40938 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
40939 PTR_MANGLE and PTR_DEMANGLE.
40940
40941 * socket/accept4.c (accept4): Rename to __libc_accept4.
40942 Define accept4 as a weak alias.
40943
40944 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
40945 on [_DIRENT_HAVE_D_TYPE].
40946 * io/ftw.c (ftw_dir): Likewise.
40947
40948 * io/xmknod.c (__xmknod): Don't check PATH for being null.
40949
40950 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
40951
40952 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
40953 Use the BSD numbers rather than the arbitrary ones we had.
40954 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
40955 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
40956 (SIGXCPU, SIGXFSZ): New macros.
40957 (_NSIG): Now 32.
40958
40959 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
40960 initializer on [_LIBC_REENTRANT].
40961
40962 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
40963 definitions inside [_POSIX_MAPPED_FILES].
40964
40965 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
40966
40967 * dirent/opendir.c: Include <fcntl.h>.
40968
40969 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
40970 (__libc_getspecific): Likewise.
40971 (__libc_key_create): Likewise.
40972
40973 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
40974 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
40975 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
40976 (tmpfile64): Define as alias.
40977 * sysdeps/wordsize-64/tmpfile.c: File removed.
40978 * sysdeps/wordsize-64/tmpfile64.c: File removed.
40979 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
40980 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
40981
40982 * stdio-common/vfscanf.c: Include <stdbool.h>.
40983 * nss/makedb.c: Likewise.
40984 * stdio-common/_i18n_number.h: Likewise.
40985 * argp/argp-help.c: Likewise.
40986 * posix/wordexp.c: Likewise.
40987 * sysdeps/posix/spawni.c: Likewise.
40988 * nss/nss_files/files-initgroups.c: Likewise.
40989 * stdio-common/reg-modifier.c: Include <stdlib.h>.
40990 * nss/nss_files/files-initgroups.c: Likewise.
40991 * nss/nss_db/db-netgrp.c: Likewise.
40992 * nss/nss_db/db-initgroups.c: Likewise.
40993 * io/fchmodat.c: Include <sys/stat.h>.
40994
40995 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
40996 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
40997
40998 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
40999 [HAVE_MMAP].
41000
41001 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
41002 Add multiple inclusion protection.
41003
e5abc686
DM
410042012-07-27 David S. Miller <davem@davemloft.net>
41005
41006 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41007
815e6fa3
GB
410082012-07-27 Gary Benson <gbenson@redhat.com>
41009
41010 [BZ #14298]
41011 * elf/rtld.c: Include <stap-probe.h>.
41012 (dl_main): Added static probes "init_start" and "init_complete".
41013 * elf/dl-load.c: Include <stap-probe.h>.
41014 (lose): Take new parameter "nsid".
41015 Added static probe "map_failed".
41016 (_dl_map_object_from_fd): Pass namespace id to lose.
41017 Added static probe "map_start".
41018 (open_verify): Pass namespace id to lose.
41019 * elf/dl-open.c: Include <stap-probe.h>.
41020 (dl_open_worker) Added static probes "map_complete", "reloc_start"
41021 and "reloc_complete".
41022 * elf/dl-close.c: Include <stap-probe.h>.
41023 (_dl_close_worker): Added static probes "unmap_start" and
41024 "unmap_complete".
41025 * elf/rtld-debugger-interface.txt: New file documenting the above.
41026
9f98c16c
RM
410272012-07-26 Roland McGrath <roland@hack.frob.com>
41028
41029 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
41030 rather than a string variable.
41031 * sunrpc/rpc_main.c (h_output): Likewise.
41032 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
41033
f3c22df3
PT
410342012-07-26 Pino Toscano <toscano.pino@tiscali.it>
41035
41036 * inet/check_native.c: New file.
41037
3129cfc6
JM
410382012-07-26 Joseph Myers <joseph@codesourcery.com>
41039
da865e95
JM
41040 [BZ #13629]
41041 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
41042 if larger part has absolute value 1.0.
41043 * math/s_clog10.c (__clog10): Likewise.
41044 * math/s_clog10f.c (__clog10f): Likewise.
41045 * math/s_clog10l.c (__clog10l): Likewise.
41046 * math/s_clogf.c (__clogf): Likewise.
41047 * math/s_clogl.c (__clogl): Likewise.
41048 * math/libm-test.inc (clog_test): Add more tests.
41049 (clog10_test): Likewise.
41050 * sysdeps/i386/fpu/libm-test-ulps: Update.
41051 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41052
3129cfc6
JM
41053 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
41054 (pltexit): Likewise.
41055 (La_regs): Likewise.
41056 (La_retval): Likewise.
41057 (int_retval): Likewise.
41058 Update #error for removed macros to refer only to definitions in
41059 tst-audit.h.
41060 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
41061 macro.
41062 (pltexit): Likewise.
41063 (La_regs): Likewise.
41064 (La_retval): Likewise.
41065 (int_retval): Likewise.
41066 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
41067 macro.
41068 (pltexit): Likewise.
41069 (La_regs): Likewise.
41070 (La_retval): Likewise.
41071 (int_retval): Likewise.
41072 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
41073 macro.
41074 (pltexit): Likewise.
41075 (La_regs): Likewise.
41076 (La_retval): Likewise.
41077 (int_retval): Likewise.
41078 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
41079 macro.
41080 (pltexit): Likewise.
41081 (La_regs): Likewise.
41082 (La_retval): Likewise.
41083 (int_retval): Likewise.
41084 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
41085 macro.
41086 (pltexit): Likewise.
41087 (La_regs): Likewise.
41088 (La_retval): Likewise.
41089 (int_retval): Likewise.
41090 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
41091 macro.
41092 (pltexit): Likewise.
41093 (La_regs): Likewise.
41094 (La_retval): Likewise.
41095 (int_retval): Likewise.
41096 * sysdeps/generic/tst-audit.h: Update comment to refer only to
41097 macro definitions in tst-audit.h.
41098 * sysdeps/i386/tst-audit.h: New file.
41099 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
41100 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
41101 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
41102 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
41103 * sysdeps/sh/tst-audit.h: Likewise.
41104 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
41105 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
41106 * sysdeps/x86_64/tst-audit.h: Likewise.
41107
bfc07087
AJ
411082012-07-26 Andreas Jaeger <aj@suse.de>
41109
b1b2aaf8
AJ
41110 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
41111 ptrace.
41112
41113 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
41114 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
41115 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
41116 PTRACE_O_MASK.
41117 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
41118 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
41119 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
41120
bfc07087
AJ
41121 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
41122 value.
41123
41124 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
41125 _sigsys.
41126 (si_call_addr, si_syscall, si_arch): Define new macro.
41127 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
41128 _sigsys.
41129 (si_call_addr, si_syscall, si_arch): Define new marcro.
41130 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
41131 _sigsys.
41132 (si_call_addr, si_syscall, si_arch): Define new macro.
41133 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
41134 _sigsys.
41135 (si_call_addr, si_syscall, si_arch): Define new macro.
41136
89b4b02f
JM
411372012-07-25 Joseph Myers <joseph@codesourcery.com>
41138
41139 [BZ #13717]
41140 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41141 Change to 2.4.21 where previously 2.4.1.
41142 * sysdeps/unix/sysv/linux/configure: Regenerated.
41143 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
41144 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
41145 Linux kernel version.
41146 (__ASSUME_STD_AUXV): Remove.
41147 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
41148 kernel version.
41149 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
41150 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
41151 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
41152 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
41153 (__ASSUME_NETLINK_SUPPORT): Likewise.
41154 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
41155 (__no_netlink_support): Remove conditional definition.
41156 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
41157 Remove.
41158 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41159 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
41160 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
41161 (if_nameindex_ioctl): Remove.
41162 (if_nameindex_netlink): Do not handle __no_netlink_support.
41163 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41164 code.
41165 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
41166 Remove conditional code.
41167 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
41168 code.
41169 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
41170 unconditional.
41171 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
41172 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
41173 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
41174 Remove.
41175 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
41176 [!__ASSUME_STD_AUXV]: Remove conditional code.
41177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
41178 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
41179 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
41180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
41181 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
41182 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41183 code.
41184 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
41186 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
41187 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41188 conditional code.
41189 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
41190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
41191 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
41192 code.
41193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
41194 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
41195 conditional code.
41196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
41197 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41198 code unconditional.
41199 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41200 conditional code.
41201 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41202 unconditional.
41203 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41204 conditional code.
41205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
41206 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41207 unconditional.
41208 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41209 conditional code.
41210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
41211 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41212 code unconditional.
41213 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41214 conditional code.
41215 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41216 unconditional.
41217 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41218 conditional code.
41219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
41220 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
41221 code unconditional.
41222 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41223 conditional code.
41224 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
41225 unconditional.
41226 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
41227 conditional code.
41228
842a39cd
AS
412292012-07-25 Andreas Schwab <schwab@linux-m68k.org>
41230
41231 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
41232 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
41233 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
41234 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
41235 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
41236 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
41237 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
41238 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
41239 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
41240 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
41241 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
41242 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
41243 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
41244 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
41245 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
41246 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
41247 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
41248 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
41249 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
41250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
41251 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
41252 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
41253 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
41254
84b3fd84
FW
412552012-07-25 Florian Weimer <fweimer@redhat.com>
41256
41257 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
41258 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
41259 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
41260 Introduce __libc_secure_getenv.
0c7936d5
FW
41261 * stdlib/Versions (2.17): Add secure_getenv
41262 (GLIBC_PRIVATE): Add __libc_secure_getenv.
41263 * stdlib/secure-getenv.c: Rename __secure_getenv to
41264 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
41265 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
41266 * stdlib/tst-secure-getenv.c: New.
41267 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
41268 * manual/startup.texi (Environment Access): Document
41269 secure_getenv.
84b3fd84
FW
41270 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
41271 __libc_secure_getenv.
41272 * inet/ruserpass.c (ruserpass): Likewise.
41273 * malloc/mtrace.c (mtrace): Likewise.
41274 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 41275 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
41276 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
41277 * sysdeps/posix/tempname.c: Likewise. Evaluate
41278 HAVE_SECURE_GETENV.
41279 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 41280 __secure_getenv to __libc_secure_getenv.
84b3fd84 41281 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
41282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41283 Likewise.
41284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
41285 Likewise.
41286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
41287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
41288 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
41289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
41290 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
41291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
41292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 41293
56e49b71
JM
412942012-07-25 Joseph Myers <joseph@codesourcery.com>
41295
41296 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
41297 (struct La_i86_retval): Likewise.
41298 (struct La_x86_64_regs): Likewise.
41299 (struct La_x86_64_retval): Likewise.
41300 (struct La_x32_regs): Likewise.
41301 (struct La_x32_retval): Likewise.
41302 (struct La_ppc32_regs): Likewise.
41303 (struct La_ppc32_retval): Likewise.
41304 (struct La_ppc64_regs): Likewise.
41305 (struct La_ppc64_retval): Likewise.
41306 (struct La_sh_regs): Likewise.
41307 (struct La_sh_retval): Likewise.
41308 (struct La_s390_32_regs): Likewise.
41309 (struct La_s390_32_retval): Likewise.
41310 (struct La_s390_64_regs): Likewise.
41311 (struct La_s390_64_retval): Likewise.
41312 (struct La_sparc32_regs): Likewise.
41313 (struct La_sparc32_retval): Likewise.
41314 (struct La_sparc64_regs): Likewise.
41315 (struct La_sparc64_retval): Likewise.
41316 (struct audit_ifaces): Remove architecture-specific pltenter and
41317 pltexit members.
41318 * sysdeps/i386/ldsodefs.h: New file.
41319 * sysdeps/powerpc/ldsodefs.h: Likewise.
41320 * sysdeps/s390/ldsodefs.h: Likewise.
41321 * sysdeps/sh/ldsodefs.h: Likewise.
41322 * sysdeps/sparc/ldsodefs.h: Likewise.
41323 * sysdeps/x86_64/ldsodefs.h: Likewise.
41324
354691b7
MP
413252012-07-25 Marek Polacek <polacek@redhat.com>
41326
41327 [BZ #6808]
41328 * math/libm-test.inc (yn_test): Add another test.
41329 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
41330 to ERANGE when the result is +-Inf.
41331 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
41332 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
41333 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
41334 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
41335
bf9e2071
JM
413362012-07-24 Joseph Myers <joseph@codesourcery.com>
41337
41338 * conform/data/time.h-data (NULL): Use macro-constant. Require
41339 equal to 0.
41340 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
41341 clock_t.
41342 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
41343
57633811
TS
413442012-07-23 Thomas Schwinge <thomas@codesourcery.com>
41345
41346 * configure.in <sysdeps resolving>: Correct printing
41347 Implies_before.
41348 * configure: Regenerate.
41349
c23c33b0
TS
413502012-07-22 Thomas Schwinge <thomas@codesourcery.com>
41351
41352 * math/w_ilogb.c: Include <limits.h>.
41353 * math/w_ilogbl.c: Likewise.
41354
b5982523
JM
413552012-07-20 Joseph Myers <joseph@codesourcery.com>
41356
41357 * manual/lang.texi (__va_copy): Document primarily as ISO C99
41358 va_copy. Document allowing for unavailable va_copy only as
41359 pre-C99 compatibility.
41360 * manual/string.texi (Copying and Concatenation): Use va_copy
41361 instead of __va_copy in concat example.
41362
ac4ea442
PT
413632012-07-20 Pino Toscano <toscano.pino@tiscali.it>
41364
41365 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
41366 (__sendto): Use create_address_port. Initialize APORT and deallocate
41367 it if not null.
41368
f98eafbd
PT
41369 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
41370 with O_NOLINK passed to __file_name_lookup.
41371
898c7aab
PT
41372 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
41373 with O_NOLINK passed to __file_name_lookup.
41374
0ced335a
PT
41375 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
41376 negative N or less than NGIDS.
41377
b3404dbd
PT
41378 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
41379 type to string_t. Set ERANGE as errno and return it if NAME is not big
41380 enough. Use memcpy instead of strncpy.
41381
0f48659e
JM
413822012-07-20 Joseph Myers <joseph@codesourcery.com>
41383
41384 * elf/Makefile (check-data): Remove.
41385 (localplt.data): New vpath directive.
41386 ($(objpfx)check-localplt.out): Use localplt.data from vpath
41387 instead of $(check-data).
41388 * scripts/data/localplt-generic.data: Move to ...
41389 * sysdeps/generic/localplt.data: ... here.
41390 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
41391 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
41392 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
41393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
41394 ... here.
41395 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
41396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
41397 ... here.
41398 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
41399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
41400 ... here.
41401 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
41402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
41403 ... here.
41404 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
41405 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
41406 ... here.
41407 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
41408 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
41409 ... here.
41410
d37cbdaa
AZ
414112012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41412
41413 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
41414 PPC32 and PPC64 files.
41415 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
41416 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
41417
46f85fc2
AK
414182012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41419
41420 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
41421 __makecontext_ret to ...
41422 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
41423 ... here and call exit if uc_link is NULL. New file.
41424 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
41425 __makecontext_ret.S.
41426 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
41427 __makecontext_ret to ...
41428 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
41429 ... here and call exit if uc_link is NULL. New file.
41430 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
41431 __makecontext_ret.S.
41432
08f43f9b
AK
414332012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41434
41435 * elf/elf.h (R_390_IRELATIVE): New definition.
41436 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
41437 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
41438 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
41439 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
41440 (elf_machine_lazy_rel): Likewise.
41441 * sysdeps/s390/dl-irel.h: New file.
41442 * sysdeps/s390/s390-64/memcpy.S: New asm code.
41443 * sysdeps/s390/s390-64/memset.S: New asm code.
41444 * sysdeps/s390/s390-64/memcmp.S: New asm code.
41445 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
41446 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
41447 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
41448 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
41449 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
41450 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
41451 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
41452 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
41453 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
41454 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
41455 * sysdeps/s390/s390-32/memcpy.S: New asm code.
41456 * sysdeps/s390/s390-32/memset.S: New asm code.
41457 * sysdeps/s390/s390-32/memcmp.S: New asm code.
41458
3b05db33
MP
414592012-07-17 Marek Polacek <polacek@redhat.com>
41460
41461 [BZ #14349]
41462 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
41463 * sysdeps/s390/s390-64/configure.in: Likewise.
41464 * sysdeps/sparc/configure.in: Likewise.
41465 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
41466 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
41467 * sysdeps/i386/configure.in: Likewise.
41468 * sysdeps/x86_64/configure.in: Likewise.
41469 * sysdeps/sh/configure.in: Likewise.
41470 * sysdeps/s390/s390-32/configure: Regenerated.
41471 * sysdeps/s390/s390-64/configure: Likewise.
41472 * sysdeps/x86_64/configure: Likewise.
41473 * sysdeps/sh/configure: Likewise.
41474 * sysdeps/powerpc/powerpc64/configure: Likewise.
41475 * sysdeps/powerpc/powerpc32/configure: Likewise.
41476 * sysdeps/sparc/configure: Likwise.
41477 * sysdeps/i386/configure: Likewise.
41478
a66877c6
MP
41479 * elf/dl-open.c: Comment fixes.
41480
cfc82fd8
JM
414812012-07-17 Joseph Myers <joseph@codesourcery.com>
41482
bd29910a
JM
41483 * Makefile [CXX] (check-data): Remove.
41484 [CXX] (c++-types.data): New vpath directive.
41485 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
41486 vpath. Do not allow for C++ type data being missing.
41487 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
41488 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
41489 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
41490 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
41491 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
41492 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
41493 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
41494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
41495 ... here.
41496 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
41497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
41498 ... here.
41499 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
41500 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
41501 ... here.
41502 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
41503 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
41504 ... here.
41505 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
41506 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
41507 ... here.
41508 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
41509 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
41510 ... here.
41511 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
41512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
41513 ... here.
41514 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
41515 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
41516
cfc82fd8
JM
41517 * elf/tls-macros.h (TLS_LE): Move architecture-specific
41518 definitions to architecture-specific files.
41519 (TLS_IE): Likewise.
41520 (TLS_LD): Likewise.
41521 (TLS_GD): Likewise.
41522 * sysdeps/i386/tls-macros.h: New file.
41523 * sysdeps/powerpc/tls-macros.h: Likewise.
41524 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
41525 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
41526 * sysdeps/sh/tls-macros.h: Likewise.
41527 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
41528 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
41529 * sysdeps/x86_64/tls-macros.h: Likewise.
41530
f7db3170
TS
415312012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41532
07cbfc23
TS
41533 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
41534 zero value for regular exit case.
41535
f7db3170
TS
41536 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
41537 (__start_context): Preserve zero value for regular exit case.
41538
dc97c227
TS
415392012-07-17 Thomas Schwinge <thomas@codesourcery.com>
41540 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41541
41542 * manual/setjmp.texi (setcontext): Clarify normal process
41543 termination when uc_link is the null pointer.
41544 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
41545 exit call.
41546
d0cd7d02
AS
415472012-07-16 Andreas Schwab <schwab@linux-m68k.org>
41548
41549 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
41550 preprocessor. Test for each exception mask separately.
41551
dd318934
AJ
415522012-07-16 Andreas Jaeger <aj@suse.de>
41553
41554 * po/ru.po: Update from translation team.
41555
8048311a
JM
415562012-07-15 Joseph Myers <joseph@codesourcery.com>
41557
41558 * conform/data/string.h-data (NULL): Use macro-constant. Require
41559 equal to 0.
41560 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41561 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41562 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
41563 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
41564 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41565
b637d46e
AJ
415662012-07-13 Andreas Jaeger <aj@suse.de>
41567
41568 * po/fr.po: Update from translation team.
41569
541428fe
MP
415702012-07-12 Marek Polacek <polacek@redhat.com>
41571
41572 [BZ #14173]
41573 * math/libm-test.inc (yn_test): Add test for BZ #14173.
41574 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
41575 loop condition.
41576
ec332e94
JM
415772012-07-12 Joseph Myers <joseph@codesourcery.com>
41578
41579 [BZ #13717]
41580 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
41581 Change to 2.4.1 where previously 2.4.0.
41582 * sysdeps/unix/sysv/linux/configure: Regenerated.
41583 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
41584 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
41585 version.
41586 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
41587 (__ASSUME_AT_CLKTCK): Remove.
41588 (__ASSUME_AT_PAGESIZE): Likewise.
41589 (__ASSUME_AT_XID): Likewise.
41590 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
41591 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
41592 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
41593 unconditionally.
41594 (HAVE_AUX_PAGESIZE): Likewise.
41595 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
41596 [__ASSUME_AT_CLKTCK]: Make code unconditional.
41597 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
41598
7b6e99be
JB
415992012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
41600
41601 [BZ #14307]
41602 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
41603 the temporary buffer used to invoke __gethostbyname2_r,
41604 __gethostbyaddr_r and gethostbyname4_r to make room for struct
41605 host_data / struct gaih_addrtuple.
41606 * resolv/nss_dns/dns-host.c (global scope): Move definition of
41607 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
41608 header file nss/nsswitch.h.
41609 * nss/nsswitch.h (global scope): Add definition of implementation
41610 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
41611 resolv/nss_dns/dns-host.c).
41612
608404eb
AJ
416132012-07-11 Andreas Jaeger <aj@suse.de>
41614
41615 * po/fr.po: Update from translation team.
41616
71220aca
AJ
41617 * po/sv.po: Update from translation team
41618 * po/fr.po: Another update from translation team.
41619
28cfe843
AZ
416202012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41621
41622 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
41623 for subnormals or multiply small sinh result by itself.
41624 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
41625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41626
6b90f981
DM
416272012-07-11 David S. Miller <davem@davemloft.net>
41628
41629 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41630
c6825772
AS
416312012-07-10 Andreas Schwab <schwab@linux-m68k.org>
41632
41633 [BZ #14347]
41634 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
41635 (INTERNAL_MARK): Shift it here.
41636
7b8e0d49
MP
416372012-07-10 Marek Polacek <polacek@redhat.com>
41638
41639 [BZ #14151]
41640 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
41641 libc_cv_asm_global_directive with .globl.
41642 * configure: Regenerated.
41643 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
41644 with .globl.
41645 * sysdeps/i386/configure: Regenerated.
41646 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
41647 with .globl.
41648 * sysdeps/x86_64/configure: Regenerated.
41649 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
41650 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
41651 * elf/tst-unique2mod2.c: Likewise.
41652 * elf/tst-unique2mod1.c: Likewise.
41653 * elf/tst-unique1mod2.c: Likewise.
41654 * elf/tst-unique1mod1.c: Likewise.
41655 * sysdeps/s390/s390-32/sysdep.h: Likewise.
41656 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
41657 * sysdeps/s390/s390-64/sysdep.h: Likewise.
41658 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
41659 * sysdeps/mach/sysdep.h: Likewise.
41660 * sysdeps/i386/sysdep.h: Likewise.
41661 * sysdeps/i386/i386-mcount.S: Likewise.
41662 * sysdeps/x86_64/_mcount.S: Likewise.
41663 * sysdeps/x86_64/sysdep.h: Likewise.
41664 * sysdeps/sh/_mcount.S: Likewise.
41665 * sysdeps/sh/sysdep.h: Likewise.
41666 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
41667 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
41668 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
41669 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
41670 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
41671 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
41672 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
41673 * locale/localeinfo.h: Likewise.
41674 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
41675 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
41676
6c55cda3
RM
416772012-07-09 Roland McGrath <roland@hack.frob.com>
41678
41679 [BZ #14336]
41680 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
41681 system".
41682 * manual/message.texi (The Uniforum approach): Likewise.
41683 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
41684 (glibc iconv Implementation): Likewise.
41685
638a572e
JM
416862012-07-09 Joseph Myers <joseph@codesourcery.com>
41687
41688 [BZ #14337]
41689 * math/s_clog.c (__clog): Avoid scaling a value down where that
41690 could result in underflow.
41691 * math/s_clog10.c (__clog10): Likewise.
41692 * math/s_clog10f.c (__clog10f): Likewise.
41693 * math/s_clog10l.c (__clog10l): Likewise.
41694 * math/s_clogf.c (__clogf): Likewise.
41695 * math/s_clogl.c (__clogl): Likewise.
41696 * math/libm-test.inc (clog_test): Add more tests.
41697 (clog10_test): Likewise.
41698 * sysdeps/i386/fpu/libm-test-ulps: Update.
41699 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41700
261f4859
AS
417012012-07-06 Andreas Schwab <schwab@linux-m68k.org>
41702
0abaf3e4
AS
41703 [BZ #14283]
41704 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
41705 by 7 not 8 to examine high bit of fractional part.
41706
261f4859
AS
41707 [BZ #14042]
41708 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
41709 for call to __mcount_internal.
41710 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
41711 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
41712 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
41713
f17ac40d
JM
417142012-07-06 Joseph Myers <joseph@codesourcery.com>
41715
9ad63c23
JM
41716 [BZ #14154]
41717 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
41718 approximation for values within 0x1p-13f of an odd multiple of
41719 pi/4.
41720 * math/libm-test.inc (tan_test): Do not allow spurious underflow
41721 exception. Add more tests.
41722 * sysdeps/i386/fpu/libm-test-ulps: Update.
41723
f17ac40d
JM
41724 [BZ #6778]
41725 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
41726 inputs and return -1 for them. Do not check for +Inf in case not
41727 reachable for +Inf.
41728 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41729 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
41730 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41731 and return -1 for them. Do not check for +Inf in case not
41732 reachable for +Inf.
41733 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
41734 define.
41735 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
41736 and return -1 for them. Do not check for +Inf in case not
41737 reachable for +Inf.
41738 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
41739 spurious underflow.
41740 * sysdeps/i386/fpu/libm-test-ulps: Update.
41741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41742
fb21f89b
MF
417432012-07-06 Mike Frysinger <vapier@gentoo.org>
41744
41745 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
41746
cdfe2c5e
JM
417472012-07-05 Joseph Myers <joseph@codesourcery.com>
41748
41749 [BZ #14157]
41750 [BZ #14331]
41751 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
41752 could result in spurious underflow. Scale down values above
41753 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
41754 * math/s_csqrtf.c (__csqrtf): Likewise.
41755 * math/s_csqrtl.c (__csqrtl): Likewise.
41756 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
41757 spurious underflow.
41758 * sysdeps/i386/fpu/libm-test-ulps: Update.
41759 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41760
70d35b67
AS
417612012-07-04 Andreas Schwab <schwab@linux-m68k.org>
41762
704bc459
AS
41763 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
41764 xopen-msg.sed.
41765 * catgets/xopen-msg.awk: New file.
41766 * catgets/xopen-msg.sed: Removed.
41767
70d35b67
AS
41768 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
41769 po2text.sed.
41770 * intl/po2test.awk: New file.
41771 * intl/po2test.sed: Removed.
41772
ca61cf32
JM
417732012-07-04 Joseph Myers <joseph@codesourcery.com>
41774
41775 [BZ #14328]
41776 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
41777 or multiply small sinh result by itself.
41778 * math/s_ctanf.c (__ctanf): Likewise.
41779 * math/s_ctanh.c (__ctanh): Likewise.
41780 * math/s_ctanhf.c (__ctanhf): Likewise.
41781 * math/s_ctanhl.c (__ctanhl): Likewise.
41782 * math/s_ctanl.c (__ctanl): Likewise.
41783 * math/libm-test.inc (ctan_test_tonearest): New function.
41784 (ctan_test_towardzero): Likewise.
41785 (ctan_test_downward): Likewise.
41786 (ctan_test_upward): Likewise.
41787 (ctanh_test_tonearest): Likewise.
41788 (ctanh_test_towardzero): Likewise.
41789 (ctanh_test_downward): Likewise.
41790 (ctanh_test_upward): Likewise.
41791 (main): Call these new functions.
41792 * sysdeps/i386/fpu/libm-test-ulps: Update.
41793 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41794
ca48a46a
MF
417952012-07-03 Mike Frysinger <vapier@gentoo.org>
41796
41797 * .gitignore: Delete /ports entry.
41798
9d63d37d
AJ
417992012-07-03 Andreas Jaeger <aj@suse.de>
41800
41801 * po/bg.po: Update from translation team.
41802 * po/cs.po: Likewise.
41803 * po/de.po: Likewise.
41804 * po/hr.po: Likewise.
41805 * po/nl.pl: Likewise.
41806 * po/pl.po: Likewise.
41807 * po/vi.po: Likewise.
41808
370ca3d2
JM
418092012-07-03 Joseph Myers <joseph@codesourcery.com>
41810
95f5a9a8
JM
41811 * Makeconfig [!+link] (+link-before-libc): New variable.
41812 [!+link] (+link-after-libc): Likewise.
41813 [!+link] (+link-tests): Likewise.
41814 [!+link] (+link): Define in terms of $(+link-before-libc) and
41815 $(+link-after-libc).
41816 [!+link-static] (+link-static-before-libc): New variable.
41817 [!+link-static] (+link-static-after-libc): Likewise.
41818 [!+link-static] (+link-static-tests): Likewise.
41819 [!+link-static] (+link-static): Define in terms of
41820 $(+link-static-before-libc) and $(+link-static-after-libc).
41821 [build-shared] (link-libc-before-gnulib): New variable.
41822 [build-shared] (link-libc-tests): Likewise.
41823 [build-shared] (link-libc): Define in terms of
41824 $(link-libc-before-gnulib).
41825 [!build-shared] (link-libc-tests): New variable.
41826 (link-libc-static-tests): New variable.
41827 [!gnulib] (gnulib-arch): New variable.
41828 [!gnulib] (gnulib-tests): Likewise.
41829 [!gnulib] (static-gnulib-arch): Likewise.
41830 [!gnulib] (static-gnulib-tests): Likewise.
41831 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
41832 Define with "=" instead of ":=".
41833 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
41834 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
41835 * Rules (binaries-all-notests): New variable.
41836 (binaries-all-tests): Likewise.
41837 (binaries-static-notests): Likewise.
41838 (binaries-static-tests): Likewise.
41839 (binaries-all): Define using $(binaries-all-notests) and
41840 $(binaries-all-tests).
41841 (binaries-static): Define using $(binaries-static-notests) and
41842 $(binaries-static-tests).
41843 (binaries-shared-tests): New variable.
41844 (binaries-shared-notests): Likewise.
41845 (binaries-shared): Remove variable.
41846 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
41847 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
41848 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
41849 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
41850 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
41851 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
41852 * elf/Makefile (sln-modules): New variable.
41853 (extra-objs): Add $(sln-modules:=.o).
41854 (ldconfig-modules): Add static-stubs.
41855 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
41856 * elf/static-stubs.c: New file.
41857
7a845b2c
JM
41858 [BZ #14283]
41859 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
41860 by 7 not 8 to examine high bit of fractional part. Use volatile
41861 variables when splitting into final array of floats if
41862 __FLT_EVAL_METHOD__ != 0.
41863 * math/libm-test.inc (cos_test): Add another test.
41864 (sin_test): Likewise.
41865 * sysdeps/i386/fpu/libm-test-ulps: Update.
41866
e2283f38
JM
41867 [BZ #14273]
41868 * math/libm-test.inc (cosh_test): Add more tests.
41869
370ca3d2
JM
41870 * version.h (RELEASE): Set to "development".
41871 (VERSION): Set to "2.16.90".
41872
ee9247c3
CD
418732012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
41874
41875 * NEWS: Update copyright. Remove last-updated date.
41876 Mention math library bug fixes and timezone data changes.
41877 * README: Mention GNU/Hurd, x32, and HPPA support status.
41878
4648c381
TS
418792012-06-28 Thomas Schwinge <thomas@codesourcery.com>
41880
41881 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
41882
aac78a43
AJ
418832012-06-27 Andreas Jaeger <aj@suse.de>
41884
41885 * manual/contrib.texi (Contributors): Add Samuel Thibault.
41886
ed3dbfad
AJ
418872012-06-25 Andreas Jaeger <aj@suse.de>
41888
41889 * sysdeps/s390/fpu/libm-test-ulps: Update.
41890
4d0ee855
AS
418912012-06-23 Andreas Schwab <schwab@linux-m68k.org>
41892 Thomas Schwinge <thomas@codesourcery.com>
41893
41894 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
41895 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
41896 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
41897 fanotify_mark.
41898
af1bce34
TS
418992012-06-23 Thomas Schwinge <thomas@codesourcery.com>
41900
a9fa33ba
TS
41901 * sysdeps/mach/start.c: Remove file.
41902 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
41903 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
41904 * sysdeps/sh/init-first.c: Likewise.
41905
58f902b8
TS
41906 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
41907 registers for frame unwinding purposes, add CFI directives.
41908 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41909 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
41910 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
41911 Likewise.
41912
1518f58b
TS
41913 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
41914 __fortify_fail returning.
41915 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
41916
db9b5059
TS
41917 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
41918 sysdeps/sh/____longjmp_chk.S.
41919 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
41920 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
41921 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
41922 (gen-as-const-headers): Append sigaltstack-offsets.sym.
41923
967705fe
TS
41924 * sysdeps/sh/abort-instr.h: New file.
41925 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
41926 process in case exit returns.
41927
a9def8c4
TS
41928 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
41929 initialize the GOT register before use.
41930
2a649725
TS
41931 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
41932 calculation of ARGC > 4.
41933
af1bce34
TS
41934 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
41935 meaningful names to some local labels.
41936
d230f50a
KK
419372012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
41938 Kaz Kojima <kkojima@rr.iij4u.or.jp>
41939
41940 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
41941 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
41942 (__arch_compare_and_exchange_val_16_acq): Likewise.
41943 (__arch_compare_and_exchange_val_32_acq): Likewise.
41944 (atomic_exchange_and_add): Fix gUSA sequence.
41945 (atomic_add): Likewise.
41946 (atomic_add_negative): Likewise.
41947 (atomic_add_zero): Likewise.
41948 (atomic_bit_test_set): Likewise.
41949
0479b305
AS
419502012-06-22 Andreas Schwab <schwab@redhat.com>
41951
41952 [BZ #13579]
41953 * include/link.h (struct link_map): Add l_free_initfini.
41954 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
41955 l_initfini.
41956 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
41957 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
41958 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
41959 set.
41960
0e3933b9
CD
419612012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
41962
41963 * configure.in: Use AC_LANG_SOURCE.
41964 * configure: Regenerate.
41965
4248b1b1
RM
419662012-06-22 Roland McGrath <roland@hack.frob.com>
41967
41968 * configure.in (libc_cv_localstatedir): New substituted variable.
41969 * configure: Regenerated.
41970 * config.make.in (localstatedir): New variable, substituted from
41971 libc_cv_localstatedir.
41972 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
41973 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
41974 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
41975 * sysdeps/gnu/configure: Regenerated.
41976
006dd861
JL
419772012-06-21 Jeff Law <law@redhat.com>
41978
41979 [BZ #14277]
41980 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
41981 free. Simplify list management for _LIBC case.
41982
79662d42
JM
419832012-06-21 Joseph Myers <joseph@codesourcery.com>
41984
b7abb4bf
JM
41985 [BZ #14273]
41986 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
41987 Clear sign bit of 64-bit integer value before comparing against
41988 overflow value.
41989
79662d42
JM
41990 * sysdeps/mach/configure: Regenerated.
41991
1f150908
L
419922012-06-21 H.J. Lu <hongjiu.lu@intel.com>
41993
41994 [BZ #14278]
41995 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
41996
28363bbf
JL
419972012-06-21 Jeff Law <law@redhat.com>
41998
41999 [BZ #13882]
42000 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
42001 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 42002 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
42003 * elf/dl-open.c (dl_open_worker): Likewise.
42004
09615db4
CD
420052012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
42006
42007 * scripts/list-sources.sh: Scan PORTS for translations.
42008 * po/libc.pot: Regenerated.
42009
2174c6dd
AJ
420102012-06-21 Andreas Jaeger <aj@suse.de>
42011
42012 [BZ #12194]
42013 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
42014 warning.
42015 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
42016 * bits/byteswap-16.h (__bswap_16): Likewise.
42017 * bits/byteswap.h (__bswap_constant_16): Likewise.
42018
3ee947b1
L
420192012-06-18 H.J. Lu <hongjiu.lu@intel.com>
42020
42021 [BZ #14117]
a2f34833
L
42022 * sysdeps/i386/fpu_control.h: Removed.
42023 * sysdeps/x86_64/fpu_control.h: Moved to ...
42024 * sysdeps/x86/fpu_control.h: Here.
42025
3ee947b1
L
42026 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
42027 (_FPU_SETCW): Likewise.
42028
ed1825f8
L
420292012-06-15 H.J. Lu <hongjiu.lu@intel.com>
42030
25f1282a
L
42031 [BZ #14117]
42032 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
42033 * sysdeps/x86/fpu/bits/mathinline.h: This.
42034 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
42035
ed1825f8
L
42036 [BZ #14050]
42037 [BZ #14117]
42038 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
42039 functions if __x86_64__ is defined.
42040
36d54b74
CLT
420412012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
42042
42043 * string/endian.h: Add !__ASSEMBLER__ condition for including
42044 conversion interfaces.
42045
10285c21
JM
420462012-06-15 Joseph Myers <joseph@codesourcery.com>
42047
42048 [BZ #14241]
42049 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
42050 of ABS(x) in calculating zero to negative powers other than odd
42051 integers.
42052 * math/libm-test.inc (pow_test): Add more tests.
42053
06c5abbd
AJ
420542012-06-15 Andreas Jaeger <aj@suse.de>
42055
42056 * manual/contrib.texi (Contributors): Update entry of Liubov
42057 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
42058 Machado Filho.
42059
a3aeac40
CH
420602012-06-15 Cyril Hrubis <metan@ucw.cz>
42061
42062 * string/string.h: Add __wur to GNU version of strerror_r.
42063
49bdf4c1
L
420642012-06-14 H.J. Lu <hongjiu.lu@intel.com>
42065
42066 [BZ #14229]
42067 * string/Makefile (tests): Add tst-strtok_r.
42068 * string/tst-strtok_r.c: New file.
42069 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
42070 RAX_LP/RDX_LP on SAVE_PTR.
42071
834f9b8d
RM
420722012-06-14 Roland McGrath <roland@hack.frob.com>
42073
42074 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
42075
75fa1921
JM
420762012-06-14 Joseph Myers <joseph@codesourcery.com>
42077
42078 * libm_test.inc (csqrt_test): Allow more spurious underflow
42079 exceptions.
42080 (j0_test): Likewise.
42081 (j1_test): Likewise.
42082 (y0_test): Likewise.
42083 (y1_test): Likewise.
42084
771766df
CD
420852012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
42086
42087 * po/Makefile (libc.pot): Use UTF-8 charset.
42088
ceb9e56b
PP
420892012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
42090
42091 [BZ #14210]
42092 Suppress sign-conversion warning from FD_SET.
42093 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
42094 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
42095 not unsigned long int.
42096 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
42097
ddb28975
L
420982012-06-12 H.J. Lu <hongjiu.lu@intel.com>
42099
42100 [BZ #14050]
42101 [BZ #14117]
42102 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
42103 __extern_always_inline instead of __extern_inline.
42104 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
42105 (__signbit): Likewise.
42106 (__signbitl): Support C++ namespace.
42107 (lrintf): New inline function.
42108 (lrint): Likewise.
42109 (llrintf): Likewise.
42110 (llrint): Likewise.
42111 (fmaxf): Likewise.
42112 (fmax): Likewise.
42113 (fminf): Likewise.
42114 (fmin): Likewise.
42115 (rint): Likewise.
42116 (rintf): Likewise.
42117 (ceil): Likewise.
42118 (ceilf): Likewise.
42119 (floor): Likewise.
42120 (floorf): Likewise.
42121 (nearbyint): Likewise.
42122 (nearbyintf): Likewise.
42123
d7b4fb26
TS
421242012-06-12 Thomas Schwinge <thomas@codesourcery.com>
42125
42126 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
42127 non-default versions.
42128
eb55f5c2
RM
421292012-06-11 Roland McGrath <roland@hack.frob.com>
42130
42131 [BZ #14218]
42132 * manual/argp.texi (Argp): Reword argp_parse description slightly.
42133
366af02c
TS
421342012-06-09 Thomas Schwinge <thomas@codesourcery.com>
42135
99ff6e5c
TS
42136 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
42137 (FE_UPWARD, FE_DOWNWARD): Don't define.
42138 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
42139 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42140
366af02c
TS
42141 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
42142 reading it.
42143 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42144 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42145
793ea851
KK
421462012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42147
42148 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42149 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
42150 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
42151 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
42152
a728a38f
L
421532012-06-06 H.J. Lu <hongjiu.lu@intel.com>
42154
42155 [BZ #14117]
c08010c7
L
42156 * sysdeps/i386/fpu/bits/fenv.h: Removed.
42157 * sysdeps/i386/fpu/Implies: New file.
42158 * sysdeps/x86_64/fpu/Implies: Likewise.
42159 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
42160 * sysdeps/x86/fpu/bits/fenv.h: This.
42161
a728a38f
L
42162 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
42163 __SSE_MATH__.
42164
6e230d11
SP
421652012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
42166
42167 [BZ #14134]
42168 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
42169 character 0xffff that matches the last element of the
42170 conversion table.
42171
1b671feb
AZ
421722012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42173
42174 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
42175 fmodl commit.
42176
6043738b
AZ
421772012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42178
42179 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
42180 values higher than 25.6283.
42181
34ae0b32
AZ
421822012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42183
42184 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
42185 subnormal exponent extraction and add some __builtin_expect.
42186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
42187 Fix for subnormal mantissa calculation.
42188
1214ec8f
MF
421892012-06-04 Mike Frysinger <vapier@gentoo.org>
42190
42191 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
42192 cpu2 is -1 and errno is not ENOSYS.
42193
f3d1f93c
L
421942012-06-04 H.J. Lu <hongjiu.lu@intel.com>
42195
42196 [BZ #14117]
0e4a3cd7
L
42197 * sysdeps/i386/i486/bits/string.h: Renamed to ...
42198 * sysdeps/x86/bits/string.h: This.
42199 * sysdeps/x86_64/bits/string.h: Removed.
42200
6704c645
L
42201 * sysdeps/i386/i486/bits/string.h: Define inline functions only
42202 if not compiling for x86-64, but compiling for >= i486.
42203
48495318
L
42204 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
42205 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
42206
14adcbfc
L
42207 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
42208 New macro from Linux kernel 3.4.0.
42209 (FP_XSTATE_MAGIC2): Likewise.
42210 (FP_XSTATE_MAGIC2_SIZE): Likewise.
42211 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
42212 (struct _fpx_sw_bytes): New struct.
42213 (struct _xsave_hdr): Likewise.
42214 (struct _ymmh_state): Likewise.
42215 (struct _xstate): Likewise.
42216
68e408ab
L
42217 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
42218 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
42219 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
42220 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
42221 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
42222 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
42223
f3d1f93c
L
42224 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
42225 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
42226 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
42227 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
42228 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
42229 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
42230
d9dc34cd
TMQMF
422312012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
42232
42233 [BZ #13743]
42234 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
42235 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
42236 (sysdep_headers): Include sys/platform/ppc.h.
42237 * sysdeps/powerpc/test-gettimebase.c: Test for
42238 __ppc_get_timebase() to catch future ISA opcode/insn changes.
42239 * manual/Makefile (appendices): Include platform.texi.
42240 * manual/contrib.texi (Contributors): Update @node pointers.
42241 * manual/maint.texi (Maintenance): Likewise.
42242 (Platform): New node.
42243 * manual/platform.texi: New file. Document the new features.
42244
4af3879c
SP
422452012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
42246 Jakub Jelinek <jakub@redhat.com>
42247
42248 [BZ #14188]
42249 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
42250 where __builtin_expect is unavailable.
42251
2fd6ff13
DM
422522012-06-03 David S. Miller <davem@davemloft.net>
42253
42254 * stdlib/longlong.h: Updated from GCC.
42255
173f7220
AS
422562012-06-02 Andreas Schwab <schwab@linux-m68k.org>
42257
42258 [BZ #14042]
42259 * sysdeps/powerpc/powerpc32/mcount.c: New file.
42260 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
42261 __mcount_internal.
42262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
42263 (GLIBC_2.16): Likewise.
42264
f34a1c6f
L
422652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42266
42267 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
42268
88a4576f
JM
422692012-06-01 Joseph Myers <joseph@codesourcery.com>
42270
ea32bcdd
JM
42271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
42272 (default-abi): New variable.
42273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
42274 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
42275 variable.
42276 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
42277 Likewise.
42278 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
42279 Likewise.
42280 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
42281 Likewise.
42282
88a4576f
JM
42283 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
42284 definition. Document in comment.
42285
402fe938
DM
422862012-06-01 David S. Miller <davem@davemloft.net>
42287
42288 * stdlib/longlong.h: Updated from GCC.
42289
3553723f
L
422902012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42291
42292 [BZ #14117]
3bd872c4
L
42293 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
42294 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
42295 sys/debugreg.h sys/io.h here.
42296 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
42297 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
42298 sys/io.h.
42299 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
42300 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
42301 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
42302 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
42303 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
42304 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
42305
3553723f
L
42306 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
42307 Define only if __x86_64__ is defined.
42308
4842e4fe
JM
423092012-06-01 Joseph Myers <joseph@codesourcery.com>
42310
c5bfe3d5
JM
42311 [BZ #14048]
42312 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
42313 Use int64_t for variable i.
42314 * math/libm-test.inc (fmod_test): Add more tests.
42315
4842e4fe
JM
42316 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
42317 z computation is not scheduled after fetestexcept.
42318 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
42319 Use math_force_eval instead of asm to ensure calculation scheduled
42320 before exception test.
42321 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
42322 Ensure a1 + u.d computation is not scheduled after fetestexcept.
42323
efb73488
AJ
423242012-06-01 Aurelien Jarno <aurelien@aurel32.net>
42325
42326 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
42327 computation is not scheduled after fetestexcept.
42328
29bcce7c
L
423292012-06-01 H.J. Lu <hongjiu.lu@intel.com>
42330
42331 [BZ #14117]
42332 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
42333 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
42334
73a68f94
AZ
423352012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42336
42337 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
42338 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
42339
67b6df78
L
423402012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42341
edf2933a 42342 [BZ #14117]
ebc64a18
L
42343 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
42344 <bits/wordsize.h>.
42345 (__WCHAR_MIN): Support __WORDSIZE == 64.
42346 (__WCHAR_MAX): Likewise.
42347
edf2933a
L
42348 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
42349 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
42350
57c6cf40
L
42351 [BZ #14183]
42352 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
42353 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
42354
67b6df78 42355 [BZ #14117]
8eb6281e
L
42356 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
42357 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
42358
aac639f4
L
42359 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
42360 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
42361
67b6df78
L
42362 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
42363 Defined to 1 if __x86_64__ isn't defined.
42364 (_STAT_VER_LINUX_OLD): New.
42365 (st_atime): Remove duplicate.
42366 (st_mtime): Likewise.
42367 (st_ctime): Likewise.
42368
1c2cfe81
DM
423692012-05-31 David S. Miller <davem@davemloft.net>
42370
42371 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
42372 entries.
42373
5be8418c
AS
423742012-06-01 Andreas Schwab <schwab@linux-m68k.org>
42375
e7725326
AS
42376 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
42377 gen-libm-test.pl.
42378
5be8418c
AS
42379 [BZ #14132]
42380 * elf/dl-reloc.c: Include <_itoa.h>.
42381 (_dl_reloc_bad_type): Remove use of INTUSE.
42382 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
42383 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
42384 * stdio-common/psiginfo.c (psiginfo): Likewise.
42385 * stdio-common/psignal.c (psignal): Likewise.
42386 * string/strsignal.c (strsignal): Likewise.
42387 * include/signal.h (_sys_siglist): Declare hidden proto.
42388 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
42389 INTVARDEF with libc_hidden_data_def.
42390 * stdio-common/itoa-udigits.c: Likewise.
42391 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
42392 (_itoa_lower_digits_internal): Remove declaration.
42393 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
42394 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
42395 (_sys_sigabbrev_internal): Remove aliases.
42396 (_sys_siglist): Define hidden alias.
42397
507352f1
MT
423982012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
42399
42400 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42401 bits/sysctl.h.
42402
42bbb1c3
L
424032012-05-31 H.J. Lu <hongjiu.lu@intel.com>
42404
42405 [BZ #14117]
6bd784b6
L
42406 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
42407 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
42408
8bca20f0
L
42409 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
42410 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
42411 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
42412 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
42413 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
42414 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
42415
f9e890a9
L
42416 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
42417 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
42418 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
42419
471101a1
L
42420 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
42421 with __addr.
42422 (insw): Likewise.
42423 (insl): Likewise.
42424 (outsb): Likewise.
42425 (outsw): Likewise.
42426 (outsl): Likewise.
42427
6451c862
L
42428 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
42429 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
42430 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
42431
a254b8c9
L
42432 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
42433 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
42434 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
42435 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
42436 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
42437 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
42438
b8dfdd92
L
42439 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
42440 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
42441
578cd270
L
42442 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
42443 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
42444
de662f5f
L
42445 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
42446 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
42447 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
42448
25653439
L
42449 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
42450 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
42451 to ...
42452 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
42453
6bad24a0
L
42454 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
42455 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
42456 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
42457
42bbb1c3
L
42458 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
42459 for x86-64.
42460 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
42461
2d10d547
JM
424622012-05-31 Joseph Myers <joseph@codesourcery.com>
42463
42464 * math/math.h (M_El): Use two more decimal places.
42465 (M_LOG2El): Likewise.
42466 (M_LOG10El): Likewise.
42467 (M_LN2l): Likewise.
42468 (M_LN10l): Likewise.
42469 (M_PIl): Likewise.
42470 (M_PI_2l): Likewise.
42471 (M_PI_4l): Likewise.
42472 (M_1_PIl): Likewise.
42473 (M_2_PIl): Likewise.
42474 (M_2_SQRTPIl): Likewise.
42475 (M_SQRT2l): Likewise.
42476 (M_SQRT1_2l): Likewise.
42477
f230c29b
DM
424782012-05-31 David S. Miller <davem@davemloft.net>
42479
42480 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
42481 values between float registers.
42482 * sysdeps/sparc/sparc64/memset.S: Likewise.
42483 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42484
fed806c3
MF
424852012-05-31 Mike Frysinger <vapier@gentoo.org>
42486
42487 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
42488 -D_FORTIFY_SOURCE=1.
42489 (CPPFLAGS-tst-longjmp_chk.c): Define.
42490 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
42491 (CPPFLAGS-tst-longjmp_chk2.c): Define.
42492 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
42493 CFLAGS-tst-wchar-h.c.
42494
30917259
MP
424952012-05-31 Marek Polacek <polacek@redhat.com>
42496
42497 [BZ #14132]
42498 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
42499 __endmntent_internal): Remove declaration.
42500 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
42501 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
42502 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
42503
1c58d5dc
DM
425042012-05-30 David S. Miller <davem@davemloft.net>
42505
42506 * sysdeps/sparc/sparc32/soft-fp/q_util.c
42507 (___Q_simulate_exceptions): Use real FP ops rather than writing
42508 into the %fsr.
42509 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
42510 Likewise.
42511
7dc00e0d
L
425122012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42513
42514 [BZ #14117]
0bd53985
L
42515 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
42516 * sysdeps/x86/bits/xtitypes.h: This.
42517
3a257e66
L
42518 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
42519 * sysdeps/x86/bits/wordsize.h: This.
42520
62f62904
L
42521 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
42522 * sysdeps/x86/bits/huge_vall.h: This.
42523
404fe9d9
L
42524 * sysdeps/i386/bits/select.h: Removed.
42525 * sysdeps/x86_64/bits/select.h: Renamed to ...
42526 * sysdeps/x86/bits/select.h: This.
42527
d48d0446
L
42528 * sysdeps/i386/bits/setjmp.h: Removed.
42529 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
42530 * sysdeps/x86/bits/setjmp.h: This.
42531
7dc00e0d
L
42532 * sysdeps/i386/bits/mathdef.h: Removed.
42533 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
42534 * sysdeps/x86/bits/mathdef.h: This.
42535
03277f8f
AS
425362012-05-30 Andreas Schwab <schwab@linux-m68k.org>
42537
42538 [BZ #14132]
42539 * include/sys/socket.h (__connect_internal)
42540 (__libc_sa_len_internal): Remove declaration.
42541 (__connect, __libc_sa_len): Declare hidden_proto.
42542 (SA_LEN): Remove use of INTUSE.
42543 * socket/connect.c: Add libc_hidden_def.
42544 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
42545 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
42546 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
42547 alias.
42548 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
42549 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
42550 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
42551 of adding _internal alias.
42552
13764867
L
425532012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42554
42555 [BZ #14117]
6bd97696
L
42556 * sysdeps/i386/bits/link.h: Removed.
42557 * sysdeps/i386/bits/linkmap.h: Likewise.
42558 * sysdeps/x86_64/bits/link.h: Renamed to ...
42559 * sysdeps/x86/bits/link.h: This.
42560 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
42561 * sysdeps/x86/bits/linkmap.h: This.
42562
f726f0bb
L
42563 * sysdeps/i386/bits/endian.h: Removed.
42564 * sysdeps/x86_64/bits/endian.h: Renamed to ...
42565 * sysdeps/x86/bits/endian.h: This.
42566
13764867
L
42567 * sysdeps/i386/bits/byteswap.h: Removed.
42568 * sysdeps/i386/bits/byteswap-16.h: Likewise.
42569 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
42570 * sysdeps/x86/bits/byteswap.h: This.
42571 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
42572 * sysdeps/x86/bits/byteswap-16.h: This.
42573 * sysdeps/i386/Implies: Add x86.
42574 * sysdeps/x86_64/Implies: Likewise.
42575
ae251b0b
DM
425762012-05-30 David S. Miller <davem@davemloft.net>
42577
42578 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
42579 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
42580 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42581 (FP_TRAPPING_EXCEPTIONS): Define.
42582 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42583 (FP_TRAPPING_EXCEPTIONS): Define.
42584 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
42585 subnormals only when inexact has been signalled or underflow
42586 exceptions are enabled.
42587 (_FP_PACK_CANONICAL): Likewise.
42588
d5c90867
L
425892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42590
42591 [BZ #14183]
42592 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
42593 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
42594
63f1549e
RH
425952012-05-30 Richard Henderson <rth@twiddle.net>
42596
8d8f2279
RH
42597 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
42598 with #ifndef NOT_IN_libc.
42599
63f1549e
RH
42600 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
42601 marked to avoid plt entry.
42602
0ab0291b
L
426032012-05-30 H.J. Lu <hongjiu.lu@intel.com>
42604
42605 [BZ #14112]
42606 * Makeconfig (default-abi): New macro.
42607 (abi-includes): Likewise.
42608 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
42609 $(abi-$(default-abi)-lib-soname) for soname if defined.
42610 ($(common-objpfx)gnu/lib-names.stmp): Generate from
42611 abi-variants.
42612 * Makefile (installed-stubs): Likewise.
42613 * include/stubs-biarch.h: Removed.
42614 * scripts/lib-names.awk: Only handle one library at a time.
42615 * scripts/soversions.awk: Remove WORDSIZE support.
42616 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
42617 entries.
42618 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
42619 Removed.
42620 (syscall-list-default-condition): Likewise.
42621 (syscall-list-default-condition): Likewise.
42622 (syscall-list-includes): Likewise.
42623 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
42624 syscall-list-* with abi-*. Handle undefined abi-variants.
42625 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
42626 * sysdeps/unix/sysv/linux/i386/Implies: New file.
42627 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
42628 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
42629 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
42630 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
42631 Removed.
42632 (syscall-list-32-options): Likewise.
42633 (syscall-list-32-condition): Likewise.
42634 (syscall-list-64-options): Likewise.
42635 (syscall-list-64-condition): Likewise.
42636 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
42637 macro.
42638 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
42639 Renamed to ...
42640 (abi-*): This.
42641 (abi-64-ld-soname): New macro.
42642 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
42643 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
42644 Renamed to ...
42645 (abi-*): This.
42646 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
42647 * sysdeps/x86_64/x32/shlib-versions: Likewise.
42648
4da0431d
JM
426492012-05-30 Joseph Myers <joseph@codesourcery.com>
42650
3a85279c
JM
42651 * sysdeps/unix/sysv/linux/kernel-features.h
42652 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
42653 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
42654 include <kernel-features.h>.
42655 [!__NR_ftruncate64]: Remove conditional code.
42656 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42657 [__NR_ftruncate64]: Make code unconditional.
42658 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42659 * sysdeps/unix/sysv/linux/truncate64.c: Do not
42660 include <kernel-features.h>.
42661 [!__NR_ftruncate64]: Remove conditional code.
42662 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42663 [__NR_ftruncate64]: Make code unconditional.
42664 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
42666 include <kernel-features.h>.
42667 [!__NR_ftruncate64]: Remove conditional code.
42668 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42669 [__NR_ftruncate64]: Make code unconditional.
42670 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
42672 include <kernel-features.h>.
42673 [!__NR_ftruncate64]: Remove conditional code.
42674 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42675 [__NR_ftruncate64]: Make code unconditional.
42676 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
42677
4da0431d
JM
42678 * configure.in (libc_cv_fpie): Weaken to a compile test using
42679 LIBC_TRY_CC_OPTION.
42680 * configure: Regenerated.
42681
11ef492c
AK
426822012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42683
42684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
42685 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
42686 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
42687 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42688 Refreshed.
42689 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
42690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
42691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
42692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
42693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
42694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42695 Refreshed.
42696
d66ef399
DM
426972012-05-27 David S. Miller <davem@davemloft.net>
42698
42699 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
42700 (___Q_zero): New.
42701 (__Q_simulate_exceptions): Return void. Change to simulate
42702 exceptions by writing into the %fsr.
42703 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
42704 (__Qp_handle_exceptions): Likewise.
42705 (numbers): Delete.
42706 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
42707 __Qp_handle_exceptions.
42708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
42709 __Qp_handle_exceptions.
42710 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42711 as unused and give dummy FP_RND_NEAREST initializer.
42712 (FP_INHIBIT_RESULTS): Define.
42713 (___Q_simulate_exceptions): Update declaration.
42714 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
42715 formatting.
42716 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
42717 as unused and give dummy FP_RND_NEAREST initializer.
42718 (__Qp_handle_exceptions): Update declaration.
42719 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
42720 formatting.
42721
04fb54b5
TS
427222012-05-27 Thomas Schwinge <thomas@codesourcery.com>
42723
42724 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
42725 the temporary FPU control word.
42726 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
42727 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
42728 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
42729 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
42730 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
42731 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
42732 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
42733 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
42734 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
42735 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
42736 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42737
3f99608f
KK
427382012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
42739
42740 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
42741 fields.
42742
65a4de4e
CLT
427432012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
42744
42745 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
42746 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
42747 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
42748 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
42749 Likewise.
42750 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
42751 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
42752 Likewise.
42753
15749d40
UD
427542012-05-27 Ulrich Drepper <drepper@gmail.com>
42755
42756 * po/h.po: Update from translation team.
42757
25dbcb27
AS
427582012-05-26 Andreas Schwab <schwab@linux-m68k.org>
42759
3d3f8e55
AS
42760 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
42761
25dbcb27
AS
42762 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
42763 handling of denormals.
42764 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42765 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42766 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42767 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42768 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42769 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
42770 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
42771 Likewise.
42772
7ad47a80 427732012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
42774
42775 [BZ #14152]
42776 * math/libm-test.inc (fma_test): Don't always expect underflow
42777 exception.
42778
9c6ea9fa
SP
427792012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42780
42781 [BZ #12416]
42782 * elf/tst-execstack.c: Include stackinfo.h.
42783 (do_test): Adjust test case to ensure that pthread_getattr_np
42784 behaviour remains the same after marking stack executable.
42785
a8239222
JM
427862012-05-25 Joseph Myers <joseph@codesourcery.com>
42787
42788 * sysdeps/unix/sysv/linux/kernel-features.h
42789 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
42790 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
42791 kernel-features.h.
42792 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42793 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42794 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
42795 kernel-features.h.
42796 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
42797 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
42798
918b5606
L
427992012-05-25 H.J. Lu <hongjiu.lu@intel.com>
42800
42801 * configure.in: Define the default includes to being none.
42802 * configure: Regenerated.
42803
3a097cc7
RM
428042012-05-25 Roland McGrath <roland@hack.frob.com>
42805
8422c9a5
RM
42806 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
42807 * sysdeps/x86_64/setjmp.S: Likewise.
42808 * sysdeps/i386/bsd-setjmp.S: Likewise.
42809 * sysdeps/i386/bsd-_setjmp.S: Likewise.
42810 * sysdeps/i386/setjmp.S: Likewise.
42811 * sysdeps/i386/__longjmp.S: Likewise.
42812 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42813 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
42814
3a097cc7
RM
42815 * include/stap-probe.h: New file.
42816 * configure.in: Handle --enable-systemtap.
42817 * configure: Regenerated.
42818 * config.h.in (USE_STAP_PROBE): New #undef.
42819 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
42820 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
42821 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42822
21708942
JM
428232012-05-25 Joseph Myers <joseph@codesourcery.com>
42824
42825 [BZ #13717]
42826 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42827 to 2.4.0 where earlier.
42828 * sysdeps/unix/sysv/linux/configure: Regenerated.
42829 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
42830 <kernel-features.h>.
42831 [__ASSUME_32BITUIDS]: Make code unconditional.
42832 [!__ASSUME_32BITUIDS]: Remove conditional code.
42833 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
42834 <kernel-features.h>.
42835 [__ASSUME_32BITUIDS]: Make code unconditional.
42836 [!__ASSUME_32BITUIDS]: Remove conditional code.
42837 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
42838 [__ASSUME_32BITUIDS]: Make code unconditional.
42839 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
42840 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
42841 <kernel-features.h>.
42842 [__ASSUME_32BITUIDS]: Make code unconditional.
42843 [!__ASSUME_32BITUIDS]: Remove conditional code.
42844 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
42845 <kernel-features.h>.
42846 [__ASSUME_32BITUIDS]: Make code unconditional.
42847 [!__ASSUME_32BITUIDS]: Remove conditional code.
42848 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
42849 <kernel-features.h>.
42850 [__ASSUME_32BITUIDS]: Make code unconditional.
42851 [!__ASSUME_32BITUIDS]: Remove conditional code.
42852 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
42853 <kernel-features.h>.
42854 [__ASSUME_32BITUIDS]: Make code unconditional.
42855 [!__ASSUME_32BITUIDS]: Remove conditional code.
42856 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
42857 <kernel-features.h>.
42858 [__ASSUME_32BITUIDS]: Make code unconditional.
42859 [!__ASSUME_32BITUIDS]: Remove conditional code.
42860 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
42861 <kernel-features.h>.
42862 [__ASSUME_32BITUIDS]: Make code unconditional.
42863 [!__ASSUME_32BITUIDS]: Remove conditional code.
42864 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
42865 <kernel-features.h>.
42866 [__ASSUME_32BITUIDS]: Make code unconditional.
42867 [!__ASSUME_32BITUIDS]: Remove conditional code.
42868 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
42869 <kernel-features.h>.
42870 [__ASSUME_32BITUIDS]: Make code unconditional.
42871 [!__ASSUME_32BITUIDS]: Remove conditional code.
42872 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
42873 <kernel-features.h>.
42874 [__ASSUME_32BITUIDS]: Make code unconditional.
42875 [!__ASSUME_32BITUIDS]: Remove conditional code.
42876 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
42877 <kernel-features.h>.
42878 [__ASSUME_32BITUIDS]: Make code unconditional.
42879 [!__ASSUME_32BITUIDS]: Remove conditional code.
42880 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
42881 <kernel-features.h>.
42882 [__NR_setresgid] (__setresgid): Do not declare.
42883 [__ASSUME_32BITUIDS]: Make code unconditional.
42884 [!__ASSUME_32BITUIDS]: Remove conditional code.
42885 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
42886 <kernel-features.h>.
42887 [__NR_setresuid] (__setresuid): Do not declare.
42888 [__ASSUME_32BITUIDS]: Make code unconditional.
42889 [!__ASSUME_32BITUIDS]: Remove conditional code.
42890 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
42891 <kernel-features.h>.
42892 [__ASSUME_32BITUIDS]: Make code unconditional.
42893 [!__ASSUME_32BITUIDS]: Remove conditional code.
42894 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
42895 <kernel-features.h>.
42896 [__ASSUME_32BITUIDS]: Make code unconditional.
42897 [!__ASSUME_32BITUIDS]: Remove conditional code.
42898 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
42899 <kernel-features.h>.
42900 [__ASSUME_32BITUIDS]: Make code unconditional.
42901 [!__ASSUME_32BITUIDS]: Remove conditional code.
42902 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
42903 <kernel-features.h>.
42904 [__ASSUME_32BITUIDS]: Make code unconditional.
42905 [!__ASSUME_32BITUIDS]: Remove conditional code.
42906 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
42907 <kernel-features.h>.
42908 [__ASSUME_32BITUIDS]: Make code unconditional.
42909 [!__ASSUME_32BITUIDS]: Remove conditional code.
42910 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
42911 <kernel-features.h>.
42912 [__ASSUME_32BITUIDS]: Make code unconditional.
42913 [!__ASSUME_32BITUIDS]: Remove conditional code.
42914 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
42915 <kernel-features.h>.
42916 [__ASSUME_32BITUIDS]: Make code unconditional.
42917 [!__ASSUME_32BITUIDS]: Remove conditional code.
42918 * sysdeps/unix/sysv/linux/i386/setreuid.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/i386/setuid.c: Do not include
42923 <kernel-features.h>.
42924 [__ASSUME_32BITUIDS]: Make code unconditional.
42925 [!__ASSUME_32BITUIDS]: Remove conditional code.
42926 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
42927 <kernel-features.h>.
42928 [__ASSUME_32BITUIDS]: Make code unconditional.
42929 [!__ASSUME_32BITUIDS]: Remove conditional code.
42930 * sysdeps/unix/sysv/linux/kernel-features.h
42931 (__ASSUME_SETRESUID_SYSCALL): Remove.
42932 (__ASSUME_SETRESGID_SYSCALL): Likewise.
42933 (__ASSUME_32BITUIDS): Likewise.
42934 (__ASSUME_LDT_WORKS): Likewise.
42935 (__ASSUME_O_DIRECTORY): Likewise.
42936 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
42937 architecture but not kernel version.
42938 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42939 (__ASSUME_MMAP2_SYSCALL): Likewise.
42940 (__ASSUME_STAT64_SYSCALL): Likewise.
42941 (__ASSUME_IPC64): Likewise.
42942 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
42943 <kernel-features.h>.
42944 [__ASSUME_32BITUIDS]: Make code unconditional.
42945 [!__ASSUME_32BITUIDS]: Remove conditional code.
42946 * sysdeps/unix/sysv/linux/opendir.c: Do not include
42947 <kernel-features.h>.
42948 [__ASSUME_O_DIRECTORY]: Make code unconditional.
42949 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
42950 132096]: Remove conditional code.
42951 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
42952 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
42953 <kernel-features.h>.
42954 [__ASSUME_32BITUIDS]: Make code unconditional.
42955 [!__ASSUME_32BITUIDS]: Remove conditional code.
42956 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
42957 <kernel-features.h>.
42958 [__ASSUME_32BITUIDS]: Make code unconditional.
42959 [!__ASSUME_32BITUIDS]: Remove conditional code.
42960 * sysdeps/unix/sysv/linux/setegid.c: Do not include
42961 <kernel-features.h>.
42962 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
42963 unconditional.
42964 (__setresgid): Do not declare.
42965 [__ASSUME_32BITUIDS]: Make code unconditional.
42966 [!__ASSUME_32BITUIDS]: Remove conditional code.
42967 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
42968 <kernel-features.h>.
42969 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
42970 unconditional.
42971 (__setresuid): Do not declare.
42972 [__ASSUME_32BITUIDS]: Make code unconditional.
42973 [!__ASSUME_32BITUIDS]: Remove conditional code.
42974 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
42975 <kernel-features.h>.
42976 [__ASSUME_32BITUIDS]: Make code unconditional.
42977 [!__ASSUME_32BITUIDS]: Remove conditional code.
42978 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
42979 <kernel-features.h>.
42980 [__ASSUME_32BITUIDS]: Make code unconditional.
42981 [!__ASSUME_32BITUIDS]: Remove conditional code.
42982
a386f1cc
RH
429832012-05-25 Richard Henderson <rth@twiddle.net>
42984
42985 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
42986 dl_hwcap to ifunc resolver.
42987 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
42988 elf_ifunc_invoke.
42989 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
42990 dl_hwcap to ifunc resolver.
42991 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
42992
b6550497
JM
429932012-05-24 Joseph Myers <joseph@codesourcery.com>
42994
42995 [BZ #14153]
42996 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
42997 for |x| <= 2**-26, not 2**-57.
42998 * math/libm-test.inc (acos_test): Do not allow spurious underflow
42999 exception.
43000
b0bc23a1
JL
430012012-05-24 Jeff Law <law@redhat.com>
43002
43003 * stdio-common/Makefile (tests): Add bug25.
43004 * stdio-common/bug25.c: New test.
43005
347c92e9
L
430062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43007
43008 [BZ #13576]
43009 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
43010 multiple of MALLOC_ALIGNMENT in size.
43011 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
43012
6bcc8b3f
JM
430132012-05-24 Joseph Myers <joseph@codesourcery.com>
43014
43015 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
43016 Require >= 256.
43017 (FILENAME_MAX): Use macro-int-constant.
43018 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
43019 (_IOFBF): Use macro-int-constant.
43020 (_IOLBF): Likewise.
43021 (_IONBF): Likewise.
43022 (SEEK_CUR): Likewise.
43023 (SEEK_END): Likewise.
43024 (SEEK_SET): Likewise.
43025 (TMP_MAX): Likewise.
43026 (EOF): Use macro-int-constant. Require < 0.
43027 (NULL): Use macro-constant. Require == 0.
43028 (stdin): Require type to be FILE *.
43029 (stdout): Likewise.
43030 (stderr): Likewise.
43031 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
43032 macro-int-constant.
43033 (EXIT_SUCCESS): Likewise.
43034 (NULL): Use macro-constant. Require == 0.
43035 (RAND_MAX): Use macro-int-constant.
43036 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
43037 [C99-based standards] (strtof): Require function.
43038 [C99-based standards] (strtold): Likewise.
43039 [C99-based standards] (strtoll): Likewise.
43040 [C99-based standards] (strtoull): Likewise.
43041 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
43042 [ISO || ISO99 || ISO11] (limits.h): Likewise.
43043 [ISO || ISO99 || ISO11] (math.h): Likewise.
43044 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
43045 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
43046 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43047
d18ea0c5
AS
430482012-05-24 Andreas Schwab <schwab@linux-m68k.org>
43049
43050 [BZ #14132]
56d25bb8
AS
43051 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
43052 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
43053 * intl/dgettext.c (DCGETTEXT): Likewise.
43054 * intl/gettext.c (DCGETTEXT): Likewise.
43055 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
43056 * posix/regex_internal.h (gettext): Likewise.
43057 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
43058 Remove declaration.
43059 * include/argz.h (__argz_count_internal)
43060 (__argz_stringify_internal): Remove declaration.
43061 (__argz_count, __argz_stringify): Declare hidden proto.
43062 * intl/dcgettext.c: Remove use of INTDEF.
43063 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
43064 * string/argz-stringify.c: Likewise.
43065 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43066 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43067 Declare hidden proto.
d18ea0c5
AS
43068 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
43069 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
43070 Declare hidden proto.
43071 * include/stdio.h (__asprintf_internal): Don't declare.
43072 (__asprintf): Don't define as macro. Declare hidden proto.
43073 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
43074 (__fsetlocking): Declare hidden proto.
43075 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
43076 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
43077 hidden proto.
43078 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
43079 (_IO_setlinebuf): Remove use of INTUSE.
43080 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
43081 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
43082 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
43083 Remove declaration.
43084 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
43085 (_IO_do_flush): Remove use of INTUSE.
43086 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
43087 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
43088 (_IO_adjust_column, _IO_least_wmarker)
43089 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
43090 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
43091 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
43092 (_IO_default_doallocate, _IO_wdefault_doallocate)
43093 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
43094 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
43095 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
43096 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
43097 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
43098 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
43099 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
43100 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
43101 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
43102 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
43103 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
43104 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
43105 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
43106 proto.
43107 (_IO_flush_all_internal, _IO_adjust_column_internal)
43108 (_IO_default_uflow_internal, _IO_default_finish_internal)
43109 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
43110 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
43111 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
43112 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
43113 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
43114 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
43115 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
43116 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
43117 (_IO_file_close_internal, _IO_file_close_it_internal)
43118 (_IO_file_underflow_internal, _IO_file_overflow_internal)
43119 (_IO_file_init_internal, _IO_file_attach_internal)
43120 (_IO_file_fopen_internal, _IO_file_read_internal)
43121 (_IO_file_sync_internal, _IO_file_seek_internal)
43122 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
43123 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
43124 (_IO_str_underflow_internal, _IO_str_overflow_internal)
43125 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
43126 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
43127 (_IO_list_all_internal, _IO_link_in_internal)
43128 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
43129 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
43130 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
43131 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
43132 (_IO_do_write_internal, _IO_padn_internal)
43133 (_IO_getline_info_internal, _IO_getline_internal)
43134 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
43135 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
43136 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
43137 (_IO_vfscanf_internal, _IO_vfprintf_internal)
43138 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
43139 (_IO_init_internal, _IO_un_link_internal): Don't declare.
43140 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
43141 with libc_hidden_ver, remove use of INTUSE.
43142 * libio/genops.c: Likewise.
43143 * libio/freopen.c: Likewise.
43144 * libio/freopen64.c: Likewise.
43145 * libio/iofclose.c: Likewise.
43146 * libio/iofdopen.c: Likewise.
43147 * libio/iofflush.c: Likewise.
43148 * libio/iofflush_u.c: Likewise.
43149 * libio/iofgets.c: Likewise.
43150 * libio/iofgets_u.c: Likewise.
43151 * libio/iofopen.c: Likewise.
43152 * libio/iofopncook.c: Likewise.
43153 * libio/iofread.c: Likewise.
43154 * libio/iofread_u.c: Likewise.
43155 * libio/ioftell.c: Likewise.
43156 * libio/iofwrite.c: Likewise.
43157 * libio/iogetline.c: Likewise.
43158 * libio/iogets.c: Likewise.
43159 * libio/iogetwline.c: Likewise.
43160 * libio/iopadn.c: Likewise.
43161 * libio/iopopen.c: Likewise.
43162 * libio/ioseekoff.c: Likewise.
43163 * libio/ioseekpos.c: Likewise.
43164 * libio/iosetbuffer.c: Likewise.
43165 * libio/iosetvbuf.c: Likewise.
43166 * libio/ioungetc.c: Likewise.
43167 * libio/ioungetwc.c: Likewise.
43168 * libio/iovdprintf.c: Likewise.
43169 * libio/iovsprintf.c: Likewise.
43170 * libio/iovsscanf.c: Likewise.
43171 * libio/memstream.c: Likewise.
43172 * libio/obprintf.c: Likewise.
43173 * libio/oldfileops.c: Likewise.
43174 * libio/oldiofclose.c: Likewise.
43175 * libio/oldiofdopen.c: Likewise.
43176 * libio/oldiofopen.c: Likewise.
43177 * libio/oldiopopen.c: Likewise.
43178 * libio/oldstdfiles.c: Likewise.
43179 * libio/putc.c: Likewise.
43180 * libio/setbuf.c: Likewise.
43181 * libio/setlinebuf.c: Likewise.
43182 * libio/stdfiles.c: Likewise.
43183 * libio/strops.c: Likewise.
43184 * libio/vasprintf.c: Likewise.
43185 * libio/vscanf.c: Likewise.
43186 * libio/vsnprintf.c: Likewise.
43187 * libio/vswprintf.c: Likewise.
43188 * libio/wfiledoalloc.c: Likewise.
43189 * libio/wfileops.c: Likewise.
43190 * libio/wgenops.c: Likewise.
43191 * libio/wmemstream.c: Likewise.
43192 * libio/wstrops.c: Likewise.
43193 * libio/__fpurge.c: Likewise.
43194 * libio/__fsetlocking.c: Likewise.
43195 * assert/assert.c: Likewise.
43196 * debug/fgets_chk.c: Likewise.
43197 * debug/fgets_u_chk.c: Likewise.
43198 * debug/fread_chk.c: Likewise.
43199 * debug/fread_u_chk.c: Likewise.
43200 * debug/gets_chk.c: Likewise.
43201 * debug/obprintf_chk.c: Likewise.
43202 * debug/vasprintf_chk.c: Likewise.
43203 * debug/vdprintf_chk.c: Likewise.
43204 * debug/vsnprintf_chk.c: Likewise.
43205 * debug/vsprintf_chk.c: Likewise.
43206 * malloc/mtrace.c: Likewise.
43207 * misc/error.c: Likewise.
43208 * misc/syslog.c: Likewise.
43209 * stdio-common/asprintf.c: Likewise.
43210 * stdio-common/fxprintf.c: Likewise.
43211 * stdio-common/getw.c: Likewise.
43212 * stdio-common/isoc99_fscanf.c: Likewise.
43213 * stdio-common/isoc99_scanf.c: Likewise.
43214 * stdio-common/isoc99_vfscanf.c: Likewise.
43215 * stdio-common/isoc99_vscanf.c: Likewise.
43216 * stdio-common/isoc99_vsscanf.c: Likewise.
43217 * stdio-common/printf-prs.c: Likewise.
43218 * stdio-common/printf_fp.c: Likewise.
43219 * stdio-common/printf_fphex.c: Likewise.
43220 * stdio-common/printf_size.c: Likewise.
43221 * stdio-common/putw.c: Likewise.
43222 * stdio-common/scanf.c: Likewise.
43223 * stdio-common/sprintf.c: Likewise.
43224 * stdio-common/tmpfile.c: Likewise.
43225 * stdio-common/vfprintf.c: Likewise.
43226 * stdio-common/vfscanf.c: Likewise.
43227 * stdlib/strfmon_l.c: Likewise.
43228 * sunrpc/openchild.c: Likewise.
43229 * sunrpc/xdr_stdio.c: Likewise.
43230 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
43231 * sysdeps/mach/hurd/tmpfile.c: Likewise.
43232
d6c33fda
RM
432332012-05-24 Roland McGrath <roland@hack.frob.com>
43234
c1487492
RM
43235 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43236
43237 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
43238 in the third column, to generate for the shared library an IFUNC
43239 that uses _dl_vdso_vsym.
43240 * Makerules (COMPILE.c, compile-stdin.c): New variables.
43241 * Makeconfig (object-suffixes-noshared): New variable.
43242
43243 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
43244 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
43245 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
43246 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
43247
d6c33fda
RM
43248 [BZ #14132]
43249 * include/sys/time.h (__gettimeofday): Remove macro.
43250 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
43251 * time/gettimeofday.c (__gettimeofday): Remove #undef.
43252 Remove INTDEF.
43253 (__gettimeofday): Add libc_hidden_def.
43254 (gettimeofday): Add libc_hidden_weak.
43255 * sysdeps/mach/gettimeofday.c: Likewise.
43256 * sysdeps/posix/gettimeofday.c: Likewise.
43257 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
43258 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
43259 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
43260 (__gettimeofday_internal): Remove strong_alias.
43261 (__gettimeofday): Add libc_hidden_def.
43262 (gettimeofday): Add libc_hidden_weak.
43263 * sysdeps/unix/syscalls.list (gettimeofday):
43264 Remove __gettimeofday_internal alias.
43265
b5a2bbe6
L
432662012-05-24 Daniel Jacobowitz <drow@false.org>
43267 H.J. Lu <hongjiu.lu@intel.com>
43268
43269 [BZ #12495]
43270 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
43271 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
43272 (largebin_index_32_big): New.
43273 (largebin_index): Use it for 16-byte alignment.
43274 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
43275 correction with front_misalign.
43276
cfba4fda
L
432772012-05-24 H.J. Lu <hongjiu.lu@intel.com>
43278
7f907421
L
43279 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
43280 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
43281 Likewise.
43282 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
43283 Likewise.
43284 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
43285 Likewise.
43286 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
43287 Likewise.
43288 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
43289 Likewise.
43290 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
43291 Likewise.
43292 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
43293 Likewise.
43294 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
43295 Likewise.
43296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
43297 Likewise.
43298 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
43299 Likewise.
43300 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
43301 Likewise.
43302 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
43303 Likewise.
43304
cfba4fda
L
43305 * scripts/data/c++-types-x32-linux-gnu.data: New file.
43306 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
43307
80bad0cc
JM
433082012-05-24 Joseph Myers <joseph@codesourcery.com>
43309
7a25eb06
JM
43310 [BZ #10846]
43311 [BZ #14036]
43312 * math/libm-test.inc (exp_test): Add test from bug 14036.
43313 (pow_test): Add test from bug 10846.
43314
795405f9
JM
43315 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
43316 and other flags.
43317 (special_function): Do not include flags in test name.
43318 (parse_args): Likewise.
43319 * sysdeps/i386/fpu/libm-test-ulps: Update.
43320 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
43321 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
43322 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
43323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43324
80bad0cc
JM
43325 * math/gen-libm-test.pl (%beautify): Add entries for underflow
43326 exceptions.
43327 * math/libm-test.inc ("Philosophy"): Update comment about
43328 exception testing.
43329 (UNDERFLOW_EXCEPTION): New macro.
43330 (UNDERFLOW_EXCEPTION_OK): Likewise.
43331 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
43332 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
43333 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
43334 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
43335 (INVALID_EXCEPTION_OK): Update value.
43336 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
43337 (OVERFLOW_EXCEPTION_OK): Likewise.
43338 (IGNORE_ZERO_INF_SIGN): Likewise.
43339 (test_exceptions): Handle underflow exceptions.
43340 (acos_test): Update for underflow exception expectations.
43341 (cexp_test): Likewise.
43342 (clog_test): Likewise.
43343 (clog10_test): Likewise.
43344 (csqrt_test): Likewise.
43345 (ctan_test): Likewise.
43346 (ctanh_test): Likewise.
43347 (exp_test): Likewise.
43348 (exp10_test): Likewise.
43349 (exp2_test): Likewise.
43350 (expm1_test): Likewise.
43351 (fma_test): Likewise.
43352 (j0_test): Likewise.
43353 (jn_test): Likewise.
43354 (nexttoward_test): Likewise.
43355 (pow_test): Likewise.
43356 (scalbn_test): Likewise.
43357 (scalbln_test): Likewise.
43358 (tan_test): Likewise.
43359 (y1_test): Likewise.
43360 * sysdeps/i386/fpu/libm-test-ulps: Update.
43361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43362
9e0e3d0b
DM
433632012-05-23 David S. Miller <davem@davemloft.net>
43364
43365 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43366 (__libc_sigaction): Remove unused local variables.
43367
ccd0a08f
L
433682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43369
43370 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
43371
62bdf9a6
PE
433722012-05-23 Paul Eggert <eggert@cs.ucla.edu>
43373
f8591f80
PE
43374 mktime: avoid signed integer overflow
43375 * time/mktime.c (__mktime_internal): Do not mishandle the case
43376 where diff == INT_MIN.
43377
94c7d826
PE
43378 mktime: simplify computation of average
43379 * time/mktime.c (ranged_convert): Use new time_t_avg function
43380 instead of rolling our own (probably-slower) code.
43381
ce73d683
PE
43382 mktime: do not assume signed right shift propagates sign bit
43383 * time/mktime.c (isdst_differ): New static function.
43384 (__mktime_internal): No need to normalize tm_isdst now.
43385 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
43386 tm_isdst values.
43387
72a22e59
PE
43388 mktime: merge another wrapv change from gnulib
43389 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
43390 from some compilers.
43391
68605433
PE
43392 mktime: remove incorrect attempt at unusual arithmetics
43393 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
43394 The code didn't really work on such machines anyway.
43395 (TYPE_MINIMUM): Assume two's complement.
43396 (twos_complement_arithmetic): Verify that long_int and time_t
43397 are two's complement (or unsigned, in the latter case).
43398
03cf7fe3
PE
43399 mktime: check signed shifts on long_int and time_t, too
43400 * time/mktime.c (SHR): Check that shifts work as desired
43401 on the types long_int and time_t too, as SHR is used on
43402 such types.
43403
f04dfbc2
PE
43404 mktime: do not assume 'long' is wide enough
43405 * time/mktime.c (verify): Move decl up.
43406 (long_int): New type.
43407 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
43408 to remove assumption in the code that 'long' is wide enough to
43409 store year values. This assumption is not true on x32 and on
43410 some non-glibc platforms.
43411
62bdf9a6
PE
43412 mktime: merge wrapv change from gnulib
43413 * time/mktime.c (WRAPV): New macro.
43414 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
43415 (guess_time_tm, __mktime_internal): Do not assume that signed
43416 integer overflow wraps around; modern compilers generate code
43417 where this assumption is no longer valid.
43418
5e292e4f
L
434192012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43420
43421 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43422 Replace "jmp L(pseudo_end)" with "ret".
43423 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
43424 Likewise.
43425
8caf8c87
AJ
434262012-05-23 Andreas Jaeger <aj@suse.de>
43427
43428 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
43429 * sysdeps/unix/sysv/linux/poll.c: Remove file.
43430
1a09dc56
AJ
434312012-05-23 Andreas Jaeger <aj@suse.de>
43432 Maximilian Attems <max@stro.at>
43433
43434 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
43435 New macros.
43436
1c87aba0
L
434372012-05-23 H.J. Lu <hongjiu.lu@intel.com>
43438
43439 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
43440 code so that pseudo_end is just ret and the stack pointer is
43441 correct also for static library in error case.
43442
40e45bd5
JM
434432012-05-23 Joseph Myers <joseph@codesourcery.com>
43444
c2670533
JM
43445 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
43446 move to syscalls.list.
43447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
43448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
43449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
43450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
43451
40e45bd5
JM
43452 * manual/install.texi (Running make install): Do not mention Linux
43453 kernel version for which pt_chown is not needed.
43454 (Linux): Do not mention problems with nscd with 2.0 kernels.
43455 * INSTALL: Regenerated.
43456
be08eda5
AJ
434572012-05-23 Andreas Jaeger <aj@suse.de>
43458
43459 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
43460 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
43461 macro.
43462 * sysdeps/unix/sysv/linux/s390/bits/mman.h
43463 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43464 * sysdeps/unix/sysv/linux/sh/bits/mman.h
43465 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43466 * sysdeps/unix/sysv/linux/i386/bits/mman.h
43467 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43468 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
43469 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43470 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
43471 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
43472 * sysdeps/unix/sysv/linux/bits/in.h
43473 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
43474
a6a056bb
RM
434752012-05-22 Roland McGrath <roland@hack.frob.com>
43476
43477 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
43478 (PREPARE_VERSION): Just use assert instead, it will be elided
43479 under [NDEBUG] anyway.
43480
c9009328
L
434812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43482
43483 * sysdeps/unix/sysv/linux/Makefile: Include
43484 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 43485 (sysdep_routines): Remove sysctl.
c9009328
L
43486 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
43487 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
43488 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
43489 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
43490 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
43491
73338355
AJ
434922012-05-22 Andreas Jaeger <aj@suse.de>
43493
43494 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
43495 that pseudo_end is just ret and the stack pointer is correct also
43496 for static library in error case.
43497
d44638b0
PP
434982012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
43499
43500 [BZ #14122]
43501 * nss/nsswitch.c (defconfig_entries): New variable.
43502 (__nss_database_lookup): Don't leak defconfig entries.
43503 (nss_parse_service_list): Don't leak on error paths.
43504 (free_database_entries): New function.
43505 (free_defconfig): New function.
43506 (free_mem): Move common code to free_database_entries.
43507
31a39bd8
L
435082012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43509
da0331a8
L
43510 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
43511 Add arch_prctl.
43512 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
43513
31a39bd8
L
43514 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
43515 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
43516 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
43517 New macro.
43518 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
43519 (INTERNAL_SYSCALL_TYPES): Likewise.
43520 (LOAD_ARGS_TYPES_[1-6]): Likewise.
43521 (LOAD_REGS_TYPES_[1-6]): Likewise.
43522 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
43523 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
43524
45470df3
AZ
435252012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43526
43527 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
43528 copysignl for GLIBC_2_0.
43529 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
43530 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
43531 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
43532 logbl for GLIBC_2_0.
43533 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43534 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43535
98a61bcb
L
435362012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43537
a4f6e481
L
43538 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
43539 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
43540
f63d5db6
L
43541 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
43542 Use "neg %eax".
43543
98a61bcb
L
43544 * time/mktime.c: Update copyright years.
43545
95770f14
PE
435462012-05-22 Paul Eggert <eggert@cs.ucla.edu>
43547
6226efbd
PE
43548 mktime: merge comment-quoting-style change from gnulib
43549 * time/mktime.c: Quote 'like this' in comments.
43550 The GNU coding standards suggest that we no longer quote `like this',
43551 as "`" and "'" are typically rendered asymmetrically nowadays.
43552 The typical gnulib style is to quote 'like this' when quoting
43553 code, and "like this" when quoting English.
43554
b99e4f78
PE
43555 * time/mktime.c (compile-command): Add "-I.".
43556
643e01e6
PE
43557 mktime: merge mktime-internal.h change from gnulib
43558 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
43559
2554247d
PE
43560 mktime: merge time_r change from gnulib
43561 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
43562
826dd0ab
PE
43563 mktime: merge DEBUG change from gnulib
43564 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
43565 case system <time.h> has a #define.
43566
bd83aabe
PE
43567 mktime: merge <sys/types.h> change from gnulib
43568 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
43569 since <time.t> is now guaranteed to define time_t.
43570
95770f14
PE
43571 mktime: merge HAVE_CONFIG_H change from gnulib
43572 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
43573
5e1a27a9
L
435742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
43575
0e44a77e
L
43576 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43577 Use "neg %eax".
43578
5e1a27a9
L
43579 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
43580 __rlim_t cast.
43581 (struct rusage): Use anonymous union to pad each field to
43582 __syscall_slong_t.
43583
46259bec
DM
435842012-05-21 David S. Miller <davem@davemloft.net>
43585
43586 * Makefules (o-iterator): Remove .s cases.
43587 (compile-command.s): Delete.
43588 (COMPILE.s): Delete.
43589 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
43590
59f0c22e
JM
435912012-05-21 Joseph Myers <joseph@codesourcery.com>
43592
43593 * configure.in (libc_cv_predef_stack_protector): Only consider
43594 "foobar" and "__stack_chk_fail" lines in libc_undefs.
43595 * configure: Regenerated.
43596
20c07380
L
435972012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43598
bbb3154b
L
43599 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
43600 New macro. Use R*LP on int and pointer.
43601 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
43602 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
43603 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
43604 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
43605
20c07380
L
43606 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
43607 [__WORDSIZE_TIME64_COMPAT32] instead of
43608 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
43609 (struct utmp): Likewise.
43610 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
43611 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
43612 Renamed to ...
43613 (__WORDSIZE_TIME64_COMPAT32): This.
43614 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
43615 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
43616 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
43617 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
43618 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
43619 (__WORDSIZE_TIME64_COMPAT32): New macro.
43620
d8d1017e
AJ
436212012-05-21 Andreas Jaeger <aj@suse.de>
43622
43623 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
43624 only if [SHARED]. Add prototype for __wcschr_ia32.
43625
6c7fb145
RM
436262012-05-21 Roland McGrath <roland@hack.frob.com>
43627
43628 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
43629 of %rbp unmolested in the jmp_buf while mangling the low bits.
43630 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
43631 unmolested high bits of %rbp while demangling the low bits.
43632 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
43633
66274218
AJ
436342012-05-21 Andreas Jaeger <aj@suse.de>
43635
07c58f8f
AJ
43636 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
43637 * sunrpc/svc_simple.c: Use it for registerrpc.
43638 * sunrpc/xcrypt.c: Use it for passwd2des.
43639
66274218
AJ
43640 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
43641
61f65140
L
436422012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43643
43644 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
43645 Don't define if [__SYSCALL_WORDSIZE != 32].
43646 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
43647 New macro.
43648
5fefb436
AJ
436492012-05-21 Bruno Haible <bruno@clisp.org>
43650 Andreas Jaeger <aj@suse.de>
43651
43652 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
43653 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
43654 inptr and inend for must_buffer_ch.
43655 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
43656 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
43657 * stdio-common/Makefile (tests): Remove bug15.
43658 (bug15-ENV): Remove macro.
43659 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
43660 anymore.
43661
d8e272ab
AJ
436622012-05-19 Andreas Jaeger <aj@suse.de>
43663 Roland McGrath <roland@hack.frob.com>
43664
43665 * manual/contrib.texi: Completely rewritten. It contains now an
43666 alphabetical list of contributors and their contributions.
43667
4a56a162
RH
436682012-05-21 Richard Henderson <rth@twiddle.net>
43669
43670 * misc/getauxval.c (__getauxval): Use unsigned long int.
43671 * misc/sys/auxv.h: Include <sys/cdefs.h>.
43672 (getauxval): Use unsigned long int.
43673
d024d23c
L
436742012-05-21 H.J. Lu <hongjiu.lu@intel.com>
43675
43676 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
43677
cbc00a03
RM
436782012-05-21 Roland McGrath <roland@hack.frob.com>
43679
43680 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
43681 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
43682 __alignof__ (long double).
43683
478143fa
AZ
436842012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43685
43686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43687
c7683a6d
RH
436882012-05-20 Richard Henderson <rth@twiddle.net>
43689
43690 * misc/getauxval.c: New file.
43691 * misc/sys/auxv.h: New file.
43692 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
43693 (routines): Add getauxval.
43694 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
43695 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
43696 * elf/dl-sysdep.c (_dl_auxv): Remove.
43697 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
43698 * elf/dl-support.c (_dl_auxv): New variable.
43699 (_dl_aux_init): Initialize it.
43700 * manual/startup.texi (Auxiliary Vector): New node.
43701 * sysdeps/generic/bits/hwcap.h: New file.
43702 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
43703 * sysdeps/powerpc/sysdep.h: ... here. Include it.
43704 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
43705 * sysdeps/sparc/sysdep.h: ... here. Include it.
43706 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
43707 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
43708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
43709 Update.
c7683a6d
RH
43710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
43711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
43712 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
43713 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
43714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
43716 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
43717 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
43718
a6f1845d
AZ
437192012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43720
43721 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43722
cbcbe830
DM
437232012-05-19 David S. Miller <davem@davemloft.net>
43724
43725 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43726
e0b16cc2
JM
437272012-05-19 Joseph Myers <joseph@codesourcery.com>
43728
43729 [BZ #14123]
43730 * math/s_ccosh.c: Include <float.h>
43731 (__ccosh): Avoid internal overflow calculating sinh and cosh
43732 values before multiplying by sin and cos values.
43733 * math/s_ccoshf.c: Likewise.
43734 * math/s_ccoshl.c: Likewise.
43735 * math/s_csin.c: Likewise.
43736 * math/s_csinf.c: Likewise.
43737 * math/s_csinl.c: Likewise.
43738 * math/s_csinh.c: Likewise.
43739 * math/s_csinhf.c: Likewise.
43740 * math/s_csinhl.c: Likewise.
43741 * math/libm-test.inc (ccos_test): Add more tests.
43742 (ccosh_test): Likewise.
43743 (csin_test): Likewise.
43744 (csinh_test): Likewise.
43745 * sysdeps/i386/fpu/libm-test-ulps: Update.
43746 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43747
6ad13e08
L
437482012-05-19 H.J. Lu <hongjiu.lu@intel.com>
43749
f66f0ce8
L
43750 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
43751 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
43752
6ad13e08
L
43753 * sysdeps/x86_64/x32/_itoa.h: Add comment.
43754
b1d072a7
JM
437552012-05-19 Joseph Myers <joseph@codesourcery.com>
43756
43757 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
43758 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
43759 * sysdeps/powerpc/soft-fp/Versions: Likewise.
43760 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
43761 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
43762 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
43763 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
43764 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
43765 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
43766 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
43767 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
43768 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
43769 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
43770 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
43771 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
43772 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
43773 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
43774 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
43775 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
43776 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
43777 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
43778 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
43779 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
43780 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
43781 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
43782 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
43783 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
43784 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
43785 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
43786 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
43787 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
43788
9eae47cb
AJ
437892012-05-18 Andreas Jaeger <aj@suse.de>
43790
43791 * csu/.gitignore: Delete.
43792
bb07f69f
L
437932012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43794
43795 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
43796 (timex): Use __syscall_slong_t.
43797
e6bdb741
AJ
437982012-05-18 Andreas Jaeger <aj@suse.de>
43799 Carlos O'Donell <carlos_odonell@mentor.com>
43800
43801 * manual/install.texi (Configuring and compiling): Update
43802 description about files modified in the source directory.
d6c33fda 43803 * INSTALL: Regenerated.
e6bdb741 43804
1b74487e
L
438052012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43806
43807 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
43808 value. Use "or" to set return value to -1.
43809 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
43810 negate return value.
43811
a88b64b9
TMQMF
438122012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43813
57f41c40
AS
43814 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
43815 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
43816 failure if the compiler has Graphite support disabled.
43817 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
43818 Likewise.
57f41c40
AS
43819 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
43820 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
43821 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
43822 Likewise.
43823
3707636e
L
438242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
43825
610b8622
L
43826 * sysdeps/x86_64/x32/_itoa.h: New file.
43827
7cd195df
L
43828 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
43829 getdents system call only if kernel and user dirents have the
43830 same d_ino and d_off.
43831
94b07d20
L
43832 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
43833 LLONG_MAX != LONG_MAX.
43834 (_itoa_word): Use _ITOA_WORD_TYPE on value.
43835 (_fitoa_word): Likewise.
43836
18298070
L
43837 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
43838 years.
43839 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
43840 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
43841 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
43842
553c7ea4
L
43843 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
43844 include <bits/wordsize.h>. Check __x86_64__ instead of
43845 __WORDSIZE.
43846 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
43847 if __x86_64__ is defined. Use anonymous union on fpstate.
43848
3707636e
L
43849 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
43850 anonymous union.
43851
b53ef01a
AS
438522012-05-18 Andreas Schwab <schwab@linux-m68k.org>
43853
37fb1dc0
AS
43854 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
43855 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
43856 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
43857 Refer to _rtld_local_ro instead of _rtld_global_ro.
43858 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
43859 Likewise.
43860 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
43861 Likewise.
43862 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
43863 Likewise.
43864 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
43865 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
43866 of _rtld_global, and rtld_progname instead of _dl_argv[0].
43867
b53ef01a
AS
43868 * sysdeps/powerpc/powerpc32/dl-machine.c
43869 (__elf_machine_runtime_setup) [PROF]: Don't reference
43870 _dl_prof_resolve.
43871
7a185db2
AJ
438722012-05-18 Andreas Jaeger <aj@suse.de>
43873
43874 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
43875 function only available for GCCs before 3.4 since GCC 3.4
43876 introduced a builtin.
43877 (lrint): Likewise.
43878 (llrintf): Likewise.
43879 (llrint): Likewise.
43880 (fmaxf): Likewise.
43881 (fmax): Likewise.
43882 (fminf): Likewise.
43883 (fmin): Likewise.
43884 (rint): Likewise.
43885 (rintf): Likewise.
43886 (nearbyint): Likewise.
43887 (nearbyintf): Likewise.
43888 (ceil): Likewise.
43889 (ceilf): Likewise.
43890 (floor): Likewise.
43891 (floorf): Likewise.
43892
3e5aef87
L
438932012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43894
428bd707
L
43895 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
43896 on both fields and cast pointer to __syscall_ulong_t.
43897
3e5aef87
L
43898 * bits/types.h (__fsword_t): New type.
43899 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
43900 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
43901 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43902 (__FSWORD_T_TYPE): Likewise.
43903 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43904 (__FSWORD_T_TYPE): Likewise.
43905 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43906 (__FSWORD_T_TYPE): Likewise.
43907 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
43908 (__FSWORD_T_TYPE): Likewise.
43909 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
43910 __SWORD_TYPE with __fsword_t.
43911 (statfs64): Likewise.
43912
1ba7c3dc
DM
439132012-05-17 David S. Miller <davem@davemloft.net>
43914
43915 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
43916
59910343
AJ
439172012-05-17 Andreas Jaeger <aj@suse.de>
43918
43919 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
43920 warning.
43921
2e4c1e9e
L
439222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43923
43924 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
43925
de7f5ce7
AJ
439262012-05-17 Andreas Jaeger <aj@suse.de>
43927
43928 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
43929 when it is used.
43930
286abc3d
CM
439312012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43932
43933 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
43934
477cc68e
L
439352012-05-17 H.J. Lu <hongjiu.lu@intel.com>
43936
43937 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
43938 * sysdeps/x86_64/tst-mallocalign1.c: New file.
43939
1a0994f5
CD
439402012-05-17 Andreas Jaeger <aj@suse.de>
43941 Carlos O'Donell <carlos_odonell@mentor.com>
43942
43943 [BZ #14059]
43944 * sysdeps/x86_64/multiarch/init-arch.h
43945 (bit_YMM_Usable): Rename to...
43946 (bit_AVX_Usable): ... this.
43947 (bit_FMA4_Usable): New macro.
43948 (bit_XMM_state): New macro.
43949 (bit_YMM_state): New macro.
43950 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
43951 [__ASSEMBLER__] (index_AVX_Usable): ... this.
43952 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
43953 (CPUID_OSXSAVE): New macro.
43954 (CPUID_AVX): New macro.
43955 (CPUID_FMA4): New macro.
43956 (index_YMM_Usable): Rename to...
43957 (index_AVX_Usable): ... this.
43958 (HAS_AVX): Use HAS_ARCH_FEATURE.
43959 (HAS_FMA4): Likewise.
43960 (HAS_YMM_USABLE): Remove.
43961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43962 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
43963 are present.
43964 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
43965 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
43966 * sysdeps/x86_64/multiarch/Makefile: Likewise.
43967 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
43968 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
43969
0af797de
CM
439702012-05-17 Chris Metcalf <cmetcalf@tilera.com>
43971
43972 * math/libm-test.c: Support platforms without multiple rounding modes.
43973 * math/bug-nextafter.c: Support platforms without FP exceptions.
43974 * math/bug-nexttoward.c: Likewise.
43975 * math/test-fenv.c: Likewise.
43976 * math/test-misc.c: Likewise.
43977 * stdlib/bug-getcontext.c: Likewise.
43978
e39745ff
AJ
439792012-05-17 Andreas Jaeger <aj@suse.de>
43980
43981 * manual/examples/search.c (critter_cmp): Change signature to
43982 avoid warnings.
43983 * manual/string.texi (Collation Functions): Likewise.
43984
48970aba
L
439852012-05-16 H.J. Lu <hongjiu.lu@intel.com>
43986
43987 * bits/types.h: Fold copyright years.
43988 * bits/typesizes.h: Likewise.
43989 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
43990 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
43991 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
43992 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
43993 * time/time.h: Likewise.
43994
bedee953
PP
439952012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
43996
43997 [BZ #208]
43998 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
43999 in instead of returning them. Return void.
44000 (__libc_mallinfo): Accumulate over all arenas.
44001 (__malloc_stats): Adjust for change in int_mallinfo interface.
44002
61653dfb
RM
440032012-05-16 Roland McGrath <roland@hack.frob.com>
44004
30b99d79
RM
44005 [BZ #10375]
44006 * configure.in (NM): Add AC_CHECK_TOOL for it.
44007 (libc_extra_cflags): New substituted variable.
44008 Check for -fstack-protector being used implicitly.
44009 * configure: Regenerated.
44010 * config.make.in (config-extra-cflags): New variable,
44011 gets @libc_extra_cflags@.
44012 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
44013
61653dfb
RM
44014 [BZ #10375]
44015 * configure.in: Check for _FORTIFY_SOURCE being predefined.
44016 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
44017 * configure: Regenerated.
44018 * config.make.in (CPPUNDEFS): New substituted variable.
44019 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
44020 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
44021 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
44022
661768bb
L
440232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44024
44025 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
44026 (mq_attr): Use __syscall_slong_t.
44027
d4261567
L
440282012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44029
44030 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
44031 Check __x86_64__ instead of __WORDSIZE.
44032 (_STAT_VER_LINUX): Likewise.
44033 (stat): Check __x86_64__ instead of __WORDSIZE. Use
44034 __syscall_ulong_t and __syscall_slong_t.
44035 (stat64): Likewise.
44036
cf3ff365
L
440372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44038
44039 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
44040
76cf3e4d
L
440412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44042
44043 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
44044
a637753a
L
440452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44046
44047 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
44048 __syscall_ulong_t.
44049
d5e05119
L
44050 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
44051 include <bits/wordsize.h>. Check __x86_64__ instead of
44052 __WORDSIZE.
44053 (greg_t): Use "__extension__ long long int" if __x86_64__ is
44054 defined.
44055 (mcontext_t): Replace "unsigned long" with "unsigned long long".
44056
f62ee380
L
44057 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
44058 include <bits/wordsize.h>. Check __x86_64__ instead of
44059 __WORDSIZE.
44060 (user_regs_struct): Use "__extension__ unsigned long long"
44061 instead of "unsigned long" if __x86_64__ is defined.
44062 (user): Likewise. Pad after pointer field if __ILP32__ is
44063 defined.
44064
4e124ced
JM
440652012-05-16 Joseph Myers <joseph@codesourcery.com>
44066
6a3951a0
JM
44067 * configure.in (makeinfo): Require version 4.5 or later. Allow
44068 versions 5 to 9.
44069 * configure: Regenerated.
44070 * manual/install.texi (texinfo): Increase version requirement to
44071 4.5 or later.
44072 * INSTALL: Regenerated.
44073
4e124ced
JM
44074 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
44075
953ca31a
L
440762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
44077
44078 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
44079
617aca05
L
44080 * sysdeps/x86_64/x32/ffs.c: New file.
44081
5762f7ae
L
44082 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
44083 __syscall_ulong_t.
44084 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
44085 defined. Use __syscall_ulong_t.
44086 (shminfo): Use __syscall_ulong_t.
44087 (shm_info): Likewise.
44088
a26b6856
L
44089 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
44090 __syscall_ulong_t.
44091
cb2b9ef7
L
44092 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
44093 <bits/wordsize.h>.
44094 (msgqnum_t): Use __syscall_ulong_t.
44095 (msglen_t): Likewise.
44096 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
44097 __syscall_ulong_t.
44098
34683bb0
L
44099 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
44100 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44101
84a68786
L
44102 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
44103
48baa5f1
L
44104 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
44105 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
44106
180be88b
L
44107 * sysvipc/sys/msg.h (msgbuf): Replace long int with
44108 __syscall_slong_t.
44109
5e90c8ad
L
44110 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
44111 include <bits/wordsize.h>. Check __x86_64__ instead of
44112 __WORDSIZE.
44113
23dfb58b
L
44114 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
44115 "unsigned long long int" if __x86_64__ is defined.
44116 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
44117
ce5d54b0
L
44118 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
44119 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
44120 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
44121
13dc9eac
L
44122 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
44123 <stdint.h>.
44124 (GET_PC): Cast to uintptr_t first.
44125 (GET_FRAME): Likewise.
44126 (GET_STACK): Likewise.
44127
a7895d15
L
44128 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
44129 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
44130 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
44131 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
44132 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
44133 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
44134 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
44135 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
44136 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
44137 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
44138 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
44139 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
44140 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
44141 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
44142 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
44143 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
44144 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
44145 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
44146 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
44147 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
44148 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
44149 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
44150 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
44151 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
44152 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
44153 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
44154 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
44155 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
44156 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
44157
656416c9
AS
441582012-05-16 Andreas Schwab <schwab@linux-m68k.org>
44159
5bd66283
AS
44160 * Makerules (+depfiles): Also collect depfiles from .oS in
44161 $(extra-objs).
44162 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
44163 .oS, $(libnldbl-routines)).
44164
656416c9
AS
44165 * Makerules (native-compile-mkdep-flags): Define.
44166 * sunrpc/Makefile (extra-objs): Add $(addprefix
44167 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
44168 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
44169 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
44170 calling $(make-target-directory).
44171
a46f2169
L
441722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44173
44174 * bits/types.h (__snseconds_t): Removed.
44175 * time/time.h (struct timespec): Replace __snseconds_t with
44176 __syscall_slong_t.
44177 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
44178 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
44179 Likewise.
44180 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44181 (__SNSECONDS_T_TYPE): Likewise.
44182 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44183 (__SNSECONDS_T_TYPE): Likewise.
44184 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44185 (__SNSECONDS_T_TYPE): Likewise.
44186
6af6528b
L
441872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44188
44189 * sysdeps/mach/hurd/bits/typesizes.h
44190 (__SYSCALL_SLONG_TYPE): New macro.
44191 (__SYSCALL_ULONG_TYPE): Likewise.
44192
de986b56
L
441932012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44194
44195 * bits/types.h (__syscall_slong_t): New type.
44196 (__syscall_ulong_t): Likewise.
44197
44198 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
44199 (__SYSCALL_ULONG_TYPE): Likewise.
44200 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44201 (__SYSCALL_SLONG_TYPE): Likewise.
44202 (__SYSCALL_ULONG_TYPE): Likewise.
44203 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44204 (__SYSCALL_SLONG_TYPE): Likewise.
44205 (__SYSCALL_ULONG_TYPE): Likewise.
44206 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44207 (__SYSCALL_SLONG_TYPE): Likewise.
44208 (__SYSCALL_ULONG_TYPE): Likewise.
44209
85736dc7
L
442102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44211
44212 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
44213 Add sigaltstack-offsets.sym.
44214 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
44215 <sigaltstack-offsets.h>.
44216 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
44217 longjmp_msg pointer.
44218 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
44219 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
44220 signal stack.
44221 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
44222
cc03b296
JM
442232012-05-15 Joseph Myers <joseph@codesourcery.com>
44224
a9538892
JM
44225 * elf/stackguard-macros.h: Remove file.
44226 * sysdeps/generic/stackguard-macros.h: New file.
44227 * sysdeps/i386/stackguard-macros.h: Likewise.
44228 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
44229 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
44230 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
44231 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
44232 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
44233 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
44234 * sysdeps/x86_64/stackguard-macros.h: Likewise.
44235 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
44236 <elf/stackguard-macros.h>.
44237
cc03b296
JM
44238 [BZ #14109]
44239 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
44240 __aligned__ in attribute.
44241 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
44242 (gregset_t): Likewise.
44243
93171016
L
442442012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44245
44246 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
44247 * sysdeps/x86_64/64/Implies-after: Here. New file.
44248 * sysdeps/x86_64/x32/Implies-after: New file.
44249
d86813a0
L
442502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44251
44252 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
44253 and access return value for _dl_profile_fixup. Use R10_LP to
44254 load frame size.
44255
2953ec75
L
442562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44257
44258 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
44259
3b550e9e
L
442602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44261
44262 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
44263 * sysdeps/x86_64/x32/sysdep.h: New file.
44264
eda41706
L
442652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44266
44267 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
44268 * sysdeps/x86_64/setjmp.S: Likewise.
44269
9ea01d93
AZ
442702012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44271
44272 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
44273 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
44274 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
44275 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
44276 remove unused global constant.
44277
02a91938
CM
442782012-05-15 Chris Metcalf <cmetcalf@tilera.com>
44279
44280 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
44281 include of <not-cancel.h>.
44282
6540185f
RM
442832012-05-15 Roland McGrath <roland@hack.frob.com>
44284
44285 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
44286
509072a0
AJ
442872012-05-15 Jeff Law <law@redhat.com>
44288 Andreas Jaeger <aj@suse.de>
44289
44290 [BZ #13594]
44291 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
44292 out from...
44293 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
44294 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
44295 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
44296 code changing __hst_map_handle.map.
44297
ba75122d
RM
442982012-05-15 Roland McGrath <roland@hack.frob.com>
44299
44300 * configure.in (sysnames): Look for Implies-before and Implies-after
44301 files.
44302 * configure: Regenerated.
44303
890d8bd8
L
443042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44305
44306 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
44307 8-byte data alignment with LP_SIZE alignment.
44308
f6ee6623
L
443092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44310
44311 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
44312 into R10_LP.
44313
ea2626f6
L
443142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44315
44316 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
44317
085f715e
L
443182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44319
44320 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
44321 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
44322 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
44323 Likewise.
44324 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
44325
be8498fc
L
443262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44327
44328 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
44329 (stackinfo_sub_sp): Likewise.
44330
70bc83b9
L
443312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44332
44333 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
44334 RAX_LP.
44335
9bc0b730
L
443362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44337
44338 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
44339 into R*_LP.
44340
6d2850e7
L
443412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44342
44343 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
44344 sizes into R*_LP.
44345
3cb84561
L
443462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44347
44348 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
44349
54e2ed81
L
443502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44351
44352 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
44353 into R11_LP and load __x86_64_shared_cache_size_half into
44354 R8_LP.
44355
8a17f349
L
443562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
44357
44358 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
44359 R8_LP.
44360
777b1eea
AZ
443612012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44362
44363 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
44364 logb for POWER7.
44365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
44366 logbf for POWER7.
44367 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
44368 logbl for POWER7.
44369 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
44370 powerpc32/power7/fpu/s_logb.c via #include.
44371 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
44372 powerpc32/power7/fpu/s_logbf.c via #include.
44373 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
44374 powerpc32/power7/fpu/s_logbl.c via #include.
44375
d20d4ac2
JM
443762012-05-15 Joseph Myers <joseph@codesourcery.com>
44377
44378 * README.libm: Remove file.
44379
6cdef1ab
L
443802012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44381
44382 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
44383 count for x32. Use R*_LP and omit operand-size suffix.
44384
0b254d8f
L
443852012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44386
44387 * shlib-versions: Move x86_64-.*-linux.* entries to ...
44388 * sysdeps/x86_64/64/shlib-versions: Here. New file.
44389 * sysdeps/x86_64/x32/shlib-versions: New file.
44390
ceb809dc
RM
443912012-05-14 Roland McGrath <roland@hack.frob.com>
44392
44393 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
44394 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
44395 Use _dl_fatal_printf instead.
44396
37f1abd4
JM
443972012-05-14 Joseph Myers <joseph@codesourcery.com>
44398
44399 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
44400 set if not set by the user. Do not allow for being unset.
44401 * sysdeps/unix/sysv/linux/configure: Regenerated.
44402
11de3a33
L
444032012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44404
44405 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
44406 the `q' suffix from lea and replace .quad with ASM_ADDR.
44407
e02f153a
L
444082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44409
44410 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
44411 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
44412 instead of $17.
44413 (PTR_DEMANGLE): Likewise.
44414
520ae0fd
L
444152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44416
44417 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
44418 (LP_OP): Likewise.
44419 (ASM_ADDR): Likewise.
44420 (RAX_LP): Likewise.
44421 (RBP_LP): Likewise.
44422 (RBX_LP): Likewise.
44423 (RCX_LP): Likewise.
44424 (RDI_LP): Likewise.
44425 (RSI_LP): Likewise.
44426 (RSP_LP): Likewise.
44427 (R8_LP): Likewise.
44428 (R9_LP): Likewise.
44429 (R10_LP): Likewise.
44430 (R10_LP): Likewise.
44431 (R11_LP): Likewise.
44432 (R12_LP): Likewise.
44433 (R13_LP): Likewise.
44434 (R14_LP): Likewise.
44435 (R15_LP): Likewise.
44436
b985be81
L
444372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44438
44439 * sysdeps/x86_64/x32/dl-machine.h: New file.
44440
6a4888ff
AJ
444412012-05-14 Andreas Jaeger <aj@suse.de>
44442
44443 * manual/Makefile (subdir): Remove export of subdir.
44444 (all): Remove target.
44445 (.PHONY): Remove all from list.
44446 (mkinstalldirs): Remove.
44447 (.PHONY): Remove installdirs from list.
44448 ($(inst_infodir)/libc.info): Use make-target-directory.
44449 (installdirs): Remove.
44450 (subdir_%): Remove.
44451 (glibc-targets): Remove.
44452 (lib): Remove.
44453 (stubs): Remove.
44454 ($(objpfx)stubs ../po/manual.pot): Remove.
44455 ($(objpfx)stamp%): Remove.
44456 (make-target-directory): Remove.
44457 (subdir_install): Remove.
44458 (routines): Remove.
44459 (aux): Remove.
44460 (sources): Remove.
44461 (objects): Remove.
44462 (headers): Remove.
44463
44464 [BZ #13750]
44465 * manual/.gitignore: Remove, it's not needed anymore.
44466 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
44467 all files in it.
44468 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
44469 directory.
44470 (texis): Renamed to $(objpfx)texis.
44471 (texis-path): New, contains path to generated files.
44472 (chapters.%): Use texis-path for complete path, add extra argument
44473 libc-texinfo.sh.
44474 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
44475 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
44476 (summary,texi, stamp-summary): Use complete path of
44477 files. Generate files in build dir.
44478 (dir-add.texi): Build in build dir.
44479 (libm-err.texi,stamp-libm-err): Likewise.
44480 (version.texi, stamp-version): Likewise.
44481 (.%c.texi): Likewise.
44482 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
44483 (mostlyclean): Remove target.
44484 (realclean): Remove target.
44485 (generated): Add new variable with contents from mostlyclean and
44486 realclean, remove entries duplicated in common-mostlyclean, add
44487 stamp-libm-err and stamp-version.
44488 (generated-dirs): Add libc directory.
44489 ($(inst_infodir)/libc.info): Install files from build dir.
44490
44491 * manual/install.texi (Configuring and compiling): Adjust since
44492 the info files are not part of the tar ball anymore.
44493
7ac77294
AJ
444942012-05-14 Andreas Jaeger <aj@suse.de>
44495
44496 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
44497 variable.
44498
ffb7875d
JM
444992012-05-14 Joseph Myers <joseph@codesourcery.com>
44500
44501 [BZ #13717]
44502 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
44503 to 2.2.0 where earlier.
44504 * sysdeps/unix/sysv/linux/configure: Regenerated.
44505 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
44506 Remove conditional code.
44507 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
44508 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
44509 Remove conditional code.
44510 [!__NR_lchown]: Likewise.
44511 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44512 [__NR_lchown]: Likewise.
44513 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
44514 comment referencing __ASSUME_LCHOWN_SYSCALL.
44515 * sysdeps/unix/sysv/linux/i386/sigaction.c
44516 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44517 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44518 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
44519 Remove conditional code.
44520 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
44521 (__protocol_available): Remove #if 0 code.
44522 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
44523 conditional code.
44524 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
44525 * sysdeps/unix/sysv/linux/kernel-features.h
44526 (__ASSUME_GETCWD_SYSCALL): Don't define.
44527 (__ASSUME_REALTIME_SIGNALS): Likewise.
44528 (__ASSUME_PREAD_SYSCALL): Likewise.
44529 (__ASSUME_PWRITE_SYSCALL): Likewise.
44530 (__ASSUME_POLL_SYSCALL): Likewise.
44531 (__ASSUME_LCHOWN_SYSCALL): Likewise.
44532 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
44533 non-SPARC.
44534 (__ASSUME_SIOCGIFNAME): Don't define.
44535 (__ASSUME_MSG_NOSIGNAL): Likewise.
44536 (__ASSUME_SENDFILE): Define unconditionally.
44537 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
44538 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
44539 conditional code.
44540 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
44541 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
44542 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44543 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44544 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
44545 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
44546 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
44547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
44548 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44549 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
44551 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44552 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
44554 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44555 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
44557 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44558 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
44560 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44561 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
44563 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
44564 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
44566 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44567 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
44569 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44570 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44571 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
44572 Remove conditional code.
44573 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44574 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44575 Remove conditional code.
44576 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44577 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
44578 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
44579 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44580 Remove conditional code.
44581 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44582 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
44583 Remove conditional code.
44584 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44585 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
44586 Remove conditional code.
44587 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44588 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
44589 Remove conditional code.
44590 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
44591 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
44592 Remove conditional code.
44593 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44594 * sysdeps/unix/sysv/linux/sh/pwrite64.c
44595 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
44596 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
44597 * sysdeps/unix/sysv/linux/sigaction.c
44598 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44599 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44600 * sysdeps/unix/sysv/linux/sigpending.c
44601 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44602 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44603 * sysdeps/unix/sysv/linux/sigprocmask.c
44604 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44605 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44606 * sysdeps/unix/sysv/linux/sigsuspend.c
44607 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
44608 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
44609 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
44610 (__libc_missing_rt_sigs): Remove.
44611 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
44612 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
44613 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
44614 Remove conditional code.
44615 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
44616 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
44617 return 1.
44618 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
44619 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
44620 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
44621 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
44622
1bfb7291
AJ
446232012-05-14 Andreas Jaeger <aj@suse.de>
44624
caae5a81
AJ
44625 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
44626 it's not used in glibc.
44627 (__coshm1): Likewise.
44628 (__acosh1p): Likewise.
44629 (__sgn): Likewise.
44630
1bfb7291
AJ
44631 * manual/string.texi (Copying and Concatenation): Add missing
44632 variable in concat example.
44633 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
44634
c044d724
L
446352012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44636
144c5467 44637 [BZ #14103]
c044d724
L
44638 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
44639 __builtin_clzl with __builtin_clzll.
44640
2523c62b
L
446412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
44642
44643 [BZ #14104]
44644 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
44645 libc_freeres_ptr.
44646
d7bb4c42
LD
446472012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
44648
44649 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
44650 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
44651 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
44652 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
44653
9dc4e1fb
MF
446542012-05-14 Mike Frysinger <vapier@gentoo.org>
44655
44656 * NEWS: Update ia64 info.
44657
c7df0112
AS
446582012-05-12 Andreas Schwab <schwab@linux-m68k.org>
44659
44660 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
44661 used as bcopy.
44662
dc70356c
TS
446632012-05-12 Thomas Schwinge <thomas@codesourcery.com>
44664
44665 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
44666 * sysdeps/unix/syscalls.list (dup3): Likewise.
44667 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
44668 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
44669
9fb1a21f
L
446702012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44671
44672 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
44673 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
44674
4822a2a5
L
446752012-05-11 H.J. Lu <hongjiu.lu@intel.com>
44676
44677 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
44678 thread pointer.
44679 (TLS_IE): Use mov/add instead of movq/addq to load thread
44680 pointer.
44681 (TLS_GD_PREFIX): New.
44682 (TLS_GD): Use it.
44683
842b81d6
DM
446842012-05-11 David S. Miller <davem@davemloft.net>
44685
44686 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
44687 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
44688 (_FPU_SETCW): Likewise.
44689
1cf463cd
L
446902012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44691
44692 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
44693 is 32-byte aligned.
44694
60cc4a18
AS
446952012-05-11 Andreas Schwab <schwab@linux-m68k.org>
44696
44697 [BZ #11837]
44698 * iconvdata/gb18030.c: Update tables.
44699 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
44700 characters specially.
44701 (BODY for TO_LOOP): Add encoding of missing ranges.
44702
febb44a4
TS
447032012-05-11 Thomas Schwinge <thomas@codesourcery.com>
44704
44705 [BZ #13673]
44706 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
44707 * sysdeps/mach/hurd/dup3.c: Likewise.
44708 * sysdeps/mach/hurd/readlinkat.c: Likewise.
44709 * sysdeps/powerpc/memmove.c:: Likewise.
44710
0a10fb9e
L
447112012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44712
44713 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
44714 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
44715
df8a552f
L
447162012-05-10 H.J. Lu <hongjiu.lu@intel.com>
44717
44718 * elf/elf.h (R_X86_64_RELATIVE64): New.
44719 (R_X86_64_NUM): Updated.
44720 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
44721 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
44722 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
44723 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
44724 tst-quad1pie tst-quad2pie
44725 (modules-names): Add tst-quadmod1 tst-quadmod2.
44726 ($(objpfx)tst-quad1): New dependency.
44727 ($(objpfx)tst-quad2): Likewise.
44728 ($(objpfx)tst-quad1pie): Likewise.
44729 ($(objpfx)tst-quad2pie): Likewise.
44730 * sysdeps/x86_64/tst-quad1.c: New file.
44731 * sysdeps/x86_64/tst-quad1pie.c: New file.
44732 * sysdeps/x86_64/tst-quad2.c: Likewise.
44733 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
44734 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
44735 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
44736 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
44737 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
44738
f34d6f84
ST
447392012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44740
f42d41d1
ST
44741 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
44742 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
44743 * streams/stropts.h (t_scalar_t): Define type.
44744
3c3571fc
ST
44745 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
44746 (_PATH_PRESERVE): Set to "/var/lib".
44747 (_PATH_RWHODIR): Set to "/var/spool/rwho".
44748
61f06bd3
ST
44749 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
44750 instead of int.
44751
918d4d71
ST
44752 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
44753 if __dir_mkfile succeeded.
44754
f34d6f84
ST
44755 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
44756 checking for _hurd_dtablesize. Unlock it right after having
44757 finished _hurd_dtable allocation.
44758
10589b4a
TS
447592012-05-10 Thomas Schwinge <thomas@schwinge.name>
44760
674cdbc7
TS
44761 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
44762 * sysdeps/mach/hurd/configure: Regenerated.
44763 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
44764 special-casing to...
44765 * sysdeps/gnu/configure.in: ... this new file.
44766 * sysdeps/unix/sysv/linux/configure: Regenerated.
44767 * sysdeps/gnu/configure: New generated file.
44768
8e41b99f
TS
44769 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
44770 for Linux: use nsec instead of usec, as well as:
44771 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
44772 members of type struct timespec.
44773 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
44774 New macros.
44775 (struct stat64): Likewise.
44776 (_STATBUF_ST_NSEC): New macro.
44777 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
44778
10589b4a
TS
44779 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
44780 __strtoul_internal rather than strtoul.
44781
63643c85
PT
447822012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44783
44784 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
44785 and reject them.
44786
3faebe6a
ST
447872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44788
44789 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
44790 which preserves existing values.
44791 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
44792
c6474b07
PT
447932012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44794
44795 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
44796 TIMEOUT values. Return EINVAL for NFDS values either negative or
44797 greater than FD_SETSIZE.
44798
1043890b
ST
447992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44800
44801 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
44802 allocated, call __vm_protect to finish enabling the existing space, and
44803 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
44804 allocate the remainder.
44805
37ed8b9b
PT
448062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44807
44808 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
44809 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
44810
db653660
ST
448112012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44812
37ed8b9b
PT
44813 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
44814 sysdeps/mach/hurd/readlink.c.
b29d4053 44815
db653660
ST
44816 * posix/tst-sysconf.c (posix_options): Only use
44817 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
44818 _POSIX_SYNCHRONIZED_IO when they are defined
44819 * sysdeps/mach/hurd/bits/posix_opt.h:
44820 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
44821 (_XOPEN_REALTIME): Undefine macro.
44822 (_XOPEN_REALTIME_THREADS): Undefine macro.
44823 (_XOPEN_SHM): Undefine macro.
44824 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
44825 macro to -1.
44826 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
44827 macro to -1.
44828 (_POSIX_ASYNC_IO): Undefine macro.
44829 (_POSIX_PRIORITIZED_IO): Undefine macro.
44830 (_POSIX_SPIN_LOCKS): Define macro to -1.
44831
ee16e894
ST
44832 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
44833 SA_NODEFER, SA_RESETHAND.
44834 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
44835 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
44836 F_DUPFD_CLOEXEC.
44837
6103ae3b
TS
448382012-05-10 Thomas Schwinge <thomas@schwinge.name>
44839
44840 * elf/Makefile (pldd-modules): Define unconditionally.
44841
80b4e5f3
TS
448422012-05-10 Thomas Schwinge <thomas@schwinge.name>
44843
44844 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
44845
edadcbd6
ST
448462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44847
44848 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
44849 Return ENOENT when name is empty.
44850 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
44851
80694780
TS
448522012-05-10 Thomas Schwinge <thomas@schwinge.name>
44853
1792c087
TS
44854 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
44855
80694780
TS
44856 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
44857
6b645f0d
ST
448582012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44859
80694780
TS
44860 Fix mlock in all cases except non-readable pages.
44861 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
44862 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 44863
6b645f0d
ST
44864 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
44865 (__mkdir): When path is `/', just fail with EEXIST.
44866 * sysdeps/mach/hurd/mkdirat.c: Likewise.
44867
e468f8a3
TS
448682012-05-10 Thomas Schwinge <thomas@schwinge.name>
44869
44870 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
44871 <sys/uio.h> (for writev).
44872 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
44873 and <sys/param.h> (for MIN).
44874
a4186cff
PT
448752012-05-10 Pino Toscano <toscano.pino@tiscali.it>
44876
44877 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
44878 REQUESTED_TIME. Properly set the remaining time and return EINTR
44879 if interrupted.
44880
510bbf14
TS
448812012-05-10 Thomas Schwinge <thomas@schwinge.name>
44882
44883 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
44884 Depend on against $(link-rpcuserlibs).
44885
5d5722e8
ST
448862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44887
a4186cff
PT
44888 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
44889 (__libc_stack_end): Do not use attribute_relro.
44890 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
44891 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 44892 to libthread-provided value.
a4186cff
PT
44893 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
44894 attribute_relro.
5d5722e8 44895
37233df9
TS
448962012-05-10 Thomas Schwinge <thomas@schwinge.name>
44897
be971a2b
TS
44898 [BZ #3748]
44899 * bits/libc-lock.h (__libc_once_get): New macro.
44900 * sysdeps/mach/bits/libc-lock.h: Likewise.
44901 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
44902 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
44903 instead of using implementation details.
44904
37233df9
TS
44905 * libio/fileops.c: Unconditionally include <kernel-features.h>.
44906 * libio/freopen.c: Likewise.
44907 * libio/freopen64.c: Likewise.
44908 * misc/syslog.c: Likewise.
44909 * nscd/connections.c: Likewise.
44910 * nscd/netgroupcache.c: Likewise.
44911 * sysdeps/posix/getcwd.c: Likewise.
44912
38de94a5
RM
449132012-05-10 Roland McGrath <roland@hack.frob.com>
44914
44915 * math/w_ilogbf.c: Add #include <limits.h>.
44916
67530489
ST
449172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44918
a4186cff 44919 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
44920 path instead of returning without unlocking.
44921
67530489
ST
44922 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
44923 immediate-write ioctls.
44924 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
44925
5aa3a74a
TS
449262012-05-10 Thomas Schwinge <thomas@schwinge.name>
44927
18bad2ae
TS
44928 * sysdeps/mach/hurd/i386/init-first.c (init): Use
44929 __builtin_frame_address instead of making assumptions about the
44930 location of the return address relative to DATA. Force early load of
44931 the return address.
44932 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
44933 __builtin_frame_address.
44934
5aa3a74a
TS
44935 dup3 for GNU Hurd.
44936 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
44937 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
44938 implement dup3 and do some further code clean-ups.
44939 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
44940 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
44941
ecd0de9a
ST
449422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44943
cd9fa985
ST
44944 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
44945
a4186cff
PT
44946 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
44947 HURD_CRITICAL_END around holding _hurd_dtable_lock.
44948 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
44949 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
44950 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
44951 d->port.lock.
802ca5a5 44952
a4186cff
PT
44953 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
44954 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
44955 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 44956
bcf55240
TS
449572012-05-10 Thomas Schwinge <thomas@schwinge.name>
44958
6960eb42
TS
44959 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
44960 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
44961 definitions.
44962
eb43375f
TS
44963 accept4 for GNU Hurd.
44964 * include/sys/socket.h (__libc_accept4): New prototype.
44965 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
44966 to implement __libc_accept4.
44967 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
44968 __libc_accept4.
44969 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
44970
bcf55240
TS
44971 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
44972 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
44973 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
44974 signal-defines.sym.
44975
6178c55b
ST
449762012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44977
a4186cff 44978 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 44979
6f080c2f
TS
449802012-05-10 Thomas Schwinge <thomas@schwinge.name>
44981
44982 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
44983 assertion on O_CLOEXEC flag.
44984 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
44985 * hurd/intern-fd.c: Likewise.
44986 * hurd/port2fd.c: Likewise.
44987
bcfe3a54
ST
449882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
44989
44990 [BZ #3906]
44991 * bits/in.h (IPV6_PKTINFO): Define new macro.
44992 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
44993
89c9aa49
AZ
449942012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44995
44996 [BZ #13954]
44997 [BZ #13955]
44998 [BZ #13956]
44999 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
45000 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
45001 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
45002 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
45003 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
45004 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
45005 * math/libm-test.inc (logb_test) : Additional logb tests.
45006
021db4be
AJ
450072012-05-09 Andreas Schwab <schwab@linux-m68k.org>
45008 Andreas Jaeger <aj@suse.de>
45009
45010 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
45011 * configure: Regenerated.
45012 * config.h.in (LINK_OBSOLETE_RPC): New macro.
45013 * config.make.in (link-obsolete-rpc): New substituted variable.
45014 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
45015 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
45016 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45017 (shared-only-routines): Don't set it under [link-obsolete-rpc],
45018 so that libc.a contains the symbols.
45019 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
45020 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
45021 * sunrpc/auth_none.c: Likewise.
45022 * sunrpc/auth_unix.c: Likewise.
45023 * sunrpc/authdes_prot.c: Likewise.
45024 * sunrpc/authuxprot.c: Likewise.
45025 * sunrpc/clnt_gen.c: Likewise.
45026 * sunrpc/clnt_perr.c: Likewise.
45027 * sunrpc/clnt_raw.c: Likewise.
45028 * sunrpc/clnt_simp.c: Likewise.
45029 * sunrpc/clnt_tcp.c: Likewise.
45030 * sunrpc/clnt_udp.c: Likewise.
45031 * sunrpc/clnt_unix.c: Likewise.
45032 * sunrpc/des_crypt.c: Likewise.
45033 * sunrpc/des_soft.c: Likewise.
45034 * sunrpc/get_myaddr.c: Likewise.
45035 * sunrpc/key_call.c: Likewise.
45036 * sunrpc/key_prot.c: Likewise.
45037 * sunrpc/netname.c: Likewise.
45038 * sunrpc/pm_getmaps.c: Likewise.
45039 * sunrpc/pm_getport.c: Likewise.
45040 * sunrpc/pmap_clnt.c: Likewise.
45041 * sunrpc/pmap_prot.c: Likewise.
45042 * sunrpc/pmap_prot2.c: Likewise.
45043 * sunrpc/pmap_rmt.c: Likewise.
45044 * sunrpc/publickey.c: Likewise.
45045 * sunrpc/rpc_cmsg.c: Likewise.
45046 * sunrpc/rpc_common.c: Likewise.
45047 * sunrpc/rpc_dtable.c: Likewise.
45048 * sunrpc/rpc_prot.c: Likewise.
45049 * sunrpc/rpc_thread.c: Likewise.
45050 * sunrpc/rtime.c: Likewise.
45051 * sunrpc/svc.c: Likewise.
45052 * sunrpc/svc_auth.c: Likewise.
45053 * sunrpc/svc_raw.c: Likewise.
45054 * sunrpc/svc_run.c: Likewise.
45055 * sunrpc/svc_tcp.c: Likewise.
45056 * sunrpc/svc_udp.c: Likewise.
45057 * sunrpc/svc_unix.c: Likewise.
45058 * sunrpc/svcauth_des.c: Likewise.
45059 * sunrpc/xcrypt.c: Likewise.
45060 * sunrpc/xdr.c: Likewise.
45061 * sunrpc/xdr_array.c: Likewise.
45062 * sunrpc/xdr_float.c: Likewise.
45063 * sunrpc/xdr_intXX_t.c: Likewise.
45064 * sunrpc/xdr_mem.c: Likewise.
45065 * sunrpc/xdr_rec.c: Likewise.
45066 * sunrpc/xdr_ref.c: Likewise.
45067 * sunrpc/xdr_sizeof.c: Likewise.
45068 * sunrpc/xdr_stdio.c: Likewise.
45069
b5c086a2
RM
450702012-05-10 Roland McGrath <roland@hack.frob.com>
45071
45072 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
45073 change. Update copyright years.
45074
6d74dd09
JM
450752012-05-10 Joseph Myers <joseph@codesourcery.com>
45076
45077 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
45078
28e72501
MK
450792012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
45080 Joseph Myers <joseph@codesourcery.com>
45081 Paul Pluzhnikov <ppluzhnikov@google.com>
45082
45083 [BZ #14012]
45084 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
45085 requiring rpcgen.
45086 [cross-compiling] (extra-libs): Likewise.
45087 [cross-compiling] (extra-libs-others): Likewise.
45088 [cross-compiling] (librpcsvc-routines): Likewise.
45089 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
45090 [cross-compiling] (omit-deps): Likewise.
45091 (sunrpc-CPPFLAGS): New variable.
45092 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
45093 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
45094 (cross-rpcgen-objs): New variable.
45095 (extra-objs): Append $(cross-rpcgen-objs).
45096 ($(cross-rpcgen-objs)): New rule.
45097 ($(objpfx)cross-rpcgen): Likewise.
45098 (rpcgen-cmd): Define to use $(built-program-file). Expand
45099 comment.
45100 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
45101 ($(objpfx)x%.stmp): Likewise.
45102 * sunrpc/proto.h [IS_IN_build] (_): Define.
45103 [IS_IN_build] (_libc_intl_domainname): Likewise.
45104
c8c59454
L
451052012-05-10 H.J. Lu <hongjiu.lu@intel.com>
45106
45107 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
45108 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
45109 and R_X86_64_TPOFF64.
45110
6f27cd16
JM
451112012-05-10 Joseph Myers <joseph@codesourcery.com>
45112
45113 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
45114 sysdeps/unix/sysv/syscalls.list.
45115 (stime): Likewise.
45116 (utime): Likewise.
45117 * sysdeps/unix/sysv/syscalls.list: Remove file.
45118
02467e1c
PE
451192012-05-10 Paul Eggert <eggert@cs.ucla.edu>
45120
45121 [BZ #3440]
45122 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
45123 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
45124 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
45125 (__LC_IDENTIFICATION): Make these macros useful in #if
45126 expressions, as required by C99.
45127
da392631
AS
451282012-05-10 Andreas Schwab <schwab@linux-m68k.org>
45129
45130 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
45131 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
45132 after this.
45133
8115f29b
L
451342012-05-09 H.J. Lu <hongjiu.lu@intel.com>
45135
45136 * stdlib/longlong.h: Updated from GCC.
45137
bdd74070
AJ
451382012-05-09 Andreas Jaeger <aj@suse.de>
45139
edfe0dbe
AJ
45140 * nscd/nscd.c (run_modes): Make named enum, reorder so that
45141 default is first entry.
45142 (run_mode): Set type.
45143 (main): Remove informal message about syslog.
45144 (options): Fix typo.
45145
bcfe3a54
ST
45146 [BZ #14053]
45147 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 45148 to asm.
bcfe3a54
ST
45149 (lrint): Likewise.
45150 (llrintf): Likewise.
45151 (llrint): Likewise.
45152 (rint): Likewise.
45153 (rintf): Likewise.
45154 (nearbyint): Likewise.
45155 (nearbyintf): Likewise.
bdd74070 45156
91d8d69e
AJ
451572012-05-09 Andreas Jaeger <aj@suse.de>
45158 Pedro Alves <palves@redhat.com>
45159
45160 * nscd/nscd.c (run_mode): Use enum.
45161 (main): Cleanup coding style issue.
45162
bb90b80b
AJ
451632012-05-09 Alexandre Oliva <aoliva@redhat.com>
45164 Andreas Jaeger <aj@suse.de>
45165
bcfe3a54
ST
45166 * nscd/nscd.c (go_background): Replaced with...
45167 (run_mode): ... this.
bb90b80b 45168 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
45169 (options): Add -F --foreground.
45170 (main): Implement it.
45171 (parse_opt): Parse it.
bb90b80b 45172
1a4b75a1
AJ
451732012-05-09 Andreas Jaeger <aj@suse.de>
45174
45175 [BZ #14083]
45176 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
45177 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
45178 -Wconversion warning.
45179 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
45180 Likewise.
45181
b1cc2472
JM
451822012-05-09 Joseph Myers <joseph@codesourcery.com>
45183
45184 * conform/data/locale.h-data (NULL): Use macro-constant. Require
45185 == 0.
45186 (LC_ALL): Use macro-int-constant.
45187 (LC_COLLATE): Likewise.
45188 (LC_CTYPE): Likewise.
45189 (LC_MESSAGES): Likewise.
45190 (LC_MONETARY): Likewise.
45191 (LC_NUMERIC): Likewise.
45192 (LC_TIME): Likewise.
45193 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
45194 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45195 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45196 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
45197 Specify type.
45198 [C99-based standards] (float_t): Expect type.
45199 [C99-based standards] (double_t): Expect type.
45200 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
45201 type.
45202 [C99-based standards] (HUGE_VALL): Likewise.
45203 [C99-based standards] (INFINITY): Likewise.
45204 [C99-based standards] (NAN): Likewise.
45205 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
45206 [C99-based standards] (FP_NAN): Likewise.
45207 [C99-based standards] (FP_NORMAL): Likewise.
45208 [C99-based standards] (FP_SUBNORMAL): Likewise.
45209 [C99-based standards] (FP_ZERO): Likewise.
45210 [C99-based standards] (FP_FAST_FMA): Use
45211 optional-macro-int-constant. Specify type. Require == 1.
45212 [C99-based standards] (FP_FAST_FMAF): Likewise.
45213 [C99-based standards] (FP_FAST_FMAL): Likewise.
45214 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
45215 [C99-based standards] (FP_ILOGBNAN): Likewise.
45216 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
45217 Specify type.
45218 [C99-based standards] (MATH_ERREXCEPT): Likewise.
45219 [C99-based standards] (math_errhandling): Specify type.
45220 [ISO99 || ISO11] (signgam): Do not allow.
45221 [non-C99-based standards] (copysignf): Do not allow.
45222 [non-C99-based standards] (exp2f): Likewise.
45223 [non-C99-based standards] (log2f): Likewise.
45224 [non-C99-based standards] (modff): Allow.
45225 [non-C99-based standards] (erff): Do not allow.
45226 [non-C99-based standards] (erfcf): Likewise.
45227 [non-C99-based standards] (gammaf): Likewise.
45228 [non-C99-based standards] (hypotf): Likewise.
45229 [non-C99-based standards] (j0f): Likewise.
45230 [non-C99-based standards] (j1f): Likewise.
45231 [non-C99-based standards] (jnf): Likewise.
45232 [non-C99-based standards] (lgammaf): Likewise.
45233 [non-C99-based standards] (tgammaf): Likewise.
45234 [non-C99-based standards] (y0f): Likewise.
45235 [non-C99-based standards] (y1f): Likewise.
45236 [non-C99-based standards] (ynf): Likewise.
45237 [non-C99-based standards] (isnanf): Likewise.
45238 [non-C99-based standards] (acoshf): Likewise.
45239 [non-C99-based standards] (asinhf): Likewise.
45240 [non-C99-based standards] (atanhf): Likewise.
45241 [non-C99-based standards] (cbrtf): Likewise.
45242 [non-C99-based standards] (expm1f): Likewise.
45243 [non-C99-based standards] (ilogbf): Likewise.
45244 [non-C99-based standards] (log1pf): Likewise.
45245 [non-C99-based standards] (logbf): Likewise.
45246 [non-C99-based standards] (nextafterf): Likewise.
45247 [non-C99-based standards] (remainderf): Likewise.
45248 [non-C99-based standards] (rintf): Likewise.
45249 [non-C99-based standards] (scalbf): Likewise.
45250 [non-C99-based standards] (copysignl): Likewise.
45251 [non-C99-based standards] (exp2l): Likewise.
45252 [non-C99-based standards] (log2l): Likewise.
45253 [non-C99-based standards] (modfl): Allow.
45254 [non-C99-based standards] (erfl): Do not allow.
45255 [non-C99-based standards] (erfcl): Likewise.
45256 [non-C99-based standards] (gammal): Likewise.
45257 [non-C99-based standards] (hypotl): Likewise.
45258 [non-C99-based standards] (j0l): Likewise.
45259 [non-C99-based standards] (j1l): Likewise.
45260 [non-C99-based standards] (jnl): Likewise.
45261 [non-C99-based standards] (lgammal): Likewise.
45262 [non-C99-based standards] (tgammal): Likewise.
45263 [non-C99-based standards] (y0l): Likewise.
45264 [non-C99-based standards] (y1l): Likewise.
45265 [non-C99-based standards] (ynl): Likewise.
45266 [non-C99-based standards] (isnanl): Likewise.
45267 [non-C99-based standards] (acoshl): Likewise.
45268 [non-C99-based standards] (asinhl): Likewise.
45269 [non-C99-based standards] (atanhl): Likewise.
45270 [non-C99-based standards] (cbrtl): Likewise.
45271 [non-C99-based standards] (expm1l): Likewise.
45272 [non-C99-based standards] (ilogbl): Likewise.
45273 [non-C99-based standards] (log1pl): Likewise.
45274 [non-C99-based standards] (logbl): Likewise.
45275 [non-C99-based standards] (nextafterl): Likewise.
45276 [non-C99-based standards] (remainderl): Likewise.
45277 [non-C99-based standards] (rintl): Likewise.
45278 [non-C99-based standards] (scalbl): Likewise.
45279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45280 [non-C99-based standards] (FP_*): Do not allow.
45281 [C99-based standards] (FP_*): Change to
45282 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
45283 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45284 allow.
45285 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
45286 (SIG_ERR): Likewise.
45287 [X/Open-based standards] (SIG_HOLD): Likewise.
45288 (SIG_IGN): Likewise.
45289 (SIGABRT): Use macro-int-constant. Specify type. Require
45290 positive value.
45291 (SIGFPE): Likewise.
45292 (SIGILL): Likewise.
45293 (SIGINT): Likewise.
45294 (SIGSEGV): Likewise.
45295 (SIGTER): Likewise.
45296 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
45297 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
45298 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
45299 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
45300 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
45301 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
45302 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
45303 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
45304 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
45305 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
45306 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
45307 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
45308 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
45309 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
45310 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
45311 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
45312 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
45313 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
45314 [X/Open-based standards] (SIGTRAP): Likewise.
45315 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
45316 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
45317 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
45318 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
45319 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45320 allow.
45321
b9f1922d
IW
453222012-05-08 Ian Wienand <ianw@vmware.com>
45323
45324 [BZ #14080]
45325 * time/tzset.c (__tzset_parse_tz): Update default rules for
45326 daylight time changes in the Energy Policy Act of 2005.
45327
1db86e88
AJ
453282012-05-09 Andreas Jaeger <aj@suse.de>
45329
45330 [BZ #13983]
45331 * elf/ldconfig.c (parse_conf): Change string to make clear that
45332 ldconfig only issued a warning if ld.so.conf does not exist.
45333
dee4a4e3
DM
453342012-05-08 David S. Miller <davem@davemloft.net>
45335
ee0db190
DM
45336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
45337 movxtod instead of popping the value on the stack.
45338
dee4a4e3
DM
45339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45340
6a43ec98
CD
453412012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
45342
45343 * config.h.in: Add HAVE_ARM_PCS_VFP.
45344
05c2c961
RMG
453452012-05-08 Roland Mc Grath <roland@hack.frob.com>
45346
bcfe3a54
ST
45347 [BZ #13979]
45348 * include/features.h: Warn if user requests __FORTIFY_SOURCE
45349 checking but the checks are disabled for any reason.
05c2c961 45350
4b30f61a
L
453512012-05-08 H.J. Lu <hongjiu.lu@intel.com>
45352
45353 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
45354 and ELF64_R_TYPE with ELFW(R_TYPE).
45355
eee2bc67
JM
453562012-05-08 Joseph Myers <joseph@codesourcery.com>
45357
7ea5391a
JM
45358 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
45359 (ulimit): Likewise.
45360
eee2bc67
JM
45361 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
45362 (settimeofday): Likewise.
45363
abb66a67
MF
453642012-05-08 Mike Frysinger <vapier@gentoo.org>
45365
45366 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
45367 a struct th_u2 inside the union, and move tu_block/tu_code into
45368 a new th_u3 union of tu_block/tu_code inside of that. Move
45369 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
45370 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
45371 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
45372 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
45373 (th_stuff): Change to th_u1.tu_stuff.
45374 (th_data): Define.
45375 (th_msg): Change to th_u1.th_u2.tu_data.
45376
7f18b530
DM
453772012-05-07 David S. Miller <davem@davemloft.net>
45378
05760585
DM
45379 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45380
7f18b530
DM
45381 [BZ #14074]
45382 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
45383 (SETUP_PIC_REG): Use it.
45384 (SETUP_PIC_REG_LEAF): Use it.
45385
495fd99f
JM
453862012-05-07 Joseph Myers <joseph@codesourcery.com>
45387
45388 [BZ #13885]
45389 [BZ #13923]
45390 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45391 USE_AS_EXPM1L.
45392 (EXPL_FINITE): Likewise.
45393 (FLDLOG): Likewise.
45394 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45395 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45396 e_expl.S.
45397 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45398 USE_AS_EXPM1L.
45399 (EXPL_FINITE): Likewise.
45400 (FLDLOG): Likewise.
45401 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
45402 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
45403 e_expl.S.
45404 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
45405 test of -max_value argument for long double.
45406 * sysdeps/i386/fpu/libm-test-ulps: Update.
45407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45408
6693d694
DM
454092012-05-06 David S. Miller <davem@davemloft.net>
45410
45411 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
45412 quad soft-float symbols whose references which are compiler
45413 generated.
45414 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
45415
6c23e11c
JM
454162012-05-06 Joseph Myers <joseph@codesourcery.com>
45417
d8b82cad
JM
45418 [BZ #13884]
45419 [BZ #13914]
45420 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45421 USE_AS_EXP10L.
45422 (EXPL_FINITE): Likewise.
45423 (FLDLOG): Likewise.
45424 (c0): Likewise.
45425 (c1): Likewise.
45426 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45427 Adjust comments for base varying.
45428 (__expl_finite): Change alias to EXPL_FINITE.
45429 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
45430 e_expl.S.
45431 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
45432 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
45433 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
45434 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
45435 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
45436 USE_AS_EXP10L.
45437 (EXPL_FINITE): Likewise.
45438 (FLDLOG): Likewise.
45439 (c0): Likewise.
45440 (c1): Likewise.
45441 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
45442 Adjust comments for base varying.
45443 (__expl_finite): Change alias to EXPL_FINITE.
45444 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
45445 tests for bugs.
45446 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45447
6c23e11c
JM
45448 [BZ #14064]
45449 * math/libm-test.inc (check_float_internal): Correct ulp
45450 calculation for subnormal expected results.
45451
29ba805c
AJ
454522012-05-06 Andreas Jaeger <aj@suse.de>
45453
45454 * Makeconfig (+math-flags): New, set to -frounding-math.
45455 (+cflags): Add +math-flags so that all of glibc gets compiled with
45456 it.
45457
45458 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
45459
7b17aeda
JM
454602012-05-05 Joseph Myers <joseph@codesourcery.com>
45461
5779f134
JM
45462 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
45463 Disable one test.
45464
41498f4d
JM
45465 [BZ #13787]
45466 [BZ #13922]
45467 [BZ #14036]
45468 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
45469 (__ieee754_expl): Allow for and saturate large arguments.
45470 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
45471 (u_threshold): Likewise.
45472 (__exp): Call __ieee754_exp before checking for overflow and
45473 underflow.
45474 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
45475 (u_threshold): Likewise.
45476 (__expf): Call __ieee754_expf before checking for overflow and
45477 underflow.
45478 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
45479 (u_threshold): Likewise.
45480 (__expl): Call __ieee754_expl before checking for overflow and
45481 underflow.
45482 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
45483 (__ieee754_expl): Allow for and saturate large arguments.
45484 * math/libm-test.inc (exp_test): Add another test. Do not allow
45485 missing overflow exception on overflow.
45486 (expm1_test): Do not allow missing overflow exception on overflow.
45487
6698b8bf
JM
45488 * sysdeps/i386/fpu/e_expl.c: Move to ...
45489 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
45490 rather than using inline asm.
45491 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
45492 * sysdeps/x86_64/fpu/e_expl.S: Copy from
45493 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
45494
7b17aeda
JM
45495 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
45496 (nice): Likewise.
45497 (poll): Likewise.
45498 (signal): Likewise.
45499 (time): Likewise.
45500 (times): Likewise.
45501
f7c85819
JM
455022012-05-04 Joseph Myers <joseph@codesourcery.com>
45503
45504 * sysdeps/unix/syscalls.list (adjtime): Add entry from
45505 sysdeps/unix/common/syscalls.list.
45506 (fchmod): Likewise.
45507 (fchown): Likewise.
45508 (ftruncate): Likewise.
45509 (getrusage): Likewise.
45510 (gettimeofday): Likewise.
45511 (setpgid): Likewise.
45512 (setregid): Likewise.
45513 (setreuid): Likewise.
45514 (sigaction): Likewise.
45515 (truncate): Likewise.
45516 (vhangup): Likewise.
45517 * sysdeps/unix/common/syscalls.list: Remove file.
45518 * sysdeps/unix/bsd/Implies: Don't include unix/common.
45519 * sysdeps/unix/sysv/linux/Implies: Likewise.
45520
336270d0
L
455212012-05-04 H.J. Lu <hongjiu.lu@intel.com>
45522
45523 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
45524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
45525 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
45526 Moved to ...
45527 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
45528 Here.
45529 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
45530 to ...
45531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
45532 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
45533 to ...
45534 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
45535 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
45536 to ...
45537 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
45538 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
45539 to ...
45540 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
45541 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
45542 to ...
45543 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
45544 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
45545 to ...
45546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
45547 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
45548 to ...
45549 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
45550 Here.
45551 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
45552 to ...
45553 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
45554 Here.
45555 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
45556 to ...
45557 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
45558 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
45559 Moved to ...
45560 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
45561 Here.
45562 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
45563 to ...
45564 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
45565
d128e450
JM
455662012-05-04 Joseph Myers <joseph@codesourcery.com>
45567
fa8ee516
JM
45568 * sysdeps/unix/common/bits/dirent.h: Remove file.
45569 * sysdeps/unix/common/bits/fcntl.h: Likewise.
45570
d128e450
JM
45571 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
45572 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
45573 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
45574 * sysdeps/unix/bsd/isatty.c: Likewise.
45575 * sysdeps/unix/bsd/tcdrain.c: Likewise.
45576 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
45577 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
45578
ff8faaf0 455792012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 45580
62881be4 45581 [BZ #13563]
31dc8730
AZ
45582 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
45583 long double comparison inaccuracies.
45584 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
45585 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45586
6fef930c
AS
455872012-05-04 Andreas Schwab <schwab@linux-m68k.org>
45588
45589 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
45590 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
45591
8f203e6c
JM
455922012-05-04 Joseph Myers <joseph@codesourcery.com>
45593
45594 [BZ #14049]
45595 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
45596 nonzero digits before rounding a hex value.
45597 * stdlib/tst-strtod.c (tests): Add another test.
45598
5197d9c2
AK
455992012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
45600
45601 * sysdeps/s390/fpu/libm-test-ulps: Update.
45602
f0c1dedf
AJ
456032012-05-03 Andreas Jaeger <aj@suse.de>
45604
45605 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
45606 does not get optimized out.
45607 (malloc_opt_barrier): New.
45608
a65ef2ae 456092012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 45610 Roland McGrath <roland@hack.frob.com>
a65ef2ae 45611
2b942cb7 45612 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 45613 intermediate file deletion.
2b942cb7 45614 (generated): Add .symlist files.
a65ef2ae 45615
54b71e02
JM
456162012-05-03 Joseph Myers <joseph@codesourcery.com>
45617
45618 [BZ #13775]
45619 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
45620 Redirect under this condition.
45621 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45622 [__USE_GNU] (__dprintf_chk): Not under this condition.
45623 [__USE_GNU] (__vdprintf_chk): Likewise.
45624 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
45625 under this condition.
45626 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
45627 [__USE_XOPEN2K8] (dprintf): Define under this condition.
45628 [__USE_XOPEN2K8] (vdprintf): Likewise.
45629 [__USE_GNU] (__dprintf_chk): Not under this condition.
45630 [__USE_GNU] (__vdprintf_chk): Likewise.
45631 [__USE_GNU] (dprintf): Likewise.
45632 [__USE_GNU] (vdprintf): Likewise.
45633
d3dfcc41
RM
456342012-05-03 Roland McGrath <roland@hack.frob.com>
45635
45636 * elf/Makefile (common-generated): Set this instead of generated for
45637 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
45638 $(all-built-dso)-derived lists.
45639
7ac30cc5
AJ
456402012-05-03 Andreas Jaeger <aj@suse.de>
45641
0c51e550
AJ
45642 * sysdeps/i386/fpu/libm-test-ulps: Update.
45643
7ac30cc5
AJ
45644 * FAQ: Removed.
45645 * FAQ.in: Likewise.
45646 * scripts/gen-FAQ.pl: Likewise.
45647 * manual/install.texi (Installation): Point to online location of
45648 FAQ.
45649 * Makefile (files-for-dist): Remove FAQ.
45650 (FAQ): Remove.
45651
d4c2917f
AM
456522012-05-02 Allan McRae <allan@archlinux.org>
45653
45654 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
45655 (LDFLAGS-reldepmod5.so): Likewise.
45656 (LDFLAGS-reldep6mod1.so): Likewise.
45657 (LDFLAGS-reldep6mod4.so): Likewise.
45658 (LDFLAGS-reldep8mod3.so): Likewise.
45659 (LDFLAGS-unload4mod1.so): Likewise.
45660 (LDFLAGS-unload4mod2.so): Likewise.
45661 (LDFLAGS-tst-initorder): Likewise.
45662 (LDFLAGS-tst-initordera2.so): Likewise.
45663 (LDFLAGS-tst-initordera3.so): Likewise.
45664 (LDFLAGS-tst-initordera4.so): Likewise.
45665 (LDFLAGS-tst-initorderb2.so): Likewise.
45666 (LDFLAGS-noload): Likewise.
45667 (LDFLAGS-next): Likewise.
45668 (LDFLAGS-order2mod1.so): Likewise.
45669 (LDFLAGS-order2mod2.so): Likewise.
45670 (LDFLAGS-tst-initorder2): Likewise.
45671 (LDFLAGS-tst-initorder2a.so): Likewise.
45672 (LDFLAGS-tst-initorder2b.so): Likewise.
45673 (LDFLAGS-tst-initorder2c.so): Likewise.
45674 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
45675
d77f993f
DM
456762012-05-02 David S. Miller <davem@davemloft.net>
45677
45678 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45679
171a70b4
PP
456802012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
45681
45682 [BZ #14055]
45683 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
45684
0be196ad
AJ
456852012-05-02 Andreas Jaeger <aj@suse.de>
45686
45687 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
45688 since we manipulate rounding mode.
45689 (CPPFLAGS-test-idouble.c): Likewise.
45690 (CPPFLAGS-test-ifloat.c): Likewise.
45691 (CFLAGS-test-ldouble.c): Likewise.
45692 (CFLAGS-test-double.c): Likewise.
45693 (CFLAGS-test-float.c): Likewise.
45694 (CFLAGS-test-misc.c): Likewise.
45695 (CFLAGS-test-test-fenv.c): Likewise.
45696
4f9d04aa
AZ
456972012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45698
2b942cb7
RM
45699 [BZ #2550]
45700 [BZ #2570]
45701 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
45702 comparisons to determine direction to adjust input.
4f9d04aa 45703
82a79e7d
RM
457042012-05-01 Roland McGrath <roland@hack.frob.com>
45705
f5a01ca9
RM
45706 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
45707 output to the target.
45708
90fe4186
RM
45709 * scripts/localplt.awk: New file.
45710 * elf/Makefile ($(objpfx)check-localplt): Target removed.
45711 (check-localplt-CFLAGS): Variable removed.
45712 ($(all-built-dso:=.jmprel)): New static pattern rule.
45713 (generated): Add those targets.
45714 (localplt-built-dso): New variable.
45715 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
45716
45717 * elf/check-localplt.c: File removed.
45718
82397ed6
RM
45719 * scripts/check-execstack.awk: New file.
45720 * elf/Makefile ($(objpfx)check-execstack): Target removed.
45721 (check-execstack-CFLAGS): Variable removed.
45722 ($(objpfx)check-execstack.h): Target removed.
45723 ($(objpfx)execstack-default): New target.
45724 (generated): Add that instead of check-execstack.h.
45725 ($(all-built-dso:=.phdr)): New static pattern rule.
45726 (generated): Add those targets.
45727 * elf/check-execstack.c: File removed.
45728
82a79e7d
RM
45729 * scripts/check-textrel.awk: New file.
45730 * elf/Makefile ($(objpfx)check-textrel): Target removed.
45731 (check-textrel-CFLAGS): Variable removed.
45732 (all-built-dso): Use := to define.o
45733 ($(all-built-dso:=.dyn)): New static pattern rule.
45734 (generated): Add those targets.
45735 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
45736 * config.make.in (READELF): New substituted variable.
45737 * elf/check-textrel.c: File removed.
45738
62fde54f 457392012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 45740
615605c9
JM
45741 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
45742 allow.
45743 * conform/data/ctype.h-data [C99-based standards] (isblank):
45744 Expect function.
45745 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
45746 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
45747 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45748 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
45749 Specify type. Require positive value.
45750 (EILSEQ): Likewise.
45751 (ERANGE): Likewise.
45752 [ISO || POSIX] (EILSEQ): Do not expect.
45753 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
45754 Specify type. Require positive value.
45755 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
45756 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
45757 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
45758 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
45759 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
45760 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
45761 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
45762 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
45763 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
45764 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
45765 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
45766 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
45767 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
45768 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
45769 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
45770 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
45771 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
45772 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
45773 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
45774 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
45775 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
45776 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
45777 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
45778 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
45779 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
45780 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
45781 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
45782 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
45783 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
45784 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
45785 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
45786 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
45787 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
45788 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
45789 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
45790 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
45791 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
45792 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
45793 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
45794 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
45795 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
45796 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
45797 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
45798 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
45799 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
45800 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
45801 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
45802 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
45803 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
45804 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
45805 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
45806 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
45807 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
45808 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
45809 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
45810 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
45811 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
45812 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
45813 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
45814 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
45815 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
45816 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
45817 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
45818 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
45819 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
45820 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
45821 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
45822 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
45823 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
45824 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
45825 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
45826 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
45827 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
45828 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
45829 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
45830 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
45831 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
45832 Require >= 2.
45833 (FLT_ROUNDS): Expect as macro, not constant.
45834 (FLT_MANT_DIG): Use macro-int-constant.
45835 (DBL_MANT_DIG): Likewise.
45836 (LDBL_MANT_DIG): Likewise.
45837 (FLT_DIG): Likewise.
45838 (DBL_DIG): Likewise.
45839 (LDBL_DIG): Likewise.
45840 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
45841 (DBL_MIN_EXP): Likewise.
45842 (LDBL_MIN_EXP): Likewise.
45843 (FLT_MAX_EXP): Use macro-int-constant.
45844 (DBL_MAX_EXP): Likewise.
45845 (LDBL_MAX_EXP): Likewise.
45846 (FLT_MAX_10_EXP): Likewise.
45847 (DBL_MAX_10_EXP): Likewise.
45848 (LDBL_MAX_10_EXP): Likewise.
45849 (FLT_MAX): Use macro-constant.
45850 (DBL_MAX): Likewise.
45851 (LDBL_MAX): Likewise.
45852 (FLT_EPSILON): Use macro-constant. Give upper bound.
45853 (DBL_EPSILON): Likewise.
45854 (LDBL_EPSILON): Likewise.
45855 (FLT_MIN): Likewise.
45856 (DBL_MIN): Likewise.
45857 (LDBL_MIN): Likewise.
45858 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
45859 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
45860 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
45861 [ISO11] (FLT_HAS_SUBNORM): Likewise.
45862 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
45863 [ISO11] (DBL_DECIMAL_DIG): Likewise.
45864 [ISO11] (FLT_DECIMAL_DIG): Likewise.
45865 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
45866 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
45867 [ISO11] (FLT_TRUE_MIN): Likewise.
45868 [ISO11] (LDBL_TRUE_MIN): Likewise.
45869 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45870 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
45871 (SCHAR_MIN): Use macro-int-constant. Specify type.
45872 (SCHAR_MAX): Likewise.
45873 (UCHAR_MAX): Likewise.
45874 (CHAR_MIN): Likewise.
45875 (CHAR_MAX): Likewise.
45876 (MB_LEN_MAX): Use macro-int-constant.
45877 (SHRT_MIN): Use macro-int-constant. Specify type.
45878 (SHRT_MAX): Likewise.
45879 (USHRT_MAX): Likewise.
45880 (INT_MAX): Likewise.
45881 (INT_MIN): Use macro-int-constant. Specify type. Make upper
45882 bound negative.
45883 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
45884 bound with "U".
45885 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45886 bound with "L".
45887 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
45888 bound negative. Suffix upper bound with "L".
45889 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
45890 bound with "UL".
45891 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
45892 Specify type.
45893 [C99-based standards] (LLONG_MAX): Likewise.
45894 [C99-based standards] (ULLONG_MAX): Likewise.
45895 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
45896 == 0.
45897 [ISO11] (max_align_t): Require type.
45898 [ISO || ISO99 || ISO11] (*_t): Do not allow.
45899
c9140a62
JM
45900 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
45901 from $CFLAGS, without defining away __attribute__ calls.
45902 (checknamespace): Use $CFLAGS_namespace.
45903
9af0bf29
JM
45904 * conform/conformtest.pl (@keywords): Only include C99 keywords
45905 for standards based on C99 or C11.
45906
343222a2
JM
45907 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
45908 Disable tests.
45909 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
45910 UNIX98]: Likewise.
45911
661f8cf0
JM
45912 * conform/conformtest.pl: Handle "macro-int-constant" and test for
45913 usability of symbols in #if.
45914
ee74b9cb
JM
45915 * conform/conformtest.pl: If macro or constant types start
45916 "promoted:", expect the symbol to be of the following type
45917 promoted by the integer promotions.
62fde54f 45918
aafc49b3
JM
45919 * conform/conformtest.pl: Parse all "constant" and "macro" lines
45920 in one place. Also handle "macro-constant".
45921
fefdf574
JM
45922 * conform/conformtest.pl: Only accept expected macro values with
45923 "==". Parse all "macro" lines in one place.
45924 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
45925
f2d922fe
JM
45926 * conform/conformtest.pl: Handle braced types on "constant" lines
45927 instead of handling "typed-constant".
45928 * conform/data/signal.h-data: Use "constant" instead of
45929 "typed-constant".
45930
d22956c9
JM
45931 * conform/conformtest.pl: Handle "optional-" at start of lines in
45932 one place rather than duplicating several cases. Handle each
45933 format of "macro" line with initial "optional-".
45934
028e2e38
JM
45935 * conform/conformtest.pl: Only accept expected constant or
45936 optional-constant values with "==". Parse all "constant" lines in
45937 one place. Parse all "optional-constant" lines in one place.
45938 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
45939 * conform/data/fmtmsg.h-data: Likewise.
45940 * conform/data/netinet/in.h-data: Likewise.
45941 * conform/data/tar.h-data: Likewise.
45942 * conform/data/limits.h-data: Use "==" form on "constant" and
45943 "optional-constant" lines.
45944
1b8f2850
JM
45945 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
45946 Use -std=c99 for XOPEN2K.
45947 (@knownproblems): Remove.
45948 (newtoken): Don't check %isknown.
45949
a05a144b
JM
45950 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
45951 Do not expect macro.
45952 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
45953 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
45954 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
45955 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
45956 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
45957 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
45958 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
45959 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
45960 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
45961 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
45962 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
45963 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
45964 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
45965 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
45966 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
45967 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
45968 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
45969 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
45970 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
45971 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
45972 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
45973 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
45974 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
45975 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
45976 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
45977 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
45978 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
45979 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
45980 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
45981 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
45982 [XPG3] (acosh): Likewise.
45983 [XPG3] (asinh): Likewise.
45984 [XPG3] (atanh): Likewise.
45985 [XPG3] (cbrt): Likewise.
45986 [XPG3] (expm1): Likewise.
45987 [XPG3] (ilogb): Likewise.
45988 [XPG3] (log1p): Likewise.
45989 [XPG3] (logb): Likewise.
45990 [XPG3] (nextafter): Likewise.
45991 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
45992 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
45993 [XPG3] (remainder): Likewise.
45994 [XPG3] (rint): Likewise.
45995 [XPG3 || XPG4 || UNIX98] (round): Likewise.
45996 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
45997 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
45998 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
45999 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
46000 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
46001 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
46002 [UNIX98 || XOPEN2K] (scalb): Expect.
46003 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
46004 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
46005 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
46006 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
46007 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
46008 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
46009 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
46010 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
46011 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
46012 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
46013 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
46014 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
46015 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
46016 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
46017 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
46018 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
46019 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
46020 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
46021 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
46022 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
46023 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
46024 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
46025 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
46026 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
46027 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
46028 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
46029 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
46030 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
46031 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
46032 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
46033 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
46034 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
46035 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
46036 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
46037 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
46038 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
46039 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
46040 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
46041 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
46042 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
46043 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
46044 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
46045 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
46046 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
46047 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
46048 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
46049 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
46050 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
46051 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
46052 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
46053 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
46054 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
46055 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
46056 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
46057 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
46058 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
46059 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
46060 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
46061 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
46062 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
46063 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
46064 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
46065 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
46066 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
46067 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
46068 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
46069 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
46070 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
46071 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
46072 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
46073 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
46074 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
46075 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
46076 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
46077 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
46078 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
46079 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
46080 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
46081 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
46082 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
46083 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
46084 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
46085 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
46086 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
46087 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
46088 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
46089 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
46090 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
46091 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
46092 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
46093 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
46094 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
46095 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
46096 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
46097 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
46098 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
46099 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
46100 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
46101 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
46102 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
46103 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
46104 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
46105 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
46106 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
46107 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
46108 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
46109 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
46110 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
46111 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
46112 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
46113 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
46114 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
46115 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
46116 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
46117 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
46118 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
46119 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
46120 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
46121 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
46122 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
46123 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
46124 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
46125 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
46126 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
46127 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
46128 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
46129 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
46130 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
46131 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
46132 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
46133 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
46134 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
46135 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
46136 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
46137 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
46138 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
46139 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
46140
73c5ebe3
JM
46141 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
46142 _XOPEN_SOURCE_EXTENDED for XPG4.
46143
39c33b6c
JM
46144 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
46145
62fde54f
JM
46146 * Makeconfig (localtime): Remove variable.
46147 (inst_localtime-file): Likewise.
46148
0741d64c
AS
461492012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46150
46151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46152 Update.
46153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46154 Update.
46155 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46156 Update.
46157 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46158 Update.
46159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46160 Update.
46161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
46162 Update.
46163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46164 Update.
46165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
46166 Update.
46167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46168 Update.
46169
7cb029ee
JM
461702012-05-01 Joseph Myers <joseph@codesourcery.com>
46171
46172 [BZ #2550]
46173 [BZ #2570]
46174 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
46175 comparisons to determine direction to adjust input.
46176 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
46177 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
46178 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
46179 Likewise.
46180 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
46181 Likewise.
46182 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46183 Likewise.
46184 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
46185 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
46186 Likewise.
46187 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
46188 Likewise.
46189 * math/libm-test.inc (nexttoward_test): Add more tests.
46190
412bd966
AS
461912012-05-01 Andreas Schwab <schwab@linux-m68k.org>
46192
46193 [BZ #14040]
46194 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
46195 in version GLIBC_2.1, not GLIBC_2.0.
46196 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
46197 Likewise.
46198
9568c0c2
JM
461992012-04-30 Joseph Myers <joseph@codesourcery.com>
46200
adfbc8ac
JM
46201 [BZ #13942]
46202 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
46203 (1 - x) * (1 + x).
46204 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46205 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
46206 * math/libm-test.inc (acos_test): Add more tests.
46207 (asin_test): Likewise.
46208 * sysdeps/i386/fpu/libm-test-ulps: Update.
46209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46210
5ba3cc69
JM
46211 [BZ #14034]
46212 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
46213 of square root.
46214 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
46215 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
46216 * math/libm-test.inc (acos_test_tonearest): New function.
46217 (acos_test_towardzero): Likewise.
46218 (acos_test_downward): Likewise.
46219 (acos_test_upward): Likewise.
46220 (asin_test_tonearest): Likewise.
46221 (asin_test_towardzero): Likewise.
46222 (asin_test_downward): Likewise.
46223 (asin_test_upward): Likewise.
46224 (main): Call the new functions.
46225 * sysdeps/i386/fpu/libm-test-ulps: Update.
46226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46227
9568c0c2
JM
46228 [BZ #13884]
46229 [BZ #13924]
46230 * math/e_exp10.c: Include <float.h>.
46231 (__ieee754_exp10): Handle underflow here rather than multiplying
46232 large negative argument by M_LN10.
46233 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
46234 of __ieee754_expf.
46235 * math/e_exp10l.c: Include <float.h>.
46236 (__ieee754_exp10l): Handle underflow here rather than multiplying
46237 large negative argument by M_LN10l.
46238 * math/libm-test.inc (exp10_test): Add another test. Do not allow
46239 spurious overflow exception on underflow.
46240
5ac3ea17
MP
462412012-04-29 Marek Polacek <polacek@redhat.com>
46242
46243 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
46244 (__fortify_function): New macro.
46245 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
46246 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
46247 __extern_always_inline.
46248 * libio/bits/stdio2.h: Likewise.
46249 * libio/bits/stdio.h: Likewise.
46250 * string/string.h: Likewise.
46251 * string/bits/string3.h: Likewise.
46252 * include/stdio.h: Likewise.
46253 * stdlib/bits/stdlib.h: Likewise.
46254 * stdlib/stdlib.h: Likewise.
46255 * rt/bits/mqueue2.h: Likewise.
46256 * rt/mqueue.h: Likewise.
46257 * posix/bits/unistd.h: Likewise.
46258 * posix/unistd.h: Likewise.
46259 * io/bits/poll2.h: Likewise.
46260 * io/bits/fcntl2.h: Likewise.
46261 * io/fcntl.h: Likewise.
46262 * io/sys/poll.h: Likewise.
46263 * misc/bits/syslog.h: Likewise.
46264 * misc/bits/syslog-ldbl.h: Likewise.
46265 * misc/sys/syslog.h: Likewise.
46266 * socket/bits/socket2.h: Likewise.
46267 * socket/sys/socket.h: Likewise.
46268 * debug/tst-chk1.c: Likewise.
46269 * wcsmbs/bits/wchar2.h: Likewise.
46270 * wcsmbs/bits/wchar-ldbl.h: Likewise.
46271 * wcsmbs/wchar.h: Likewise.
46272
ecf0ebfb
AJ
462732012-04-29 Andreas Jaeger <aj@suse.de>
46274
46275 * Makerules (tests): Remove enable-check-abi protection.
46276 (check-abi-warn): Remove.
46277 (check-abi-%): Remove check-abi-warn usage.
46278
46279 * configure.in: Remove check-abi configure option.
46280 * configure: Regenerated.
46281 * config.make.in (enable-check-abi): Remove.
46282
6d5c57fa
AS
462832012-04-28 Andreas Schwab <schwab@linux-m68k.org>
46284
24c5d07e 46285 [BZ #14033]
ded5180a
AS
46286 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
46287 double functions to double *_finite functions.
46288
7e0d315d
AS
46289 [BZ #13941]
46290 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
46291 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
46292 LDBL_MIN_EXP.
46293 * stdio-common/Makefile (tests): Add tst-sprintf3.
46294 * stdio-common/tst-sprintf3.c: New file.
46295
6d5c57fa
AS
46296 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
46297 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
46298
0749ff8b
JM
462992012-04-28 Joseph Myers <joseph@codesourcery.com>
46300
46301 * conform/conformtest.pl: Remove duplicate typed-constant
46302 handling.
46303
8dbd5d7b
DM
463042012-04-28 David S. Miller <davem@davemloft.net>
46305
46306 * Makerules (%.abilist): Add vpath on sysdep_dirs.
46307 (check-abi-%): Remove AWK script prerequisite and explicit
46308 abilist directory.
46309 (check-abi): Rewrite to just diff the symlist with the abilist.
46310 (config-tls, config-abi-config): Delete, no longer used.
46311 (update-abi-%): Remove AWK script and explicit abilist directory.
46312 (update-abi): Rewrite to simply compare and conditionally copy the
46313 symlist and the sysdep abilist file. Remove update-abi-config
46314 checks.
46315 * abilist/ld.abilist: Remove.
46316 * abilist/libBrokenLocale.abilist: Remove.
46317 * abilist/libanl.abilist: Remove.
46318 * abilist/libcrypt.abilist: Remove.
46319 * abilist/libdl.abilist: Remove.
46320 * abilist/librt.abilist: Remove.
46321 * abilist/libthread_db.abilist: Remove.
46322 * abilist/libutil.abilist: Remove.
46323 * scripts/extract-abilist.awk: Remove.
46324 * scripts/merge-abilist.awk: Remove.
46325 * sysdeps/generic/libcidn.abilist: New file.
46326 * sysdeps/generic/libnss_compat.abilist: New file.
46327 * sysdeps/generic/libnss_db.abilist: New file.
46328 * sysdeps/generic/libnss_dns.abilist: New file.
46329 * sysdeps/generic/libnss_files.abilist: New file.
46330 * sysdeps/generic/libnss_hesiod.abilist: New file.
46331 * sysdeps/generic/libnss_nis.abilist: New file.
46332 * sysdeps/generic/libnss_nisplus.abilist: New file.
46333 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
46334 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
46335 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
46336 file.
46337 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
46338 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
46339 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
46340 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
46341 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
46342 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
46343 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
46344 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
46345 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
46346 file.
46347 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
46348 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
46349 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
46350 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
46351 file.
46352 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
46353 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
46354 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
46355 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
46356 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
46357 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
46358 file.
46359 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
46360 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
46361 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
46362 file.
46363 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
46364 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
46365 New file.
46366 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
46367 New file.
46368 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
46369 New file.
46370 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
46371 New file.
46372 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
46373 New file.
46374 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
46375 New file.
46376 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
46377 New file.
46378 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
46379 New file.
46380 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
46381 New file.
46382 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
46383 New file.
46384 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
46385 New file.
46386 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
46387 New file.
46388 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
46389 New file.
46390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
46391 file.
46392 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46393 New file.
46394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46395 New file.
46396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
46397 file.
46398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46399 New file.
46400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46401 New file.
46402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
46403 file.
46404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46405 New file.
46406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46407 New file.
46408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46409 New file.
46410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46411 New file.
46412 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46413 New file.
46414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46415 New file.
46416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
46417 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
46418 file.
46419 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
46420 New file.
46421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
46422 file.
46423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
46424 file.
46425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
46426 file.
46427 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
46428 file.
46429 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
46430 file.
46431 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
46432 New file.
46433 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
46434 file.
46435 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
46436 file.
46437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
46438 New file.
46439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
46440 file.
46441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
46442 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
46443 file.
46444 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
46445 New file.
46446 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
46447 file.
46448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
46449 file.
46450 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
46451 file.
46452 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
46453 file.
46454 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
46455 file.
46456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
46457 New file.
46458 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
46459 file.
46460 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
46461 file.
46462 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
46463 New file.
46464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
46465 file.
46466 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
46467 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
46468 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
46469 file.
46470 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
46471 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
46472 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
46473 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
46474 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
46475 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
46476 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
46477 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
46478 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
46479 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
46480 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
46481 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
46482 file.
46483 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
46484 New file.
46485 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
46486 file.
46487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
46488 file.
46489 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
46490 file.
46491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
46492 file.
46493 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
46494 file.
46495 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
46496 New file.
46497 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
46498 New file.
46499 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
46500 file.
46501 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
46502 New file.
46503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
46504 file.
46505 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
46506 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
46507 file.
46508 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46509 New file.
46510 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
46511 file.
46512 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
46513 file.
46514 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
46515 file.
46516 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
46517 file.
46518 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
46519 file.
46520 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46521 New file.
46522 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46523 New file.
46524 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
46525 file.
46526 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46527 New file.
46528 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
46529 file.
46530
41d73a1b
JM
465312012-04-28 Joseph Myers <joseph@codesourcery.com>
46532
46533 * conform/conformtest.pl: Fix typo in handling typed-constant from
46534 allow-header.
46535
28aeeda4
JM
465362012-04-27 Joseph Myers <joseph@codesourcery.com>
46537
adae8f5e
JM
46538 * README: Cut down references to pre-2.6 Linux kernels and
46539 Linuxthreads. Update lists of configurations in libc and ports
46540 and sort alphabetically. Say "or newer" with Linux kernel version
46541 requirements.
46542
28aeeda4
JM
46543 * config.h.in [IS_IN_build]: Allow compiling without optimization.
46544
a462cb63
RA
465452012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
46546
46547 [BZ #887]
46548 * math/libm-test.inc (logb_test_downward): New test to expose
46549 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
46550 rounding mode.
46551
6ad3493e
JM
465522012-04-27 Joseph Myers <joseph@codesourcery.com>
46553
46554 [BZ #14027]
46555 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
46556 to be done.
46557 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
46558 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
46559
2ce4f015
JM
465602012-04-26 Joseph Myers <joseph@codesourcery.com>
46561
5aeb141a
JM
46562 * sysdeps/unix/i386/brk.S: Remove file.
46563 * sysdeps/unix/i386/dl-brk.S: Likewise.
46564 * sysdeps/unix/i386/pipe.S: Likewise.
46565 * sysdeps/unix/i386/sigreturn.S: Likewise.
46566 * sysdeps/unix/i386/syscall.S: Likewise.
46567 * sysdeps/unix/i386/vfork.S: Likewise.
46568 * sysdeps/unix/i386/wait.S: Likewise.
46569
7143acae
JM
46570 * sysdeps/unix/common/tcsendbrk.c: Move to ...
46571 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
46572
2ce4f015
JM
46573 * configure.in (arm*-none*): Do not allow without
46574 --enable-hacker-mode.
46575 (netbsd*): Remove case setting base_os.
46576 (386bsd*): Likewise.
46577 (freebsd*): Likewise.
46578 (bsdi*): Likewise.
46579 (osf*): Likewise.
46580 (sunos*): Likewise.
46581 (ultrix*): Likewise.
46582 (newsos*): Likewise.
46583 (dynix*): Likewise.
46584 (*bsd*): Likewise.
46585 (sysv*): Likewise.
46586 (isc*): Likewise.
46587 (esix*): Likewise.
46588 (sco*): Likewise.
46589 (minix*): Likewise.
46590 (irix4*): Likewise.
46591 (irix6*): Likewise.
46592 (solaris[2-9]*): Likewise.
46593 (none): Likewise.
46594 * configure: Regenerated.
46595
0ac229c8
AZ
465962012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46597
46598 [BZ #11521]
46599 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
46600 overflow or cancellation in calculating denominator.
46601 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
46602 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
46603 down expression to avoid unexpected rounding in newer GCCs.
46604 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
46605
33f244f4
DM
466062012-04-26 David S. Miller <davem@davemloft.net>
46607
46608 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
46609 long-double compat symbols.
46610 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46613 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
46614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
46616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
46617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
46618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
46619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
46620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
46621 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
46622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46623
cfa1f3e8
DM
466242012-04-25 David S. Miller <davem@davemloft.net>
46625
46626 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
46627 HWCAP_* values only after the memory barriers have been defined.
46628 (atomic_full_barrier): Define.
46629 (atomic_read_barrier): Define.
46630 (atomic_write_barrier): Define.
46631
6e236b92
SP
466322012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
46633
46634 * shlib-versions: Add libgcc_s version information.
46635 * sysdeps/generic/libgcc_s.h: Remove.
46636 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
46637 libgcc_s.h.
46638 * sysdeps/gnu/unwind-resume.c: Likewise.
46639 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
46640
aab39a09
DM
466412012-04-25 David S. Miller <davem@davemloft.net>
46642
46643 * sysdeps/unix/sparc/brk.S: Delete.
46644 * sysdeps/unix/sparc/dl-brk.S: Delete.
46645 * sysdeps/unix/sparc/pipe.S: Delete.
46646 * sysdeps/unix/sparc/sysdep.S: Delete.
46647 * sysdeps/unix/sparc/sysdep.h: Delete.
46648 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
46649 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
46650 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
46651 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
46652 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
46653 (JUMPTARGET): Remove.
46654 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
46655 sysdeps/unix/sparc/sysdep.h
46656 (ENTRY, END): Remove.
46657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46658
a3cc4f48
JM
466592012-04-25 Joseph Myers <joseph@codesourcery.com>
46660
2ed8cda2
JM
46661 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
46662 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
46663 -DIS_IN_build.
46664
35d76d59
JM
46665 * timezone/README: Update upstream location and email address for
46666 tzcode and tzdata.
46667 * timezone/zdump.c: Update from tzcode 2012b.
46668 * timezone/zic.c: Likewise.
46669
a3cc4f48
JM
46670 * configure.in (libc_cv_as_needed): Remove test.
46671 * configure: Regenerated.
46672 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
46673 conditional definition.
46674 [$(have-as-needed) != yes] (no-as-needed): Likewise.
46675 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
46676 * config.make.in (have-as-needed): Remove variable.
46677
ceab42c3
SP
466782012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
46679 Paul Pluzhnikov <ppluzhnikov@google.com>
46680
46681 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
46682 strings correctly.
46683
3ce2865f
CLT
466842012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
46685
46686 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
46687 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
46688 * sysdeps/sh/strlen.S: Likewise.
46689
f37e0d68
JM
466902012-04-24 Joseph Myers <joseph@codesourcery.com>
46691
ae186e9a
JM
46692 * sysdeps/unix/fork.S: Remove file.
46693 * sysdeps/unix/i386/fork.S: Likewise.
46694 * sysdeps/unix/sparc/fork.S: Likewise.
46695
b96914af
JM
46696 * sysdeps/unix/system.c: Remove file.
46697 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
46698
f37e0d68
JM
46699 * sysdeps/unix/getegid.S: Remove file.
46700 * sysdeps/unix/geteuid.S: Likewise.
46701
87ef29ca
RM
467022012-04-24 Roland McGrath <roland@hack.frob.com>
46703
83bcd236
RM
46704 * scripts/check-localplt.awk: New file.
46705 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
46706 of diff.
46707 * scripts/data/localplt-generic.data: Add a comment.
46708
87ef29ca
RM
46709 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
46710 NODE when __dir_mkfile failed.
46711 * sysdeps/mach/hurd/symlinkat.c: Likewise.
46712 Reported by Ludovic Courtès <ludo@gnu.org>.
46713
e5a6e567
AJ
467142012-04-24 Andreas Jaeger <aj@suse.de>
46715
46716 * Makerules (common-clean): Also remove gen-as-const-headers
46717 files.
46718
c1820385
JM
467192012-04-24 Joseph Myers <joseph@codesourcery.com>
46720
46721 * Makerules (native-compile): Do not change working directory for
46722 build. Use $(OUTPUT_OPTION) in command.
46723 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
46724
94e02fc4
AZ
467252012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46726
46727 [BZ #13886]
46728 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
46729 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
46730 * math/libm-test.inc (floor_test): Add more tests.
46731 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
46732
3a533ca3
JM
467332012-04-24 Joseph Myers <joseph@codesourcery.com>
46734
940ab4b3
JM
46735 * sysdeps/unix/getdents.c: Remove file.
46736 * sysdeps/unix/sysv/getdents.c: Likewise.
46737 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
46738
90e037bd
JM
46739 * sysdeps/unix/syscalls.list (madvise): Add syscall from
46740 sysdeps/unix/mman/syscalls.list.
46741 (mmap): Likewise.
46742 (mprotect): Likewise.
46743 (msync): Likewise.
46744 (munmap): Likewise.
46745 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
46746 * sysdeps/unix/mman/syscalls.list: Remove.
46747 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
46748
3a533ca3
JM
46749 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
46750 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
46751 * configure: Regenerated.
46752 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
46753 $(libgcc_s_suffix).
46754 * config.make.in (libgcc_s_suffix): Remove variable.
46755
1ad743de
JM
467562012-04-23 Joseph Myers <joseph@codesourcery.com>
46757
4ad451e2
JM
46758 * sysdeps/unix/sysv/gethostname.c: Move to ...
46759 * sysdeps/posix/gethostname.c: ... here.
46760
5e37ce39
JM
46761 * sysdeps/unix/execve.S: Remove file.
46762
1ad743de
JM
46763 * sysdeps/unix/_exit.S: Remove file.
46764
4e681b5b
AJ
467652012-04-23 Andreas Jaeger <aj@suse.de>
46766
46767 [BZ #13739]
46768 * manual/Makefile: Remove make dist support, there's no
46769 need for a stand-alone documentation tar ball.
46770 (TEXI2DVI): Define always, it's not in Makeconfig.
46771 (dist): Removed.
46772 (tar-it): Removed.
46773 (edition): Removed.
46774 (glibc-doc-$(edition).tar): Removed
46775 (%.Z): Removed.
46776 (%.gz): Removed.
46777 (%.uu): Removed.
46778 (ETAGS): Remove, it's in Makeconfig.
46779 (move-if-change): Remove, it's in Makeconfig.
46780
38686a03 467812012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
46782
46783 [BZ #13970]
46784 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
46785 (strtod, strtof, strtold, strtol, strtoul, strtoq)
46786 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
46787 (strtod_l, strtof_l, strtold_l): Remove __wur.
46788 It is not necessarily an error to ignore strtol's return value.
46789 One can reliably look at the stored endptr to decide whether
46790 the number had valid syntax.
46791
7c0616fa
AJ
467922012-04-21 Andreas Jaeger <aj@suse.de>
46793
803cb6b7 46794 [BZ #13739]
7c0616fa
AJ
46795 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
46796
b0fe253f
JM
467972012-04-21 Joseph Myers <joseph@codesourcery.com>
46798
46799 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
46800 * sysdeps/unix/sysv/Versions: Remove file.
46801
8280f22d
MT
468022012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
46803
46804 [BZ #13927]
46805 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46806
75ce411f 468072012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
46808
46809 [BZ #7064]
46810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
46811 version from __vm86.
46812
097d59fa
JM
468132012-04-20 Joseph Myers <joseph@codesourcery.com>
46814
a90f3bcb
JM
46815 * sysdeps/unix/common/lxstat.c: Remove file.
46816 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
46817
edc7ea78
JM
46818 * sysdeps/unix/sysv/Makefile: Remove file.
46819
cb78c221
JM
46820 * sysdeps/unix/sysv/direct.h: Remove file.
46821
efa6a45f
JM
46822 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
46823 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
46824 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
46825 * sysdeps/unix/sysv/bits/signum.h: Likewise.
46826 * sysdeps/unix/sysv/bits/stat.h: Likewise.
46827 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
46828 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
46829
9c9f2d0c
JM
46830 * sysdeps/unix/sysv/setrlimit.c: Remove file.
46831
4541c83b
JM
46832 * sysdeps/unix/xmknod.c: Remove file.
46833 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
46834
f5d153a0
JM
46835 * sysdeps/unix/sysv/settimeofday.c: Remove file.
46836
aa746595
JM
46837 * sysdeps/unix/sysv/i386/time.S: Remove file.
46838
cce5905e
JM
46839 * sysdeps/unix/fxstat.c: Remove file.
46840 * sysdeps/unix/xstat.c: Likewise.
46841 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
46842
37fa3841
JM
46843 * sysdeps/unix/sysv/sigaction.c: Remove file.
46844
ff1962a3
JM
46845 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
46846 (sysdep_headers): Remove variable.
46847 [termio.h not in sysdep_headers] (generated): Likewise.
46848 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
46849 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
46850 * sysdeps/unix/sysv/tcdrain.c: Likewise.
46851 * sysdeps/unix/sysv/tcflow.c: Likewise.
46852 * sysdeps/unix/sysv/tcflush.c: Likewise.
46853 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
46854 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
46855 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
46856 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
46857 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
46858
e7740d31
JM
46859 * sysdeps/unix/siglist.c: Remove file.
46860
ee06f18b
JM
46861 * sysdeps/unix/getppid.S: Remove file.
46862
097d59fa
JM
46863 * sysdeps/unix/mkdir.c: Remove file.
46864 * sysdeps/unix/rmdir.c: Likewise.
46865
ff3d51ec
AS
468662012-04-19 Andreas Schwab <schwab@linux-m68k.org>
46867
46868 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
46869 ERR_MAX value.
46870 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
46871 errlist-compat value.
46872
50f81fd7
DM
468732012-04-18 David S. Miller <davem@davemloft.net>
46874
46875 * sysdeps/generic/memcopy.h (reg_char): Delete.
46876 * debug/strcat_chk.c: Use char, not reg_char.
46877 * debug/strcpy_chk.c: Likewise.
46878 * debug/strncat_chk.c: Likewise.
46879 * debug/strncpy_chk.c: Likewise.
46880 * string/memchr.c: Likewise.
46881 * string/memrchr.c: Likewise.
46882 * string/rawmemchr.c: Likewise.
46883 * string/strcat.c: Likewise.
46884 * string/strchr.c: Likewise.
46885 * string/strchrnul.c: Likewise.
46886 * string/strcmp.c: Likewise.
46887 * string/strcpy.c: Likewise.
46888 * string/strncat.c: Likewise.
46889 * string/strncmp.c: Likewise.
46890 * string/strncpy.c: Likewise.
46891
8ff41c46
WS
468922012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46893
46894 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
46895 __builtin_memcopy is called when src and dest ranges are known to not
46896 overlap.
46897
6b652f46
WS
468982012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46899
46900 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
46901 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
46902 fwd_align_merge macro call.
46903 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
46904 bwd_align_merge macro call.
46905 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46906
b282631e
WS
469072012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
46908
46909 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
46910 bwd_align_merge macros.
46911 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
46912 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
46913 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
46914
95aa737c
DM
469152012-04-18 David S. Miller <davem@davemloft.net>
46916
46917 * sysdeps/sparc/sparc64/memcopy.h: Delete.
46918
7a99a614
AJ
469192012-04-18 Andreas Jaeger <aj@suse.de>
46920
46921 [BZ# 6794]
46922 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
46923 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
46924 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46925
46926 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
46927 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
46928 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46929
46930 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
46931 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
46932 Adjust for changed ldbl-128 files.
46933
46934 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
46935 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
46936 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
46937
e5270c23
DM
469382012-04-17 David S. Miller <davem@davemloft.net>
46939
46940 * sysdeps/sparc/sparc32/memcopy.h: Delete.
46941
fb5e92c9
AS
469422012-04-17 Andreas Schwab <schwab@linux-m68k.org>
46943
46944 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
46945 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
46946 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
46947 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
46948 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
46949 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
46950
76da7265
AZ
469512012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46952
46953 [BZ #6794]
46954 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
46955 * math/libm-test.inc: Add ilogb errno and exception tests.
46956 * math/w_ilogb.c: New file: ilogb wrapper.
46957 * math/w_ilogbf.c: New file: ilogbf wrapper.
46958 * math/w_ilogbl.c: New file: ilogbl wrapper.
46959 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
46960 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
46961 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
46962 exception being thrown with 0.0 as argument.
46963 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
46964 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
46965 exception being thrown with 0.0 as argument.
46966 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
46967 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46968 exception being thrown with 0.0 as argument.
46969 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
46970 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
46971 exception being thrown with 0.0 as argument.
46972 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
46973 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 46974 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
46975 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
46976 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
46977 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
46978 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
46979 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
46980 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
46981
0396e69d
PB
469822012-04-17 Petr Baudis <pasky@ucw.cz>
46983
46984 * include/sys/uio.h: Change __vector to __iovec to avoid clash
46985 with altivec.
46986
750b5926
MP
469872012-04-16 Marek Polacek <polacek@redhat.com>
46988
46989 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
46990
751728a1
MP
469912012-04-16 Marek Polacek <polacek@redhat.com>
46992
46993 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
46994 operands of fdivp instruction.
46995
34a27407
L
469962012-04-13 H.J. Lu <hongjiu.lu@intel.com>
46997
46998 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
46999 * elf/tst-auditmod3b.c: Likewise.
47000 * elf/tst-auditmod4b.c: Likewise.
47001 * elf/tst-auditmod5b.c: Likewise.
47002 * elf/tst-auditmod6b.c: Likewise.
47003 * elf/tst-auditmod6c.c: Likewise.
47004 * elf/tst-auditmod7b.c: Likewise.
47005 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
47006 * sysdeps/x86_64/preconfigure.in: Likewise.
47007 * sysdeps/x86_64/preconfigure: Regenerated.
47008
7e73e17d
L
470092012-04-13 H.J. Lu <hongjiu.lu@intel.com>
47010
47011 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
47012 __ILP32__.
47013
c7a6ab72
AB
470142012-04-13 Antoine Balestrat <merkil33@gmail.com>
47015
47016 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47017 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
47018
a9e8e0e0
CL
470192012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
47020
47021 [BZ #13973]
47022 * locale/iso-639.def: Fix gl language name. Spotted by
47023 Yaron Shahrabani.
47024
ec98af7d
RM
470252012-04-12 Roland McGrath <roland@hack.frob.com>
47026
47027 [BZ #2074]
47028 * libio/libio.h (__io_write_fn): Update comment.
47029
247c3ede
PB
470302012-04-12 Petr Baudis <pasky@ucw.cz>
47031
47032 [BZ #2074]
47033 * stdio.texi (Hook Functions): The user provided writer function
47034 is not allowed to return -1.
47035
55939d6d
DM
470362012-04-11 David S. Miller <davem@davemloft.net>
47037
47038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47039
90020f5a
MF
470402012-04-11 Mike Frysinger <vapier@gentoo.org>
47041
47042 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
47043 Add a leading slash to rtkaio.
47044
288f9098
JM
470452012-04-11 Jim Meyering <meyering@redhat.com>
47046
90020f5a
MF
47047 [BZ #11959]
47048 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
47049 It is not necessarily an error to ignore fwrite's return
47050 value. One can reliably use ferror to test for errors after
47051 the fact.
288f9098 47052
4be2b570
L
470532012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47054
47055 * bits/types.h (__snseconds_t): New type.
47056 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
47057
47058 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
47059 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
47060 (__SNSECONDS_T_TYPE): Likewise.
47061 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
47062 (__SNSECONDS_T_TYPE): Likewise.
47063 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
47064 (__SNSECONDS_T_TYPE): Likewise.
47065
288f9098 470662012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
47067
47068 [BZ #2636]
47069 * manual/time.texi (Processor Time): Return type of times is
47070 elapsed real time since an arbitrary point in the past.
47071 (CPU Time): Move CLK_TCK from here...
47072 (Processor Time): ...to here. Correct description.
47073 * manual/conf.texi (Constants for Sysconf): Correct description of
47074 _SC_CLK_TCK.
47075
d7dd4413
DM
470762012-04-10 David S. Miller <davem@davemloft.net>
47077
47078 [BZ #13967]
47079 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
47080 where the is a gap between DT_REL(A) and DT_JMPREL.
47081
b46068fc
L
470822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
47083
47084 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
47085 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47086 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47087
73d65cc3
SP
470882012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
47089
47090 * elf/dl-support.c (_dl_inhibit_cache): New variable.
47091 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
47092 (dl_main): Handle --inhibit-cache.
47093 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
47094 _dl_inhibit_cache.
47095 * elf/dl-load.c (_dl_map_object): Use it.
47096 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
47097
bcc8d661
JM
470982012-04-09 Joseph Myers <joseph@codesourcery.com>
47099
8f9a2fae
JM
47100 [BZ #13872]
47101 * sysdeps/i386/fpu/e_powl.S (p78): New object.
47102 (__ieee754_powl): Saturate large exponents rather than testing for
47103 overflow of y*log2(x).
47104 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47105 * math/libm-test.inc (pow_test): Do not permit spurious overflow
47106 exceptions.
47107
bcc8d661
JM
47108 [BZ #11521]
47109 * math/s_ctan.c: Include <float.h>.
47110 (__ctan): Avoid internal overflow or cancellation in calculating
47111 denominator.
47112 * math/s_ctanf.c: Likewise.
47113 * math/s_ctanl.c: Likewise.
47114 * math/s_ctanh.c: Likewise.
47115 * math/s_ctanhf.c: Likewise.
47116 * math/s_ctanhl.c: Likewise.
47117 * math/libm-test.inc (ctan_test): Add more tests.
47118 (ctanh_test): Likewise.
47119 * sysdeps/i386/fpu/libm-test-ulps: Update.
47120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47121
823fbbb4
AJ
471222012-04-09 Andreas Jaeger <aj@suse.de>
47123
03879793
AJ
47124 [BZ #6894]
47125 * manual/filesys.texi (Directory Entries): Mention that d_namlen
47126 is an optional BSD extension.
47127
823fbbb4
AJ
47128 [BZ #10254]
47129 * manual/stdio.texi (Opening Streams): Document additional fopen
47130 parameters.
47131
8de131cb
RM
471322012-04-09 Roland McGrath <roland@hack.frob.com>
47133
47134 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
47135 %eax without telling the compiler.
47136
c0ed9d7d
CD
471372012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
47138
47139 [BZ # 13963]
47140 * manual/install.texi: Use sourceware.org.
47141
c483f6b4
JM
471422012-04-09 Joseph Myers <joseph@codesourcery.com>
47143
d7dd9453
JM
47144 [BZ #13873]
47145 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
47146 (__ieee754_pow): Generate overflow and underflow using huge*huge
47147 and tiny*tiny rather than just returning constant infinity or zero
47148 for large exponents.
47149 * math/libm-test.inc (pow_test): Require overflow exceptions for
47150 applicable cases of large exponents.
47151
c483f6b4
JM
47152 [BZ #706]
47153 * sysdeps/i386/fpu/e_pow.S (p10): New object.
47154 (__ieee754_pow): Use iterative multiplication algorithm only for
47155 integer exponents with absolute value below 1024. Check for odd
47156 integer exponents when using algorithm for real exponents.
47157 * math/libm-test.inc (pow_test): Add more tests.
47158 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47159
d2de7579
JM
471602012-04-08 Joseph Myers <joseph@codesourcery.com>
47161
47162 [BZ #13705]
47163 * math/libm-test.inc (exp_test): Do not allow overflow exception
47164 on underflow test.
47165
f77f1232
AJ
471662012-04-08 Aurelien Jarno <aurelien@aurel32.net>
47167
47168 [BZ #13705]
47169 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
47170 instead of __kernel_standard_f.
47171
3884932b
MF
471722012-04-08 Mike Frysinger <vapier@gentoo.org>
47173
47174 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
47175 * sysdeps/x86_64/memset_chk.S: Likewise.
47176
54472e9c
AJ
471772012-04-08 Andreas Jaeger <aj@suse.de>
47178
6ab0fbfc
AJ
47179 [BZ #10153]
47180 * manual/startup.texi (Environment Access): Describe return value
47181 for putenv and setenv.
47182
61efba8c
AJ
47183 [BZ #6895]
47184 * manual/filesys.texi (Directory Entries): Add description for
47185 DT_LNK.
47186
95c3f29a
AJ
47187 [BZ #6890]
47188 * manual/filesys.texi (Directory Entries): Clarify that it's file
47189 system not operating system in the description of DT_UNKNOWN.
47190
54472e9c
AJ
47191 [BZ #6578]
47192 * manual/syslog.texi (closelog): Fix reference, it's openlog.
47193
624254b1
SC
471942012-04-08 Stephen Compall <s11@member.fsf.org>
47195
47196 [BZ #6649]
47197 * manual/llio.texi (Opening and Closing Files): Add cross
47198 reference to explain mode argument.
47199
1e4920e0
MF
472002012-04-07 Mike Frysinger <vapier@gentoo.org>
47201
47202 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
47203 * sysdeps/x86_64/memset_chk.S: Likewise.
47204
5ed848f3
DM
472052012-04-07 David S. Miller <davem@davemloft.net>
47206
47207 * elf/elf.h (R_SPARC_WDISP10): Define.
47208 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
47209 R_SPARC_SIZE32.
47210 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
47211 R_SPARC_SIZE64 and R_SPARC_H34.
47212
96154cd8
CD
472132012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
47214
47215 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
47216 conditions and remove no longer applicable assertion.
47217
9904dc47
L
472182012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47219
47220 * bits/byteswap.h: Include <features.h>.
47221 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
47222 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
47223
f8887d0a
L
472242012-04-06 H.J. Lu <hongjiu.lu@intel.com>
47225
47226 * bits/byteswap.h (__bswap_16): Removed.
47227 Include <bits/byteswap-16.h> to get __bswap_16.
47228 * sysdeps/i386/bits/byteswap.h: Likewise.
47229 * sysdeps/s390/bits/byteswap.h: Likewise.
47230 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47231 * bits/byteswap-16.h: New file.
47232 * sysdeps/i386/bits/byteswap-16.h: Likewise.
47233 * sysdeps/s390/bits/byteswap-16.h: Likewise.
47234 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
47235 * string/Makefile (headers): Add bits/byteswap-16.h.
47236
62470f60
PP
472372012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
47238
47239 [BZ #13895]
47240 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
47241 extra indirection.
47242 * nss/Makefile (tests-static, tests): Add tst-nss-static.
47243 * nss/tst-nss-static.c: New.
47244
4dad7bab
RM
472452012-04-06 Robert Millan <rmh@gnu.org>
47246
47247 [BZ #6486]
47248 * manual/llio.texi (File Position Primitive): lseek
47249 refers to WHENCE when it really means OFFSET.
47250
e9142a17
AJ
472512012-04-06 Andreas Jaeger <aj@suse.de>
47252
2c040eff
AJ
47253 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
47254 strncmp declarations.
47255
e9142a17
AJ
47256 * abilist/libc.abilist: Add __poll and __ppoll.
47257
ff9f1c5f
DM
472582012-04-05 David S. Miller <davem@davemloft.net>
47259
dcd2ae90
DM
47260 * scripts/check-local-headers.sh: Accept a host triplet in the
47261 path matched by the exclude regexp.
47262
993eb054
DM
47263 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
47264 definition.
47265 * sysdeps/powerpc/powerpc32/dl-machine.h
47266 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
47267 * sysdeps/s390/s390-32/dl-machine.h
47268 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47269 * sysdeps/sparc/sparc32/dl-machine.h
47270 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47271 * sysdeps/sparc/sparc64/dl-machine.h
47272 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
47273
ff9f1c5f
DM
47274 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
47275 lazy binding.
48e2e132 47276 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
47277 undefined symbol errors.
47278
48e2e132 47279 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
47280 DT_NEEDED entries.
47281
e80d6f94
MM
472822012-04-05 Michael Matz <matz@suse.de>
47283
47284 [BZ #13592]
47285 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
47286
349fa79f
AJ
472872012-04-05 Andreas Jaeger <aj@suse.de>
47288
47289 [BZ #13908]
47290 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
47291 comment.
47292
f402708f
KK
472932012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47294
47295 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
47296 which ROUND is no valid rounding mode.
47297
2ecccfc9
KK
472982012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47299
47300 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
47301 read again.
47302 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
47303
8a53f50f
KK
473042012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47305
47306 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
47307 an exception using FPU order intentionally.
47308
473092012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
47310
47311 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
47312 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
47313 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
47314 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
47315
d653abb7
SJ
473162012-04-05 Simon Josefsson <simon@josefsson.org>
47317
47318 [BZ #12340]
47319 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
47320 EINVAL when BUFLEN is too smal.
47321
c3b1bf7d
TS
473222012-04-05 Thomas Schwinge <thomas@codesourcery.com>
47323
47324 [BZ #13553]
47325 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
47326 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
47327
b1aa60f3
AJ
473282012-04-03 Andreas Jaeger <aj@suse.de>
47329
c3b1bf7d 47330 [BZ #13938]
67f60a26
AJ
47331 * manual/setjmp.texi (System V contexts): Fix sentence.
47332
b1aa60f3
AJ
47333 [BZ #13926]
47334 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
47335 New macro for this case.
47336 [!__GNUC__] (__bswap_64): New inline function for this case.
47337 * sysdeps/x86_64/bits/byteswap.h: Likewise.
47338 * bits/byteswap.h: Likewise.
47339 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
47340 ull, guard with __GLIBC_HAVE_LONG_LONG.
47341
47342 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
47343 __GLIBC_HAVE_LONG_LONG.
47344
47345 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
47346 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
47347
39c59c35
TMQMF
473482012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
47349
47350 [BZ #13691]
47351 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
47352 inptr and inend, rather than using last_ch.
47353
135ffda8
DM
473542012-04-02 David S. Miller <davem@davemloft.net>
47355
47356 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
47357 * stdio-common/printf-parse.h (read_int): Change return type to
47358 'int', return -1 on INT_MAX overflow.
47359 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
47360 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
47361 overflows INT_MAX. Check for overflow of in-format-string precision
47362 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
47363 SIZE_MAX not INT_MAX for integer overflow test.
47364 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
47365 skip the construct in the format string but do not record anything.
47366 * stdio-common/bug22.c: Adjust to test both width/prevision
47367 INT_MAX overflow as well as total length INT_MAX overflow. Check
47368 explicitly for proper errno values.
47369
228c019e
TS
473702012-04-02 Thomas Schwinge <thomas@codesourcery.com>
47371
302cadd3
TS
47372 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
47373 CHAR_MAX.
47374 * string/test-strcmp.c [! WIDE]: Likewise.
47375 * time/tst-mktime2.c: Likewise for INT_MAX.
47376 * string/test-string.h: #include <sys/param.h> for MIN.
47377
228c019e
TS
47378 * csu/init-first.c (__libc_init_first): Call __ctype_init.
47379 * sysdeps/i386/init-first.c (init): Likewise.
47380 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
47381 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
47382 * sysdeps/sh/init-first.c (init): Likewise.
47383
cfa633f5
UD
473842012-04-01 Ulrich Drepper <drepper@gmail.com>
47385
47386 * po/ru.po: Update from translation team.
d1635ef8 47387 * po/vi.po: Likewise.
cfa633f5 47388
6cd0a5ea
SP
473892012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
47390
47391 * resolv/nss_dns/dns-host.c: Merge copyright years.
47392
4b43400f
LD
473932012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
47394
47395 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
47396 Optimize memcpy with prefetch if
47397 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
47398 src, dst pointers have unequal 16 byte alignments.
47399
48c41d04
SP
474002012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
47401
47402 [BZ #13928]
47403 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
47404 from a CNAME entry and return the minimum ttl for the query.
47405 (gaih_getanswer_slice): Likewise.
47406
b8dc394d
JL
474072012-03-30 Jeff Law <law@redhat.com>
47408
47409 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
47410 due to long keys.
47411 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
47412 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
47413
2f5a5ed0
JL
47414 * resolv/nss_dns/dns-host.c: Update copyright year.
47415
1d39e359
UD
474162012-03-30 Ulrich Drepper <drepper@gmail.com>
47417
c030f70c 47418 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 47419 requests to save a system call. Fix check that all bytes are sent.
c030f70c 47420
1d39e359
UD
47421 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
47422 comments for sendmmsg.
47423
474242012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
47425
47426 [BZ #13691]
47427 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
47428 with only 1 character between 0x0041 and 0x01b0.
47429 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
47430 * wcsmbs/tst-mbsnrtowcs.c: New file.
47431
20fde227
DM
474322012-03-29 David S. Miller <davem@davemloft.net>
47433
47434 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
47435 small copies by hand.
47436
984a4237
JL
474372012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
47438
47439 [BZ #13761]
57f41c40
AS
47440 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
47441 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
47442 group memberships.
984a4237 47443
18c9d62b
DM
474442012-03-28 David S. Miller <davem@davemloft.net>
47445
88d85d4f
DM
47446 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
47447 that branches into memcpy.
47448 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
47449 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
47450 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
47451 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
47452 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
47453 bits.
47454 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
47455 implementation too.
47456 * sysdeps/sparc/mempcpy.S: New file.
47457
e5aa83e1
DM
47458 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
47459 the IFUNC routine in the libc case.
47460 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
47461
88570753
DM
47462 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
47463 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
47464 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
47465 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
47466 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
47467 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
47468 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
47469 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
47470
249d7567
DM
47471 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
47472 loop to 256 bytes instead of 64 bytes and fix test signedness.
47473
18c9d62b
DM
47474 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
47475 * sysdeps/sparc/sparc32/Makefile: rather than here...
47476 * sysdeps/sparc/sparc64/Makefile: and here.
47477
05f3d1f6
UD
474782012-03-28 Ulrich Drepper <drepper@gmail.com>
47479
47480 * malloc/mallocbug.c: Avoid warnings about unused variables.
47481
86ae07a8
JL
474822012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
47483
47484 [BZ #13760]
47485 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
47486 in the right place. Discard and retry query if response is
47487 larger than input buffer size.
47488
41bf21a1
JM
474892012-03-28 Joseph Myers <joseph@codesourcery.com>
47490
d6270972
JM
47491 [BZ #369]
47492 [BZ #2678]
47493 [BZ #3866]
47494 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
47495 x for large integer exponent.
47496 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
47497 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
47498 sign of result as needed afterwards.
47499 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
47500 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
47501 result for underflowing pow the same as for overflow.
47502 (__kernel_standard_l): Handle powl overflow and underflow here
47503 rather than calling __kernel_standard.
47504 * math/libm-test.inc (pow_test): Add more tests.
47505
414fca03 47506 [BZ #3868]
41bf21a1
JM
47507 [BZ #13879]
47508 [BZ #13910]
47509 [BZ #13911]
47510 [BZ #13912]
47511 [BZ #13913]
47512 [BZ #13915]
47513 [BZ #13916]
47514 [BZ #13917]
47515 [BZ #13918]
47516 [BZ #13919]
47517 [BZ #13920]
47518 [BZ #13921]
47519 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
47520 * sysdeps/ieee754/k_standard.c: Include <float.h>.
47521 (__kernel_standard_l): New function.
47522 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
47523 __kernel_standard.
47524 * math/w_acosl.c (__acosl): Likewise.
47525 * math/w_asinl.c (__asinl): Likewise.
47526 * math/w_atan2l.c (__atan2l): Likewise.
47527 * math/w_atanhl.c (__atanhl): Likewise.
47528 * math/w_coshl.c (__coshl): Likewise.
47529 * math/w_exp10l.c (__exp10l): Likewise.
47530 * math/w_exp2l.c (__exp2l): Likewise.
47531 * math/w_fmodl.c (__fmodl): Likewise.
47532 * math/w_hypotl.c (__hypotl): Likewise.
47533 * math/w_j0l.c (__j0l, __y0l): Likewise.
47534 * math/w_j1l.c (__j1l, __y1l): Likewise.
47535 * math/w_jnl.c (__jnl, __ynl): Likewise.
47536 * math/w_lgammal.c (__lgammal): Likewise.
47537 * math/w_log10l.c (__log10l): Likewise.
47538 * math/w_log2l.c (__log2l): Likewise.
47539 * math/w_logl.c (__logl): Likewise.
47540 * math/w_powl.c (__powl): Likewise.
47541 * math/w_remainderl.c (__remainderl): Likewise.
47542 * math/w_scalbl.c (sysv_scalbl): Likewise.
47543 * math/w_sinhl.c (__sinhl): Likewise.
47544 * math/w_sqrtl.c (__sqrtl): Likewise.
47545 * math/w_tgammal.c (__tgammal): Likewise.
47546 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
47547 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
47548 * math/libm-test.inc (acos_test): Add more tests.
47549 (acosh_test): Likewise.
47550 (asin_test): Likewise.
47551 (atanh_test): Likewise.
47552 (exp_test): Likewise.
47553 (exp10_test): Likewise.
47554 (exp2_test): Likewise.
47555 (expm1_test): Likewise.
47556 (lgamma_test): Likewise.
47557 (log_test): Likewise.
47558 (log10_test): Likewise.
47559 (log1p_test): Likewise.
47560 (log2_test): Likewise.
47561 (pow_test): Do not allow some spurious overflow exceptions.
47562 (sqrt_test): Add more tests.
47563 (tgamma_test): Likewise.
47564 (y0_test): Likewise.
47565 (y1_test): Likewise.
47566 (yn_test): Likewise.
47567
dd62fda6
AB
475682012-03-27 Anton Blanchard <anton@samba.org>
47569
47570 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
47571 MAP_HUGETLB.
47572 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
47573 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
47574 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
47575
1e3cdfda
AJ
475762012-03-27 David S. Miller <davem@davemloft.net>
47577
b855ab85
DM
47578 * conform/Makefile: Run run-conformtest.sh using $(BASH).
47579
1e3cdfda
AJ
47580 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
47581 have-as-vis3 check.
47582
475832012-03-27 Andreas Jaeger <aj@suse.de>
47584
47585 * sysdeps/x86_64/elf/configure.in: Moved to ...
47586 * sysdeps/x86_64/configure.in: ... here.
47587 * sysdeps/x86_64/elf/start.S: Moved to ...
47588 * sysdeps/x86_64/start.S: ... here.
47589 * sysdeps/x86_64/elf/configure: Delete.
47590
47591 * sysdeps/x86_64/configure.in: Merge contents from
47592 sysdeps/i386/configure.in (without i686 check).
47593
47594 * sysdeps/i386/elf/Versions: Merge into ...
47595 * sysdeps/i386/Versions: ... this.
47596 * sysdeps/i386/elf/Versions: Delete file.
47597 * sysdeps/i386/elf/start.S: Moved to ...
47598 * sysdeps/i386/start.S: ...here.
47599 * sysdeps/i386/elf/configure.in: Merge into...
47600 * sysdeps/i386/configure.in: ...here.
47601 * sysdeps/i386/elf/configure.in: Delete file.
47602 * sysdeps/i386/elf/configure: Delete file.
47603
47604 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
47605 * debug/backtracesyms.c: ... here.
47606 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
47607 * debug/backtracesymsfd.c: ... here.
47608 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
47609 * sysdeps/generic/ifunc-sel.h: ... here.
47610
47611 * sysdeps/unix/i386/start.c: Delete file.
47612 * sysdeps/unix/sparc/start.c: Delete file.
47613 * sysdeps/unix/start.c: Delete file.
47614
47615 * sysdeps/sh/elf/configure.in: Moved to ...
47616 * sysdeps/sh/configure.in: ... here.
47617 * sysdeps/sh/elf/start.S: Moved to ...
47618 * sysdeps/sh/start.S: ... here.
47619 * sysdeps/sh/elf/configure: Delete file.
47620
47621 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
47622 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
47623 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
47624 * sysdeps/powerpc/powerpc64/entry.h: ... here.
47625 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
47626 * sysdeps/powerpc/powerpc64/start.S: here.
47627 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
47628 * sysdeps/powerpc/powerpc64/Makefile: ... this.
47629 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
47630 * sysdeps/powerpc/powerpc64/configure.in: ... this.
47631 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
47632
47633 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
47634 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
47635 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
47636 * sysdeps/powerpc/powerpc32/start.S: ... here.
47637 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
47638 * sysdeps/powerpc/powerpc32/configure.in: ... this.
47639 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
47640
47641 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
47642 * sysdeps/powerpc/ifunc-sel.h: ... here.
47643 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
47644 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
47645
47646 * sysdeps/sparc/elf/configure.in: Moved to ...
47647 * sysdeps/sparc/configure.in: ... here.
47648 * sysdeps/sparc/elf/configure: Delete file.
47649 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
47650 * sysdeps/sparc/sparc32/start.S: ... here.
47651 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
47652 * sysdeps/sparc/sparc64/start.S: ... here.
47653 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
47654 * sysdeps/sparc/sparc32/Makefile: ... this.
47655 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
47656 * sysdeps/sparc/sparc64/Makefile: ... this.
47657
47658 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
47659 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
47660 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
47661 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
47662 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
47663 * sysdeps/s390/s390-32/setjmp.S: ... here.
47664 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
47665 * sysdeps/s390/s390-32/configure.in: ... here.
47666 * sysdeps/s390/s390-32/elf/configure: Delete file.
47667 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
47668 * sysdeps/s390/s390-32/start.S: ... here.
47669
47670 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
47671 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
47672 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
47673 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
47674 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
47675 * sysdeps/s390/s390-64/setjmp.S: ... here.
47676 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
47677 * sysdeps/s390/s390-64/configure.in: ... here
47678 * sysdeps/s390/s390-64/elf/configure: Delete file.
47679 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
47680 * sysdeps/s390/s390-64/start.S: ... here.
47681 * sysdeps/s390/s390-64/elf/configure: Delete.
47682
47683 * configure.in: Remove support for elf directories in sysdeps.
47684
47685 * configure: Regenerated.
47686 * sysdeps/i386/configure: Regenerated.
47687 * sysdeps/powerpc/powerpc32/configure: Regenerated.
47688 * sysdeps/powerpc/powerpc64/configure: Regenerated.
47689 * sysdeps/s390/s390-32/configure: Regenerated.
47690 * sysdeps/s390/s390-64/configure: Regenerated.
47691 * sysdeps/sh/configure: Regenerated.
47692 * sysdeps/sparc/configure: Regenerated.
47693 * sysdeps/x86_64/configure: Regenerated.
47694
a3f61311
AS
476952012-03-26 Andreas Schwab <schwab@linux-m68k.org>
47696
c876e002
AS
47697 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47698
a3f61311
AS
47699 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
47700 denormal result into account.
47701
ac4c54f0
RM
477022012-03-25 Roland McGrath <roland@hack.frob.com>
47703
47704 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
47705 Reported by Allan McRae <allan@archlinux.org>.
47706
6a9b9c02
JL
477072012-03-23 Jeff Law <law@redhat.com>
47708
47709 * nss/getnssent.c (__nss_getent): Fix typo.
47710
4c42a0c1
DM
477112012-03-23 David S. Miller <davem@davemloft.net>
47712
47713 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47714
1532c7ac
L
477152012-03-23 H.J. Lu <hongjiu.lu@intel.com>
47716
47717 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
47718 to pad to uint64_t for each field.
47719 (dl_tls_index): Replace unsigned long with uint64_t.
47720
3ff42526
PP
477212012-03-23 Daniel Jacobowitz <dmj@google.com>
47722 Paul Pluzhnikov <ppluzhnikov@google.com>
47723
47724 [BZ #6528]
47725 * grp/Makefile (otherlibs): Don't set it.
47726 * inet/Makefile (otherlibs): Likewise.
47727 * login/Makefile (otherlibs): Likewise.
47728 * nscd/Makefile (otherlibs): Likewise.
47729 * posix/Makefile (otherlibs): Likewise.
47730 * pwd/Makefile (otherlibs): Likewise.
47731 * rt/Makefile (otherlibs): Likewise.
47732 * sunrpc/Makefile (otherlibs): Likewise.
47733 * nss/Makefile (otherlibs): Likewise.
47734 Add libnss_files to routines and static-only-routines.
47735 ($(objpfx)getent): Remove rule.
47736 * resolv/Makefile: Add libnss_dns and libresolv to routines and
47737 static-only-routines.
47738
7c69cd14
JM
477392012-03-22 Joseph Myers <joseph@codesourcery.com>
47740
47741 [BZ #13892]
47742 * math/s_cexp.c: Include <float.h>.
47743 (__cexp): Handle exp result overflowing not necessarily
47744 overflowing both real and imaginary parts of result.
47745 * math/s_cexpf.c: Likewise.
47746 * math/s_cexpl.c: Likewise.
47747 * math/libm-test.inc (cexp_test): Add more tests.
47748 * sysdeps/i386/fpu/libm-test-ulps: Update.
47749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47750
81b035fe
L
477512012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47752
47753 * include/link.h (ELFW): New macro.
47754 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
47755 Replace ELF64_R_TYPE with ELFW(R_TYPE).
47756
1da7940c
L
477572012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47758
47759 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
47760 with uint64_t.
47761
b749dbb9
L
477622012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47763
47764 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
47765 declaration.
47766 (struct La_x32_retval): Likewise.
47767
2ff87f3f
L
477682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
47769
47770 * sysdeps/x86_64/preconfigure.in: New file.
47771 * sysdeps/x86_64/preconfigure: New generated file.
47772
c0df8e69
JM
477732012-03-22 Joseph Myers <joseph@codesourcery.com>
47774
48e44791
JM
47775 [BZ #13824]
47776 * math/e_exp2l.c: Include <float.h>.
47777 (__ieee754_exp2l): Handle overflow and underflow cases
47778 separately. Only pass fractional part of argument to
47779 __ieee754_expl.
47780 * math/libm-test.inc (exp2_test): Add more tests.
47781
c0df8e69
JM
47782 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
47783 negating x to take absolute value.
47784 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
47785 Likewise.
47786 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
47787 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
47788 Likewise.
47789 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
47790 computing low part if x was negated.
47791 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
47792
c8e43ba7
L
477932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47794
47795 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
47796 la_x32_gnu_pltexit.
47797 (pltexit): Cast int_retval to ptrdiff_t.
47798 * elf/tst-auditmod3b.c: Likewise.
47799 * elf/tst-auditmod4b.c: Likewise.
47800 * elf/tst-auditmod5b.c: Likewise.
47801 * elf/tst-auditmod6b.c: Likewise.
47802 * elf/tst-auditmod6c.c: Likewise.
47803 * elf/tst-auditmod7b.c: Likewise.
47804
47805 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
47806 and x32_gnu_pltexit.
47807
47808 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
47809 __ELF_NATIVE_CLASS.
47810 (La_x32_regs): New macro.
47811 (La_x32_retval): Likewise.
47812 (la_x32_gnu_pltenter): New function prototype.
47813 (la_x32_gnu_pltexit): Likewise.
47814
7998fa78
AS
478152012-03-21 Andreas Schwab <schwab@linux-m68k.org>
47816
dcb33988
AS
47817 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
47818 exponent.
47819
233fc563
AS
47820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47821
7998fa78
AS
47822 * configure.in (libc_cv_cc_nofma): Check for option to disable
47823 generation of FMA instructions.
47824 * configure: Regenerate.
47825 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
47826 * sysdeps/ieee754/dbl-64/Makefile: New file.
47827 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
47828 Remove brandred-fma4.
47829 (CFLAGS-brandred-fma4.c): Remove.
47830 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
47831 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
47832 define.
47833 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
47834 define.
47835
8e95c99a
L
478362012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47837
47838 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
47839 LLONG_MAX != LONG_MAX.
47840 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47841 (_fitoa_word): Likewise.
47842 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
47843 LLONG_MAX != LONG_MAX.
47844 * stdio-common/_itowa.h: Include <_itoa.h>.
47845 (_itowa_word): Use _ITOA_WORD_TYPE on value.
47846 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
47847 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
47848 only if not defined.
47849 (_ITOA_WORD_TYPE): Likewise.
47850 (_itoa_word): Use _ITOA_WORD_TYPE on value.
47851 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
47852
6f4db457
DM
478532012-03-21 David S. Miller <davem@davemloft.net>
47854
47855 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47856
7785fe5a
L
478572012-03-21 H.J. Lu <hongjiu.lu@intel.com>
47858
47859 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
47860 of x86_64 when setting libc_cv_slibdir, libdir and
47861 libc_cv_localedir.
47862 * sysdeps/unix/sysv/linux/configure: Regenerated.
47863
4535cd55
JM
478642012-03-21 Joseph Myers <joseph@codesourcery.com>
47865
47866 * manual/lang.texi (Old Varargs): Remove section.
47867 (How Variadic): Update menu.
47868 (va_start): Do not mention varargs.h.
47869
17228132
TS
478702012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47871 Joseph Myers <joseph@codesourcery.com>
47872
47873 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
47874 link test.
47875 * configure: Regenerated.
47876
8149f976
TS
478772012-03-21 Thomas Schwinge <thomas@codesourcery.com>
47878
05f3d1f6
UD
47879 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
47880 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
47881 conformtest.pl
8149f976 47882
1a4ac776
JM
478832012-03-21 Joseph Myers <joseph@codesourcery.com>
47884
be22ce65
JM
47885 * NOTES: Remove.
47886 * Makefile (files-for-dist): Remove NOTES.
47887 (NOTES): Remove rule.
47888 * README: Don't refer to NOTES.
47889 * manual/creature.texi: Don't include macros.texi.
47890 * manual/intro.texi (creature.texi): Remove comment referring to
47891 NOTES.
47892
40b601fb
JM
47893 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
47894 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
47895 * configure: Regenerated.
47896 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
47897 LIBC_TRY_CC_OPTION.
47898 (libc_cv_as_i686): Likewise.
47899 (libc_cv_cc_avx): Likewise.
47900 (libc_cv_cc_sse2avx): Likewise.
47901 (libc_cv_cc_fma4): Likewise.
47902 (libc_cv_cc_novzeroupper): Likewise.
47903 * sysdeps/i386/configure: Regenerated.
47904
1a4ac776
JM
47905 [BZ #13883]
47906 * sysdeps/i386/fpu/s_cexp.S: Remove.
47907 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47908 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47909 * math/libm-test.inc (cexp_test): Add more tests.
47910 * sysdeps/i386/fpu/libm-test-ulps: Update.
47911 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47912
a458e7fe
AM
479132012-03-21 Allan McRae <allan@archlinux.org>
47914
47915 * timezone/Makefile: Do not install iso3166.tab and zone.tab
47916
0cb7efc5
JM
479172012-03-21 Joseph Myers <joseph@codesourcery.com>
47918
47919 [BZ #13871]
47920 * math/w_exp2.c: Do not include <float.h>.
47921 (o_threshold, u_threshold): Remove.
47922 (__exp2): Calculate result before checking finiteness and calling
47923 __kernel_standard.
47924 * math/w_exp2f.c: Likewise.
47925 * math/w_exp2l.c: Likewise.
47926 * math/libm-test.inc (exp2_test): Require overflow exception for
47927 1e6 input.
2460d3aa
JM
47928
47929 [BZ #3866]
47930 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
47931 range of signed 64-bit integers before using fistpll. Remove
47932 checks for whether integers fit in mantissa bits.
47933 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
47934 the range of signed 32-bit integers before using fistpl. Remove
47935 checks for whether integers fit in mantissa bits.
47936 * sysdeps/i386/fpu/e_powl.S (p64): New object.
47937 (__ieee754_powl): Test for y outside the range of signed 64-bit
47938 integers before using fistpll. Reduce 64-bit values to 63-bit
47939 ones as needed.
47940 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
47941 divide-by-zero is raised for zero to large negative powers.
47942 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
47943 (__ieee754_powl): Test for y outside the range of signed 64-bit
47944 integers before using fistpll. Reduce 64-bit values to 63-bit
47945 ones as needed.
47946 * math/libm-test.inc (pow_test): Add more tests.
47947
eb96ffb0
L
479482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
47949
47950 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
47951 <stdio-common/_itoa.h>.
47952 * debug/segfault.c: Likewise.
47953 * elf/dl-cache.c: Likewise.
47954 * elf/dl-minimal.c: Likewise.
47955 * elf/dl-misc.c: Likewise.
47956 * elf/dl-sysdep.c: Likewise.
47957 * elf/dl-version.c: Likewise.
47958 * elf/rtld.c: Likewise.
47959 * hurd/hurdsock.c: Likewise.
47960 * hurd/lookup-retry.c: Likewise.
47961 * malloc/malloc.c: Likewise.
47962 * malloc/mtrace.c: Likewise.
47963 * nscd/nscd_getgr_r.c: Likewise.
47964 * nscd/nscd_getpw_r.c: Likewise.
47965 * nscd/nscd_getserv_r.c: Likewise.
47966 * posix/getopt_init.c: Likewise.
47967 * posix/wordexp.c: Likewise.
47968 * stdio-common/_itoa.c: Likewise.
47969 * stdio-common/printf_fphex.c: Likewise.
47970 * stdio-common/vfprintf.c: Likewise.
47971 * string/_strerror.c: Likewise.
47972 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
47973 * sysdeps/i386/i686/hp-timing.h: Likewise.
47974 * sysdeps/mach/_strerror.c: Likewise.
47975 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
47976 * sysdeps/mach/hurd/sethostid.c: Likewise.
47977 * sysdeps/mach/hurd/xmknodat.c: Likewise.
47978 * sysdeps/mach/xpg-strerror.c: Likewise.
47979 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
47980 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47981 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
47982 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
47983 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47984 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
47985 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47986 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47987 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
47988 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
47989 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
47990 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47991 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
47992 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
47993 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
47994 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
47995 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
47996 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
47997 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
47998 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
47999 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
48000
48001 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
48002
48003 * stdio-common/_itoa.h: Moved to ...
48004 * sysdeps/generic/_itoa.h: Here.
48005
48006 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
48007
48008 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
48009 instead of "_itoa.h" and "_itowa.h".
48010 * stdio-common/vfprintf.: Likewise.
48011
d1af992d
L
480122012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48013
48014 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
48015 <bits/wordsize.h>.
48016 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
48017 (__signbit): Likwise.
48018 (llrintf): Likwise.
48019 (llrint): Likwise.
48020
114883e0
L
480212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
48022
48023 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
48024 __WORDSIZE != 64.
48025
c135cc1b
JM
480262012-03-20 Joseph Myers <joseph@codesourcery.com>
48027
48028 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
48029 OVERFLOW_EXCEPTION_OK.
48030 * math/libm-test.inc ("Philosophy"): Update comment about
48031 exception testing.
48032 (OVERFLOW_EXCEPTION): Define.
48033 (OVERFLOW_EXCEPTION_OK): Likewise.
48034 (INVALID_EXCEPTION_OK): Renumber.
48035 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
48036 (IGNORE_ZERO_INF_SIGN): Likewise.
48037 (test_exceptions): Handle FE_OVERFLOW.
48038 (exp10_test): Expect overflow exceptions.
48039 (exp2_test): Likewise.
48040 (expm1_test): Likewise.
48041 (nextafter_test): Likewise.
48042 (pow_test): Likewise.
48043 (scalbn_test): Likewise.
48044 (scalbln_test): Likewise.
48045
95443d88
L
480462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48047
48048 * sysdeps/x86_64/bits/atomic.h
48049 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
48050 64bit integer.
48051 (atomic_exchange_acq): Likewise.
48052 (__arch_exchange_and_add_body): Likewise.
48053 (__arch_add_body): Likewise.
48054 (atomic_add_negative): Likewise.
48055 (atomic_add_zero): Likewise.
48056
490df6c4
L
480572012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48058
c2722551 48059 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
48060 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
48061
5e52b189
L
480622012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48063
48064 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
48065 Check __x86_64__ instead of __WORDSIZE.
48066
a9879d4c
L
480672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48068
48069 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
48070
5df98260
DM
480712012-03-19 David S. Miller <davem@davemloft.net>
48072
e1497744
DM
48073 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48074
5df98260
DM
48075 * sysdeps/sparc/fpu/fenv_private.h: New file.
48076 * sysdeps/sparc/fpu/math_private.h: Use it.
48077 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
48078 Remove.
57f41c40 48079 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
48080 (libc_feholdexcept_setroundl): Remove.
48081 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
48082 Remove.
48083 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
48084 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
48085
b4c35121
L
480862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48087
48088 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
48089 int64_t instead of long int.
48090 (INSERT_WORDS64): Likwise.
48091
56965fd7
L
480922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
48093
48094 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
48095 _Unwind_GetCFA return to _Unwind_Ptr first.
48096
83d1aec8
JM
480972012-03-19 Joseph Myers <joseph@codesourcery.com>
48098
1897ad44
JM
48099 [BZ #13629]
48100 * math/s_clog.c: Include <float.h>.
48101 (__clog): Scale large or subnormal inputs.
48102 * math/s_clogf.c: Likewise.
48103 * math/s_clogl.c: Likewise.
48104 * math/s_clog10.c: Include <float.h>.
48105 (M_LOG10_2): Define.
48106 (__clog10): Scale large or subnormal inputs.
48107 * math/s_clog10f.c: Likewise.
48108 * math/s_clog10l.c: Likewise.
48109 * math/libm-test.inc (clog_test): Add more tests.
48110 (clog10_test): Likewise.
48111 * sysdeps/i386/fpu/libm-test-ulps: Update.
48112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48113
7726d6a9
JM
48114 [BZ #11451]
48115 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
48116 x and y.
48117 * math/libm-test.inc (atan2_test): Add another test.
48118
83d1aec8
JM
48119 * Makerules (common-objdir-compile): Remove.
48120 * sysdeps/unix/Makefile (config-generated): Do not add
48121 $(unix-generated) to variable.
48122 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
48123 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
48124 Remove rule.
48125 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
48126 Likewise.
48127 [generic bits/local_lim.h] (before-compile): Do not append to
48128 variable.
48129 [generic bits/local_lim.h] (common-generated): Likewise.
48130 [generic sys/param.h] (before-compile): Do not append to variable.
48131 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
48132 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
48133 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
48134 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
48135 include.
48136 [generic sys/param.h] (sys/param.h-includes): Remove variable.
48137 [generic sys/param.h] (sys/param.h-includes): Remove rule.
48138 [generic sys/param.h] ($(addprefix
48139 $(common-objpfx),$(sys/param.h-includes))): Likewise.
48140 [generic sys/param.h] (common-generated): Do not append to
48141 variable.
48142 [generic sys/param.h] (sysdep_headers): Likewise.
48143 [generic bits/errno.h] (before-compile): Do not append to
48144 variable.
48145 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
48146 rule.
48147 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
48148 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
48149 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
48150 [generic bits/errno.h] (common-generated): Do not append to
48151 variable.
48152 [generic bits/ioctls.h] (before-compile): Do not append to
48153 variable.
48154 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
48155 rule.
48156 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
48157 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
48158 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
48159 rule.
48160 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
48161 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
48162 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
48163 [generic bits/ioctls.h] (common-generated): Do not append to
48164 variable.
48165 [generic sys/syscall.h] (syscall.h): Remove variable.
48166 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
48167 rule.
48168 [generic sys/syscall.h] (before-compile): Do not append to
48169 variable.
48170 [generic sys/syscall.h] (common-generated): Likewise.
48171 * sysdeps/unix/errnos-tmpl.c: Remove file.
48172 * sysdeps/unix/errnos.awk: Likewise.
48173 * sysdeps/unix/ioctls-tmpl.c: Likewise.
48174 * sysdeps/unix/ioctls.awk: Likewise.
48175 * sysdeps/unix/mk-local_lim.c: Likewise.
48176 * sysdeps/unix/snarf-ioctls: Likewise.
48177
4851a949
RH
481782012-03-19 Richard Henderson <rth@twiddle.net>
48179
bd37f2ee
RH
48180 * sysdeps/i386/fpu/fenv_private.h: New file.
48181 * sysdeps/i386/fpu/math_private.h: Use it.
48182 (math_opt_barrier, math_force_eval): Remove.
48183 (libc_feholdexcept_setround_53bit): Remove.
48184 (libc_feupdateenv_53bit): Remove.
48185 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48186 (math_opt_barrier, math_force_eval): Remove.
48187 (libc_feholdexcept): Remove.
48188 (libc_feholdexcept_setround): Remove.
48189 (libc_fetestexcept, libc_fesetenv): Remove.
48190 (libc_feupdateenv_test): Remove.
48191 (libc_feupdateenv, libc_feholdsetround): Remove.
48192 (libc_feresetround): Remove.
48193
d0adc922
RH
48194 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
48195 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
48196
0fe0f1f8
RH
48197 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
48198 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
48199 (libc_feupdateenv_testl): New.
48200 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
48201 (libc_feupdateenv_testf): New.
48202 (libc_feupdateenv): Use libc_feupdateenv_test.
48203 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
48204 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
48205
eb92c487
RH
48206 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
48207 (libc_feholdsetroundf, libc_feholdsetroundl): New.
48208 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
48209 (libc_feresetround_noex): New.
48210 (libc_feresetround_noexf): New.
48211 (libc_feresetround_noexl): New.
48212 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
48213 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
48214 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
48215 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
48216 SET_RESTORE_ROUND.
48217 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
48218 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
48219 (__cos): Likewise.
48220 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
48221 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
48222 SET_RESTORE_ROUND_NOEX.
48223 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
48224 SET_RESTORE_ROUND_NOEXF.
48225 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
48226 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
48227 (libc_feholdsetroundf): New.
48228 (libc_feresetround, libc_feresetroundf): New.
48229
7d2e8012
RH
48230 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
48231 (libc_feholdexcept_setround_53bit): Convert from macro to function.
48232 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
48233
b4dabbb4
RH
48234 * sysdeps/generic/math_private.h: Include <fenv.h>.
48235 (default_libc_feholdexcept): New.
48236 (default_libc_feholdexcept_setround): New.
48237 (default_libc_fesetenv, default_libc_feupdateenv): New.
48238 (libc_feholdexcept): Only define if undefined.
48239 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
48240 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
48241 (libc_feholdexcept_setroundl): Likewise.
48242 (libc_feholdexcept_setround_53bit): Likewise.
48243 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
48244 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
48245 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
48246 (libc_feupdateenv_53bit): Likewise.
48247 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
48248 (libc_feholdexcept): Convert from macro to inline function.
48249 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
48250 (libc_fesetenv, libc_feupdateenv): Likewise.
48251
4851a949
RH
48252 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
48253 not previously defined.
48254 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
48255 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
48256 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
48257 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
48258 * sysdeps/ieee754/flt-32/math_private.h: New file.
48259 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
48260 math_private.h below SET_FLOAT_WORD.
48261 (__isnan, __isinf_ns, __finite): Remove.
48262 (__isnanf, __isinf_nsf, __finitef): Remove.
48263
e79d442e
AS
482642012-03-18 Andreas Schwab <schwab@linux-m68k.org>
48265
48266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48267
90b80344
DM
482682012-03-17 David S. Miller <davem@davemloft.net>
48269
48270 [BZ #6471]
48271 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
48272 for 2.16.
48273
edc21804
DM
482742012-03-16 David S. Miller <davem@davemloft.net>
48275
77e927af
DM
48276 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
48277 warnings.
48278
374976dd
DM
48279 [BZ #6471]
48280 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
48281 properly.
48282 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
48283 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
48284 sysdep_routines when subdir is sysvipc.
48285 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
48286 __getshmlba helper.
48287
edc21804
DM
48288 * sysdeps/sparc/fpu/libm-test/ulps: Update.
48289
473c3ef3
L
482902012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48291
48292 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
48293 [__LP64__].
48294
eb0f39b6
L
482952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48296
48297 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
48298 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
48299 (__lround): Renamed to ...
48300 (__llround): This. Replace long int with long long int.
48301 Define lround functions as aliases of llround functions.
48302 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
48303
6b6cd74b
L
483042012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48305
48306 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
48307 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
48308 adresses to uintptr_t. Replace "long int" and "unsigned long
48309 int" with "greg_t" on va_arg.
48310
f1a77b01
L
483112012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48312
48313 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
48314 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
48315
48316 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
48317 Move e_machine check before EI_CLASS check. Handle x32
48318 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
48319 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
48320 SKIP_EM_IA_64 and include
48321 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
48322
48323 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
48324 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
48325 (add_system_dir): New macro.
48326
48327 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
48328 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
48329
11b90b9f
JM
483302012-03-16 Joseph Myers <joseph@codesourcery.com>
48331
c36e1d23
JM
48332 [BZ #2551]
48333 [BZ #2552]
48334 [BZ #2553]
48335 [BZ #2554]
48336 [BZ #2562]
48337 [BZ #2563]
48338 [BZ #2565]
48339 [BZ #2566]
48340 [BZ #2576]
48341 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
48342 (y0): Likewise.
48343 * math/w_j0f.c (j0f): Likewise.
48344 (y0f): Likewise.
48345 * math/w_j0l.c (__j0l): Likewise.
48346 (__y0l): Likewise.
48347 * math/w_j1.c (j1): Likewise.
48348 (y1): Likewise.
48349 * math/w_j1f.c (j1f): Likewise.
48350 (y1f): Likewise.
48351 * math/w_j1l.c (__j1l): Likewise.
48352 (__y1l): Likewise.
48353 * math/w_jn.c (jn): Likewise.
48354 (yn): Likewise.
48355 * math/w_jnf.c (jnf): Likewise.
48356 (ynf): Likewise.
48357 * math/w_jnl.c (__jnl): Likewise.
48358 (__ynl): Likewise.
48359 * math/libm-test.inc (j0_test): Add more tests.
48360 (j1_test): Likewise.
48361 (jn_test): Likewise. Add trailing semicolon to existing test.
48362 (y0_test): Likewise.
48363 (y1_test): Likewise.
48364 * sysdeps/i386/fpu/libm-test-ulps: Update.
48365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48366
11b90b9f
JM
48367 [BZ #13851]
48368 [BZ #13854]
48369 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
48370 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
48371 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
48372 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
48373 (__tanl): Set errno for infinite argument.
48374 * sysdeps/i386/fpu/mptan.c: Remove.
48375 * sysdeps/i386/fpu/s_tan.S: Likewise.
48376 * sysdeps/i386/fpu/s_tanl.S: Likewise.
48377 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
48378 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
48379 * math/libm-test.inc (tan_test): Add more tests and enable more
48380 tests for double and long double.
48381 * sysdeps/i386/fpu/libm-test-ulps: Update.
48382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48383
6a1bd2a1
JK
483842012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
48385
48386 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
48387 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
48388
10a803e0
RM
483892012-03-16 Roland McGrath <roland@hack.frob.com>
48390
48391 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
48392 * configure.in: Use it for both main tree and add-ons.
48393 * configure: Regenerated.
48394
f196c7f7
L
483952012-03-16 H.J. Lu <hongjiu.lu@intel.com>
48396
48397 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
48398
8848d99d
JM
483992012-03-16 Joseph Myers <joseph@codesourcery.com>
48400
96cbe7f4
JM
48401 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
48402 in comment.
48403
8848d99d
JM
48404 [BZ #13851]
48405 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
48406 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
48407 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
48408 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
48409 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
48410 infinite argument.
48411 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
48412 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
48413 != 0 for prec == 2.
48414 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
48415 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
48416 * sysdeps/i386/fpu/s_cosl.S: Likewise.
48417 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
48418 * sysdeps/i386/fpu/s_sinl.S: Likewise.
48419 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
48420 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
48421 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
48422 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
48423 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
48424 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
48425 * math/libm-test.inc (cos_test): Add more tests and enable more
48426 tests for long double.
48427 (sin_test): Likewise.
48428 (sincos_test): Likewise.
48429 * sysdeps/i386/fpu/libm-test-ulps: Update.
48430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48431
dd7f4703
DM
484322012-03-16 David S. Miller <davem@davemloft.net>
48433
48434 * sysdeps/sparc/fpu/math_private.h: New file.
48435
006f1daa
DM
484362012-03-15 David S. Miller <davem@davemloft.net>
48437
c0c83bc8
DM
48438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
48439 file.
e6a62e18 48440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
48441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
48442 file.
e6a62e18
DM
48443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
48444 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
48445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
48446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
48447 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
48448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
48449 sysdep routines.
48450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48451
88cb87d9
DM
48452 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
48453 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
48454
006f1daa 48455 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
48456 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
48457 sparc-ifunc.h
006f1daa 48458 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
48459 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
48460 Likewise.
48461 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
48462 Likewise.
006f1daa
DM
48463 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
48464 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
48465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
48466 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
48467 Likewise.
006f1daa
DM
48468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
48469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
48470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
48471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
48472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
48473 Likewise.
48474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
48475 Likewise.
006f1daa
DM
48476 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
48477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
48478 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
48479 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
48480 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
48481 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
48482 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
48483 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
48484 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
48485 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
48486 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
48487 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
48488 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
48489 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
48490 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
48491 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
48492 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
48493 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
48494 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
48495 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
48496 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
48497 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
48498 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
48499 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
48500
11e0098e
AS
485012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48502
48503 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
48504 scaling.
48505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48506
e85b09d0
AJ
485072012-03-15 Andreas Jaeger <aj@suse.de>
48508
48509 [BZ #13852]
48510 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
48511 ieee754/flt-32 implementation for sin, cos and sincos.
48512 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
48513 * sysdeps/i386/fpu/s_cosf.S: Likewise.
48514 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
48515 * sysdeps/i386/fpu/s_sinf.S: Likewise.
48516 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
48517 ieee754/flt-32 implementation for tan.
48518
48519 * math/libm-test.inc (cos_test): Enable some large input tests for
48520 float as well
48521 (sin_test): Likewise.
48522 (sincos_test): Likewise.
48523 (tan_test): Add tests for large input.
48524
48525 * sysdeps/i386/fpu/libm-test-ulps: Update.
48526
81c64153
AJ
485272012-03-15 Andreas Jaeger <aj@suse.de>
48528
48529 [BZ #13658]
48530 * math/libm-test.inc (cos_test): Add more test cases.
48531 (sin_test): Likewise.
48532 (sincos_test): Likewise.
48533
7bbfa5c6
AJ
485342012-03-15 Andreas Jaeger <aj@suse.de>
48535
48536 [BZ #13837]
48537 * math/libm-test.inc (cos_test): Add a test case for large input
48538 value.
48539 (sin_test): Likewise.
48540 (sincos_test): Likewise.
48541
57f41c40
AS
485422012-03-15 Andreas Jaeger <aj@suse.de>
48543 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
48544
48545 [BZ #13658]
0671f479 48546 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
48547 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
48548 * sysdeps/i386/fpu/branred.c: Likewise.
48549 * sysdeps/i386/fpu/dosincos.c: Likewise.
48550 * sysdeps/i386/fpu/mpa.c: Likewise.
48551 * sysdeps/i386/fpu/s_cos.S: Likewise.
48552 * sysdeps/i386/fpu/s_sin.S: Likewise.
48553 * sysdeps/i386/fpu/s_sincos.S: Likewise.
48554 * sysdeps/i386/fpu/sincos32.c: Likewise.
48555
48556 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
48557 Define.
48558 (libc_feupdateenv_53bit): Define.
48559 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
48560 Define.
48561 (libc_feupdateenv_53bit): Define.
48562
48563 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
48564 53 bit (without extend i386 double precision).
48565
48566 * math/libm-test.inc (sincos_test): Add tests for large input.
48567 (sin): Likewise.
48568 (cos): Likewise.
48569
48570 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
48571
9cad04ea
AS
485722012-03-15 Andreas Schwab <schwab@linux-m68k.org>
48573
48574 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48575
f7062b9a
DM
485762012-03-15 David S. Miller <davem@davemloft.net>
48577
48578 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
48579 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
48580 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
48581 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
48582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
48583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
48584 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
48585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
48586 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
48587 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
48588 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
48589 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
48590 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
48591 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
48592 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
48593 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
48594 file.
f7062b9a 48595 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
48596 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
48597 file.
f7062b9a 48598 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
48599 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
48600 file.
f7062b9a 48601 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
48602 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
48603 file.
f7062b9a
DM
48604 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
48605 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
48606 fmin/fmax sysdep routines.
48607 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
48608
7bd951ff
DM
486092012-03-14 David S. Miller <davem@davemloft.net>
48610
559398ab
DM
48611 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
48612 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
48613 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
48614 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
48615 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
48616 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
48617 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
48618 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
48619 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
48620 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
48621 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
48622 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
48623 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
48624 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
48625 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
48626 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
48627 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
48628 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
48629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
48630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
48631 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
48632 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
48633 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
48634 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
48635 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
48636 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
48637 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
48638 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48639 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
48640 routines.
48641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
48642 file.
559398ab 48643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
48644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
48645 file.
559398ab 48646 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
48647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
48648 file.
559398ab 48649 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
48650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
48651 file.
559398ab 48652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
48653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
48654 file.
559398ab 48655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
48656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
48657 file.
48658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
48659 file.
48660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
48661 file.
48662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
48663 file.
48664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
48665 New file.
48666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
48667 file.
48668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
48669 file.
559398ab 48670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
48671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
48672 file.
559398ab 48673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
48674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
48675 file.
559398ab 48676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
48677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
48678 file.
559398ab 48679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
48680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
48681 VIS3 routines.
559398ab
DM
48682
48683 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
48684 New file.
48685
5a1c1e32
DM
48686 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48687
eae47a36
DM
48688 * sysdeps/sparc/configure.in: New file.
48689 * sysdeps/sparc/configure: Generate.
48690 * configure.in (libc_cv_sparc_as_vis3): Substitute.
48691 * configure: Regenerate.
48692 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
48693 * config.make.in (have-as-vis3): New.
48694 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
48695 available use -Av9d instead of -Av9a.
48696 * sysdeps/sparc/sparc64/Makefile: Likewise.
48697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
48698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
48699 New file.
48700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
48701 file.
48702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
48703 New file.
48704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
48705 file.
eae47a36
DM
48706 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
48707 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
48708 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
48709 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
48710 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
48711
c0c83bc8
DM
48712 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
48713 fzeros/fnegs to load 0x80000000 into a float register instead of
48714 using the stack.
7bd951ff
DM
48715 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
48716
bd951ccb
JM
487172012-03-14 Joseph Myers <joseph@codesourcery.com>
48718
48719 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48720 bits/syscall.h.
48721 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
48722 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
48723 ($(inst_includedir)/bits/syscall.h): Remove rule.
48724 ($(objpfx)bits/syscall.d): Include instead of
48725 $(objpfx)syscall-list.d.
48726 (generated): Change syscall-list.h and syscall-list.d to
48727 bits/syscall.h and bits/syscall.d.
48728
bb4e6db2
RM
487292012-03-14 Roland McGrath <roland@hack.frob.com>
48730
48731 [BZ #13846]
48732 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
48733
aa4a2ae1
JM
487342012-03-14 Joseph Myers <joseph@codesourcery.com>
48735
e456826d
JM
48736 [BZ #13841]
48737 * math/s_csqrt.c: Include <float.h>.
48738 (__csqrt): Scale large or subnormal inputs.
48739 * math/s_csqrtf.c: Likewise.
48740 * math/s_csqrtl.c: Likewise.
48741 * math/libm-test.inc (csqrt_test): Add more tests.
48742 * sysdeps/i386/fpu/libm-test-ulps: Update.
48743 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48744
aa4a2ae1
JM
48745 [BZ #13840]
48746 * math/libm-test.inc (hypot_test): Add more tests.
48747
7c10fd35
DM
487482012-03-13 David S. Miller <davem@davemloft.net>
48749
48750 [BZ #13840]
48751 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
48752 double-precision for the calculation instead of scaling.
48753
f453b98b
JM
487542012-03-13 Joseph Myers <joseph@codesourcery.com>
48755
48756 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
48757 manipulate bits before adding and subtracting TWO52[sx].
48758 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
48759 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
48760 Likewise.
48761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
48762
09a3453f
DM
487632012-03-13 David S. Miller <davem@davemloft.net>
48764
8e59da90
DM
48765 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
48766 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
48767 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
48768 rtld-global-offsets.h
48769 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48770
2a8ab7f2
DM
48771 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
48772 large parameters.
48773
10f62770
DM
48774 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
48775
5f0bdb18
DM
48776 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
48777 'err' in the ifdef scope in which it is actually used.
48778
09a3453f
DM
48779 * nss/nss_db/db-init.c: Include string.h
48780
b4b2eb5e
DM
487812012-03-12 David S. Miller <davem@davemloft.net>
48782
98bb2f1c
DM
48783 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
48784 masking out of the most significant byte of random value used.
48785 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48786 Fix coding style in previous change.
48787
b4b2eb5e
DM
48788 * sysdeps/unix/sysv/linux/kernel-features.h
48789 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
48790 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
48791 expression.
48792 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
48793 later.
48794
6e226b09
DM
487952012-03-11 David S. Miller <davem@davemloft.net>
48796
a1bcbd40
DM
48797 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
48798 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
48799 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
48800 for 'resultvar' otherwise things get truncated on 64-bit.
48801
cb9d6174
DM
48802 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
48803 Fix masking out of the most significant byte of random value used.
48804
6e226b09
DM
48805 * sysdeps/sparc/fpu/libm-test-ulps: Update.
48806
058c132d
AS
488072012-03-10 Andreas Schwab <schwab@linux-m68k.org>
48808
48809 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48810
2d2cd515
DM
488112012-03-09 David S. Miller <davem@davemloft.net>
48812
48813 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
48814 variables with appropriate CPP guards.
57f41c40
AS
48815 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
48816 from the frame pointer, not the stack pointer. Correct layout
48817 comments. Fix test on resulting framesize and the management of
48818 the outregs buffer for pltexit. Preserve floating point return
48819 values across _dl_call_pltexit call.
2d2cd515
DM
48820 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
48821 framesize and the management of the outregs buffer for pltexit.
48822 Preserve floating point return values across _dl_call_pltexit
48823 call.
57f41c40
AS
48824 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
48825 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
48826 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
48827 (print_exit): Fix format string for return register value.
48828
9a07f9d0
JM
488292012-03-10 Joseph Myers <joseph@codesourcery.com>
48830
48831 * sunrpc/Makefile (others): Add rpcgen.
48832 ($(objpfx)rpcgen): Remove special build rule and dependency on
48833 libc.
48834 * sunrpc/rpcgen.c: New file.
48835
547b5e30
PE
488362012-03-09 Paul Eggert <eggert@cs.ucla.edu>
48837
c524201a
PE
48838 [BZ #13673]
48839 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
48840 * stdio-common/bug-vfprintf-nargs.c: Likewise.
48841 * sysdeps/i386/crti.S: Likewise.
48842 * sysdeps/i386/crtn.S: Likewise.
48843 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
48844 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
48845 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
48846 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
48847 * sysdeps/sh/crti.S: Likewise.
48848 * sysdeps/sh/crtn.S: Likewise.
48849 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
48850
7b6235f2
PE
48851 [BZ #13673]
48852 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
48853 with URL.
48854 * locale/programs/locfile-kw.gperf: Likewise.
48855 * locale/programs/charmap-kw.h: Regenerated.
48856 * locale/programs/locfile-kw.h: Likewise.
48857
547b5e30
PE
48858 [BZ #13673]
48859 * intl/plural.y: Replace FSF snail mail address with URL.
48860 * intl/plural.c: Regenerated.
48861
5f0a5dae
RH
488622012-03-09 Richard Henderson <rth@twiddle.net>
48863
48864 * include/math_private.h: Remove file.
48865 * math/math_private.h: Move file ...
48866 * sysdeps/generic/math_private.h: ... here.
48867
b8c03620
RH
48868 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
48869 * sysdeps/powerpc/fpu/math_private.h: Likewise.
48870 * sysdeps/x86_64/fpu/math_private.h: Likewise.
48871
4e234f5d 48872 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
48873 and <math_private.h>.
48874 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48875 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48876 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48877 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48878 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48879 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
48880 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48881 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48882 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
48883 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48884 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48885 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48886 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
48887 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48888 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
48889 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
48890 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48891 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48892 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
48893 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
48894 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48895 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
48896 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
48897 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48898 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
48899 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
48900 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
48901 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
48902 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48903 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48904 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
48905 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
48906 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
48907 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48908 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48909 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48910 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48911 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48912 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48913 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48914 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
48915 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48916 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48917 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
48918 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
48919 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48920 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
48921 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
48922 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48923 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48924 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
48925 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
48926 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
48927 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48928 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
48929 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
48930 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48931 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
48932 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
48933 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
48934 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48935 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
48936 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48937 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48938 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
48939 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48940 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48941 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48942 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
48943 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
48944 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
48945 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48946 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
48947 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48948 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
48949 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
48950 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
48951 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48952 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
48953 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
48954 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
48955 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
48956 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
48957 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
48958 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48959 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
48960 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
48961 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
48962 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
48963 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48964 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48965 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
48966 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48967 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
48968 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
48969 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
48970 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48971 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
48972 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
48973 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
48974 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
48975 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
48976 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
48977 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
48978 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48979 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
48980 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
48981 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
48982 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48983 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48984 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48985 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48986 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
48987 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48988 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
48989 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48990 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48991 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48992 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48993 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48994 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48995 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48996 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48997 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
48998 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48999 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49000 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49001 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
49002 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49003 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
49004 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
49005 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49006 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49007 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
49008 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
49009 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49010 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49011 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49012 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
49013 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49014 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49015 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49016 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49017 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
49018 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
49019 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49020 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49021 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49022 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
49023 * sysdeps/ieee754/k_standard.c: Likewise.
49024 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49025 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49026 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49027 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49028 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49029 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49030 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49031 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49032 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49033 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49034 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49035 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49036 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49037 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49038 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49039 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49040 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
49041 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49042 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49043 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
49044 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
49045 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
49046 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49047 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49048 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
49049 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
49050 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49051 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49052 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49053 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49054 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
49055 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49056 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49057 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49058 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
49059 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49060 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49061 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
49062 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
49063 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49064 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
49065 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
49066 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
49067 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49068 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
49069 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
49070 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49071 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49072 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49073 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49074 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49075 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
49076 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49077 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
49078 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49079 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49080 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
49081 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
49082 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49083 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49084 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49085 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
49086 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49087 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49088 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49089 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49090 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49091 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49092 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49093 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49094 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49095 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49096 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49097 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49098 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49100 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
49101 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49102 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49103 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
49104 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
49105 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
49106 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49107 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49108 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
49109 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49110 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49111 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
49112 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
49113 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49114 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
49115 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49116 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
49117 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
49118 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49119 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49120 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
49121 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
49122 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
49123 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
49124 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49125 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49126 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49127 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49128 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
49129 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49130 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49131 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
49132 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
49133 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49134 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49135 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49136 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49137 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49138 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49139 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49140 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49141 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49142 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49143 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49144 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49145 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49146 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49147 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49148 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49149 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
49150 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49151 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49152 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49153 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49154 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49155 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49156 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49157 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
49158 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49159 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49160 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
49161 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
49162 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49163 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
49164 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
49165 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49166 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
49167 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
49168 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49169 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49170 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49171 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49172 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49173 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
49174 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49175 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49176 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49177 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49178 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
49179 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
49180 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49181 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49182 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49183 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
49184 * sysdeps/ieee754/s_lib_version.c: Likewise.
49185 * sysdeps/ieee754/s_matherr.c: Likewise.
49186 * sysdeps/ieee754/s_signgam.c: Likewise.
49187 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49188 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49189 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
49190 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
49191 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
49192 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
49193 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
49194 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
49195 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
49196 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
49197 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
49198 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
49199 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49200 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49201 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
49202 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
49203 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
49204 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
49205 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
49206 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49207 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 49208
1991fa03
JM
492092012-03-09 Joseph Myers <joseph@codesourcery.com>
49210
49211 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
49212 * sunrpc/rpc_main.c: Likewise.
49213 * sunrpc/rpc_svcout.c: Likewise.
49214
60d6f5a6
DM
492152012-03-09 David S. Miller <davem@davemloft.net>
49216
49217 * include/math_private.h: New file.
49218
4962050e
JM
492192012-03-09 Joseph Myers <joseph@codesourcery.com>
49220
02a6f887
JM
49221 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
49222 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
49223 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
49224 from <bits/socket_type.h>.
49225 (enum __socket_type): Don't define here.
49226 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
49227 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49228 bits/socket_type.h.
49229
c6e013c1
JM
49230 [BZ #13566]
49231 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
49232 checking __USE_GNU.
49233
4962050e
JM
49234 * Makerules ($(inst_includedir)/%.h): New rule.
49235 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
49236 (install-others): Remove variable setting.
49237 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
49238
38842f45
RH
492392012-03-08 Richard Henderson <rth@twiddle.net>
49240
67bb6da6
RH
49241 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
49242 from macro to inline function; merge with the
49243 !__LIBC_INTERNAL_MATH_INLINES version.
49244 (__ieee754_sqrtf): Likewise.
49245
15194b4b
RH
49246 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
49247 to inline function.
49248 (__rintf, __floor, __floorf): Likewise.
49249
64e21ede
RH
49250 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
49251 macro to inline function.
49252 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
49253
38842f45
RH
49254 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
49255 not <math/math_private.h>.
49256
c64bf5fe
DM
492572012-03-08 David S. Miller <davem@davemloft.net>
49258
49259 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
49260 copyright year.
49261 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
49262
82d86f28
TS
492632012-03-08 Thomas Schwinge <thomas@codesourcery.com>
49264
49265 * resolv/gai_misc.c (handle_requests): Fix struct timespec
49266 normalization.
49267 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
49268 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
49269
aea5d727
UD
492702012-03-08 Ulrich Drepper <drepper@gmail.com>
49271
49272 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
49273 be defined individually, they must be defined as a block. Define
49274 S for printing a string instead of hidint the different by using a
49275 macro for adding the 'l'.
49276 * stdio-common/tst-fphex-wide.c: Adjust.
49277
70bca0a3
MP
492782012-03-07 Marek Polacek <polacek@redhat.com>
49279
49280 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
49281
65b81130
MP
492822012-03-08 Marek Polacek <polacek@redhat.com>
49283
49284 [BZ #13806]
49285 * stdio-common/Makefile (tests): Add tst-fphex-wide.
49286 * stdio-common/tst-fphex.c: Define a few macros to make the
49287 test reusable. Use them.
49288 * stdio-common/tst-fphex-wide.c: New file.
49289
07037eeb
JM
492902012-03-08 Joseph Myers <joseph@codesourcery.com>
49291
a7a93d50
JM
49292 [BZ #6911]
49293 * manual/macros.texi (gnusystems): New macro.
49294 (nongnusystems): Likewise.
49295 (gnulinuxhurdsystems): Likewise.
49296 (gnuhurdsystems): Likewise..
49297 (gnulinuxsystems): Likewise.
49298 * manual/charset.texi: Use new macros or @theglibc{} to refer to
49299 variants of the GNU system, not "GNU system".
49300 * manual/conf.texi: Likewise.
49301 * manual/errno.texi: Likewise. Update example of errno macro
49302 expansion.
49303 * manual/filesys.texi: Likewise.
49304 (getumask): Document as specific to GNU/Hurd.
49305 * manual/install.texi: Likewise. Reword some references to
49306 GNU/Linux.
49307 * manual/intro.texi: Likewise.
49308 * manual/io.texi: Likewise.
49309 (File Name Portability): Detail which constraints are inapplicable
49310 to all GNU systems and which are only inapplicable to GNU/Hurd.
49311 * manual/job.texi: Likewise.
49312 * manual/llio.texi: Likewise.
49313 (O_NOCTTY): Document as present on GNU/Linux.
49314 * manual/maint.texi: Likewise.
49315 * manual/memory.texi: Likewise.
49316 * manual/pattern.texi: Likewise.
49317 * manual/pipe.texi: Likewise.
49318 * manual/process.texi: Likewise.
49319 * manual/resource.texi: Likewise.
49320 (RUSAGE_CHILDREN): Remove statement about specifying a particular
49321 child on GNU/Hurd.
49322 * manual/setjmp.texi: Likewise.
49323 * manual/signal.texi: Likewise.
49324 * manual/startup.texi: Likewise.
49325 * manual/stdio.texi: Likewise.
49326 * manual/terminal.texi: Likewise.
49327 (ONLCR): Document as POSIX.
49328 (OXTABS): Document availability on GNU/Linux as XTABS.
49329 (ONOEOT): Document availability separately from other bits.
49330 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
49331 * manual/time.texi: Likewise.
49332 * manual/users.texi: Likewise.
49333 * INSTALL: Regenerated.
49334 * sysdeps/gnu/errlist.c: Regenerated.
49335
07037eeb
JM
49336 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
49337 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
49338 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
49339 puts.
49340 * configure: Regenerated.
49341
d1d3431a
JM
493422012-03-07 Joseph Myers <joseph@codesourcery.com>
49343
af6a1e37
JM
49344 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
49345 default includes instead of AC_HEADER_CHECK.
49346 * sysdeps/i386/configure: Regenerated.
49347
d1d3431a
JM
49348 [BZ #10716]
49349 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
49350 * math/s_cacoshf.c (__cacoshf): Likewise.
49351 * math/s_cacoshl.c (__cacoshl): Likewise.
49352 * math/s_casinh.c (__casinh): Set signs of result from argument.
49353 * math/s_casinhf.c (__casinhf): Likewise.
49354 * math/s_casinhl.c (__casinhl): Likewise.
49355 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
49356 (casinh_test): Add more tests.
49357 * sysdeps/i386/fpu/libm-test-ulps: Update.
49358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49359
482ff4da
UD
493602012-03-07 Ulrich Drepper <drepper@gmail.com>
49361
872fda05
UD
49362 * po/zh_TW.po: Update from translation team.
49363
a4300c7a
UD
49364 * login/Makefile (distribute): Remove variable.
49365 * catgets/Makefile: Likewise.
49366 * mach/Makefile: Likewise.
49367 * malloc/Makefile: Likewise.
49368 * misc/Makefile: Likewise.
49369 * iconv/Makefile: Likewise.
49370 * nscd/Makefile: Likewise.
49371 * hurd/Makefile: Likewise.
49372 * manual/Makefile: Likewise.
49373 * locale/Makefile: Likewise.
49374 * intl/Makefile: Likewise.
49375 * conform/Makefile: Likewise.
49376 * nss/Makefile: Likewise.
49377 * time/Makefile: Likewise.
49378 * soft-fp/Makefile: Likewise.
49379 * dirent/Makefile: Likewise.
49380 * gmon/Makefile: Likewise.
49381 * po/Makefile: Likewise.
49382 * rt/Makefile: Likewise.
49383 * socket/Makefile: Likewise.
49384 * math/Makefile: Likewise.
49385 * signal/Makefile: Likewise.
49386 * debug/Makefile: Likewise.
49387 * elf/Makefile: Likewise.
49388 * timezone/Makefile: Likewise.
49389 * stdlib/Makefile: Likewise.
49390 * iconvdata/Makefile: Likewise.
49391 * sunrpc/Makefile: Likewise.
49392 * io/Makefile: Likewise.
49393 * argp/Makefile: Likewise.
49394 * inet/Makefile: Likewise.
49395 * hesiod/Makefile: Likewise.
49396 * grp/Makefile: Likewise.
49397 * csu/Makefile: Likewise.
49398 * wctype/Makefile: Likewise.
49399 * crypt/Makefile: Likewise.
49400 * libio/Makefile: Likewise.
49401 * string/Makefile: Likewise.
49402 * nis/Makefile: Likewise.
49403 * resolv/Makefile: Likewise.
49404 * stdio-common/Makefile: Likewise.
49405 * wcsmbs/Makefile: Likewise.
49406 * dlfcn/Makefile: Likewise.
49407 * posix/Makefile: Likewise.
49408
3b7c4e74 49409 [BZ #6959]
482ff4da
UD
49410 * timezone/Makefile: Don't install timezone files, just the programs
49411 and scripts.
49412
f72ed77d
UD
494132012-03-06 Ulrich Drepper <drepper@gmail.com>
49414
a000466f
UD
49415 * nss/databases.def: Add missing gshadow entry.
49416
f72ed77d
UD
49417 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
49418
a53b7a4e
MP
494192012-03-06 Marek Polacek <polacek@redhat.com>
49420
49421 [BZ #13726]
49422 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
49423 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
49424 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
49425 * stdio-common/tst-long-dbl-fphex.c: New file.
49426
e9258400
DM
494272012-03-06 David S. Miller <davem@davemloft.net>
49428
49429 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
49430 (set_obp_int): New function.
49431 (get_obp_int): New function.
49432 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
49433 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
49434 Avoid unused variable warnings on 'val' and use builtin_expect.
49435 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
49436 __builtin_expect.
e9258400
DM
49437 (INLINE_CLONE_SYSCALL): Likewise.
49438
3bd2c723
DM
494392012-03-05 David S. Miller <davem@davemloft.net>
49440
49441 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49442
bbb78d03
AS
494432012-03-05 Andreas Schwab <schwab@linux-m68k.org>
49444
884c5db4
AS
49445 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49446
bbb78d03
AS
49447 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
49448 only for |x| >= 40.
49449 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49450
1c9f702a 494512012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
49452
49453 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
49454 Replace gettimeofday with __vdso_gettimeofday.
49455
7be16f82
RM
49456 * sysdeps/unix/sysv/linux/x86_64/init-first.c
49457 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
49458 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
49459
49460 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
49461 time with __vdso_time.
49462
ed58a00f
JM
494632012-03-05 Joseph Myers <joseph@codesourcery.com>
49464
49465 * manual/lang.texi (size_t): Note types to which size_t may be
49466 equivalent with the GNU C Library, but do not describe when
49467 differences between them are significant.
49468
30ee4ced
AJ
494692012-03-05 Andreas Jaeger <aj@suse.de>
49470
49471 * sysdeps/i386/fpu/libm-test-ulps: Update.
49472
b7cd39e8
JM
494732012-03-05 Joseph Myers <joseph@codesourcery.com>
49474
49475 [BZ #3976]
49476 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
49477 (__ieee754_pow): Save and restore rounding mode and use
49478 round-to-nearest for main computations.
49479 * math/libm-test.inc (pow_test_tonearest): New function.
49480 (pow_test_towardzero): Likewise.
49481 (pow_test_downward): Likewise.
49482 (pow_test_upward): Likewise.
49483 (main): Call the new functions.
49484 * sysdeps/i386/fpu/libm-test-ulps: Update.
49485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
49486
49487 [BZ #3976]
49488 * math/libm-test.inc (cosh_test_tonearest): New function.
49489 (cosh_test_towardzero): Likewise.
49490 (cosh_test_downward): Likewise.
49491 (cosh_test_upward): Likewise.
49492 (sinh_test_tonearest): Likewise.
49493 (sinh_test_towardzero): Likewise.
49494 (sinh_test_downward): Likewise.
49495 (sinh_test_upward): Likewise.
49496 (main): Call the new functions.
49497 * sysdeps/i386/fpu/libm-test-ulps: Update.
49498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49499
6c6a98c9
TV
495002012-03-05 Tom de Vries <tom@codesourcery.com>
49501
49502 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
49503 default stack guard is set in last bytes.
49504 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
49505
21bb2d2e 495062012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 49507
21bb2d2e 49508 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 49509
21bb2d2e
AJ
49510 [BZ #13656]
49511 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
49512 possibly allocate from heap instead of stack.
49513 * stdio-common/bug-vfprintf-nargs.c: New file.
49514 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 49515
c6922934
AS
495162012-03-03 Andreas Schwab <schwab@linux-m68k.org>
49517
49518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49519
bc957d53
MP
495202012-03-03 Marek Polacek <polacek@redhat.com>
49521
49522 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
49523 * math/math_private.h: Likewise.
49524 * stdlib/tst-strtod.c: Likewise.
49525 * sysdeps/i386/i486/bits/atomic.h: Likewise.
49526 * sysdeps/x86_64/bits/atomic.h: Likewise.
49527
6358490d
DM
495282012-03-02 David S. Miller <davem@davemloft.net>
49529
49530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
49531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
49532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
49533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
49534 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
49535 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
49536 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
49537 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
49538
01ae168d
RM
495392012-03-02 Roland McGrath <roland@hack.frob.com>
49540
d9a17c07
RM
49541 [BZ #13792]
49542 * manual/examples/README: New file, says the example source files
49543 can be used under GPL>=2.
49544 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
49545 line containing just "*/".
49546 * manual/examples/add.c: Add copyright header (GPL>=2).
49547 * manual/examples/argp-ex1.c: Likewise.
49548 * manual/examples/argp-ex2.c: Likewise.
49549 * manual/examples/argp-ex3.c: Likewise.
49550 * manual/examples/argp-ex4.c: Likewise.
49551 * manual/examples/atexit.c: Likewise.
49552 * manual/examples/db.c: Likewise.
49553 * manual/examples/dir.c: Likewise.
49554 * manual/examples/dir2.c: Likewise.
49555 * manual/examples/execinfo.c: Likewise.
49556 * manual/examples/filecli.c: Likewise.
49557 * manual/examples/filesrv.c: Likewise.
49558 * manual/examples/fmtmsgexpl.c: Likewise.
49559 * manual/examples/genpass.c: Likewise.
49560 * manual/examples/inetcli.c: Likewise.
49561 * manual/examples/inetsrv.c: Likewise.
49562 * manual/examples/isockad.c: Likewise.
49563 * manual/examples/longopt.c: Likewise.
49564 * manual/examples/memopen.c: Likewise.
49565 * manual/examples/memstrm.c: Likewise.
49566 * manual/examples/mkfsock.c: Likewise.
49567 * manual/examples/mkisock.c: Likewise.
49568 * manual/examples/mygetpass.c: Likewise.
49569 * manual/examples/pipe.c: Likewise.
49570 * manual/examples/popen.c: Likewise.
49571 * manual/examples/rprintf.c: Likewise.
49572 * manual/examples/search.c: Likewise.
49573 * manual/examples/select.c: Likewise.
49574 * manual/examples/setjmp.c: Likewise.
49575 * manual/examples/sigh1.c: Likewise.
49576 * manual/examples/sigusr.c: Likewise.
49577 * manual/examples/stpcpy.c: Likewise.
49578 * manual/examples/strdupa.c: Likewise.
49579 * manual/examples/strftim.c: Likewise.
49580 * manual/examples/strncat.c: Likewise.
49581 * manual/examples/subopt.c: Likewise.
49582 * manual/examples/swapcontext.c: Likewise.
49583 * manual/examples/termios.c: Likewise.
49584 * manual/examples/testopt.c: Likewise.
49585 * manual/examples/testpass.c: Likewise.
49586 * manual/examples/timeval_subtract.c: Likewise.
49587
01ae168d
RM
49588 [BZ #13792]
49589 * manual/time.texi (Elapsed Time): Move timeval_subtract example
49590 function to ...
49591 * manual/timeval_subtract.c.texi: ... here, new file.
49592
49efa33d
DM
495932012-03-02 David S. Miller <davem@davemloft.net>
49594
49595 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
49596
28afd92d
JM
495972012-03-02 Joseph Myers <joseph@codesourcery.com>
49598
804360ed
JM
49599 [BZ #3976]
49600 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
49601 (__sin): Save and restore rounding mode and use round-to-nearest
49602 for all computations.
49603 (__cos): Save and restore rounding mode and use round-to-nearest
49604 for all computations.
49605 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
49606 <fenv.h>.
49607 (tan): Save and restore rounding mode and use round-to-nearest for
49608 all computations.
49609 * math/libm-test.inc (cos_test_tonearest): New function.
49610 (cos_test_towardzero): Likewise.
49611 (cos_test_downward): Likewise.
49612 (cos_test_upward): Likewise.
49613 (sin_test_tonearest): Likewise.
49614 (sin_test_towardzero): Likewise.
49615 (sin_test_downward): Likewise.
49616 (sin_test_upward): Likewise.
49617 (tan_test_tonearest): Likewise.
49618 (tan_test_towardzero): Likewise.
49619 (tan_test_downward): Likewise.
49620 (tan_test_upward): Likewise.
49621 (main): Call the new functions.
49622 * sysdeps/i386/fpu/libm-test-ulps: Update.
49623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49624
a6d06d7b
JM
49625 [BZ #10135]
49626 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
49627 small n, then large n, before computing and testing k+n.
49628 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
49629 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
49630 Likewise.
49631 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
49632 Likewise.
49633 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
49634 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
49635 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
49636 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
49637 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
49638 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
49639 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
49640 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
49641 * math/libm-test.inc (scalbn_test): Add more tests.
49642 (scalbln_test): Likewise.
49643
07e12bb3
JM
49644 * manual/filesys.texi (mode_t): Describe constraints on size and
49645 signedness, not exact equivalence to a particular type.
49646 (ino_t): Likewise.
49647 (ino64_t): Likewise.
49648 (dev_t): Likewise.
49649 (nlink_t): Likewise.
49650 (blkcnt_t): Likewise.
49651 (blkcnt64_t): Likewise.
49652 * manual/llio.texi (off_t): Likewise.
49653
28afd92d
JM
49654 [BZ #3976]
49655 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
49656 (__ieee754_exp): Save and restore rounding mode and use
49657 round-to-nearest for all computations.
49658 * math/libm-test.inc (exp_test_tonearest): New function.
49659 (exp_test_towardzero): Likewise.
49660 (exp_test_downward): Likewise.
49661 (exp_test_upward): Likewise.
49662 (main): Call the new functions.
49663 * sysdeps/i386/fpu/libm-test-ulps: Update.
49664 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49665
b1eeb65d
CD
496662012-03-01 Chris Demetriou <cgd@google.com>
49667
49668 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
49669 have predictable order.
49670
53362a4b
DM
496712012-03-01 David S. Miller <davem@davemloft.net>
49672
3c969083
DM
49673 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
49674
759707de
DM
49675 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
49676 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
49677 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
49678 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
49679
dfdb8ff2
DM
49680 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
49681 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
49682 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
49683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
49684 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
49685 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
49686 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
49687 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
49688 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
49689
ead89f96
DM
49690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
49691
7f66bd07
DM
49692 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
49693 * sysdeps/sparc/fpu/libm-test-ulps: to here.
49694 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
49695
53362a4b
DM
49696 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
49697 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
49698 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
49699 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
49700 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
49701 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
49702 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
49703 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
49704 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
49705 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
49706 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
49707 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
49708 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
49709 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
49710 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
49711 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49712 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
49713 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
49714 * sysdeps/sparc/elf/configure: Regenerated.
49715
7b1902cb
JM
497162012-03-01 Joseph Myers <joseph@codesourcery.com>
49717
bec039bc
JM
49718 * configure.in (AS, LD): Require binutils 2.20 or later.
49719 * configure: Regenerated.
49720 * manual/install.texi (Tools for Compilation): Give binutils 2.20
49721 as required minimum version.
49722 * INSTALL: Regenerated.
49723
7b1902cb
JM
49724 [BZ #2541]
49725 [BZ #4108]
49726 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
49727 before squaring exponent.
49728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
49729 bottom long double and 27 bits of top long double before squaring
49730 exponent.
49731 * math/libm-test.inc (erfc_test): Add more tests.
49732 * sysdeps/i386/fpu/libm-test-ulps: Update.
49733 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49735
f775c276
KT
497362012-03-01 Kai Tietz <ktietz@redhat.com>
49737
49738 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
49739 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
49740 containing bit-fields.
49741 * soft-fp/extended.h (_FP_UNION_E): Likewise.
49742 * soft-fp/single.h (_FP_UNION_S): Likewise.
49743 * soft-fp/double.h (_FP_UNION_D): Likewise.
49744
5b8a4d4a
JM
497452012-02-29 Joseph Myers <joseph@codesourcery.com>
49746
0bab47b6
JM
49747 [BZ #13786]
49748 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
49749 not include ../strcmp.S.
49750 [USE_AS_STRNCASECMP_L]: Likewise.
49751 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
49752 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
49753 * sysdeps/i386/i686/multiarch/strncase_l-c.c
49754 (__strncasecmp_l_ia32): Define as alias to
49755 __strncasecmp_l_nonascii.
49756
0fcad3e2
JM
49757 [BZ #5794]
49758 * math/libm-test.inc (expm1_test): Add test for bug 5794.
49759 * sysdeps/i386/fpu/libm-test-ulps: Update.
49760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49761
5b8a4d4a
JM
49762 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
49763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49764
8fdceb2e
JL
497652012-02-29 Jeff Law <law@redhat.com>
49766
49767 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
49768 out of bounds read.
49769
1f393a11
MP
497702012-02-29 Marek Polacek <polacek@redhat.com>
49771
49772 [BZ #13706]
49773 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
49774 * elf/Makefile: Add rules to run tst-unused-dep.out.
49775
8847f037
DM
497762012-02-28 David S. Miller <davem@davemloft.net>
49777
49778 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
49779 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
49780 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
49781 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
49782 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
49783 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
49784
169d7f11
JM
497852012-02-29 Joseph Myers <joseph@codesourcery.com>
49786
49787 * math/libm-test.inc (llround_test): Move one test from
49788 lround_test. Use TEST_f_L in moved test.
49789 (lround_test): Move misplaced test to llround_test. Add testcase
49790 from bug 2561.
49791
39adf059
UD
497922012-02-28 Ulrich Drepper <drepper@gmail.com>
49793
49794 * sysdeps/x86_64/fpu/e_expf.S: New file.
49795 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
49796
71b5d1c5
SB
497972012-02-28 Stanislav Brabec <sbrabec@suse.cz>
49798
49799 [BZ #13637]
49800 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
49801 of remain_len that may cause incomplete multi-byte character and
49802 false match.
49803 * posix/bug-regex33.c: New file.
49804 * posix/Makefile (tests): Add bug-regex33.
49805
1f77f049
JM
498062012-02-28 Joseph Myers <joseph@codesourcery.com>
49807
49808 * manual/macros.texi: New file.
49809 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
49810 * manual/libc.texinfo: Include macros.texi.
49811 * manual/creatute.texi: Likewise.
49812 * manual/install.texi: Likewise.
49813 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
49814 @glibcadj{} in references to the GNU C Library.
49815 * manual/charset.texi: Likewise.
49816 * manual/conf.texi: Likewise.
49817 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
49818 when not using those macros.
49819 * manual/creature.texi: Likewise.
49820 * manual/crypt.texi: Likewise.
49821 * manual/errno.texi: Likewise.
49822 * manual/filesys.texi: Likewise.
49823 * manual/header.texi: Likewise.
49824 * manual/install.texi: Likewise.
49825 * manual/intro.texi: Likewise.
49826 * manual/io.texi: Likewise.
49827 * manual/job.texi: Likewise.
49828 * manual/lang.texi: Likewise.
49829 * manual/libc.texiinfo: Likewise.
49830 * manual/llio.texi: Likewise.
49831 * manual/locale.texi: Likewise.
49832 * manual/maint.texi: Likewise.
49833 * manual/math.texi: Likewise.
49834 * manual/memory.texi: Likewise.
49835 * manual/message.texi: Likewise.
49836 * manual/nss.texi: Likewise.
49837 * manual/pattern.texi: Likewise.
49838 * manual/process.texi: Likewise.
49839 * manual/resource.texi: Likewise.
49840 * manual/search.texi: Likewise.
49841 * manual/setjmp.texi: Likewise.
49842 * manual/signal.texi: Likewise.
49843 * manual/socket.texi: Likewise.
49844 * manual/startup.texi: Likewise.
49845 * manual/stdio.texi: Likewise.
49846 * manual/string.texi: Likewise.
49847 * manual/sysinfo.texi: Likewise.
49848 * manual/syslog.texi: Likewise.
49849 * manual/terminal.texi: Likewise.
49850 * manual/time.texi: Likewise.
49851 * manual/users.texi: Likewise.
49852 * INSTALL: Regenerated.
49853 * NOTES: Regenerated.
d40c5d54 49854 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 49855
450bf206
AS
498562012-02-28 Andreas Schwab <schwab@linux-m68k.org>
49857
49858 * include/dirent.h: Include <dirstream.h> before
49859 <dirent/dirent.h>.
49860
741a235b
DM
498612012-02-28 David S. Miller <davem@davemloft.net>
49862
49863 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
49864 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
49865 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
49866 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
49867
d6b5aa58
DM
498682012-02-27 David S. Miller <davem@davemloft.net>
49869
1aff59a3
DM
49870 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
49871 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
49872 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
49873 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
49874
d6b5aa58
DM
49875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
49876 frame pointer instead of stack pointer relative arg slot.
49877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49878 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49879 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49880
433f48bf
CD
498812012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
49882
49883 [BZ #3992]
49884 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
49885
d674b76d
DM
498862012-02-27 David S. Miller <davem@davemloft.net>
49887
49888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
49889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
49890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
49891 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
49892 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
49893 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
49894 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
49895 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
49896
0e7727f7
JM
498972012-02-27 Joseph Myers <joseph@codesourcery.com>
49898
49899 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
49900 later. Allow versions 5-9.
43be4ca2 49901 * configure: Regenerated.
0e7727f7
JM
49902 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
49903 required minimum version and 4.6 as recommended version. Do not
49904 mention bugs in GCC 2.7 and 2.8.
43be4ca2 49905 * INSTALL: Regenerated.
0e7727f7 49906
a78bc654
DM
499072012-02-27 David S. Miller <davem@davemloft.net>
49908
428d5830
DM
49909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
49910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
49911 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
49912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
49913 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
49914 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
49915 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
49916 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
49917
a78bc654
DM
49918 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
49919 manipulate bits before adding and subtracting TWO112[sx].
49920 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
49921
4579f81c
RM
499222012-02-27 Roland McGrath <roland@hack.frob.com>
49923
36c8acb4
RM
49924 [BZ #13775]
49925 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
49926 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
49927 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
49928 being in POSIX, because they are in 1003.1-2008.
49929
84ad622b
RM
49930 * rt/tst-aio.c: Include <fcntl.h>.
49931 * rt/tst-aio7.c: Likewise.
49932 * rt/tst-aio64.c: Likewise.
49933
4579f81c
RM
49934 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
49935
abd923db
JM
499362012-02-27 Joseph Myers <joseph@codesourcery.com>
49937
49938 * manual/install.texi (--with-headers): Describe headers as
49939 interface headers, not private headers.
49940 (Specific advice for GNU/Linux systems): Describe use of headers
49941 from "make headers_install", not private headers from older
49942 kernels.
43be4ca2 49943 * INSTALL: Regenerated.
abd923db
JM
49944 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
49945 Change to 2.6.19.
49946 * sysdeps/unix/sysv/linux/configure: Regenerated.
49947
6664049b
JM
49948 * manual/llio.texi (fclean): Remove documentation.
49949
bb8b6697
JM
49950 * manual/Makefile (libc-texi-generated): New variable. Include
49951 version.texi.
49952 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
49953 $(libc-texi-generated), not duplicated list of files.
49954 (version.texi, stamp-version): New rules.
49955 (realclean): Remove $(libc-texi-generated), not individual files
49956 from that list. Do not remove dir-add.texinfo.
49957 * manual/libc.texinfo: Comment out uses of edition numbers and
49958 references to printed manual. Remove last-updated dates.
49959 (EDITION): Comment out.
49960 (ISBN): Likewise.
49961 (VERSION, UPDATED): Remove.
49962 (version.texi): Include.
49963
12e5c3b9
AS
499642012-02-27 Andreas Schwab <schwab@linux-m68k.org>
49965
49966 * sysdeps/posix/spawni.c: Include <signal.h>.
49967 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
49968 * sysdeps/pthread/aio_fsync.c: Likewise.
49969
4efeffc1 499702012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 49971
ba63ba08
UD
49972 * conform/Makefile (tests): Run only when not cross-compiling and
49973 when fast-check is not defined.
49974
d94a4670
UD
49975 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
49976 * conform/data/limits.h-data: Fixes for POSIX2008.
49977 * conform/run-conformtest.sh: Run all tests.
49978 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
49979 headers.
49980 * include/bits/dlfcn.h: Likewise.
49981 * include/langinfo.h: Likewise.
49982 * include/monetary.h: Likewise.
49983 * include/sys/poll.h: Likewise.
49984
49985 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
49986 for __USE_GNU.
49987 * posix/spawn.h: Define __need_sigset_t.
49988 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
49989 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
49990 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
49991 to get sigevent_t only.
49992 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
49993 only for __USE_GNU.
49994 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49995 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
49996 process_vm_writev only for __USE_GNU.
49997 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
49998
49999 * conform/Makefile: For now ignore errors from run-conformtest.
50000 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
50001 POSIX to avoid namespace pollution. Don't prepend headers.
50002 * conform/data/aio.h-data: Fixes for POSIX testing.
50003 * conform/data/fcntl.h-data: Likewise.
50004 * conform/data/glob.h-data: Likewise.
50005 * conform/data/grp.h-data: Likewise.
50006 * conform/data/pthread.h-data: Likewise.
50007 * conform/data/pwd.h-data: Likewise.
50008 * conform/data/signal.h-data: Likewise.
50009 * conform/data/spawn.h-data: Likewise.
50010 * conform/data/stdio.h-data: Likewise.
50011 * conform/data/stdlib.h-data: Likewise.
50012 * conform/data/stropts.h-data: Likewise.
50013 * conform/data/sys/mman.h-data: Likewise.
50014 * conform/data/sys/stat.h-data: Likewise.
50015 * conform/data/sys/types.h-data: Likewise.
50016 * conform/data/sys/wait.h-data: Likewise.
50017 * conform/data/time.h-data: Likewise.
50018 * conform/data/unistd.h-data: Likewise.
50019 * conform/data/utime.h-data: Likewise.
50020
50021 * io/sys/stat.h: fchmod was always in POSIX.
50022 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
50023 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
50024 * rt/aio.h: Define __need_timespec before including <time.h>.
50025 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
50026 struct. Add forward declaration of pthread_attr_t and use it in
50027 sigevent.
50028 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
50029 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
50030 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
50031 always remove CLK_TCK definition.
50032
c20105c3
AS
500332012-02-26 Andreas Schwab <schwab@linux-m68k.org>
50034
50035 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
50036
7a270350
UD
500372012-02-25 Ulrich Drepper <drepper@gmail.com>
50038
31341567
UD
50039 * conform/run-conformtest.sh: New file.
50040 * conform/Makefile: Run run-conformtest for tests.
50041 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
50042 support.
50043
50044 * conform/data/uchar.h-data: New file.
50045 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
50046 * conform/data/arpa/inet.h-data: Likewise.
50047 * conform/data/assert.h-data: Likewise.
50048 * conform/data/complex.h-data: Likewise.
50049 * conform/data/cpio.h-data: Likewise.
50050 * conform/data/ctype.h-data: Likewise.
50051 * conform/data/dirent.h-data: Likewise.
50052 * conform/data/dlfcn.h-data: Likewise.
50053 * conform/data/errno.h-data: Likewise.
50054 * conform/data/fcntl.h-data: Likewise.
50055 * conform/data/float.h-data: Likewise.
50056 * conform/data/fmtmsg.h-data: Likewise.
50057 * conform/data/fnmatch.h-data: Likewise.
50058 * conform/data/ftw.h-data: Likewise.
50059 * conform/data/glob.h-data: Likewise.
50060 * conform/data/grp.h-data: Likewise.
50061 * conform/data/iconv.h-data: Likewise.
50062 * conform/data/inttypes.h-data: Likewise.
50063 * conform/data/langinfo.h-data: Likewise.
50064 * conform/data/libgen.h-data: Likewise.
50065 * conform/data/limits.h-data: Likewise.
50066 * conform/data/locale.h-data: Likewise.
50067 * conform/data/math.h-data: Likewise.
50068 * conform/data/monetary.h-data: Likewise.
50069 * conform/data/mqueue.h-data: Likewise.
50070 * conform/data/ndbm.h-data: Likewise.
50071 * conform/data/net/if.h-data: Likewise.
50072 * conform/data/netdb.h-data: Likewise.
50073 * conform/data/netinet/in.h-data: Likewise.
50074 * conform/data/nl_types.h-data: Likewise.
50075 * conform/data/poll.h-data: Likewise.
50076 * conform/data/pthread.h-data: Likewise.
50077 * conform/data/pwd.h-data: Likewise.
50078 * conform/data/regex.h-data: Likewise.
50079 * conform/data/sched.h-data: Likewise.
50080 * conform/data/search.h-data: Likewise.
50081 * conform/data/semaphore.h-data: Likewise.
50082 * conform/data/setjmp.h-data: Likewise.
50083 * conform/data/signal.h-data: Likewise.
50084 * conform/data/spawn.h-data: Likewise.
50085 * conform/data/stdarg.h-data: Likewise.
50086 * conform/data/stdio.h-data: Likewise.
50087 * conform/data/stdlib.h-data: Likewise.
50088 * conform/data/string.h-data: Likewise.
50089 * conform/data/strings.h-data: Likewise.
50090 * conform/data/stropts.h-data: Likewise.
50091 * conform/data/sys/ipc.h-data: Likewise.
50092 * conform/data/sys/mman.h-data: Likewise.
50093 * conform/data/sys/msg.h-data: Likewise.
50094 * conform/data/sys/resource.h-data: Likewise.
50095 * conform/data/sys/select.h-data: Likewise.
50096 * conform/data/sys/sem.h-data: Likewise.
50097 * conform/data/sys/shm.h-data: Likewise.
50098 * conform/data/sys/socket.h-data: Likewise.
50099 * conform/data/sys/stat.h-data: Likewise.
50100 * conform/data/sys/statvfs.h-data: Likewise.
50101 * conform/data/sys/time.h-data: Likewise.
50102 * conform/data/sys/timeb.h-data: Likewise.
50103 * conform/data/sys/times.h-data: Likewise.
50104 * conform/data/sys/types.h-data: Likewise.
50105 * conform/data/sys/uio.h-data: Likewise.
50106 * conform/data/sys/un.h-data: Likewise.
50107 * conform/data/sys/utsname.h-data: Likewise.
50108 * conform/data/sys/wait.h-data: Likewise.
50109 * conform/data/syslog.h-data: Likewise.
50110 * conform/data/tar.h-data: Likewise.
50111 * conform/data/termios.h-data: Likewise.
50112 * conform/data/utime.h-data: Likewise.
50113 * conform/data/utmpx.h-data: Likewise.
50114 * conform/data/varargs.h-data: Likewise.
50115 * conform/data/wchar.h-data: Likewise.
50116 * conform/data/wctype.h-data: Likewise.
50117 * conform/data/wordexp.h-data: Likewise.
50118
50119 * include/stropts.h: New file.
50120 * include/uchar.h: New file.
50121 * include/aio.h: Changes to allow conformtest.pl to use the headers.
50122 * include/assert.h: Likewise.
50123 * include/ctype.h: Likewise.
50124 * include/dirent.h: Likewise.
50125 * include/dlfcn.h: Likewise.
50126 * include/fcntl.h: Likewise.
50127 * include/fnmatch.h: Likewise.
50128 * include/glob.h: Likewise.
50129 * include/grp.h: Likewise.
50130 * include/libio.h: Likewise.
50131 * include/locale.h: Likewise.
50132 * include/math.h: Likewise.
50133 * include/net/if.h: Likewise.
50134 * include/netdb.h: Likewise.
50135 * include/netinet/in.h: Likewise.
50136 * include/pthread.h: Likewise.
50137 * include/pwd.h: Likewise.
50138 * include/regex.h: Likewise.
50139 * include/sched.h: Likewise.
50140 * include/search.h: Likewise.
50141 * include/setjmp.h: Likewise.
50142 * include/signal.h: Likewise.
50143 * include/stdio.h: Likewise.
50144 * include/stdlib.h: Likewise.
50145 * include/string.h: Likewise.
50146 * include/sys/cdefs.h: Likewise.
50147 * include/sys/mman.h: Likewise.
50148 * include/sys/msg.h: Likewise.
50149 * include/sys/resource.h: Likewise.
50150 * include/sys/select.h: Likewise.
50151 * include/sys/socket.h: Likewise.
50152 * include/sys/stat.h: Likewise.
50153 * include/sys/statvfs.h: Likewise.
50154 * include/sys/time.h: Likewise.
50155 * include/sys/times.h: Likewise.
50156 * include/sys/uio.h: Likewise.
50157 * include/sys/utsname.h: Likewise.
50158 * include/sys/wait.h: Likewise.
50159 * include/termios.h: Likewise.
50160 * include/time.h: Likewise.
50161 * include/ulimit.h: Likewise.
50162 * include/unistd.h: Likewise.
50163 * include/utime.h: Likewise.
50164 * include/wchar.h: Likewise.
50165 * include/wctype.h: Likewise.
50166 * include/wordexp.h: Likewise.
50167
50168 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
50169
7a270350
UD
50170 * time/time.h: TIME_UTC must be a macro.
50171 Make timespec_get available for ISO C11 only as well.
50172
7724defc
UD
501732012-02-24 Ulrich Drepper <drepper@gmail.com>
50174
50175 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
50176 Reported by Peng Haitao <penght@cn.fujitsu.com>.
50177
6b1d1d46
JM
501782012-02-24 Joseph Myers <joseph@codesourcery.com>
50179
50180 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 50181
0f8bbd69
JM
501822012-02-24 Joseph Myers <joseph@codesourcery.com>
50183
50184 * manual/texinfo.tex: Update to version 2012-01-19.16.
50185
66ab80bc
JM
501862012-02-24 Joseph Myers <joseph@codesourcery.com>
50187
50188 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
50189
74981cc5
RM
501902012-02-24 Roland McGrath <roland@hack.frob.com>
50191
ee968201
RM
50192 [BZ #13738]
50193 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
50194 * manual/fdl-1.3.texi: New file.
50195 * manual/fdl-1.1.texi: File removed.
50196
74981cc5
RM
50197 [BZ #13738]
50198 * manual/libc.texinfo (FDL_VERSION): New @set.
50199 Use it for mention of FDL in cover text.
50200 (Documentation License): Use it in @include file name.
50201
7bb764bc
JM
502022012-02-22 Joseph Myers <joseph@codesourcery.com>
50203 Roland McGrath <roland@hack.frob.com>
50204
50205 [BZ #5461]
57f41c40
AS
50206 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
50207 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
50208 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
50209 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
50210 name.
50211 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
50212
6cbeae47
JM
502132012-02-22 Joseph Myers <joseph@codesourcery.com>
50214
50215 [BZ #2547]
50216 [BZ #11365]
50217 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
50218 manipulate bits before adding and subtracting TWO23[sx].
50219 * math/libm-test.inc (nearbyint_test): Add more tests.
50220
fe45ce09
JM
502212012-02-22 Joseph Myers <joseph@codesourcery.com>
50222
50223 [BZ #2548]
50224 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
50225 bits before adding and subtracting TWO23[sx].
50226 * math/libm-test.inc (rint_test): Add more tests.
50227 (rint_test_tonearest): Likewise.
50228 (rint_test_towardzero): Likewise.
50229 (rint_test_downward): Likewise.
50230 (rint_test_upward: Likewise.
50231
ff3b3d82
JM
502322012-02-22 Joseph Myers <joseph@codesourcery.com>
50233
50234 [BZ #10110]
50235 * include/stdc-predef.h: New file. Extracted from features.h.
50236 * include/features.h: Include stdc-predef.h.
50237 * Makefile (headers): Add stdc-predef.h.
50238 * CONFORMANCE (Compiler limitations): Update.
50239
ef0aab35
JM
502402012-02-22 Joseph Myers <joseph@codesourcery.com>
50241
50242 * manual/libc.texinfo (VERSION, UPDATED): Revert.
50243
58639409
DM
502442012-02-21 David S. Miller <davem@davemloft.net>
50245
50246 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
50247 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50248
c0e70b25
DM
502492012-02-20 David S. Miller <davem@davemloft.net>
50250
50251 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
50252 using a normal save/restore sequence, rather than allocating a
50253 dummy stack frame just to store a frame pointer and restore.
50254 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50255
fb06851d
JM
502562012-02-21 Joseph Myers <joseph@codesourcery.com>
50257
50258 * manual/install.texi: Fix stray word in line-wrapped comment.
50259
7a8b71c3
DM
502602012-02-20 David S. Miller <davem@davemloft.net>
50261
d510c123
DM
50262 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
50263 both binutils and gcc support GOTDATA.
50264
0722d7c2
DM
50265 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
50266 "rd %pc" in the PIC register setup sequences.
50267
3d2b3019
DM
50268 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
50269 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
50270 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
50271 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
50272 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
50273 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
50274 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50275 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
50276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
50277 (SYSCALL_ERROR_HANDLER): Likewise.
50278 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
50279 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
50280 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
50281 (SYSCALL_ERROR_HANDLER): Likewise.
50282
c80098a9
DM
50283 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
50284 (HAVE_GCC_GOTDATA): New.
50285 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
50286 relocation support in both binutils and gcc.
50287 * sysdeps/sparc/elf/configure: Regenerate.
50288
3a2545a0
DM
50289 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
50290 * sysdeps/sparc/sparc32/elf/configure: Delete.
50291 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
50292 * sysdeps/sparc/sparc64/elf/configure: Delete.
50293 * sysdeps/sparc/elf/configure.in: New file.
50294 * sysdeps/sparc/elf/configure: Generate.
50295
7a8b71c3
DM
50296 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
50297 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
50298 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50299 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
50300 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
50301
f1e86fca
JM
503022012-02-21 Joseph Myers <joseph@codesourcery.com>
50303
50304 * manual/install.texi: Do not mention specific glibc version
50305 numbers.
50306 * manual/libc.texinfo (VERSION, UPDATED): Update.
50307 (@copying): Use @copyright{} and range of years.
50308
0e7dfaef
JM
503092012-02-21 Joseph Myers <joseph@codesourcery.com>
50310
50311 [BZ #13695]
50312 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
50313 [crti.S not in sysdirs] (generated): Do not append.
50314 [crti.S not in sysdirs] (omit-deps): Likewise.
50315 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
50316 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
50317 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
50318 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
50319 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
50320 Likewise.
50321 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
50322 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
50323 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
50324 * csu/defs.awk: Remove file.
50325 * sysdeps/generic/initfini.c: Likewise.
50326 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
50327 variable.
50328 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
50329 Likewise.
50330
599af3ca
JM
503312012-02-20 Joseph Myers <joseph@codesourcery.com>
50332
50333 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
50334 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
50335 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
50336 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
50337 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50338 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
50339 <bits/epoll.h>.
50340 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
50341 (__EPOLL_PACKED): Define to empty if not defined by
50342 <bits/epoll.h>.
50343 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
50344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50345 bits/epoll.h.
50346
0e499750
JM
503472012-02-20 Joseph Myers <joseph@codesourcery.com>
50348
50349 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
50350 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
50351 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
50352 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
50353 <bits/timerfd.h>.
50354 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
50355 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50356 bits/timerfd.h.
50357
5ad91f6e
JM
503582012-02-20 Joseph Myers <joseph@codesourcery.com>
50359
50360 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
50361 in C locale.
50362 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
50363 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
50364 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
50365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50366
06b99b02
AJ
503672012-02-20 Aurelien Jarno <aurelien@aurel32.net>
50368
50369 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50370 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
50371
7638c0fd
AS
503722012-02-19 Andreas Schwab <schwab@linux-m68k.org>
50373
50374 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
50375 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
50376 defined.
50377 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
50378 Likewise.
50379 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
50380 entry for 2.16.
50381
92221550
AJ
503822012-02-19 Aurelien Jarno <aurelien@aurel32.net>
50383
50384 * math/w_acos.c: Use non-signaling floating-point comparisons.
50385 * math/w_acosf.c: Likewise.
50386 * math/w_acosh.c: Likewise.
50387 * math/w_acoshf.c: Likewise.
50388 * math/w_acoshl.c: Likewise.
50389 * math/w_acosl.c: Likewise.
50390 * math/w_asin.c: Likewise.
50391 * math/w_asinf.c: Likewise.
50392 * math/w_asinl.c: Likewise.
50393 * math/w_atanh.c: Likewise.
50394 * math/w_atanhf.c: Likewise.
50395 * math/w_atanhl.c: Likewise.
50396 * math/w_exp2.c: Likewise.
50397 * math/w_exp2f.c: Likewise.
50398 * math/w_exp2l.c: Likewise.
50399 * math/w_j0.c: Likewise.
50400 * math/w_j0f.c: Likewise.
50401 * math/w_j0l.c: Likewise.
50402 * math/w_j1.c: Likewise.
50403 * math/w_j1f.c: Likewise.
50404 * math/w_j1l.c: Likewise.
50405 * math/w_jn.c: Likewise.
50406 * math/w_jnf.c: Likewise.
50407 * math/w_log.c: Likewise.
50408 * math/w_log10.c: Likewise.
50409 * math/w_log10f.c: Likewise.
50410 * math/w_log10l.c: Likewise.
50411 * math/w_log2.c: Likewise.
50412 * math/w_log2f.c: Likewise.
50413 * math/w_log2l.c: Likewise.
50414 * math/w_logf.c: Likewise.
50415 * math/w_logl.c: Likewise.
50416 * math/w_sqrt.c: Likewise.
50417 * math/w_sqrtf.c: Likewise.
50418 * math/w_sqrtl.c: Likewise.
50419 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
50420 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
50421 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50422 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
50423 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
50424
ebaf36eb
JM
504252012-02-19 Joseph Myers <joseph@codesourcery.com>
50426
50427 [BZ #9739]
50428 * manual/string.texi (strnlen): Use correct parameter name in
50429 equivalent expression.
50430
71c254a6
JM
504312012-02-19 Joseph Myers <joseph@codesourcery.com>
50432
50433 [BZ #11174]
50434 * manual/users.texi (seteuid): Consistently use neweuid for
50435 argument name.
50436
16d2c631
JM
504372012-02-19 Joseph Myers <joseph@codesourcery.com>
50438
50439 [BZ #13704]
50440 * manual/nss.texi (Services in the NSS configuration): Correct
50441 list of services in example configuration file.
50442
cd837b09
NB
504432012-02-19 Nick Bowler <nbowler@draconx.ca>
50444
50445 [BZ #11322]
50446 * manual/arith.texi: Remove statements about negative zero
50447 behaving identically to zero.
50448
02c4bbad
JM
504492012-02-18 Joseph Myers <joseph@codesourcery.com>
50450
50451 [BZ #5993]
50452 * manual/install.texi: Do not document upgrading from libc5.
50453
366842e7
JM
504542012-02-18 Joseph Myers <joseph@codesourcery.com>
50455
50456 [BZ #4596]
50457 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
50458
dd54084d
DM
504592012-02-18 David S. Miller <davem@davemloft.net>
50460
50461 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
50462 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
50463 %o7 across the call.
50464 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
50465 instead.
50466 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
50467 SETUP_PIC_REG_LEAF.
50468 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50469 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
50470 * sysdeps/sparc/crtn.S: Likewise.
50471
2bcc53a3
UD
504722012-02-17 Ulrich Drepper <drepper@gmail.com>
50473
50474 * aout/Makefile: Remove.
50475
09c093b5
RK
504762012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
50477
50478 [BZ #13058]
50479 * manual/examples/argp-ex1.c (main): Format definition in GNU
50480 style.
50481 * manual/examples/argp-ex2.c (main): Likewise.
50482 * manual/examples/argp-ex3.c (main): Likewise.
50483 * manual/examples/argp-ex4.c (main): Likewise.
50484 * manual/examples/longopt.c (main): Use new-style prototype
50485 definition.
50486 * manual/examples/strncat.c (main): Specify return type and use
50487 (void) for arguments.
50488 * manual/examples/subopt.c (main): Use char **argv argument.
50489
2ee633a2
JM
504902012-02-17 Joseph Myers <joseph@codesourcery.com>
50491
50492 [BZ #5077]
50493 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
50494 rounding modes.
50495
0520adde
FB
504962012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
50497
50498 [BZ #6907]
50499 * manual/string.texi (strchr): Change when strchrnul is
50500 recommended.
50501
3f4081cd
DGM
505022012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
50503
50504 [BZ #174]
50505 * manual/locale.texi (setlocale): Document LOCPATH.
50506
d1b10e78
JM
505072012-02-17 Joseph Myers <joseph@codesourcery.com>
50508
50509 [BZ #10210]
50510 * manual/process.texi (execle): Move @dots{} before last argument.
50511
79c6869c
PB
505122012-02-17 Paul Bolle <pebolle@tiscali.nl>
50513
50514 [BZ #12047]
50515 * manual/charset.texi (Generic Charset Conversion): Fix typo
50516 (LC_TYPE -> LC_CTYPE).
50517
cc6e48bc
NB
505182012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
50519
50520 [BZ #5805]
50521 * manual/arith.texi (scalbn): Use @var{} on parameter names.
50522 (scalbnf): Likewise.
50523 (scalbnl): Likewise.
50524 (scalbln): Likewise.
50525 (scalblnf): Likewise.
50526 (scalblnl): Likewise.
50527 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
50528 (vwarnx): Likewise.
50529 (verr): Likewise.
50530 (verrx): Likewise.
50531 * manual/filesys.texi (telldir): Use braces around return type.
50532 * manual/llio.texi (mmap): Add space after comma.
50533 (mmap64): Likewise.
50534 * manual/math.texi (jn): Use @var{} on parameter names.
50535 (jnf): Likewise.
50536 (jnl): Likewise.
50537 (yn): Likewise.
50538 (ynf): Likewise.
50539 (ynl): Likewise.
50540 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
50541 line.
50542 * manual/resource.texi (ulimit): Use @dots{} instead of literal
50543 "...".
50544 (sched_get_priority_min): Remove semicolon on @deftypefun line.
50545 (sched_get_priority_max): Likewise.
50546 * manual/signal.texi (sigvec): Add space after comma.
50547 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
50548 names.
50549 (if_indextoname): Likewise.
50550 (if_freenameindex): Likewise.
50551 (sendto): Use ',' instead of '.' in prototype.
50552 * manual/startup.texi (syscall): Use @dots{} instead of literal
50553 "...".
50554 * manual/stdio.texi (__fpending): Separate initial words of
50555 paragraph from @deftypefun line.
50556 * manual/syslog.texi (syslog): Use @dots{} instead of literal
50557 "...".
50558 (vsyslog): Use @var{} on parameter names.
50559 * manual/terminal.texi (stty): Use @var{} on parameter names.
50560 * manual/users.texi (getutmp): Use @var{} on parameter names.
50561 (getutmpx): Likewise.
50562
5b23062f
JM
505632012-02-17 Joseph Myers <joseph@codesourcery.com>
50564
50565 [BZ #6884]
50566 * manual/stdio.texi (fopen): Fix typos in description of
50567 ",ccs=STRING".
50568
8dee4833
AJ
505692012-02-17 Aurelien Jarno <aurelien@aurel32.net>
50570
50571 [BZ #4026]
50572 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
50573 get clock_id definition.
50574
9078ce93
TS
505752012-02-17 Thomas Schwinge <thomas@schwinge.name>
50576
50577 [BZ #4822]
50578 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
50579 (madvise): Cast every argument to void on its own.
50580
3835c55f
JM
505812012-02-17 Joseph Myers <joseph@codesourcery.com>
50582
50583 [BZ #9902]
50584 * manual/startup.texi (Exit Status): Fix typo.
50585
35c47e37
JM
505862012-02-17 Joseph Myers <joseph@codesourcery.com>
50587
50588 [BZ #10140]
50589 * manual/examples/argp-ex1.c: Include <stdlib.h>.
50590 * manual/examples/argp-ex2.c: Likewise.
50591 * manual/examples/argp-ex3.c: Likewise.
50592
e3b69ca7
RH
505932012-02-16 Richard Henderson <rth@redhat.com>
50594
50595 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
50596 * sysdeps/s390/s390-32/initfini.c: Remove.
50597 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
50598 * sysdeps/s390/s390-64/initfini.c: Remove.
50599
df83af67
KK
506002012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50601
50602 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
50603 compiler output for sysdeps/generic/initfini.c.
50604 * sysdeps/sh/elf/initfini.c: Remove file.
50605
f63f3380
DM
506062012-02-16 David S. Miller <davem@davemloft.net>
50607
fb59b3a4
DM
50608 [BZ #11494]
50609 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
50610
f63f3380
DM
50611 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
50612 * sysdeps/sparc/crti.S: New file.
50613 * sysdeps/sparc/crtn.S: New file.
50614 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
50615 * sysdeps/sparc/sparc64/Makefile: Likewise.
50616
df6a4a4a
MF
506172012-02-15 Mike Frysinger <vapier@gentoo.org>
50618
6dd8f3dc 50619 [BZ #3335]
df6a4a4a
MF
50620 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
50621
1cac7236
RM
506222012-02-15 Roland McGrath <roland@hack.frob.com>
50623
d2c736f8
RM
50624 [BZ #4822]
50625 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
50626
1cac7236
RM
50627 * mach/devstream.c (cookie_io_functions_t): Macro removed.
50628 (write, read, close): Likewise.
50629 Patch by Aurelien Jarno <aurelien@aurel32.net>.
50630
8e475601
JM
506312012-02-15 Joseph Myers <joseph@codesourcery.com>
50632
50633 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
50634 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
50635 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
50636 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
50637 <bits/signalfd.h>.
50638 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
50639 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50640 bits/signalfd.h.
50641
ed656b40
MP
506422012-02-14 Marek Polacek <polacek@redhat.com>
50643
50644 * sysdeps/x86_64/crti.S: New file.
50645 * sysdeps/x86_64/crtn.S: New file.
50646 * sysdeps/x86_64/elf/initfini.c: Remove file.
50647
2a979d3a
JM
506482012-02-13 Joseph Myers <joseph@codesourcery.com>
50649
50650 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
50651 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
50652 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
50653 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
50654 <bits/inotify.h>.
50655 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
50656 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50657 bits/inotify.h.
50658
2a418ac3
JM
506592012-02-13 Joseph Myers <joseph@codesourcery.com>
50660
50661 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
50662 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
50663 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
50664 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
50665 <bits/eventfd.h>.
50666 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
50667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
50668 bits/eventfd.h.
50669
fb779be7
TS
506702012-02-10 Thomas Schwinge <thomas@codesourcery.com>
50671
e19e83c5
RM
50672 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
50673 __feraiseexcept instead of feraiseexcept.
7c35ffed 50674
fb779be7
TS
50675 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
50676 nanosleep invocations.
50677 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
50678 strings, and add error checking for a nanosleep invocations.
50679
59ba27a6
PE
506802012-02-09 Paul Eggert <eggert@cs.ucla.edu>
50681
50682 Replace FSF snail mail address with URLs, as per GNU coding standards.
50683 Most of the snail mail addresses were wrong anyway, and omitting
50684 them makes the source code easier to maintain. Almost all of the
50685 changes are to license notices and to locale LC_IDENTIFICATION
50686 addresses, except for this one:
50687 * manual/libc.texinfo: In "Published by", give the FSF's URL,
50688 not its snail mail address.
50689
57b957eb
RH
506902012-02-09 Richard Henderson <rth@twiddle.net>
50691
af850b1c
RH
50692 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
50693 of kernel-features.h.
50694
57b957eb
RH
50695 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
50696
6b73181a
MP
506972012-02-08 Marek Polacek <polacek@redhat.com>
50698
50699 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
50700 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
50701 * sysdeps/gnu/_G_config.h: Likewise.
50702 * sysdeps/generic/_G_config.h: Likewise.
50703
26ecc33a
AS
507042012-02-08 Andreas Schwab <schwab@linux-m68k.org>
50705
6c6dbc63
AS
50706 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
50707 tests.
50708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50709
e216c012
AS
50710 * sysdeps/powerpc/powerpc32/crti.S: New file.
50711 * sysdeps/powerpc/powerpc32/crtn.S: New file.
50712 * sysdeps/powerpc/powerpc64/crti.S: New file.
50713 * sysdeps/powerpc/powerpc64/crtn.S: New file.
50714
26ecc33a
AS
50715 * Makeconfig (have-initfini): Don't set.
50716 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
50717 * configure.in (nopic_initfini): Don't substitute.
50718 * config.h.in (HAVE_INITFINI): Don't #undef.
50719 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
50720 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
50721
3add8e13
JM
507222012-02-08 Joseph Myers <joseph@codesourcery.com>
50723
50724 Support crti.S and crtn.S provided directly by architectures.
50725 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
50726 [crti.S in sysdirs] (omit-deps): Likewise.
50727 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
50728 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
50729 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
50730 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
50731 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
50732 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
50733 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
50734 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
50735 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
50736 compiler output for sysdeps/generic/initfini.c.
50737 * sysdeps/i386/elf/Makefile: Remove file.
50738 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
50739
a22f12b4
MP
507402012-02-07 Marek Polacek <polacek@redhat.com>
50741
50742 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
50743 * sysdeps/gnu/_G_config.h: Likewise.
50744 * sysdeps/mach/hurd/_G_config.h: Likewise.
50745
148cf100
MP
507462012-02-07 Marek Polacek <polacek@redhat.com>
50747
50748 * math/Makefile (tests): Add tst-CMPLX2.
50749 * math/tst-CMPLX2.c: New file.
50750
cfdc0dd7
AS
507512012-02-07 Andreas Schwab <schwab@linux-m68k.org>
50752
84ba42c4
AS
50753 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50754
cfdc0dd7
AS
50755 * math/libm-test.inc (jn_test): Add missing L suffix.
50756
622c86f4
MP
507572012-02-06 Marek Polacek <polacek@redhat.com>
50758
50759 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
50760 * sysdeps/i386/fpu/e_powf.S: Likewise.
50761 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
50762 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
50763 * sysdeps/i386/fpu/e_acosh.S: Likewise.
50764 * sysdeps/i386/fpu/e_pow.S: Likewise.
50765 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
50766 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
50767 * sysdeps/i386/fpu/s_expm1.S: Likewise.
50768 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
50769 * sysdeps/i386/fpu/e_log2.S: Likewise.
50770 * sysdeps/i386/fpu/e_log2l.S: Likewise.
50771 * sysdeps/i386/fpu/e_scalb.S: Likewise.
50772 * sysdeps/i386/fpu/e_powl.S: Likewise.
50773 * sysdeps/i386/fpu/s_log1p.S: Likewise.
50774 * sysdeps/i386/fpu/e_log10f.S: Likewise.
50775 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
50776 * sysdeps/i386/fpu/e_logl.S: Likewise.
50777 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
50778 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
50779 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
50780 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
50781 * sysdeps/i386/fpu/e_log2f.S: Likewise.
50782 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
50783 * sysdeps/i386/fpu/e_log.S: Likewise.
50784 * sysdeps/i386/fpu/s_cexp.S: Likewise.
50785 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
50786 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
50787 * sysdeps/i386/fpu/e_logf.S: Likewise.
50788 * sysdeps/i386/fpu/e_log10l.S: Likewise.
50789 * sysdeps/i386/fpu/e_atanh.S: Likewise.
50790 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
50791 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
50792 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
50793 * sysdeps/i386/fpu/e_log10.S: Likewise.
50794 * sysdeps/i386/fpu/s_frexp.S: Likewise.
50795 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
50796 * sysdeps/i386/fpu/s_asinh.S: Likewise.
50797 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
50798 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
50799 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
50800 * sysdeps/i386/asm-syntax.h: Likewise.
50801 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
50802 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
50803 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
50804 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
50805 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
50806 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
50807 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
50808 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
50809 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
50810 * sysdeps/powerpc/sysdep.h: Likewise.
50811 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
50812 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
50813
d4a54ac6
JM
508142012-02-06 Joseph Myers <joseph@codesourcery.com>
50815
50816 [BZ #411]
50817 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
50818
314054ea
JM
508192012-02-06 Joseph Myers <joseph@codesourcery.com>
50820
50821 * sysdeps/i386/sysdep.h: Include <features.h>.
50822 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
50823 version.
50824
d8e0ca50
JM
508252012-02-05 Joseph Myers <joseph@codesourcery.com>
50826
50827 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
50828 Define.
50829 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
50830 LOAD_PIC_REG_STR.
50831
b1da7dd9
JM
508322012-02-03 Joseph Myers <joseph@codesourcery.com>
50833
50834 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
50835 (SETUP_PIC_REG): Use GET_PC_THUNK.
50836 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
50837 macro.
50838
9a1d9254
JM
508392012-02-03 Joseph Myers <joseph@codesourcery.com>
50840
50841 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
50842 for non-PIC compilation.
50843 (SETUP_PIC_REG): Add .p2align directive.
50844 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
50845 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
50846 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
50847 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
50848 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
50849 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
50850 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
50851 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
50852 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
50853 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
50854 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
50855 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
50856 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
50857 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
50858 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
50859 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
50860 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
50861 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
50862 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
50863 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
50864 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
50865 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
50866 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
50867 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
50868 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
50869 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
50870 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50871 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
50872 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
50873 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
50874 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
50875 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50876 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
50877 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
50878 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
50879 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
50880 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
50881 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
50882 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
50883 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
50884 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
50885
65dc3b75
JM
508862012-02-03 Joseph Myers <joseph@codesourcery.com>
50887
50888 * math/tst-CMPLX.c: Include <stdio.h>.
50889
d55bf177
JM
508902012-01-31 Joseph Myers <joseph@codesourcery.com>
50891
50892 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
50893 float.
50894 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
50895 * sysdeps/sparc/bits/mathdef.h: Likewise.
50896
69db4f8f
MP
508972012-01-31 Marek Polacek <polacek@redhat.com>
50898
50899 * libio/libio.h: Don't define _PARAMS.
50900 * locale/programs/config.h: Don't define PARAMS.
50901 * stdlib/strtol_l.c: Likewise.
50902 (__strtol_l): Remove PARAMS from the prototype.
50903
41b81892
UD
509042012-01-31 Ulrich Drepper <drepper@gmail.com>
50905
3b49edc0
UD
50906 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
50907 names. Just use the correct names. Remove unnecessary wrapper
50908 functions.
50909 * malloc/arena.c: Likewise.
50910 * malloc/hooks.c: Likewise.
50911
41b81892
UD
50912 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
50913 ARENA_TEST says not to. Simplify test for creation of a new arena.
50914 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
50915
27a25b6e
UD
509162012-01-30 Ulrich Drepper <drepper@gmail.com>
50917
50918 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
50919 into tail calls.
50920 (update_get_addr): New function.
50921 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
50922 GET_ADDR_MODULE parameter.
50923
c8a89e7d
JM
509242012-01-30 Joseph Myers <joseph@codesourcery.com>
50925
50926 * crypt/cert.c: Remove __STDC__ conditionals.
50927 * crypt/crypt-entry.c: Likewise.
50928 * crypt/crypt_util.c: Likewise.
50929 * libio/filedoalloc.c: Likewise.
50930 * libio/fileops.c: Likewise.
50931 * libio/genops.c: Likewise.
50932 * libio/iofclose.c: Likewise.
50933 * libio/iofdopen.c: Likewise.
50934 * libio/iofopen.c: Likewise.
50935 * libio/iofopen64.c: Likewise.
50936 * libio/iogetdelim.c: Likewise.
50937 * libio/iopopen.c: Likewise.
50938 * libio/obprintf.c: Likewise.
50939 * libio/oldfileops.c: Likewise.
50940 * libio/oldiofclose.c: Likewise.
50941 * libio/oldiofdopen.c: Likewise.
50942 * libio/oldiofopen.c: Likewise.
50943 * libio/oldiopopen.c: Likewise.
50944 * libio/wfiledoalloc.c: Likewise.
50945 * libio/wgenops.c: Likewise.
50946 * locale/programs/xmalloc.c: Likewise.
50947 * misc/syslog.c: Likewise.
50948 * stdio-common/xbug.c: Likewise.
50949 * string/memchr.c: Likewise.
50950 * string/memcmp.c: Likewise.
50951 * string/memrchr.c: Likewise.
50952 * string/rawmemchr.c: Likewise.
50953 * sysdeps/posix/getcwd.c: Likewise.
50954 * time/strftime_l.c: Likewise.
50955
3b100462
JM
509562012-01-30 Joseph Myers <joseph@codesourcery.com>
50957
50958 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
50959 * config.make.in (config-cflags-sse2avx): Define.
50960 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
50961 Fix typo.
50962
607998af
CM
509632012-01-29 Chris Metcalf <cmetcalf@tilera.com>
50964
50965 * scripts/config.guess: Update from upstream config git repository.
50966 * scripts/config.sub: Likewise.
50967
3601428f
CM
509682012-01-28 Chris Metcalf <cmetcalf@tilera.com>
50969
3ac8b282
CM
50970 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
50971 (EM_NUM): Update.
50972 (R_TILEPRO_*, R_TILEGX_*): New macros.
50973
e034841e
CM
50974 * scripts/firstversions.awk: Fix bug in version range handling.
50975
540d7568
CM
50976 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
50977
3601428f
CM
50978 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
50979
463de862
CM
50980 * include/sys/epoll.h: New file.
50981 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
50982 libc_hidden_def.
50983
73139a76
UD
509842012-01-28 Ulrich Drepper <drepper@gmail.com>
50985
96bc5b45
UD
50986 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
50987 Avoid unnecessary __WORDSIZE == 64 test.
50988 (fmaxf): Use VEX format if possible.
50989 (fmax): Likewise.
50990 (fminf): Likewise.
50991 (fmin): Likewise.
50992
56f6f6a2
UD
50993 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
50994 * math/math_private.h: Remove libc_fegetround* and
50995 libc_fesetround*.
50996 * sysdeps/i386/configure.in: Check for -msse2avx.
50997 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
50998 also if SSE2AVX is defined.
50999 Remove libc_fegetround* and libc_fesetround*.
51000 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
51001 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
51002 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
51003 of HAS_YMM_USABLE.
51004 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51005 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51006 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51007 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51008 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51009
73139a76
UD
51010 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
51011
d73f93a4
AZ
510122012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51013
51014 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
51015 size is not set.
51016 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
51017
6ee65ed6
UD
510182012-01-27 Ulrich Drepper <drepper@gmail.com>
51019
51020 [BZ #13618]
51021 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
51022 relocation.
51023 * Makeconfig (libm): Define.
51024 * elf/Makefile: Add rules to build and run tst-relsort1.
51025 * elf/tst-relsort1.c: New file.
51026 * elf/tst-relsort1mod1.c: New file.
51027 * elf/tst-relsort1mod2.c: New file.
51028
8db21882
JM
510292012-01-27 Joseph Myers <joseph@codesourcery.com>
51030
51031 * math/s_ldexp.c: Remove __STDC__ conditionals.
51032 * math/s_ldexpf.c: Likewise.
51033 * math/s_ldexpl.c: Likewise.
51034 * math/s_nextafter.c: Likewise.
51035 * math/s_nexttowardf.c: Likewise.
51036 * math/s_significand.c: Likewise.
51037 * math/s_significandf.c: Likewise.
51038 * math/s_significandl.c: Likewise.
51039 * math/w_jnl.c: Likewise.
51040 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
51041 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
51042 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
51043 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
51044 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
51045 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51046 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
51047 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51048 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51049 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51050 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51051 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51052 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51053 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
51054 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51055 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51056 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51057 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51058 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
51059 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51060 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51061 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
51062 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
51063 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
51064 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
51065 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
51066 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
51067 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
51068 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
51069 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
51070 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
51071 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
51072 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
51073 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
51074 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
51075 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
51076 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
51077 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
51078 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
51079 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
51080 * sysdeps/ieee754/k_standard.c: Likewise.
51081 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51082 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
51083 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
51084 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
51085 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
51086 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
51087 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
51088 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
51089 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
51090 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
51091 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
51092 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
51093 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
51094 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
51095 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
51096 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
51097 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
51098 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
51099 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
51100 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
51101 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
51102 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
51103 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
51104 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
51105 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
51106 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
51107 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51108 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51109 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
51110 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
51111 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
51112 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
51113 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
51114 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
51115 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
51116 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
51117 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
51118 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
51119 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
51120 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
51121 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
51122 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
51123 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
51124 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
51125 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
51126 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
51127 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
51128 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
51129 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
51130 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
51131 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
51132 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
51133 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
51134 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
51135 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
51136 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
51137 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
51138 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51139 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51140 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51141 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
51142 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
51143 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
51144 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
51145 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
51146 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
51147 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
51148 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
51149 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
51150 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
51151 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
51152 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
51153 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
51154 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
51155 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
51156 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
51157 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
51158 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
51159 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
51160 * sysdeps/ieee754/s_matherr.c: Likewise.
51161 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
51162 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
51163 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
51164 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
51165
965a54a4
JM
511662012-01-26 Joseph Myers <joseph@codesourcery.com>
51167
51168 * crypt/md5.h: Remove __STDC__ conditionals.
51169 * libio/libioP.h: Likewise.
51170 * locale/programs/config.h: Likewise.
51171 * sysdeps/generic/sysdep.h: Likewise.
51172 * sysdeps/i386/asm-syntax.h: Likewise.
51173 * sysdeps/s390/asm-syntax.h: Likewise.
51174 * sysdeps/unix/sysdep.h: Likewise.
51175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
51176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
51177
7071ad79
JM
511782012-01-26 Joseph Myers <joseph@codesourcery.com>
51179
51180 * libio/libio.h: Remove __STDC__ conditionals.
51181 * malloc/obstack.h: Likewise.
51182 * math/complex.h: Likewise.
51183 * math/math.h: Likewise.
51184 * sysdeps/generic/_G_config.h: Likewise.
51185 * sysdeps/gnu/_G_config.h: Likewise.
51186 * sysdeps/mach/hurd/_G_config.h: Likewise.
51187 * sysdeps/powerpc/bits/mathdef.h: Likewise.
51188 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
51189 * sysdeps/sparc/bits/mathdef.h: Likewise.
51190
afc5ed09
UD
511912012-01-26 Ulrich Drepper <drepper@gmail.com>
51192
51193 [BZ #13583]
51194 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 51195 Clean up HAS_* macros.
afc5ed09 51196 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
51197 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
51198 possible.
51199 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
51200 HAS_AVX.
51201 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51202 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51203 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51204 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51205 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 51206
bdb6de1d
JM
512072012-01-25 Joseph Myers <joseph@codesourcery.com>
51208
51209 * elf/tst-unique3.cc (gets): Remove declaration.
51210 * elf/tst-unique3lib.cc (gets): Likewise.
51211 * elf/tst-unique3lib2.cc (gets): Likewise.
51212 * elf/tst-unique4.cc (gets): Likewise.
51213
b15549e6
UD
512142012-01-24 Ulrich Drepper <drepper@gmail.com>
51215
51216 * include/stdio.h: Add C++ protection. Add gets declarations and
51217 definitions.
51218 * debug/tst-chk1.c: Don't declare gets here.
51219 * stdio-common/tst-gets.c: Likewise.
51220
a037381f
JM
512212012-01-24 Joseph Myers <joseph@codesourcery.com>
51222
51223 * posix/glob: Remove directory.
51224
f1d4aa75
JM
512252012-01-24 Joseph Myers <joseph@codesourcery.com>
51226
51227 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
51228
81c0c964
PT
512292012-01-22 Pino Toscano <toscano.pino@tiscali.it>
51230
51231 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
51232 of the non-standard EPFNOSUPPORT.
51233
0ea698ae
ST
512342011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
51235
51236 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
51237 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
51238 ANYWHERE set to 1 only on KERN_NO_SPACE error.
51239
d220b117
UD
512402012-01-21 Ulrich Drepper <drepper@gmail.com>
51241
51242 * wcsmbs/uchar.h: Test __STDC_VERSION__.
51243
3e1aa84e
UD
512442012-01-20 Ulrich Drepper <drepper@gmail.com>
51245
51246 * nscd/aicache.c (addhstaiX): Do not cache negative results of
51247 transient errors.
51248 * nscd/grpcache.c (cache_addgr): Likewise.
51249 * nscd/hstcache.c (cache_addhst): Likewise.
51250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51251 * nscd/pwdcache.c (cache_addpw): Likewise.
51252 * nscd/servicescache.c (cache_addserv): Likewise.
51253
400aa020
UD
512542012-01-16 Ulrich Drepper <drepper@gmail.com>
51255
d77e7869
UD
51256 * malloc/malloc.c: Various cleanups.
51257 * malloc/hooks.c: Likewise.
51258
400aa020
UD
51259 * stdlib/Makefile (tests): Add bug-fmtmsg1.
51260 * stdlib/bug-fmtmsg1.c: New file.
51261
51262 * stdlib/fmtmsg.c (init): Add missing unlock.
51263 Patch by Peng Haitao <penght@cn.fujitsu.com>.
51264
e0a309cf
MP
512652012-01-12 Marek Polacek <polacek@redhat.com>
51266
51267 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
51268 and _GNU_SOURCE.
51269
929d11c7
WS
512702012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
51271
51272 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
51273 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
51274 macro to ensure uniqueness of label name.
51275 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
51276 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
51277
41d0e869
UD
512782012-01-11 Ulrich Drepper <drepper@gmail.com>
51279
0cc5ed3b
UD
51280 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
51281
41d0e869
UD
51282 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
51283 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
51284 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
51285 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
51286
a47a831a
UD
512872012-01-10 Ulrich Drepper <drepper@gmail.com>
51288
daa891c0
UD
51289 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
51290
51291 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
51292 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
51293 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
51294
e58ef0f2
UD
51295 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
51296
a47a831a 51297 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
51298 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
51299 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 51300 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
51301
51302 * math/bits/math-finite.h: Add ldexp support.
51303
a0bfc9c7
MP
513042012-01-10 Marek Polacek <polacek@redhat.com>
51305
51306 * locale/programs/localedef.h (show_archive_content): Add noreturn
51307 attribute.
51308
d6e97a1d
UD
513092012-01-09 Ulrich Drepper <drepper@gmail.com>
51310
51311 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
51312
d5835c26
UD
513132012-01-08 Ulrich Drepper <drepper@gmail.com>
51314
e5f484c6
UD
51315 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
51316
d5835c26
UD
51317 * io/Makefile (headers): Add bits/poll2.h.
51318
d1f741e9
WS
513192011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
51320
51321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
51322 typo #include statement.
51323
ec09c1c4
UD
513242012-01-08 Ulrich Drepper <drepper@gmail.com>
51325
51326 * include/sys/cdefs.h: Define __attribute_alloc_size.
51327 * catgets/gencat.c: Add alloc_size attribute and apply consistently
51328 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
51329 * elf/pldd.c: Likewise.
51330 * iconv/iconv_charmap.c: Likewise.
51331 * iconv/iconvconfig.c: Likewise.
51332 * iconv/strtab.c: Likewise.
51333 * locale/programs/locale.c: Likewise.
51334 * locale/programs/localedef.h: Likewise.
51335 * locale/programs/simple-hash.c: Likewise.
51336 * nscd/nscd.h: Likewise.
51337 * nss/makedb.c: Likewise.
51338 * sysdeps/generic/ldconfig.h: Likewise.
51339 * locale/programs/localedef.c: Remove xmalloc prototype.
51340 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
51341
20b38e03
PP
513422012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
51343
51344 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
51345 appropriate.
51346
a0da5fe1
UD
513472012-01-08 Ulrich Drepper <drepper@gmail.com>
51348
1d5a644a 51349 * math/Makefile (tests): Add tst-CMPLX.
669704fd 51350 * math/tst-CMPLX.c: New file.
1d5a644a 51351
8784a6db
UD
51352 * math/complex.h (CMPLXL): Fix typo.
51353
d9a216c0
UD
51354 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
51355 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
51356 GLIBC_2.16.
51357 * debug/tst-chk1.c: Add poll and ppoll tests.
51358 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
51359 * include/sys/poll.h: Add hidden proto for ppoll.
51360 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
51361 * sysdeps/mach/hurd/ppoll.c: Likewise.
51362 * io/ppoll.c: Likewise.
51363 * debug/poll_chk.c: New file.
51364 * debug/ppoll_chk.c: New file.
51365 * include/bits/poll2.h: New file.
51366 * io/bits/poll2.h: New file.
51367
ac097f5c
UD
51368 [BZ #1350]
51369 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
51370
2119dcfa
UD
51371 * configure.in: static is always set to yes. Remove.
51372 * config.make.in: Don't set build-static.
51373 * Makeconfig: Remove use of build-static.
51374 * dlfcn/Makefile: Likewise.
51375 * elf/Makefile: Likewise.
51376 * math/Makefile: Likewise.
51377 * misc/Makefile: Likewise.
51378 * nptl/Makefile: Likewise.
51379 * sysdeps/mach/hurd/Makefile: Likewise.
51380
121766a9
UD
51381 * configure.in: PWD_P is not used anymore.
51382 * config.make.in: Remove PWD_P entry.
51383
51a1d39c 51384 * configure.in: Remove last remnants of RANLIB.
8720d066 51385 No need to check for signed size_t anymore.
215f4bdc
UD
51386 Don't set libc_commonpagesize and libc_relro_required here for Alpha
51387 and IA-64.
3857022a 51388 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
51389 * aclocal.m4: Likewise.
51390
d3ed7225
UD
51391 * wcsmbs/mbrtoc16.c: Implement using towc function.
51392 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
51393 * wcsmbs/wcsmbsload.c: Likewise.
51394 * iconv/gconv_simple.c: Likewise.
51395 * iconv/gconv_int.h: Likewise.
51396 * iconv/gconv_builtin.h: Likewise.
51397 * iconv/iconv_prog.c: Remove CHAR16 handling.
51398
51399 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
51400
51401 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
51402
a0da5fe1
UD
51403 * configure.in: Remove --with-elf and --enable-bounded options.
51404 Dont set base_machine for ia64. More non-ELF conditions removed.
51405 Remove testing and setting of leading underscore information.
51406 * config.make.in (build-bounded): Set to no.
51407 * config.h.in: Remove NO_UNDERSCORES entry.
51408 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
51409 them.
51410 * csu/start.c: Remove !NO_UNDERSCORE code.
51411 * locale/localeinfo.h: Likewise.
51412 * sysdeps/generic/machine-gmon.h: Likewise.
51413 * sysdeps/generic/sysdep.h: Likewise.
51414 * sysdeps/i386/sysdep.h: Likewise.
51415 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51416 * sysdeps/mach/sysdep.h: Likewise.
51417 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51418 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51419 * sysdeps/sh/sysdep.h: Likewise.
51420 * sysdeps/sparc/sparc32/alloca.S: Likewise.
51421 * sysdeps/unix/i386/sysdep.S: Likewise.
51422 * sysdeps/unix/sparc/start.c: Likewise.
51423 * sysdeps/unix/sparc/sysdep.S: Likewise.
51424 * sysdeps/unix/sparc/sysdep.h: Likewise.
51425 * sysdeps/unix/start.c: Likewise.
51426 * sysdeps/unix/x86_64/sysdep.S: Likewise.
51427 * sysdeps/x86_64/sysdep.h: Likewise.
51428
df78418a
UD
514292012-01-07 Ulrich Drepper <drepper@gmail.com>
51430
a784e502
UD
51431 [BZ #13553]
51432 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
51433 for non-gcc.
51434 * argp/argp-fmtstream.h: Use const instead __const.
51435 * argp/argp.h: Likewise.
51436 * assert/assert.h: Likewise.
51437 * bits/fenv.h: Likewise.
51438 * bits/sched.h: Likewise.
51439 * bits/sigset.h: Likewise.
51440 * bits/sigthread.h: Likewise.
51441 * catgets/nl_types.h: Likewise.
51442 * conform/data/pthread.h-data: Likewise.
51443 * crypt/crypt-private.h: Likewise.
51444 * crypt/crypt.h: Likewise.
51445 * crypt/crypt_util.c: Likewise.
51446 * ctype/ctype.h: Likewise.
51447 * debug/execinfo.h: Likewise.
51448 * debug/mbsnrtowcs_chk.c: Likewise.
51449 * debug/mbsrtowcs_chk.c: Likewise.
51450 * debug/wcsnrtombs_chk.c: Likewise.
51451 * debug/wcsrtombs_chk.c: Likewise.
51452 * debug/wcstombs_chk.c: Likewise.
51453 * dirent/dirent.h: Likewise.
51454 * dlfcn/dlfcn.h: Likewise.
51455 * elf/neededtest4.c: Likewise.
51456 * grp/grp.h: Likewise.
51457 * gshadow/gshadow.h: Likewise.
51458 * iconv/gconv.h: Likewise.
51459 * iconv/gconv_int.h: Likewise.
51460 * iconv/gconv_simple.c: Likewise.
51461 * iconv/iconv.h: Likewise.
51462 * iconv/loop.c: Likewise.
51463 * iconv/skeleton.c: Likewise.
51464 * include/aio.h: Likewise.
51465 * include/aliases.h: Likewise.
51466 * include/argz.h: Likewise.
51467 * include/arpa/inet.h: Likewise.
51468 * include/assert.h: Likewise.
51469 * include/dirent.h: Likewise.
51470 * include/dlfcn.h: Likewise.
51471 * include/execinfo.h: Likewise.
51472 * include/fcntl.h: Likewise.
51473 * include/fenv.h: Likewise.
51474 * include/glob.h: Likewise.
51475 * include/grp.h: Likewise.
51476 * include/libintl.h: Likewise.
51477 * include/mntent.h: Likewise.
51478 * include/netdb.h: Likewise.
51479 * include/pwd.h: Likewise.
51480 * include/rpc/netdb.h: Likewise.
51481 * include/sched.h: Likewise.
51482 * include/search.h: Likewise.
51483 * include/shadow.h: Likewise.
51484 * include/signal.h: Likewise.
51485 * include/stdio.h: Likewise.
51486 * include/stdlib.h: Likewise.
51487 * include/string.h: Likewise.
51488 * include/sys/socket.h: Likewise.
51489 * include/sys/stat.h: Likewise.
51490 * include/sys/statfs.h: Likewise.
51491 * include/sys/statvfs.h: Likewise.
51492 * include/sys/syslog.h: Likewise.
51493 * include/sys/time.h: Likewise.
51494 * include/sys/uio.h: Likewise.
51495 * include/time.h: Likewise.
51496 * include/unistd.h: Likewise.
51497 * include/utmp.h: Likewise.
51498 * include/wchar.h: Likewise.
51499 * include/wctype.h: Likewise.
51500 * inet/aliases.h: Likewise.
51501 * inet/arpa/inet.h: Likewise.
51502 * inet/netinet/ether.h: Likewise.
51503 * inet/netinet/in.h: Likewise.
51504 * intl/libintl.h: Likewise.
51505 * io/bits/fcntl2.h: Likewise.
51506 * io/fcntl.h: Likewise.
51507 * io/ftw.h: Likewise.
51508 * io/sys/poll.h: Likewise.
51509 * io/sys/stat.h: Likewise.
51510 * io/sys/statfs.h: Likewise.
51511 * io/sys/statvfs.h: Likewise.
51512 * io/utime.h: Likewise.
51513 * libio/bits/stdio.h: Likewise.
51514 * libio/bits/stdio2.h: Likewise.
51515 * libio/libio.h: Likewise.
51516 * libio/libioP.h: Likewise.
51517 * libio/stdio.h: Likewise.
51518 * locale/lc-ctype.c: Likewise.
51519 * locale/locale.h: Likewise.
51520 * login/utmp.h: Likewise.
51521 * malloc/arena.c: Likewise.
51522 * malloc/malloc.c: Likewise.
51523 * malloc/malloc.h: Likewise.
51524 * malloc/mcheck.c: Likewise.
51525 * malloc/mtrace.c: Likewise.
51526 * math/bits/mathcalls.h: Likewise.
51527 * math/fenv.h: Likewise.
51528 * math/math_private.h: Likewise.
51529 * misc/bits/error.h: Likewise.
51530 * misc/bits/syslog.h: Likewise.
51531 * misc/err.h: Likewise.
51532 * misc/error.h: Likewise.
51533 * misc/fstab.h: Likewise.
51534 * misc/mntent.h: Likewise.
51535 * misc/regexp.h: Likewise.
51536 * misc/search.h: Likewise.
51537 * misc/sgtty.h: Likewise.
51538 * misc/sys/mman.h: Likewise.
51539 * misc/sys/syslog.h: Likewise.
51540 * misc/sys/uio.h: Likewise.
51541 * misc/sys/xattr.h: Likewise.
51542 * misc/ttyent.h: Likewise.
51543 * nis/rpcsvc/ypclnt.h: Likewise.
51544 * nss/nss.h: Likewise.
51545 * posix/bits/unistd.h: Likewise.
51546 * posix/fnmatch.h: Likewise.
51547 * posix/glob.h: Likewise.
51548 * posix/sched.h: Likewise.
51549 * posix/spawn.h: Likewise.
51550 * posix/sys/wait.h: Likewise.
51551 * posix/unistd.h: Likewise.
51552 * posix/wordexp.h: Likewise.
51553 * pwd/pwd.h: Likewise.
51554 * resolv/netdb.h: Likewise.
51555 * resource/sys/resource.h: Likewise.
51556 * rt/aio.h: Likewise.
51557 * rt/bits/mqueue2.h: Likewise.
51558 * rt/mqueue.h: Likewise.
51559 * shadow/shadow.h: Likewise.
51560 * signal/signal.h: Likewise.
51561 * socket/send.c: Likewise.
51562 * socket/sendto.c: Likewise.
51563 * socket/sys/socket.h: Likewise.
51564 * stdio-common/printf.h: Likewise.
51565 * stdlib/bits/stdlib.h: Likewise.
51566 * stdlib/fmtmsg.h: Likewise.
51567 * stdlib/monetary.h: Likewise.
51568 * stdlib/stdlib.h: Likewise.
51569 * stdlib/ucontext.h: Likewise.
51570 * streams/stropts.h: Likewise.
51571 * string/argz.h: Likewise.
51572 * string/bits/string2.h: Likewise.
51573 * string/string.h: Likewise.
51574 * string/strings.h: Likewise.
51575 * sunrpc/rpc/auth.h: Likewise.
51576 * sunrpc/rpc/auth_des.h: Likewise.
51577 * sunrpc/rpc/clnt.h: Likewise.
51578 * sunrpc/rpc/netdb.h: Likewise.
51579 * sunrpc/rpc/pmap_clnt.h: Likewise.
51580 * sunrpc/rpc/xdr.h: Likewise.
51581 * sysdeps/generic/inttypes.h: Likewise.
51582 * sysdeps/generic/net/if.h: Likewise.
51583 * sysdeps/generic/sys/swap.h: Likewise.
51584 * sysdeps/gnu/net/if.h: Likewise.
51585 * sysdeps/gnu/utmpx.h: Likewise.
51586 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
51587 * sysdeps/i386/i486/bits/string.h: Likewise.
51588 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
51589 * sysdeps/s390/bits/string.h: Likewise.
51590 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
51591 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
51592 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
51593 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
51594 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
51595 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
51596 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
51597 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
51598 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
51599 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
51600 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
51601 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
51602 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
51603 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
51604 * sysdeps/unix/sysv/linux/readv.c: Likewise.
51605 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
51606 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
51607 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
51608 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
51609 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
51610 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51611 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
51612 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
51613 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
51614 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
51615 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
51616 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
51617 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51618 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
51619 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
51620 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
51621 * sysvipc/sys/ipc.h: Likewise.
51622 * sysvipc/sys/msg.h: Likewise.
51623 * sysvipc/sys/sem.h: Likewise.
51624 * sysvipc/sys/shm.h: Likewise.
51625 * termios/termios.h: Likewise.
51626 * time/sys/time.h: Likewise.
51627 * time/time.h: Likewise.
51628 * wcsmbs/bits/wchar2.h: Likewise.
51629 * wcsmbs/uchar.h: Likewise.
51630 * wcsmbs/wchar.h: Likewise.
51631 * wctype/wctype.h: Likewise.
51632
0269750c
UD
51633 [BZ #13551]
51634 * Makeconfig: Remove all but ELF support including AIX support.
51635 * Makerules: Likewise.
51636 * config.h.in: Likewise.
51637 * config.make.in: Likewise.
51638 * configure: Likewise.
51639 * configure.in: Likewise.
51640 * csu/Makefile: Likewise.
51641 * csu/version.c: Likewise.
51642 * debug/Makefile: Likewise.
51643 * dlfcn/Makefile: Likewise.
51644 * elf/Makefile: Likewise.
51645 * extra-lib.mk: Likewise.
51646 * iconv/Makefile: Likewise.
51647 * include/libc-symbols.h: Likewise.
51648 * include/shlib-compat.h: Likewise.
51649 * resolv/Makefile: Likewise.
51650 * resolv/res_libc.c: Likewise.
51651 * rt/Makefile: Likewise.
51652 * sysdeps/i386/asm-syntax.h: Likewise.
51653 * sysdeps/i386/sysdep.h: Likewise.
51654 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
51655 * sysdeps/mach/sysdep.h: Likewise.
51656 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
51657 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
51658 * sysdeps/s390/asm-syntax.h: Likewise.
51659 * sysdeps/s390/s390-32/sysdep.h: Likewise.
51660 * sysdeps/s390/s390-64/sysdep.h: Likewise.
51661 * sysdeps/sh/sysdep.h: Likewise.
51662 * sysdeps/unix/sparc/sysdep.h: Likewise.
51663 * sysdeps/wordsize-32/divdi3.c: Likewise.
51664 * sysdeps/x86_64/sysdep.h: Likewise.
51665
00bbd29b
UD
51666 * argp/Versions: Remove _argp_unlock_xxx.
51667
51668 [BZ #13559]
51669 * abilist/ld.abilist: Update. Adjust for removal of tls option.
51670 * abilist/libBrokenLocale.abilist: Likewise.
51671 * abilist/libanl.abilist: Likewise.
51672 * abilist/libc.abilist: Likewise.
51673 * abilist/libcrypt.abilist: Likewise.
51674 * abilist/libdl.abilist: Likewise.
51675 * abilist/libm.abilist: Likewise.
51676 * abilist/libnsl.abilist: Likewise.
51677 * abilist/libpthread.abilist: Likewise.
51678 * abilist/libresolv.abilist: Likewise.
51679 * abilist/librt.abilist: Likewise.
51680 * abilist/libthread_db.abilist: Likewise.
51681 * abilist/libutil.abilist: Likewise.
51682 * abilist/libnss_db.abilist: New file.
51683
51684 * scripts/abilist.awk: Add support for indirect functions.
51685
a2693a0e
UD
51686 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
51687
3f05895f
UD
51688 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
51689
ecb6fb48
UD
51690 * shlib-versions: Remove entries for ports architectures.
51691
664f8cb9
UD
51692 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
51693 files in ports.
51694 * elf/stackguard-macros.h: Remove support for IA-64.
51695 * elf/tst-auditmod1.c: Likewise.
51696 * sysdeps/generic/ldsodefs.h: Likewise.
51697
7ae81d88
UD
51698 * sysdeps/unix/sysv/linux/configure.in: Ports should define
51699 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
51700 configure files.
51701
bdeba135
UD
51702 [BZ #13552]
51703 * configure.in: Remove --enable-omitfp support.
51704 * FAQ.in: Adjust.
51705 * config.make.in: Likewise.
51706 * Makeconfig: Likewise.
51707 * manual/install.texi: Likewise.
51708
d75a0a62
UD
51709 In case anyone cares, the IA-64 architecture could move to ports.
51710 * sysdeps/ia64/*: Removed.
51711 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 51712 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 51713
dcc9756b
UD
51714 [BZ #13555]
51715 * configure.in: Remove entries for unsupported architectures.
51716
d3761ebc 51717 [BZ #13533]
9954432e
UD
51718 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
51719 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
51720 routines.
51721 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
51722 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
51723 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
51724 fall back to using wcrtomb.
51725 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
51726 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
51727 renaming.
51728 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
51729 * wcsmbs/tst-c16c32-1.c: New file.
51730
51731 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
51732 local variable.
51733
c3a87236
UD
51734 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
51735
28926a1b
UD
51736 * elf/tst-unique3.cc: Add explicit declaration of gets.
51737 * elf/tst-unique3lib.cc: Likewise.
51738 * elf/tst-unique3lib2.cc: Likewise.
51739 * elf/tst-unique4.cc: Likewise.
51740
df78418a
UD
51741 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
51742
8ecd6b2a
JM
517432012-01-06 Joseph Myers <joseph@codesourcery.com>
51744
51745 [BZ #13566]
51746 * assert/assert.h (static_assert): Don't define for C++.
51747 * libio/stdio.h (gets): Do declare for C++ <= C++11.
51748 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
51749
9f115170
UD
517502012-01-03 Ulrich Drepper <drepper@gmail.com>
51751
5e0d0300
UD
51752 * iconv/loop.c (single loop): Fix assertion in storing of
51753 remaining bytes.
51754
9f115170
UD
51755 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
51756
81fb02b0
UD
517572012-01-01 Ulrich Drepper <drepper@gmail.com>
51758
51759 * posix/getconf.c: Update copyright year.
51760 * nss/getent.c: Likewise.
a316c1f6 51761 * nss/makedb.c: Likewise.
81fb02b0
UD
51762 * iconv/iconvconfig.c: Likewise.
51763 * iconv/iconv_prog.c: Likewise.
51764 * elf/ldconfig.c: Likewise.
a316c1f6
UD
51765 * elf/pldd.c: Likewise.
51766 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
51767 * catgets/gencat.c: Likewise.
51768 * csu/version.c: Likewise.
51769 * elf/ldd.bash.in: Likewise.
51770 * elf/sprof.c (print_version): Likewise.
51771 * locale/programs/locale.c: Likewise.
51772 * locale/programs/localedef.c: Likewise.
a316c1f6 51773 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
51774 * nscd/nscd.c (print_version): Likewise.
51775 * debug/xtrace.sh: Likewise.
51776 * malloc/memusage.sh: Likewise.
51777 * malloc/mtrace.pl: Likewise.
51778 * debug/catchsegv.sh: Likewise.
51779
2ba92745
JJ
517802011-12-30 Jakub Jelinek <jakub@redhat.com>
51781
51782 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
51783 pure attribute.
51784
dadebdae
UD
517852011-12-24 Ulrich Drepper <drepper@gmail.com>
51786
d3761ebc 51787 [BZ #13533]
db6af3eb
UD
51788 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
51789 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
51790 transformations.
51791 * iconv/gconv_int.h: Likewise.
51792 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
51793 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
51794 from libc for GLIBC_2.16.
51795 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
51796 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
51797 * wcsmbs/uchar.h: Really define mbstate_t.
51798 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
51799 * wcsmbs/c16rtomb.c: New file.
51800 * wcsmbs/mbrtoc16.c: New file.
51801 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
51802 for C/POSIX locale.
51803 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
51804 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
51805
dadebdae
UD
51806 * wcsmbs/wchar.h: Add missing __restrict.
51807
67371b56
UD
518082011-12-23 Ulrich Drepper <drepper@gmail.com>
51809
74033a25
UD
51810 [BZ #13532]
51811 * time/Makefile (routines): Add timespec_get.
51812 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
51813 * time/time.h: Define TIME_UTC and declare timespec_get. Define
51814 timespec for ISO C11.
51815 * time/timespec_get.c: New file.
51816 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
51817 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
51818
380d7e87
UD
51819 [BZ #13531]
51820 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
51821 * stdlib/stdlib.h: Declare aligned_alloc.
51822 * Versions.def: Add GLIBC_2.16 for libc.
51823 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
51824
4e9e7a35
UD
51825 [BZ 13527]
51826 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
51827 ISO C11.
51828
380d7e87 51829 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
51830 code.
51831
03a71829
UD
51832 [BZ #13528]
51833 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
51834
839e283e
UD
51835 [BZ #13529]
51836 * assert/assert.h (static_assert): Define.
51837
ce5294e2 51838 * version.h: Update for 2.16 development version.
90fa7312 51839
8d44e150 51840 [BZ #13526]
d7809905
UD
51841 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
51842 _ISOC11_SOURCE.
51843
c0da14cd
UD
51844 * version.h (RELEASE): Bump for 2.15 release.
51845 * include/features.h (__GLIBC_MINOR__): Bump to 15.
51846
530a3249
MP
51847 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
51848 Patch by Marek Polacek <mpolacek@redhat.com>.
51849
67371b56
UD
51850 * bits/byteswap.h: Protect long long constants with __extension__.
51851 * sysdeps/i386/bits/byteswap.h: Likewise.
51852 * sysdeps/ia64/bits/byteswap.h: Likewise.
51853 * sysdeps/s390/bits/byteswap.h: Likewise.
51854 * sysdeps/x86_64/bits/byteswap.h: Likewise.
51855
15db4de1
LD
518562011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51857
51858 [BZ #13540]
bbe315ea
LD
51859 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
51860 destination buffer.
15db4de1
LD
51861 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
51862
2b2596b1
MP
518632011-12-23 Marek Polacek <polacek@redhat.com>
51864
51865 * elf/dl-addr.c (determine_info): Add inline keyword.
51866 * elf/tst-auditmod4b.c (check_avx): Likewise.
51867 * elf/tst-auditmod6b.c (check_avx): Likewise.
51868 * elf/tst-auditmod6c.c (check_avx): Likewise.
51869 * elf/tst-auditmod7b.c (check_avx): Likewise.
51870
70c6c246
UD
518712011-12-23 Ulrich Drepper <drepper@gmail.com>
51872
51873 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
51874 !__SSE_MATH__.
51875
c044cf14
LD
518762011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51877
15db4de1 51878 [BZ #13540]
c044cf14
LD
51879 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
51880 processing for last bytes.
51881
6b13d9d9
BH
518822011-08-06 Bruno Haible <bruno@clisp.org>
51883
d455f537
BH
51884 [BZ #13061]
51885 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
51886 U+0385, not to U+1FEE.
51887
6b13d9d9
BH
51888 [BZ #13062]
51889 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
51890 entry for U+00A5 U+0301.
51891
db910efd
UD
518922011-12-22 Ulrich Drepper <drepper@gmail.com>
51893
27deeafc
UD
51894 [BZ #13166]
51895 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
51896 buffer for the output is too small.
51897
aed9d171
UD
51898 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
51899 optimization.
51900
db910efd
UD
51901 [BZ #13185]
51902 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
51903 SSE flags if possible.
51904
2bd779ae
LD
519052011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51906
e7f9dac3 51907 [BZ #13540]
2bd779ae
LD
51908 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
51909 processing for last bytes.
51910
154bfc16
JM
519112011-12-22 Joseph Myers <joseph@codesourcery.com>
51912
51913 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
51914 (syscall-list-default-options, syscall-list-default-condition)
51915 (syscall-list-includes): Define.
51916 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
51917 list of ABIs and options and #if conditions for each ABI. Do not
51918 handle common syscalls between ABIs specially.
51919 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
51920 Remove.
51921 (syscall-list-variants, syscall-list-32bit-options)
51922 (syscall-list-32bit-condition, syscall-list-64bit-options)
51923 (syscall-list-64bit-condition): Define.
51924 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
51925 (syscall-list-variants, syscall-list-32bit-options)
51926 (syscall-list-32bit-condition, syscall-list-64bit-options)
51927 (syscall-list-64bit-condition): Define.
51928 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
51929 Remove.
51930 (syscall-list-variants, syscall-list-32bit-options)
51931 (syscall-list-32bit-condition, syscall-list-64bit-options)
51932 (syscall-list-64bit-condition): Define.
51933 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
51934 Remove.
51935 (syscall-list-variants, syscall-list-32bit-options)
51936 (syscall-list-32bit-condition, syscall-list-64bit-options)
51937 (syscall-list-64bit-condition): Define.
51938
21eaf3a5
UD
519392011-12-22 Ulrich Drepper <drepper@gmail.com>
51940
16c6f992
UD
51941 * locale/iso-639.def: Add brx entry.
51942
41043168
UD
51943 [BZ #13328]
51944 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
51945 Proposed by Mariusz_Cukr <marcukr@op.pl>.
51946
21eaf3a5
UD
51947 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
51948 __feraiseexcept_renamed.
51949
e3a851a2
UD
519502011-12-21 Ulrich Drepper <drepper@gmail.com>
51951
4920765e
UD
51952 [BZ #13538]
51953 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
51954 EPOLLET with unsigned values.
51955 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
51956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
51957
e3a851a2
UD
51958 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
51959 to large cancellation.
51960 * math/s_cacoshf.c: Likewise.
51961 * math/s_cacoshl.c: Likewise.
51962
b27e24b8
RK
519632011-11-18 Richard B. Kreckel <kreckel@ginac.de>
51964
51965 [BZ #13305]
aebefeee 51966 [BZ #12786]
b27e24b8
RK
51967 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
51968 * math/s_cacoshf.c: Likewise.
51969 * math/s_cacoshl.c: Likewise.
51970
ee190f67
UD
519712011-12-21 Ulrich Drepper <drepper@gmail.com>
51972
51973 [BZ #13439]
51974 * iconv/gconv.h: Define __GCONV_SWAP.
51975 * iconvdata/unicode.c: The swap bit must be stored in __flags.
51976 * iconvdata/utf-16.c: Likewise.
51977 * iconvdata/utf-32.c: Likewise.
51978
707f25df
AS
519792011-12-21 Andreas Schwab <schwab@linux-m68k.org>
51980
51981 [BZ #13524]
51982 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
51983 numerator after shifting it by one limb.
51984
d2daaa1e
RÁE
519852011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
51986
51987 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
51988 under [__USE_EXTERN_INLINES].
51989
a4647e72
UD
519902011-12-17 Ulrich Drepper <drepper@gmail.com>
51991
51992 [BZ #13446]
51993 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
51994
f0b264f1
AZ
519952011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51996
51997 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
51998 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
51999 optimized code.
52000 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
52001 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
52002 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
52003 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
52004 for strncasecmp/strncasecmp_l compilation.
52005 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
52006 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
52007
8ef4f244
MP
520082011-12-08 Marek Polacek <mpolacek@redhat.com>
52009
52010 [BZ #13484]
52011 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
52012 of __asm__.
52013
97ac2654
UD
520142011-12-17 Ulrich Drepper <drepper@gmail.com>
52015
52016 [BZ #13506]
52017 * time/tzfile.c (__tzfile_read): Check values from file header.
52018
91d2a845
WS
520192011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
52020
52021 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
52022 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
52023 * powerpc/powerpc32/dl-start.S: Likewise.
52024 * powerpc/powerpc32/elf/start.S: Likewise.
52025 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
52026 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
52027 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
52028 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
52029 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
52030 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
52031 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
52032 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
52033 * powerpc/powerpc32/fpu/s_round.S: Likewise.
52034 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
52035 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
52036 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
52037 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
52038 * powerpc/powerpc32/memset.S: Likewise.
52039 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
52040 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
52041 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
52042 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
52043 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
52044 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52045 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52046 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52047 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
52048 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
52049 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
52050 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
52051 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
52052
a1267ba1
AZ
520532011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52054
52055 * math/libm-test.inc: Added more nearbyint tests.
52056 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
52057 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
52058 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
52059 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
52060
ad8ac1bd
RL
520612011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
52062
52063 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
52064 FD_CLOEXEC.
52065
1d3e4b61
UD
520662011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52067
52068 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
52069 Add wcscpy-ssse3 wcscpy-c.
52070 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
52071 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
52072 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
52073 * sysdeps/x86_64/wcschr.S: New file.
52074 * sysdeps/x86_64/wcsrchr.S: New file.
52075 * string/test-strcmp.c: Remove checking of wcscmp function for
52076 wrong alignments.
52077 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
52078 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
52079 wcsrchr-sse2 wcsrchr-c.
52080 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
52081 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
52082 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
52083 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
52084 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
52085 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
52086 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
52087 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
52088 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
52089 * wcsmbc/wcschr.c (WCSCHR): New macro.
52090
5b330a2d
UD
520912011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52092
52093 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
52094 * wcsmbs/test-wcsrchr.c: New file.
52095 * string/test-strrchr.c: Add wcsrchr support.
52096 (WIDE): New macro.
52097 * wcsmbs/test-wcscpy.c: New file.
52098 * string/test-strcpy.c: Add wcscpy support.
52099 (WIDE): New macro.
26428b7c 52100
f039c043
UD
521012011-12-10 Ulrich Drepper <drepper@gmail.com>
52102
52103 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
52104 the inner loop.
52105
850fb039
AS
521062011-12-06 Andreas Schwab <schwab@linux-m68k.org>
52107
52108 [BZ #13472]
52109 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
52110
4efbd5cb
UD
521112011-12-04 Ulrich Drepper <drepper@gmail.com>
52112
52ff5dd0 52113 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 52114 Minor optimizations.
52ff5dd0 52115
4efbd5cb
UD
52116 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
52117 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
52118 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
52119
8a426e12
UD
521202011-12-03 Ulrich Drepper <drepper@gmail.com>
52121
aff2453d
UD
52122 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
52123 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
52124 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
52125 for gcc to avoid warnings.
52126 * inet/Makefile (tests): Add tst-checks.
52127 * inet/tst-checks.c: New file.
52128
52129 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
52130 warning.
52131
52132 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
52133 __wmemcmp_sse2.
52134
52135 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
52136 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
52137
8a426e12
UD
52138 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
52139
9bea3473
UD
521402011-12-02 Ulrich Drepper <drepper@gmail.com>
52141
3a965496
UD
52142 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
52143 problem.
52144
9bea3473
UD
52145 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
52146
f101631b
UD
521472011-11-29 Joseph Myers <joseph@codesourcery.com>
52148
52149 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
52150 conditional on GCC version.
52151 (__arch_compare_and_exchange_val_8_acq)
52152 (__arch_compare_and_exchange_val_16_acq)
52153 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
52154 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
52155 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
52156
a98275aa
UD
521572011-12-02 Joseph Myers <joseph@codesourcery.com>
52158
52159 * sysdeps/sh/backtrace.c: New file.
52160
d4cc29a2
AS
521612011-12-02 Andreas Schwab <schwab@redhat.com>
52162
52163 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
52164 parenthesis.
52165
6257af2d
AS
521662011-12-01 Andreas Schwab <schwab@redhat.com>
52167
52168 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
52169 falling back to utime.
52170
b5f44c1a
AS
521712011-11-30 Andreas Schwab <schwab@redhat.com>
52172
52173 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
52174 expectations for float.
52175
f3a6cc0a
AS
521762011-11-29 Andreas Schwab <schwab@redhat.com>
52177
52178 * locale/weight.h (findidx): Add parameter len.
52179 * locale/weightwc.h (findidx): Likewise.
52180 * posix/fnmatch_loop.c (FCT): Adjust caller.
52181 * posix/regcomp.c (build_equiv_class): Likewise.
52182 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
52183 * posix/regexec.c (check_node_accept_bytes): Likewise.
52184 * string/strcoll_l.c (STRCOLL): Likewise.
52185 * string/strxfrm_l.c (STRXFRM): Likewise.
52186
9d65ea3a
UD
521872011-11-17 Ulrich Drepper <drepper@gmail.com>
52188
52189 * Makefile.in: Remove CVSOPT handling.
52190 * configure.in: Remove use of AC_REVISION.
52191 * iconvdata/Makefile (distribute): No need to filter out CVS.
52192 * scripts/list-sources.sh: Remove CVS, subversion and monotone
52193 handling.
52194
5583a086
AS
521952011-11-16 Andreas Schwab <schwab@redhat.com>
52196
52197 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
52198 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
52199 [USE_AS_STRNCASECMP_L]: Likewise.
52200 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
52201 NO_TLS_DIRECT_SEG_REFS.
52202 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
52203 Fix argument offsets for non-PIC.
52204 [USE_AS_STRNCASECMP_L]: Likewise.
52205 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
52206 NO_TLS_DIRECT_SEG_REFS.
52207
d62a8200
UD
522082011-11-15 Ulrich Drepper <drepper@gmail.com>
52209
9d65ea3a 52210 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
52211 O_CLOEXEC.
52212 * locale/loadlocale.c (_nl_load_locale): Likewise.
52213
09f93bd3
AS
522142011-11-15 Andreas Schwab <schwab@redhat.com>
52215
446514f9
AS
52216 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
52217 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
52218 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
52219 (SYSCALL_GETTIME): Set errno on error.
52220
09f93bd3
AS
52221 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
52222 count references to noai6ai_cached.
52223
312be3f9
UD
522242011-11-15 Ulrich Drepper <drepper@gmail.com>
52225
52226 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
52227
52228 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
52229 FD_CLOEXEC for /proc/self/maps.
52230
52231 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
52232 FD_CLOEXEC for /proc/meminfo.
52233
52234 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
52235 gai.conf.
52236
52237 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
52238 FD_CLOEXEC for given file.
52239
52240 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
52241
52242 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
52243 FD_CLOEXEC for /etc/hosts.
52244 (_gethtent): Likewise.
52245
52246 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
52247
52248 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
52249 cancellation and set FD_CLOEXEC for /etc/netgroup.
52250
52251 * nss/nss_files/files-key.c (search): Don't allow cancellation when
52252 reading /etc/publickey.
52253
52254 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
52255 allow cancellation when reading /etc/group.
52256
52257 * nss/nss_files/files-alias.c (internal_setent): Don't allow
52258 cancellation.
52259 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
52260
52261 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
52262 when using data file.
52263
52264 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
52265
52266 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
52267 (write_nis_obj): Use "c" and "e" in fopen.
52268
52269 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
52270
52271 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
52272
52273 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
52274
52275 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
52276
52277 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
52278 locale.alias.
52279
52280 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
52281
52282 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
52283
52284 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
52285
52286 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
52287 file parsing and set FD_CLOEXEC.
52288
82af0fa8
UD
522892011-11-14 Ulrich Drepper <drepper@gmail.com>
52290
52291 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
52292
a5fb313c
AS
522932011-11-14 Andreas Schwab <schwab@redhat.com>
52294
52295 * malloc/arena.c (arena_get2): Don't call reused_arena when
52296 _int_new_arena failed.
52297
6abf3465
UD
522982011-11-14 Ulrich Drepper <drepper@gmail.com>
52299
52300 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
52301 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
52302 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
52303 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
52304 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
52305 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
52306 to compile strcasecmp and strncasecmp.
52307 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
52308 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
52309
52310 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
52311
76e3966e
UD
523122011-11-13 Ulrich Drepper <drepper@gmail.com>
52313
52314 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
52315 locale-defines.sym to gen-as-const-headers.
52316 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
52317 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
52318 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
52319 to compile strcasecmp and strncasecmp.
52320 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
52321 strcasecmp_l and strncasecmp_l.
52322 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
52323 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
52324 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
52325 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
52326 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
52327 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
52328 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
52329 * sysdeps/i386/i686/multiarch/strncase.S: New file.
52330 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
52331 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
52332 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
52333
ab26144e
UD
523342011-11-12 Ulrich Drepper <drepper@gmail.com>
52335
7edb22ef
UD
52336 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
52337 result of SYSDEP_GETTIME_CPU to retval.
52338 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
52339 parameter list to macro. Remove trailing semicolon. Adjust users.
52340
9694fc44
UD
52341 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
52342 variable.
52343
8ad89ef8
UD
52344 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
52345 mantissa words.
52346 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
52347
0c822ef9
UD
52348 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
52349 from unused variable.
52350
874e0564
UD
52351 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
52352 DWARF definitions.
52353 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
52354 for assembling.
52355
3a2edc79
UD
52356 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
52357 over namespaces.
52358
f3c2577f
UD
52359 * sunrpc/rpc_prot.c (rejected): Fix case value.
52360
294ce126
UD
52361 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
52362 unsigned long long int to avoid warnings in shift.
52363
5e2b63c6
UD
52364 * posix/regex_internal.c (re_string_reconstruct): Actually use result
52365 of use of trans.
52366 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
52367 variable tmp.
52368
e7f4b08e
UD
52369 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
52370 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
52371 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
52372
ab26144e
UD
52373 * nis/nis_table.c (nis_list): Use variable of correct type for
52374 result of __follow_path call.
52375
8a6d5255
AZ
523762011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52377
52378 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
52379 of math functions ceil, trunc, floor, round, and sqrt, when
52380 avaliable on the platform.
52381 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
52382 name clash.
52383 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52384 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52385 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52386
aaddc98c
MP
523872011-10-30 Marek Polacek <mpolacek@redhat.com>
52388
52389 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
52390 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
52391
95b7042b
RM
523922011-11-11 Roland McGrath <roland@hack.frob.com>
52393
52394 * include/unistd.h: Fix __readlink return type.
52395 Reported by Chris Metcalf <cmetcalf@tilera.com>.
52396
57769839
UD
523972011-11-11 Ulrich Drepper <drepper@gmail.com>
52398
52399 * stdlib/ucontext.h: Undo last change for makecontext.
52400
edc5984d
AS
524012011-11-11 Andreas Schwab <schwab@redhat.com>
52402
98591e58
AS
52403 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
52404
edc5984d
AS
52405 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
52406 * setjmp/setjmp.h: Mark functions as non-leaf.
52407 * setjmp/bits/setjmp2.h: Likewise.
52408 * stdlib/ucontext.h: Likewise.
52409
77cdc054
AS
524102011-11-10 Andreas Schwab <schwab@redhat.com>
52411
52412 * malloc/arena.c (_int_new_arena): Don't increment narenas.
52413 (reused_arena): Don't check arena limit.
52414 (arena_get2): Atomically check arena limit.
52415
fe72eebd
UD
524162011-11-08 Ulrich Drepper <drepper@gmail.com>
52417
5f078c32
UD
52418 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
52419 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
52420
fe72eebd
UD
52421 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
52422 instructions.
52423
ae1bc2fa
AS
524242011-11-07 Andreas Schwab <schwab@redhat.com>
52425
7583a88d
AS
52426 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
52427 handler when locking.
52428
ae1bc2fa
AS
52429 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52430 Fix size of allocated buffer.
52431
10fb0bfa
AS
524322011-11-04 Andreas Schwab <schwab@redhat.com>
52433
998832a4
AS
52434 [BZ #10103]
52435 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
52436 declarations for long double functions.
52437 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
52438
10fb0bfa
AS
52439 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
52440
3d7ba52b
AS
524412011-11-03 Andreas Schwab <schwab@redhat.com>
52442
a9ae54a1
AS
52443 * nscd/nscd.c (main): Don't start AVC thread until credentials are
52444 installed.
52445
3d7ba52b
AS
52446 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
52447 is disabled.
52448
bc8db248
ST
524492011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
52450
52451 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
52452
45b96dd6
AS
524532011-11-01 Andreas Schwab <schwab@linux-m68k.org>
52454
647776f6
AS
52455 * include/alloca.h (stackinfo_alloca_round): Define.
52456 (extend_alloca): Use it.
52457 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
52458 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
52459 here.
52460
d91a8b93
AS
52461 * scripts/check-local-headers.sh: Ignore libaudit.h.
52462
45b96dd6
AS
52463 * nscd/Makefile (extra-objs): Make recursively expanded.
52464
432d41ce
UD
524652011-11-01 Ulrich Drepper <drepper@gmail.com>
52466
34372fc6
UD
52467 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
52468 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
52469
fadb59f8
UD
52470 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
52471 * posix/tst-rfc3484-2.c: Likewise.
52472 * posix/tst-rfc3484-3.c: Likewise.
52473
78239589
UD
52474 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
52475 process_vm_writev.
52476 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
52477 process_vm_writev.
52478 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
52479 process_vm_writev from libc using GLIBC_2.15 version.
52480
432d41ce
UD
52481 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
52482
02f9c6cf
PP
524832011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
52484
52485 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
52486 stack usage.
52487
3a2c0242
UD
524882011-10-31 Ulrich Drepper <drepper@gmail.com>
52489
f4ec4833
UD
52490 [BZ #13367]
52491 * nss/getent.c (initgroups_keys): Show error message in case no group
52492 names are given.
52493
3a2c0242
UD
52494 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
52495 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
52496 __bump_nl_timestamp.
52497 * nscd/connections (nscd_init): When host database is served open
52498 netlink socket and request notification about configuration changes.
52499 (main_loop_poll): Track netlink file descriptor and bump timestamp
52500 in case data becomes available.
52501 (main_loop_epoll): Likewise.
52502 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
52503 (database_pers_head): Add extra_data fileds.
52504 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
52505 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
52506 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
52507 Adjust caller.
52508 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
52509 in6ai data, call __free_in6ai.
52510 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
52511 Add -DHAVE_NETLINK.
52512 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
52513 interface information. Reuse previous data if netlink timestamp
52514 is not changed.
52515 (__bump_nl_timestamp): New function.
52516 (__free_in6ai): New function.
52517
636064eb
UD
525182011-10-30 Ulrich Drepper <drepper@gmail.com>
52519
52520 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
52521 close_not_cancel_no_status here.
52522 (__check_pf): Reorganize code a bit to not call close twice if OOM.
52523
9beb2334
UD
525242011-10-29 Ulrich Drepper <drepper@gmail.com>
52525
6ef76f3b
UD
52526 [BZ #13276]
52527 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
52528 return value.
52529
0ffc4f3e 52530 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
52531 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
52532 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
52533
cb95113e
UD
525342011-07-03 Andreas Jaeger <aj@suse.de>
52535
52536 [BZ #10709]
52537 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
52538 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
52539 * math/libm-test.inc (sin_test): Add test case.
52540
a1b560ff
UD
525412011-10-29 Ulrich Drepper <drepper@gmail.com>
52542
c9aaface
UD
52543 [BZ #13337]
52544 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
52545 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52546
d272e7f1
UD
52547 * elf/chroot_canon.c (chroot_canon): Cleanups.
52548
1bc33071
UD
52549 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
52550
1760874d
TJ
52551 [BZ #13335]
52552 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
52553 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
52554
51d91b18
UD
52555 * string/test-strchr.c: Make usable for strchrnul testing.
52556 * string/test-strchrnul.c: New file.
52557 * string/Makefile (strop-tests): Add strchrnul.
52558
a1b560ff 52559 * po/it.po: Update from translation team.
b611fb81 52560 * po/es.po: Likewise.
a1b560ff 52561
a5b81e1f
UD
525622011-10-28 Ulrich Drepper <drepper@gmail.com>
52563
fd52bc6d
UD
52564 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
52565 the three constants needed as parameters. Drop the others.
52566 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
52567 __m128i_strloadu_tolower.
52e4b9eb
UD
52568 Create and initialize variable zero and use it in all the places
52569 where _mm_setzero_si128 was used.
fd52bc6d 52570
a5b81e1f
UD
52571 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
52572 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
52573 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
52574 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
52575 anymore.
52576 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
52577 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
52578 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
52579 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
52580 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
52581 __mpranred, __mptan.
52582 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
52583 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
52584 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
52585 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
52586 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
52587 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
52588 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
52589 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
52590 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
52591
b4343346
AS
525922011-10-28 Andreas Schwab <schwab@redhat.com>
52593
0c92d8a8
AS
52594 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
52595 redefine if SHARED.
52596 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
52597
b4343346
AS
52598 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
52599 wide char related routines to wcsmbs subdir.
52600
3871f58f
AS
526012011-10-27 Andreas Schwab <schwab@redhat.com>
52602
52603 [BZ #13344]
52604 * misc/sys/cdefs.h (__THROWNL): Define.
52605 * posix/unistd.h: Use __THREADNL instead of __THREAD
52606 for memory synchronization functions.
52607
94d44d9f
RM
526082011-10-26 Roland McGrath <roland@hack.frob.com>
52609
21b64b15 52610 [BZ #13349]
94d44d9f
RM
52611 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
52612 doesn't exist.
52613 * manual/stdio.texi (Obstack Streams): Node removed.
52614
f6ce9294
AS
526152011-10-26 Andreas Schwab <schwab@redhat.com>
52616
80479147
AS
52617 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
52618 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52619 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52620
f6ce9294
AS
52621 * math/math_private.h (math_force_eval): Allow non-addressable
52622 arguments.
52623 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
52624
618280a1
UD
526252011-10-25 Ulrich Drepper <drepper@gmail.com>
52626
e0016b11
UD
52627 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
52628 file is not needed.
52629
52630 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
52631 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
52632 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
52633 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
52634 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
52635 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
52636 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
52637 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
52638 Add AVX variants.
52639 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
52640 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
52641 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
52642 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
52643 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
52644 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
52645 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
52646 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
52647 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
52648 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
52649 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
52650 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
52651 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
52652 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
52653 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
52654 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
52655 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
52656 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
52657 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
52658
52659 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
52660 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
52661
618280a1
UD
52662 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
52663 place. Use VEX encoding when compiling for AVX.
52664
37822576
AS
526652011-10-25 Andreas Schwab <schwab@redhat.com>
52666
1f1e1947
AS
52667 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
52668 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
52669
37822576
AS
52670 * string/test-strchr.c (do_test): Don't generate NUL bytes.
52671
31ea014d
UD
526722011-10-25 Ulrich Drepper <drepper@gmail.com>
52673
d7826aa1 52674 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 52675 useless if() expression.
d7826aa1
UD
52676 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52677 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
52678 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
52679 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
52680 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
52681 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
52682 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
52683 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52684 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52685 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52686 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52687 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
52688 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
52689 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
52690 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
52691 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
52692 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52693 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52694 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
52695
31ea014d
UD
52696 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
52697
16437fec
AS
526982011-10-25 Andreas Schwab <schwab@redhat.com>
52699
52700 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
52701 condition.
52702 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52703
31d3cc00
UD
527042011-10-25 Ulrich Drepper <drepper@gmail.com>
52705
52706 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
52707 .text section. Avoid duplicate constants.
52708 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
52709 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52710 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52711 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
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/halfulp.c: Likewise.
52716 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
52717 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
52718 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
52719 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
52720 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
52721 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
52722 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
52723 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
52724 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
52725 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
52726 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52727 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52728 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
52729 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
52730 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
52731 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
52732 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
52733 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
52734 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
52735 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
52736 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
52737 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
52738 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
52739 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
52740 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
52741 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
52742 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
52743 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
52744 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
52745 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
52746 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
52747 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
52748 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
52749 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
52750 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
52751 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
52752 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
52753
58985aa9
UD
527542011-10-24 Ulrich Drepper <drepper@gmail.com>
52755
202c9deb
UD
52756 * sysdeps/x86_64/dla.h: Move to ...
52757 * sysdeps/x86_64/fpu/dla.h: ...here.
52758 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
52759 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 52760
af968f62
UD
52761 * config.make.in: Add have-mfma4 entry.
52762 * configure.in: Substitute libc_cv_cc_fma4.
52763 * math/Makefile (dbl-only-routines): Add sincostab.
52764 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
52765 Use __sincostab not sincos.
52766 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
52767 name is a macro.
52768 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
52769 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52770 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52771 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
52772 using __copysign.
52773 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
52774 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
52775 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
52776 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
52777 and __inv.
52778 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
52779 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
52780 __copysign.
52781 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
52782 define aliases when function name is a macro.
52783 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
52784 sysdeps/ieee754/dbl-64/sincos.tbl.
52785 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
52786 fma4-enabled routines.
52787 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
52788 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
52789 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
52790 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
52791 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
52792 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
52793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
52794 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
52795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
52796 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
52797 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
52798 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
52799 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
52800 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
52801 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
52802 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
52803 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
52804 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
52805 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
52806 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
52807 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
52808 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
52809 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
52810 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
52811 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
52812 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
52813 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
52814 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
52815 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
52816 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
52817
58985aa9
UD
52818 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
52819 rename.
52820 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52821 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52822 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52823 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52824 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52825 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52826 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52828
a201fbcf
AS
528292011-10-24 Andreas Schwab <schwab@redhat.com>
52830
52831 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
52832
fc2ee42a
LD
528332011-10-23 Ulrich Drepper <drepper@gmail.com>
52834
bb3129bd
UD
52835 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
52836
0275fff8
UD
52837 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
52838 prediction.
52839 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
52840
2fa2ae85
UD
52841 * string/strnlen.c: Don't define STRNLEN, reverse logic.
52842 Remove unused variable magic_bits.
52843 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
52844
fc2ee42a
LD
52845 * string/strnlen.c: Define and use STRNLEN macro.
52846 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
52847 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
52848 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
52849 * wcsmbs/wcslen.c: Define and use WCSLEN.
52850 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
52851 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
52852 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
52853 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
52854 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
52855 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
52856 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52857
ce7dd29f
LD
528582011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52859
52860 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52861 strnlen-sse2-no-bsf.
52862 Rename strlen-no-bsf to strlen-sse2-no-bsf.
52863 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
52864 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
52865 Add strnlen support.
52866 (USE_AS_STRNLEN): New macro.
52867 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
52868 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
52869 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
52870 * sysdeps/x86_64/wcslen.S: New file.
52871
979c70a3
MZ
528722011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
52873
52874 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
52875 XMM-moves are used for copying on small sizes.
52876
2d09f82f
LD
528772011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52878
52879 * wcsmbs/Makefile (strop-tests): Add wcschr.
52880 * wcsmbs/test-wcschr.c: New file.
52881 * string/test-strchr.c: Update.
52882 Add wcschr support.
52883 (WIDE): New macro.
52884
619fccca
LD
528852011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52886
2d09f82f 52887 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
52888 * wcsmbs/test-wcslen.c: New file.
52889 * string/test-strlen.c: Update.
52890 Add wcslen support.
52891 (WIDE): New macro.
52892
09f699ea
UD
528932011-10-23 Ulrich Drepper <drepper@gmail.com>
52894
52895 * po/it.po: Update from translation team.
52896
95584d3b
LD
528972011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52898
52899 * sysdeps/x86_64/wcscmp.S: Update.
52900 Fix wrong comparison semantics.
52901 wcscmp shall use signed comparison not unsigned.
52902 Don't use substraction to avoid overflow bug.
52903 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
52904 * wcsmbc/wcscmp.c: Likewise.
52905 * string/test-strcmp.c: Likewise.
52906 Add new tests to check cases with negative values.
52907
c8b3296b
UD
529082011-10-23 Ulrich Drepper <drepper@gmail.com>
52909
52910 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
52911 * sysdeps/x86_64/dla.h: ...here. New file.
52912 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
52913 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52914 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52915 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52916 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52917 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52918 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52919 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52920 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52921
246ad57a
AS
529222011-10-23 Andreas Schwab <schwab@linux-m68k.org>
52923
52924 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
52925 __ynl_finite aliases.
52926
a1a87169
UD
529272011-10-22 Ulrich Drepper <drepper@gmail.com>
52928
0d355eb7
UD
52929 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
52930
a1a87169
UD
52931 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
52932 define DLA_FMA.
52933 [DLA_FMA] (EMULV): Use DLA_FMA.
52934 [DLA_FMA] (MUL12): Use EMULV.
52935 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
52936 that are not needed.
52937 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
52938 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52939 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52940 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52941 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52942 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
52943 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
52944
ee2aafe0
AS
529452011-10-22 Andreas Schwab <schwab@linux-m68k.org>
52946
52947 * math/s_nan.c: Undef __nan.
52948 * math/s_nanf.c: Undef __nanf.
52949 * math/s_nanl.c: Undef __nanl.
52950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
52951 "math_private.h".
52952
bc62c2fb
UD
529532011-10-22 Ulrich Drepper <drepper@gmail.com>
52954
77425c63
UD
52955 * math/s_catan.c: Add branch predictions.
52956 * math/s_catanf.c: Likewise.
52957 * math/s_catanh.c: Likewise.
52958 * math/s_catanhf.c: Likewise.
52959 * math/s_catanhl.c: Likewise.
52960 * math/s_catanl.c: Likewise.
52961 * math/s_cexp.c: Likewise.
52962 * math/s_cexpf.c: Likewise.
52963 * math/s_cexpl.c: Likewise.
52964 * math/s_clog.c: Likewise.
52965 * math/s_clog10.c: Likewise.
52966 * math/s_clog10f.c: Likewise.
52967 * math/s_clog10l.c: Likewise.
52968 * math/s_clogf.c: Likewise.
52969 * math/s_clogl.c: Likewise.
52970 * math/s_csqrt.c: Likewise.
52971 * math/s_csqrtf.c: Likewise.
52972 * math/s_csqrtl.c: Likewise.
52973 * math/s_ctanf.c: Likewise.
52974 * math/s_ctanh.c: Likewise.
52975 * math/s_ctanhf.c: Likewise.
52976 * math/s_ctanhl.c: Likewise.
52977 * math/s_ctanl.c: Likewise.
52978
bc62c2fb
UD
52979 * math/math_private.h: Define __nan, __nanf, __nanl.
52980 * math/s_cacosh.c: Include <math_private.h>.
52981 * math/s_cacoshl.c: Likewise.
52982 * math/s_casinh.c: Likewise.
52983 * math/s_casinhf.c: Likewise.
52984 * math/s_casinhl.c: Likewise.
52985 * math/s_ccos.c: Rely entire on ccosh.
52986 * math/s_ccosf.c: Rely entire on ccoshf.
52987 * math/s_ccosl.c: Rely entirely on ccoshl.
52988 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
52989 Remove tests for FE_INVALID.
52990 * math/s_ccoshf.c: Likewise.
52991 * math/s_ccoshl.c: Likewise.
52992 * math/s_csin.c: Likewise.
52993 * math/s_csinf.c: Likewise.
52994 * math/s_csinh.c Likewise.
52995 * math/s_csinhf.c: Likewise.
52996 * math/s_csinhl.c: Likewise.
52997 * math/s_csinl.c: Likewise.
52998 * math/s_ctan.c: Likewise.
52999 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
53000 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
53001 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
53002
8ec250a4
UD
530032011-10-21 Ulrich Drepper <drepper@gmail.com>
53004
c196fed8
UD
53005 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
53006 compilation problems.
53007
8ec250a4
UD
53008 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
53009 __builtin_expect.
53010
8d4f46c6
UD
530112011-10-20 Ulrich Drepper <drepper@gmail.com>
53012
ed72b654
UD
53013 * sysdeps/i386/configure.in: Test for -mfma4 option.
53014 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
53015 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
53016 COMMON_CPUID_INDEX_80000001.
53017 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
53018 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
53019 use it if FMA3 is not supported.
53020 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
53021
8d4f46c6
UD
53022 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
53023 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53024
d45c60c2
AS
530252011-10-20 Andreas Schwab <schwab@redhat.com>
53026
53027 [BZ #12892]
53028 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
53029 it would create a cycle with a link time dependency.
53030
d9a4d2ab
UD
530312011-10-19 Ulrich Drepper <drepper@gmail.com>
53032
855d1560
UD
53033 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
53034 instruction.
53035 * string/Makefile (strop-tests): Add rawmemchr.
53036 * string/test-rawmemchr.c: New file.
53037
d9a4d2ab
UD
53038 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
53039 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
53040 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
53041 when compiling str{,n}casecmp and when AVX is available. Hook up
53042 new optimized code in initializers.
53043
8f3b1ffe
AS
530442011-10-19 Andreas Schwab <schwab@redhat.com>
53045
53046 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
53047 __feraiseexcept instead of feraiseexcept.
53048
d38f1dba
UD
530492011-10-18 Ulrich Drepper <drepper@gmail.com>
53050
d9a8d0ab
UD
53051 * math/math_private.h: Define defaults for libc_fetestexcept and
53052 libc_feupdateenv.
53053 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
53054 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
53055 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53056 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53057 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
53058 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53059 libc_fetestexcept and libc_feupdateenv.
53060
4855e3dd
UD
53061 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
53062 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
53063 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
53064 * sysdeps/x86_64/fpu/math_private.h: Define special version of
53065 libc_feholdexcept_setround.
53066
581d30e3
UD
53067 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
53068 Add s_nearbyint-c and s_nearbyintf-c.
53069 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
53070 nearbyintf inlines.
53071 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
53072 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
53073 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
53074 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
53075
d38f1dba
UD
53076 * math/math_private.h: Define defaults for libc_fegetround,
53077 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
53078 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
53079 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
53080 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
53081 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
53082 standard functions.
53083 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53084 Remove comments and hacks for old compiler versions.
53085 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
53086 libc_fegetround, libc_fesetround, libc_feholdexcept, and
53087 libc_feholdexceptl.
53088
caa6c9d8
AS
530892011-10-18 Andreas Schwab <schwab@redhat.com>
53090
53091 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
53092 (__feraiseexcept_renamed): Add __NTH.
53093 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
53094 namespace violations.
53095
97c066e6
UD
530962011-10-17 Ulrich Drepper <drepper@gmail.com>
53097
99ce7b04
UD
53098 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
53099
1004d182
UD
53100 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
53101
228a984d
UD
53102 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
53103 recently added interfaces.
53104 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
53105
c8553a6a
UD
53106 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
53107 about macro parameter expansion.
53108
ed22dcf6
UD
53109 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
53110 __NO_MATH_INLINES is defined. Cleanups.
53111
53112 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
53113 and __floorf is target has SSE4.1.
53114 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
53115 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
53116 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
53117 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
53118
b171c137
UD
53119 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
53120 name.
53121 (floorf): Likewise.
53122
97c066e6
UD
53123 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
53124
629f62ef
AS
531252011-10-17 Andreas Schwab <schwab@redhat.com>
53126
49a43d80
AS
53127 * misc/sys/cdefs.h: Fix last change.
53128
629f62ef
AS
53129 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
53130 database lookup.
53131
e453f6cd
UD
531322011-10-16 Ulrich Drepper <drepper@gmail.com>
53133
aa78043a
UD
53134 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
53135
ad0f5cad
UD
53136 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
53137 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
53138 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
53139 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
53140 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
53141 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
53142 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
53143 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
53144 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
53145 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
53146 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
53147 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
53148 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
53149 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
53150 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
53151 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
53152 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
53153 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
53154 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
53155 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
53156 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
53157 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
53158
53159 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
53160 ceil, ceilf, floor, floorf.
53161
53162 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
53163 Perform IRELATIVE relocations last.
53164
e453f6cd
UD
53165 * elf/do-rel.h: Add another parameter nrelative, replacing the
53166 local variable with the same name. Change name of the function
53167 to end in Rel or Rela (uppercase).
53168 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
53169 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
53170 elf_dynamic_do_##reloc function.
53171
fd5bdc09
UD
531722011-10-15 Ulrich Drepper <drepper@gmail.com>
53173
79b195b5
UD
53174 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
53175 is sufficient, at least on modern CPUs.
53176
d4a28569
UD
53177 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
53178
b61099b5
UD
53179 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
53180 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
53181
bcf01e6d
UD
53182 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
53183 __expl_finite.
53184 * math/bits/math-finite.h: Add entries for exp.
53185 * math/e_expl.c: Add __*_finite alias.
53186 * sysdeps/i386/fpu/e_exp.S: Likewise.
53187 * sysdeps/i386/fpu/e_expf.S: Likewise.
53188 * sysdeps/i386/fpu/e_expl.c: Likewise.
53189 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
53190 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
53191 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53192 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53193 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
53194 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
53195 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
53196
ba1a0d59
UD
53197 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
53198 is sufficient, at least on modern CPUs.
53199
fd5bdc09
UD
53200 * ctype/ctype-info.c (__ctype_init): Define.
53201 * include/ctype.h (__ctype_init): Declare.
53202 (__ctype_b_loc): The variable is always initialized.
53203 (__ctype_toupper_loc): Likewise.
53204 (__ctype_tolower_loc): Likewise.
53205 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
53206 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
53207
7872cfb0
AS
532082011-10-15 Andreas Schwab <schwab@linux-m68k.org>
53209
b468825a
AS
53210 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
53211
7872cfb0
AS
53212 * configure.in: Also look in $cxxmachine/include for C++ system
53213 headers.
53214
be13f7bf
LD
532152011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53216
53217 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
53218 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
53219 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
53220 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
53221 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
53222 (USE_AS_WMEMCMP): New macro.
53223 Fixing indents.
53224 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
53225 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
53226 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
53227 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
53228 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53229 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
53230 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
53231 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
53232 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
53233 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
53234 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
53235 (USE_AS_WMEMCMP): New macro.
53236 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
53237 * sysdeps/string/test-memcmp.c: Update.
53238 Fix simple_wmemcmp.
53239 Add new tests.
53240 * wcsmbs/wmemcmp.c: Update.
53241 (WMEMCMP): New macro.
53242 Fix overflow bug.
53243
556a2007
AJ
532442011-10-12 Andreas Jaeger <aj@suse.de>
53245
53246 [BZ #13268]
53247 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
53248
538faaa7
UD
532492011-10-15 Ulrich Drepper <drepper@gmail.com>
53250
ab6737ff
UD
53251 * libio/iofwide.c (do_length): Avoid warning.
53252
538faaa7
UD
53253 * ctype/ctype.h (__isctype_f): Add missing __THROW.
53254
396a21b1
UD
532552011-10-14 Ulrich Drepper <drepper@gmail.com>
53256
cdf2901f
UD
53257 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
53258
38ad40ce
UD
53259 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
53260 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
53261 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
53262 * sysdeps/i386/i686/fpu/e_log.S: New file.
53263 * sysdeps/i386/i686/fpu/e_logf.S: New file.
53264 * sysdeps/i386/i686/fpu/e_logl.S: New file.
53265
396a21b1
UD
53266 * ctype/ctype.h: Add support for inlined isXXX functions when
53267 compiling C++ code.
53268
6b1f68c9
AS
532692011-10-14 Andreas Schwab <schwab@redhat.com>
53270
349290c0
AS
53271 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53272
6b1f68c9
AS
53273 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
53274
f2282d42
RM
532752011-10-13 Roland McGrath <roland@hack.frob.com>
53276
53277 [BZ #13291]
53278 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
53279
5298ffa8
AS
532802011-10-13 Andreas Schwab <schwab@redhat.com>
53281
714fad23
AS
53282 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
53283 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
53284 feraiseexcept.
53285
81dcc7fb
AS
53286 * sysdeps/x86_64/memrchr.S: Check for zero size.
53287
5298ffa8
AS
53288 * string/stratcliff.c: Add memrchr tests.
53289
951fbcec
LD
532902011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53291
53292 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53293 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
53294 rawmemchr-sse2 rawmemchr-sse2-bsf.
53295 * sysdeps/i386/i686/multiarch/memchr.S: New file.
53296 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
53297 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
53298 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
53299 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
53300 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
53301 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
53302 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
53303 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
53304 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
53305 * string/memrchr.c (MEMRCHR): New macro.
53306
0ac5ae23
UD
533072011-10-12 Ulrich Drepper <drepper@gmail.com>
53308
53309 Add integration with gcc's -ffinite-math-only and optimize wrapper
53310 functions in libm.
53311 * Versions.def: Define GLIBC_2.15 version for libm.
53312 * math/Makefile (headers): Add bits/math-finite.h.
53313 * math/bits/math-finite.h: New file.
53314 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
53315 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
53316 * math/e_acoshl.c: Add __*_finite alias.
53317 * math/e_acosl.c: Likewise.
53318 * math/e_asinl.c: Likewise.
53319 * math/e_atan2l.c: Likewise.
53320 * math/e_atanhl.c: Likewise.
53321 * math/e_coshl.c: Likewise.
53322 * math/e_exp10.c: Likewise.
53323 * math/e_exp10f.c: Likewise.
53324 * math/e_exp10l.c: Likewise.
53325 * math/e_exp2l.c: Likewise.
53326 * math/e_fmodl.c: Likewise.
53327 * math/e_gammal_r.c: Likewise.
53328 * math/e_hypotl.c: Likewise.
53329 * math/e_j0l.c: Likewise.
53330 * math/e_j1l.c: Likewise.
53331 * math/e_jnl.c: Likewise.
53332 * math/e_lgammal_r.c: Likewise.
53333 * math/e_log10l.c: Likewise.
53334 * math/e_log2l.c: Likewise.
53335 * math/e_logl.c: Likewise.
53336 * math/e_powl.c: Likewise.
53337 * math/e_sinhl.c: Likewise.
53338 * math/e_sqrtl.c: Likewise.
53339 * math/e_scalb.c: Completely rewritten and optimized.
53340 * math/e_scalbf.c: Likewise.
53341 * math/e_scalbl.c: Likewise.
53342 * math/w_acos.c: Likewise.
53343 * math/w_acosf.c: Likewise.
53344 * math/w_acosl.c: Likewise.
53345 * math/w_acosh.c: Likewise.
53346 * math/w_acoshf.c: Likewise.
53347 * math/w_acoshl.c: Likewise.
53348 * math/w_asin.c: Likewise.
53349 * math/w_asinf.c: Likewise.
53350 * math/w_asinl.c: Likewise.
53351 * math/w_atan2.c: Likewise.
53352 * math/w_atan2f.c: Likewise.
53353 * math/w_atan2l.c: Likewise.
53354 * math/w_atanh.c: Likewise.
53355 * math/w_atanhf.c: Likewise.
53356 * math/w_atanhl.c: Likewise.
53357 * math/w_exp10.c: Likewise.
53358 * math/w_exp10f.c: Likewise.
53359 * math/w_exp10l.c: Likewise.
53360 * math/w_fmod.c: Likewise.
53361 * math/w_fmodf.c: Likewise.
53362 * math/w_fmodl.c: Likewise.
53363 * math/w_j0.c: Likewise.
53364 * math/w_j0f.c: Likewise.
53365 * math/w_j0l.c: Likewise.
53366 * math/w_j1.c: Likewise.
53367 * math/w_j1f.c: Likewise.
53368 * math/w_j1l.c: Likewise.
53369 * math/w_jn.c: Likewise.
53370 * math/w_jnf.c: Likewise.
53371 * math/w_log.c: Likewise.
53372 * math/w_logf.c: Likewise.
53373 * math/w_logl.c: Likewise.
53374 * math/w_log10.c: Likewise.
53375 * math/w_log10f.c: Likewise.
53376 * math/w_log10l.c: Likewise.
53377 * math/w_log2.c: Likewise.
53378 * math/w_log2f.c: Likewise.
53379 * math/w_log2l.c: Likewise.
53380 * math/w_pow.c: Likewise.
53381 * math/w_powf.c: Likewise.
53382 * math/w_powl.c: Likewise.
53383 * math/w_remainder.c: Likewise.
53384 * math/w_remainderf.c: Likewise.
53385 * math/w_remainderl.c: Likewise.
53386 * math/w_scalb.c: Likewise.
53387 * math/w_scalbf.c: Likewise.
53388 * math/w_scalbl.c: Likewise.
53389 * math/w_sqrt.c: Likewise.
53390 * math/w_sqrtf.c: Likewise.
53391 * math/w_sqrtl.c: Likewise.
53392 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
53393 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
53394 used.
53395 * math/math_private.h: Declare __kernel_standard_f.
53396 * math/w_cosh.c: Remove cruft and optimize a bit.
53397 * math/w_coshf.c: Likewise.
53398 * math/w_coshl.c: Likewise.
53399 * math/w_exp2.c: Likewise.
53400 * math/w_exp2f.c: Likewise.
53401 * math/w_exp2l.c: Likewise.
53402 * math/w_hypot.c: Likewise.
53403 * math/w_hypotf.c: Likewise.
53404 * math/w_hypotl.c: Likewise.
53405 * math/w_lgamma.c: Likewise.
53406 * math/w_lgamma_r.c: Likewise.
53407 * math/w_lgammaf.c: Likewise.
53408 * math/w_lgammaf_r.c: Likewise.
53409 * math/w_lgammal.c: Likewise.
53410 * math/w_lgammal_r.c: Likewise.
53411 * math/w_sinh.c: Likewise.
53412 * math/w_sinhf.c: Likewise.
53413 * math/w_sinhl.c: Likewise.
53414 * math/w_tgamma.c: Likewise.
53415 * math/w_tgammaf.c: Likewise.
53416 * math/w_tgammal.c: Likewise.
53417 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
53418 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
53419 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
53420 Minor optimizations. Pretty printing. Remove cruft.
53421 * sysdeps/i386/fpu/e_acosf.S: Likewise.
53422 * sysdeps/i386/fpu/e_acosh.S: Likewise.
53423 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
53424 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
53425 * sysdeps/i386/fpu/e_acosl.c: Likewise.
53426 * sysdeps/i386/fpu/e_asin.S: Likewise.
53427 * sysdeps/i386/fpu/e_asinf.S: Likewise.
53428 * sysdeps/i386/fpu/e_atan2.S: Likewise.
53429 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
53430 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
53431 * sysdeps/i386/fpu/e_atanh.S: Likewise.
53432 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
53433 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
53434 * sysdeps/i386/fpu/e_exp10.S: Likewise.
53435 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
53436 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
53437 * sysdeps/i386/fpu/e_exp2.S: Likewise.
53438 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
53439 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
53440 * sysdeps/i386/fpu/e_fmod.S: Likewise.
53441 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
53442 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
53443 * sysdeps/i386/fpu/e_hypot.S: Likewise.
53444 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
53445 * sysdeps/i386/fpu/e_log.S: Likewise.
53446 * sysdeps/i386/fpu/e_log10.S: Likewise.
53447 * sysdeps/i386/fpu/e_log10f.S: Likewise.
53448 * sysdeps/i386/fpu/e_log10l.S: Likewise.
53449 * sysdeps/i386/fpu/e_log2.S: Likewise.
53450 * sysdeps/i386/fpu/e_log2f.S: Likewise.
53451 * sysdeps/i386/fpu/e_log2l.S: Likewise.
53452 * sysdeps/i386/fpu/e_logf.S: Likewise.
53453 * sysdeps/i386/fpu/e_logl.S: Likewise.
53454 * sysdeps/i386/fpu/e_pow.S: Likewise.
53455 * sysdeps/i386/fpu/e_powf.S: Likewise.
53456 * sysdeps/i386/fpu/e_powl.S: Likewise.
53457 * sysdeps/i386/fpu/e_remainder.S: Likewise.
53458 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
53459 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
53460 * sysdeps/i386/fpu/e_scalb.S: Likewise.
53461 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
53462 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
53463 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
53464 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
53465 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
53466 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
53467 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
53468 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
53469 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
53470 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
53471 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
53472 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
53473 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
53474 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
53475 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53476 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
53477 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
53478 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
53479 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
53480 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
53481 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
53482 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
53483 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
53484 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
53485 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
53486 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
53487 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
53488 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
53489 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
53490 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
53491 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
53492 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
53493 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
53494 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
53495 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
53496 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
53497 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
53498 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
53499 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
53500 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
53501 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
53502 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
53503 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
53504 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
53505 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
53506 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
53507 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
53508 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
53509 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
53510 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
53511 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
53512 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
53513 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
53514 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
53515 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
53516 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
53517 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
53518 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
53519 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
53520 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
53521 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
53522 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
53523 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
53524 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
53525 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
53526 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
53527 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
53528 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
53529 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
53530 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
53531 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
53532 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
53533 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
53534 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
53535 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
53536 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
53537 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
53538 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
53539 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
53540 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
53541 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
53542 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
53543 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
53544 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
53545 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
53546 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
53547 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
53548 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
53549 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
53550 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
53551 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
53552 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
53553 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
53554 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
53555 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
53556 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
53557 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
53558 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53559 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
53560 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
53561 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
53562 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
53563 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
53564 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
53565 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
53566 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
53567 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
53568 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
53569 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
53570 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
53571 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
53572 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
53573 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
53574 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
53575 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
53576 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
53577 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
53578 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
53579 (__isnanf): Likewise.
53580 (__isinf_ns): Likewise.
53581 (__isinf_nsf): Likewise.
53582 (__finite): Likewise.
53583 (__finitef): Likewise.
53584 (__ieee754_sqrt): Define as macro.
53585 (__ieee754_sqrtf): Define as macro.
53586 (__ieee754_sqrtl): Define as macro.
53587 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
53588 inlined copy.
53589 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
53590 __FINITE_MATH_ONLY__ consistent.
53591 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
53592
12cc2fcd
AS
535932011-10-10 Andreas Schwab <schwab@linux-m68k.org>
53594
a843a204
AS
53595 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
53596 of rawmemchr.
53597
12cc2fcd
AS
53598 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
53599
c853acd5
UD
536002011-10-09 Ulrich Drepper <drepper@gmail.com>
53601
53602 * po/ja.po: Update from translation team.
53603
c658d255
RM
536042011-10-08 Roland McGrath <roland@hack.frob.com>
53605
110946e4
RM
53606 * locale/programs/locarchive.c (prepare_address_space): New function.
53607 (create_archive, enlarge_archive, open_archive): Use it.
53608
50604220
RM
53609 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
53610 inside [SHARED], where it is used.
53611
c658d255
RM
53612 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
53613
53614 * nss/getent.c (netgroup_keys): Remove unused variable.
53615 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
53616
6a621eb7
UD
536172011-10-08 Ulrich Drepper <drepper@gmail.com>
53618
7edb55ce
UD
53619 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
53620 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
53621 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
53622 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
53623 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
53624 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
53625 * math/Makefile (libm-calls): Add s_isinf_ns.
53626 * math/divtc3.c: Use __isinf_nsl instead of isinf.
53627 * math/multc3.c: Likewise.
53628 * math/s_casin.c: Likewise.
53629 * math/s_casinf.c: Likewise.
53630 * math/s_casinl.c: Likewise.
53631 * math/s_ccos.c: Likewise.
53632 * math/s_ccosf.c: Likewise.
53633 * math/s_ccosl.c: Likewise.
53634 * math/s_ctan.c: Likewise.
53635 * math/s_ctanf.c: Likewise.
53636 * math/s_ctanh.c: Likewise.
53637 * math/s_ctanhf.c: Likewise.
53638 * math/s_ctanhl.c: Likewise.
53639 * math/s_ctanl.c: Likewise.
53640 * math/w_fmod.c: Likewise.
53641 * math/w_fmodf.c: Likewise.
53642 * math/w_fmodl.c: Likewise.
53643 * math/w_remainder.c: Likewise.
53644 * math/w_remainderf.c: Likewise.
53645 * math/w_remainderl.c: Likewise.
53646 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
53647 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
53648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
53649 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
53650 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
53651 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
53652 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
53653 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
53654
187da0ae
UD
53655 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
53656 of the number.
53657 * stdio-common/printf_fphex.c: Likewise.
53658 * stdio-common/printf_size.c: Likewise.
53659
9277c064
UD
53660 * math/e_exp10.c: Include math_private.h using <...> not "...".
53661 * math/e_exp10f.c: Likewise.
53662 * math/e_exp10l.c: Likewise.
53663 * math/e_exp2l.c: Likewise.
53664 * math/e_j0l.c: Likewise.
53665 * math/e_j1l.c: Likewise.
53666 * math/e_jnl.c: Likewise.
53667 * math/e_lgammal_r.c: Likewise.
53668 * math/e_rem_pio2l.c: Likewise.
53669 * math/e_scalb.c: Likewise.
53670 * math/e_scalbf.c: Likewise.
53671 * math/e_scalbl.c: Likewise.
53672 * math/k_cosl.c: Likewise.
53673 * math/k_sinl.c: Likewise.
53674 * math/k_tanl.c: Likewise.
53675 * math/s_cacoshf.c: Likewise.
53676 * math/s_catan.c: Likewise.
53677 * math/s_catanf.c: Likewise.
53678 * math/s_catanh.c: Likewise.
53679 * math/s_catanhf.c: Likewise.
53680 * math/s_catanhl.c: Likewise.
53681 * math/s_catanl.c: Likewise.
53682 * math/s_ccosh.c: Likewise.
53683 * math/s_ccoshf.c: Likewise.
53684 * math/s_ccoshl.c: Likewise.
53685 * math/s_cexp.c: Likewise.
53686 * math/s_cexpf.c: Likewise.
53687 * math/s_cexpl.c: Likewise.
53688 * math/s_clog.c: Likewise.
53689 * math/s_clog10.c: Likewise.
53690 * math/s_clog10f.c: Likewise.
53691 * math/s_clog10l.c: Likewise.
53692 * math/s_clogf.c: Likewise.
53693 * math/s_clogl.c: Likewise.
53694 * math/s_csin.c: Likewise.
53695 * math/s_csinf.c: Likewise.
53696 * math/s_csinh.c: Likewise.
53697 * math/s_csinhf.c: Likewise.
53698 * math/s_csinhl.c: Likewise.
53699 * math/s_csinl.c: Likewise.
53700 * math/s_csqrt.c: Likewise.
53701 * math/s_csqrtf.c: Likewise.
53702 * math/s_csqrtl.c: Likewise.
53703 * math/s_ctan.c: Likewise.
53704 * math/s_ctanf.c: Likewise.
53705 * math/s_ctanh.c: Likewise.
53706 * math/s_ctanhf.c: Likewise.
53707 * math/s_ctanhl.c: Likewise.
53708 * math/s_ctanl.c: Likewise.
53709 * math/s_ldexp.c: Likewise.
53710 * math/s_ldexpf.c: Likewise.
53711 * math/s_ldexpl.c: Likewise.
53712 * math/s_significand.c: Likewise.
53713 * math/s_significandf.c: Likewise.
53714 * math/s_significandl.c: Likewise.
53715 * math/w_acos.c: Likewise.
53716 * math/w_acosf.c: Likewise.
53717 * math/w_acosh.c: Likewise.
53718 * math/w_acoshf.c: Likewise.
53719 * math/w_acoshl.c: Likewise.
53720 * math/w_acosl.c: Likewise.
53721 * math/w_asin.c: Likewise.
53722 * math/w_asinf.c: Likewise.
53723 * math/w_asinl.c: Likewise.
53724 * math/w_atan2.c: Likewise.
53725 * math/w_atan2f.c: Likewise.
53726 * math/w_atan2l.c: Likewise.
53727 * math/w_atanh.c: Likewise.
53728 * math/w_atanhf.c: Likewise.
53729 * math/w_atanhl.c: Likewise.
53730 * math/w_cosh.c: Likewise.
53731 * math/w_coshf.c: Likewise.
53732 * math/w_coshl.c: Likewise.
53733 * math/w_dremf.c: Likewise.
53734 * math/w_exp10.c: Likewise.
53735 * math/w_exp10f.c: Likewise.
53736 * math/w_exp10l.c: Likewise.
53737 * math/w_exp2.c: Likewise.
53738 * math/w_exp2f.c: Likewise.
53739 * math/w_fmod.c: Likewise.
53740 * math/w_fmodf.c: Likewise.
53741 * math/w_fmodl.c: Likewise.
53742 * math/w_hypot.c: Likewise.
53743 * math/w_hypotf.c: Likewise.
53744 * math/w_hypotl.c: Likewise.
53745 * math/w_j0.c: Likewise.
53746 * math/w_j0f.c: Likewise.
53747 * math/w_j0l.c: Likewise.
53748 * math/w_j1.c: Likewise.
53749 * math/w_j1f.c: Likewise.
53750 * math/w_j1l.c: Likewise.
53751 * math/w_jn.c: Likewise.
53752 * math/w_jnf.c: Likewise.
53753 * math/w_jnl.c: Likewise.
53754 * math/w_lgamma.c: Likewise.
53755 * math/w_lgamma_r.c: Likewise.
53756 * math/w_lgammaf.c: Likewise.
53757 * math/w_lgammaf_r.c: Likewise.
53758 * math/w_lgammal.c: Likewise.
53759 * math/w_lgammal_r.c: Likewise.
53760 * math/w_log.c: Likewise.
53761 * math/w_log10.c: Likewise.
53762 * math/w_log10f.c: Likewise.
53763 * math/w_log10l.c: Likewise.
53764 * math/w_log2.c: Likewise.
53765 * math/w_log2f.c: Likewise.
53766 * math/w_log2l.c: Likewise.
53767 * math/w_logf.c: Likewise.
53768 * math/w_logl.c: Likewise.
53769 * math/w_pow.c: Likewise.
53770 * math/w_powf.c: Likewise.
53771 * math/w_powl.c: Likewise.
53772 * math/w_remainder.c: Likewise.
53773 * math/w_remainderf.c: Likewise.
53774 * math/w_remainderl.c: Likewise.
53775 * math/w_scalb.c: Likewise.
53776 * math/w_scalbf.c: Likewise.
53777 * math/w_scalbl.c: Likewise.
53778 * math/w_sinh.c: Likewise.
53779 * math/w_sinhf.c: Likewise.
53780 * math/w_sinhl.c: Likewise.
53781 * math/w_sqrt.c: Likewise.
53782 * math/w_sqrtf.c: Likewise.
53783 * math/w_sqrtl.c: Likewise.
53784 * math/w_tgamma.c: Likewise.
53785 * math/w_tgammaf.c: Likewise.
53786 * math/w_tgammal.c: Likewise.
53787
6a621eb7
UD
53788 * po/ja.po: Update from translation team.
53789
bf582445
AJ
537902011-09-29 Andreas Jaeger <aj@suse.de>
53791
f9efbf3a
AJ
53792 [BZ #13179]
53793 * sunrpc/netname.c (netname2host): Fix logic.
53794
bf582445
AJ
53795 [BZ #6779]
53796 [BZ #6783]
53797 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
53798 correctly.
53799 * math/w_remainder.c (__remainder): Likewise.
53800 * math/w_remainderf.c (__remainderf): Likewise.
53801 * math/libm-test.inc (remainder_test): Add test cases.
53802
48693bea
AK
538032011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53804
53805 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
53806 sdiv_qrnnd.
53807
42622229
LD
538082011-10-07 Ulrich Drepper <drepper@gmail.com>
53809
53810 * string/test-memcmp.c: Avoid unncessary #defines.
53811 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
53812
093ecf92
LD
538132011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53814
53815 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
53816 Use new sse2 version for core i3 - i7 as it's faster
53817 than sse42 version.
53818 (bit_Prefer_PMINUB_for_stringop): New.
53819 * sysdeps/x86_64/rawmemchr.S: Update.
53820 Replace with faster SSE2 version.
53821 * sysdeps/x86_64/memrchr.S: New file.
53822 * sysdeps/x86_64/memchr.S: Update.
53823 Replace with faster SSE2 version.
53824
fde56e5c
MP
538252011-09-12 Marek Polacek <mpolacek@redhat.com>
53826
53827 * elf/dl-load.c (lose): Add cast to avoid warning.
53828
21fd49a9
UD
538292011-10-07 Ulrich Drepper <drepper@gmail.com>
53830
5a06e643
UD
53831 * po/ca.po: Update from translation team.
53832
684ae515
UD
53833 * inet/getnetgrent_r.c: Hook up nscd.
53834 * nscd/Makefile (routines): Add nscd_netgroup.
53835 (nscd-modules): Add netgroupcache.
53836 (CFLAGS-netgroupcache.c): Define.
53837 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
53838 (cache_search): Add const to second parameter.
53839 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
53840 INNETGR.
53841 (dbs): Add netgrdb entry.
53842 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
53843 (verify_persistent_db): Handle netgrdb.
53844 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
53845 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
53846 GETFDNETGR.
53847 (netgroup_response_header): Define.
53848 (innetgroup_response_header): Define.
53849 (datahead): Add netgroup_response_header and innetgroup_response_header
53850 elements.
53851 * nscd/nscd.conf: Add entries for netgroup cache.
53852 * nscd/nscd.h (dbtype): Add netgrdb.
53853 (_PATH_NSCD_NETGROUP_DB): Define.
53854 (netgroup_iov_disabled): Declare.
53855 (xmalloc, xcalloc, xrealloc): Move declarations here.
53856 (cache_search): Adjust prototype.
53857 Add netgroup-related prototypes.
53858 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
53859 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
53860 (__nscd_innetgr): Declare.
53861 * nscd/selinux.c (perms): Use access_vector_t as element type and
53862 add netgroup-related initializers.
53863 * nscd/netgroupcache.c: New file.
53864 * nscd/nscd_netgroup.c: New file.
53865 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
53866 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
53867 For four parameters use innetgr.
53868 * nss/nss_files/files-init.c: Add definition and callback for netgr.
53869 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
53870 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
53871 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
53872
21fd49a9
UD
53873 * nscd/connections.c (register_traced_file): Don't register file
53874 for disabled databases.
53875
054c0457
UD
538762011-10-06 Ulrich Drepper <drepper@gmail.com>
53877
32b63198
UD
53878 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
53879
054c0457
UD
53880 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
53881 from tree and freeing node.
53882
64031225
JO
538832011-09-25 Jiri Olsa <jolsa@redhat.com>
53884
53885 * nss/nsswitch.c (__nss_database_lookup): Handle
53886 nss_parse_service_list out of memory case.
53887
0490345c
JO
538882011-09-15 Jiri Olsa <jolsa@redhat.com>
53889
53890 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
53891 out of memory case.
53892
3a62d00d
AS
538932011-10-04 Andreas Schwab <schwab@redhat.com>
53894
53895 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
53896 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
53897 pass it down.
53898 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
53899 elf_machine_rela, elf_machine_lazy_rel.
53900 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
53901 (ELF_DYNAMIC_DO_REL): Likewise.
53902 (ELF_DYNAMIC_DO_RELA): Likewise.
53903 (ELF_DYNAMIC_RELOCATE): Likewise.
53904 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
53905 to ELF_DYNAMIC_DO_REL.
53906 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
53907 (dl_main): In trace mode always set __RTLD_NOIFUNC.
53908 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
53909 elf_machine_rela.
53910 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
53911 skip_ifunc, don't call ifunc function if non-zero.
53912 (elf_machine_rela): Likewise.
53913 (elf_machine_lazy_rel): Likewise.
53914 (elf_machine_lazy_rela): Likewise.
53915 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
53916 (elf_machine_lazy_rel): Likewise.
53917 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
53918 Likewise.
53919 (elf_machine_lazy_rel): Likewise.
53920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53921 Likewise.
53922 (elf_machine_lazy_rel): Likewise.
53923 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
53924 (elf_machine_lazy_rel): Likewise.
53925 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
53926 (elf_machine_lazy_rel): Likewise.
53927 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
53928 (elf_machine_lazy_rel): Likewise.
53929 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
53930 (elf_machine_lazy_rel): Likewise.
53931 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
53932 (elf_machine_lazy_rel): Likewise.
53933 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
53934 (elf_machine_lazy_rel): Likewise.
53935
68577918
UD
539362011-09-28 Ulrich Drepper <drepper@gmail.com>
53937
53938 * nss/nss_files/files-init.c (_nss_files_init): Use static
53939 initialization for all the *_traced_file variables.
53940
68822d74
AS
539412011-09-28 Andreas Schwab <schwab@redhat.com>
53942
53943 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
53944
2056100b
RM
539452011-09-27 Roland McGrath <roland@hack.frob.com>
53946
53947 [BZ #13226]
53948 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
53949
32c76b63
AS
539502011-09-27 Andreas Schwab <schwab@redhat.com>
53951
53952 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
53953 Reread the line before reparsing it.
53954
bf972c9d
AS
539552011-09-26 Andreas Schwab <schwab@redhat.com>
53956
53957 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
53958
e057a1b5
JM
539592011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
53960 Maxim Kuvyrkov <maxim@codesourcery.com>
53961 Joseph Myers <joseph@codesourcery.com>
53962
53963 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
53964 if needed for __stack_chk_guard.
53965
bc7e1c36
RM
539662011-09-19 Roland McGrath <roland@hack.frob.com>
53967
ecb1482f
RM
53968 * sysdeps/posix/spawni.c (script_execute): Always define it.
53969 It will be optimized away if unused.
53970 (maybe_script_execute): New function.
53971 (__spawni): Call it.
53972
bc7e1c36
RM
53973 * Makerules: Don't include tls.make.
53974 (config-tls): Always set to thread.
53975 * tls.make.c: File removed.
53976
1c3b002b
MF
539772011-09-19 Mike Frysinger <vapier@gentoo.org>
53978
53979 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
53980 * config.make.in (CPPFLAGS-config): New substituted variable.
53981
2840865d
UD
539822011-09-15 Ulrich Drepper <drepper@gmail.com>
53983
88738eb6
UD
53984 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
53985
cbf645a6 53986 [BZ #13192]
2840865d
UD
53987 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
53988 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
53989
b402e91a
RM
539902011-09-15 Roland McGrath <roland@hack.frob.com>
53991
53992 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
53993 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
53994 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53995 (CALL_FAIL): Likewise.
53996 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
53997 (CALL_FAIL): Macro removed.
53998 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
53999
4c1a1f71
UD
540002011-09-15 Ulrich Drepper <drepper@gmail.com>
54001
54002 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
54003 for __FINITE_MATH_ONLY__ == 1.
54004
edc121be
AS
540052011-09-15 Andreas Schwab <schwab@redhat.com>
54006
54007 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
54008 __ieee754_sqrt instead of sqrt.
54009 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
54010 __ieee754_sqrtf instead of sqrtf.
54011 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
54012 __floorf instead of floorf.
54013 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
54014 __floorf, __truncf instead of floorf, truncf.
54015
cd205654
UD
540162011-09-14 Ulrich Drepper <drepper@gmail.com>
54017
ee4d0315
UD
54018 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
54019
cd205654
UD
54020 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
54021 __extern_always_inline.
54022 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
54023 32-bit.
54024
48b67d71
AS
540252011-09-14 Andreas Schwab <schwab@redhat.com>
54026
54027 * elf/rtld.c (dl_main): Also relocate in dependency order when
54028 doing symbol dependency testing.
54029
1ae12c75
AS
540302011-09-13 Andreas Schwab <schwab@linux-m68k.org>
54031
54032 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54033 Always define `refsym'.
54034
995a80df
AS
540352011-09-13 Andreas Schwab <schwab@redhat.com>
54036
e529793b
AS
54037 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
54038 (__FD_ELT): Renamed from __FDELT.
54039 * misc/bits/select2.h (__FD_ELT): Likewise.
54040 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
54041 __FD_MASK instead of __FDELT, __FDMASK.
54042 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54043 Likewise.
54044 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
54045 Likewise.
54046
52d4fef8
AS
54047 * elf/Makefile (gen-ldd): Fix pattern.
54048
995a80df
AS
54049 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
54050 (init_tls): Likewise.
54051
8682f8b0
UD
540522011-09-12 Ulrich Drepper <drepper@gmail.com>
54053
54054 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
54055
de82006d
AS
540562011-09-12 Andreas Schwab <schwab@redhat.com>
54057
a7c8e6a1
AS
54058 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
54059 `struct cmsghdr *' instead of `void *'.
54060 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
54061 Likewise.
54062
0f31fe77
AS
540632011-09-11 Andreas Schwab <schwab@linux-m68k.org>
54064
54065 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
54066 if non-absolute.
54067 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
54068 ldd_rewrite_script.
0f31fe77 54069
32b4c839
UD
540702011-09-11 Ulrich Drepper <drepper@gmail.com>
54071
83cd1420
UD
54072 * configure.in: Remove --with-tls option.
54073 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
54074 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
54075 out in case it is missing.
54076 * sysdeps/ia64/elf/configure.in: Likewise.
54077 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
54078 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
54079 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
54080 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
54081 * sysdeps/sh/elf/configure.in: Likewise.
54082 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
54083 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
54084 * sysdeps/x86_64/elf/configure.in: Likewise.
54085 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
54086 * sysdeps/mach/hurd/tls.h: Likewise.
54087
633f745d
UD
54088 [BZ #13067]
54089 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
54090
f318beb8
UD
54091 [BZ #13090]
54092 * configure.in: Fix use of AC_INIT.
54093
32b4c839
UD
54094 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
54095
3ce1f295
UD
540962011-09-10 Ulrich Drepper <drepper@gmail.com>
54097
bb016596
UD
54098 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
54099 __set_errno.
8e58439c
UD
54100 * malloc/hooks.c: Likewise.
54101
aebae053 54102 [BZ #11929]
02d46fc4
UD
54103 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
54104 variables statically.
54105 (narenas): Initialize.
54106 (list_lock): Initialize.
bb016596
UD
54107 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
54108 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
54109 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
54110 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
54111 Add initializers to main_arena and mp_.
54112 (malloc_state): Remove pagesize member. Change all users to use
54113 GLRO(dl_pagesize).
54114
54115 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
54116 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
54117 is always initialized.
54118
22a89187
UD
54119 * malloc/malloc.c: Removed unused configurations and dead code.
54120 * malloc/arena.c: Likewise.
54121 * malloc/hooks.c: Likewise.
02d46fc4 54122 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 54123
d063d164
UD
54124 * include/tls.h: Removed. USE___THREAD must always be defined.
54125 * bits/libc-tsd.h: Don't handle !USE___THREAD.
54126 * elf/dl-libc.c: Likewise.
54127 * elf/dl-tsd.c: Likewise.
54128 * include/errno.h: Likewise.
54129 * include/netdb.h: Likewise.
54130 * include/resolv.h: Likewise.
54131 * inet/herrno-loc.c: Likewise.
54132 * inet/herrno.c: Likewise.
54133 * malloc/arena.c: Likewise.
54134 * malloc/hooks.c: Likewise.
54135 * malloc/malloc.c: Likewise.
54136 * resolv/res-state.c: Likewise.
54137 * resolv/res_libc.c: Likewise.
54138 * sysdeps/i386/dl-machine.h: Likewise.
54139 * sysdeps/ia64/dl-machine.h: Likewise.
54140 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
54141 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
54142 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
54143 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
54144 * sysdeps/sh/dl-machine.h: Likewise.
54145 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
54146 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
54147 * sysdeps/unix/i386/sysdep.S: Likewise.
54148 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54149 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
54150 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
54151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
54153 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54154 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
54155 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
54156 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
54157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54158 * sysdeps/unix/x86_64/sysdep.S: Likewise.
54159 * sysdeps/x86_64/dl-machine.h: Likewise.
54160 * tls.make.c: Likewise.
54161
3ce1f295
UD
54162 * configure.in: Remove --with-__thread option. Make tests for
54163 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
54164 tls_model attribute fail if no support is available. Remove
54165 USE_IN_LIBIO.
54166 * Makeconfig: Adjust for dropped configure option. All features are
54167 now mandatory.
54168 * Makerules: Likewise.
54169 * Versions.def: Likewise.
54170 * argp/argp-fmtstream.c: Likewise.
54171 * argp/argp-fmtstream.h: Likewise.
54172 * argp/argp-help.c: Likewise.
54173 * assert/assert.c: Likewise.
54174 * config.h.in: Likewise.
54175 * config.make.in: Likewise.
54176 * configure: Likewise.
54177 * configure.in: Likewise.
54178 * csu/Versions: Likewise.
54179 * csu/init.c: Likewise.
54180 * elf/tst-audit2.c: Likewise.
54181 * elf/tst-tls10.c: Likewise.
54182 * elf/tst-tls10.h: Likewise.
54183 * elf/tst-tls11.c: Likewise.
54184 * elf/tst-tls12.c: Likewise.
54185 * elf/tst-tls14.c: Likewise.
54186 * elf/tst-tlsmod11.c: Likewise.
54187 * elf/tst-tlsmod12.c: Likewise.
54188 * elf/tst-tlsmod13.c: Likewise.
54189 * elf/tst-tlsmod13a.c: Likewise.
54190 * elf/tst-tlsmod14a.c: Likewise.
54191 * elf/tst-tlsmod15b.c: Likewise.
54192 * elf/tst-tlsmod16a.c: Likewise.
54193 * elf/tst-tlsmod16b.c: Likewise.
54194 * elf/tst-tlsmod7.c: Likewise.
54195 * elf/tst-tlsmod8.c: Likewise.
54196 * elf/tst-tlsmod9.c: Likewise.
54197 * gmon/gmon.c: Likewise.
54198 * grp/fgetgrent_r.c: Likewise.
54199 * grp/putgrent.c: Likewise.
54200 * hurd/fopenport.c: Likewise.
54201 * include/libc-symbols.h: Likewise.
54202 * include/tls.h: Likewise.
54203 * intl/gettextP.h: Likewise.
54204 * intl/loadinfo.h: Likewise.
54205 * locale/global-locale.c: Likewise.
54206 * locale/localeinfo.h: Likewise.
54207 * mach/devstream.c: Likewise.
54208 * malloc/arena.c: Likewise.
54209 * malloc/set-freeres.c: Likewise.
54210 * misc/err.c: Likewise.
54211 * misc/getttyent.c: Likewise.
54212 * misc/mntent_r.c: Likewise.
54213 * posix/getopt.c: Likewise.
54214 * posix/wordexp.c: Likewise.
54215 * pwd/fgetpwent_r.c: Likewise.
54216 * resolv/Versions: Likewise.
54217 * resolv/res_hconf.c: Likewise.
54218 * shadow/fgetspent_r.c: Likewise.
54219 * shadow/putspent.c: Likewise.
54220 * stdio-common/printf_fphex.c: Likewise.
54221 * stdio-common/tmpfile.c: Likewise.
54222 * stdlib/abort.c: Likewise.
54223 * stdlib/fmtmsg.c: Likewise.
54224 * sunrpc/auth_unix.c: Likewise.
54225 * sunrpc/clnt_perr.c: Likewise.
54226 * sunrpc/clnt_tcp.c: Likewise.
54227 * sunrpc/clnt_udp.c: Likewise.
54228 * sunrpc/clnt_unix.c: Likewise.
54229 * sunrpc/openchild.c: Likewise.
54230 * sunrpc/svc_simple.c: Likewise.
54231 * sunrpc/svc_tcp.c: Likewise.
54232 * sunrpc/svc_udp.c: Likewise.
54233 * sunrpc/svc_unix.c: Likewise.
54234 * sunrpc/xdr.c: Likewise.
54235 * sunrpc/xdr_array.c: Likewise.
54236 * sunrpc/xdr_rec.c: Likewise.
54237 * sunrpc/xdr_ref.c: Likewise.
54238 * sunrpc/xdr_stdio.c: Likewise.
54239
1248c1c4
PB
542402011-09-09 Ulrich Drepper <drepper@gmail.com>
54241
54242 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
54243
542442011-07-03 Andreas Jaeger <aj@suse.de>
54245
54246 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
54247 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
54248 regenerate with gen-libm-tests.pl.
54249
542502010-05-12 Petr Baudis <pasky@suse.cz>
54251
54252 [BZ #11589]
54253 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
54254 around j0() zero points by switching to j1().
54255 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
54256 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
54257 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
54258 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
54259
f22e1074
UD
542602011-09-09 Ulrich Drepper <drepper@gmail.com>
54261
f19009c1
UD
54262 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
54263 instead of 0.
54264 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 54265 instead of 0.
f19009c1
UD
54266 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54267 Patch in part by Pavel Roskin <proski@gnu.org>.
54268
3f8cc204
UD
54269 [BZ #13138]
54270 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
54271 realloc.
54272 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
54273 Free memory block if necessary.
54274
f22e1074
UD
54275 [BZ #12847]
54276 * libio/genops.c (INTDEF): For string streams the _lock pointer can
54277 be NULL. Don't lock in this case.
54278
0a2349f9
RM
542792011-09-09 Roland McGrath <roland@hack.frob.com>
54280
54281 * elf/elf.h (ELFOSABI_GNU): New macro.
54282 (ELFOSABI_LINUX): Define to that.
54283
f3cdd467
DZ
542842011-07-29 Denis Zaitceff <zaitceff@gmail.com>
54285
54286 * string/strncat.c (strncat): Undef the symbol in case it has been
54287 defined in bits/string.h.
54288
74718d13
UD
542892011-09-09 Ulrich Drepper <drepper@gmail.com>
54290
633e9e0f
UD
54291 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
54292
0a2349f9 54293 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
54294 link map.
54295
f9924780
AJ
542962011-08-17 Andreas Jaeger <aj@suse.de>
54297
54298 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
54299
7f5517aa
PP
543002011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
54301 Ian Lance Taylor <iant@google.com>
54302
54303 * math/libm-test.inc (lround_test): New testcase.
54304 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
54305
762011fe
UD
543062011-09-08 Ulrich Drepper <drepper@gmail.com>
54307
92963737
UD
54308 * Makefile: Remove support for automatic cvs check-ins.
54309 * Makerules: Likewise.
54310 * config.make.in: Likewise.
54311 * configure.in: Likewise.
54312 * intl/Makefile: Likewise.
54313 * locale/Makefile: Likewise.
54314 * po/Makefile: Likewise.
54315 * posix/Makefile: Likewise.
54316 * sysdeps/gnu/Makefile: Likewise.
54317 * sysdeps/mach/hurd/Makefile: Likewise.
54318 * sysdeps/sparc/sparc32/Makefile: Likewise.
54319
b0727fd8
JS
54320 [BZ #13118]
54321 * posix/Makefile (bug-regex32-ENV): Define.
54322 Patch by John Stanley <jpsinthemix@verizon.net>.
54323
a0f33f99
UD
54324 * misc/Makefile (headers): Add bits/select2.h.
54325 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
54326 * misc/bits/select2.h: New file.
54327 * include/bits/select2.h: New file.
54328 * debug/Makefile (routines): Add fdelt_chk.
54329 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
54330 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
54331 FD_ISSET.
54332 * debug/fdelt_chk.c: New file.
54333
762011fe
UD
54334 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
54335 * wcsmbs/test-wmemcmp.c: Likewise.
54336 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 54337 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
54338
543392011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54340
54341 * string/Makefile (strop-tests): Add memcmp.
54342 * string/test-wmemcmp.c: New file.
54343 * string/test-memcmp.c: Add wmemcmp support.
54344
7f513ec8
RM
543452011-09-08 Roland McGrath <roland@hack.frob.com>
54346
0442afb4
RM
54347 [BZ #13153]
54348 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
54349 2011-07-19 change.
54350
7f513ec8
RM
54351 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
54352 garbage value in a __mach_port_mod_refs call in the cases of the
54353 task-self and thread-self ports.
54354
a12b2239
ST
543552011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54356
54357 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
54358
610f9ab4
AS
543592011-09-08 Andreas Schwab <schwab@redhat.com>
54360
7f513ec8 54361 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 54362
48882a1a
LD
543632011-09-07 Ulrich Drepper <drepper@gmail.com>
54364
b49865be
UD
54365 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
54366
fdc86bc9
UD
54367 * elf/dl-libc.c (dlerror_run): Pass back error code from
54368 dl_catch_error.
54369
c966526a
UD
54370 [BZ #13123]
54371 * elf/dl-load.c (lose): Free l_origin if it is valid.
54372
48882a1a
LD
54373 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
54374 names.
54375 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
54376 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54377 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54378 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54379 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
54380 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
54381
77a2a8b4
AZ
543822011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54383
54384 * sysdeps/powerpc/fpu/e_hypot.c: New file.
54385 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
54386 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
54387 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
54388 * sysdeps/powerpc/fpu/k_cosf.c: New file.
54389 * sysdeps/powerpc/fpu/k_sinf.c: New file.
54390 * sysdeps/powerpc/fpu/s_cosf.c: New file.
54391 * sysdeps/powerpc/fpu/s_sinf.c: New file.
54392 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
54393 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
54394
24f579d8
AM
543952011-08-15 Alan Modra <amodra@gmail.com>
54396
54397 [BZ #13092]
54398 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
54399 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
54400 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
54401 ppc_mcount to static-only-routines.
54402 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
54403 __mcount_internal.
54404 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
54405 __mcount_internal with usual JUMPTARGET. Remove useless nop.
54406
3d4837df
UD
544072011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
54408
54409 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
54410 for finite and infinity parameters.
54411
22700377
WS
544122011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
54413
54414 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
54415 and add nop instructions for throughput optimization.
54416 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54417
5025581e
WS
544182011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
54419
54420 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
54421 aligned copy for power7 with vector-scalar instructions.
54422 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
54423
08a300c9
L
544242011-07-24 H.J. Lu <hongjiu.lu@intel.com>
54425
54426 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
54427 AVX check.
54428
59178ef9
AS
544292011-09-07 Andreas Schwab <schwab@redhat.com>
54430
54431 [BZ #13144]
54432 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
54433 last change.
54434
e38ba7ab
UD
544352011-09-07 Ulrich Drepper <drepper@gmail.com>
54436
54437 * sysdeps/unix/sysv/linux/x86_64/init-first.c
54438 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
54439 syscall wrapper around clock_gettime in __vdso_clock_gettime.
54440 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
54441 clock_gettime.
54442
d53a73ac
UD
544432011-09-06 Ulrich Drepper <drepper@gmail.com>
54444
fc8bffcc
UD
54445 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
54446 Forgot to demangle the pointer.
54447
ceaa0c5d
UD
54448 * sysdeps/i386/sysdep.h: Define atom_text_section.
54449 * sysdeps/x86_64/sysdep.h: Likewise.
54450 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
54451 section with atom_text_section.
54452 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
54453 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
54454 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
54455 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
54456 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
54457
a77d3c17
UD
54458 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
54459 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
54460 already be defined. Change to take two parameters and don't assign
54461 result to variable. Adjust all users.
54462 Define INTERNAL_GETTIME if not already defined.
54463 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
54464 call.
54465 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
54466 HAVE_CLOCK_GETTIME_VSYSCALL.
54467 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
54468
d53a73ac
UD
54469 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
54470 gettimeofday vsyscall, just use time.
54471
a8f84144
AS
544722011-09-06 Andreas Schwab <schwab@redhat.com>
54473
54474 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
54475 <errno.h>.
54476
ef606249
UD
544772011-09-06 Ulrich Drepper <drepper@gmail.com>
54478
54479 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
54480 syscall on x86-64.
54481 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
54482 syscall.
54483 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
54484 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
54485 syscall if possible.
54486
6585cb60
UD
544872011-09-05 Ulrich Drepper <drepper@gmail.com>
54488
54489 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
54490 e_ident. Don't pass to find_mapsXX.
54491 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
54492
a5f524e4
LD
544932011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54494
54495 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54496 strchr-sse2-no-bsf strrchr-sse2-no-bsf
54497 * sysdeps/x86_64/multiarch/strchr.S: Update.
54498 Check bit_slow_BSF bit.
54499 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54500 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
54501 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
54502
554881ef
UD
545032011-09-05 Ulrich Drepper <drepper@gmail.com>
54504
d96de963
UD
54505 [BZ #13134]
54506 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
54507 before glibc 2.15.
54508 (tryshell): Define.
54509 (__spawni): Change last parameter to be flag. Test
54510 SPAWN_XFLAGS_USE_PATH flag to use path or not.
54511 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
54512 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
54513 * posix/spawni.c: Likewise.
54514 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
54515 * posix/spawnp.c: Likewise. Change normal version to use
54516 SPAWN_XFLAGS_USE_PATH.
54517 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
54518 SPAWN_XFLAGS_TRY_SHELL.
54519
d48e5868
UD
54520 [BZ #13150]
54521 * posix/glob.h: Remove gcc 1.x support.
54522
554881ef
UD
54523 [BZ #13068]
54524 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
54525
693fb948
LD
545262011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54527
54528 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54529 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
54530 strrchr-sse2-bsf
54531 * sysdeps/i386/i686/multiarch/strchr.S: New file.
54532 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
54533 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
54534 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
54535 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
54536 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
54537
1b48c537
UD
545382011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54539
49d42c37
UD
54540 * sysdeps/x86_64/wcscmp.S: New file.
54541
1b48c537
UD
54542 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
54543 wcscmp-c wcscmp-sse2
54544 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
54545 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
54546 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
54547 * wcsmbs/wcscmp.c: Allow renaming.
54548
15c95c5d
DM
545492011-09-05 David S. Miller <davem@davemloft.net>
54550
54551 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
54552 stack slot, rather than the struct return pointer slot.
54553 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
54554 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
54555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
54556 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
54557
2f0ad8f3
UD
545582011-09-05 Ulrich Drepper <drepper@gmail.com>
54559
d88ae418
UD
54560 * po/ja.po: Update from translation team.
54561
2f0ad8f3
UD
54562 [BZ #13144]
54563 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
54564 kernel in 64-bit binaries.
54565
5f4318d1
DM
545662011-09-01 David S. Miller <davem@davemloft.net>
54567
54568 * elf/elf.h (HWCAP_SPARC_*): Move to..
54569 * sysdeps/sparc/sysdep.h: this new file and add new values.
54570 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
54571 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
54572 _DL_HWCAP_COUNT to 24.
54573 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
54574 entries.
54575 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
54576 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
54577 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
54578 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
54579 instead of magic constants.
54580 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
54581
3ba57516
DM
545822011-08-31 David S. Miller <davem@davemloft.net>
54583
54584 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
54585 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
54586 Reimplement to do errno handling inline.
54587 (SYSCALL_ERROR_HANDLER): New macro.
54588 (__SYSCALL_STRING): Do not do errno handling in asm.
54589 (__CLONE_SYSCALL_STRING): Delete.
54590 (__INTERNAL_SYSCALL_STRING): Delete.
54591 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
54592 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
54593 (PSEUDO): Reimplement to do errno handling inline.
54594 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
54595 (SYSCALL_ERROR_HANDLER): New macro.
54596 (__SYSCALL_STRING): Do not do errno handling in asm.
54597 (__CLONE_SYSCALL_STRING): Delete.
54598 (__INTERNAL_SYSCALL_STRING): Delete.
54599 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
54600 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
54601 i386.
54602 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
54603 (inline_syscall*): Add 'err' argument.
54604 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
54605 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
54606 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
54607 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
54608
54609 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
54610 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
54611
2bc17433
AS
546122011-08-30 Andreas Schwab <schwab@redhat.com>
54613
54614 * elf/rtld.c (dl_main): Relocate objects in dependency order.
54615
fbeb5f4d
JO
546162011-08-29 Jiri Olsa <jolsa@redhat.com>
54617
54618 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
54619 directive.
54620
ad69cc26
DM
546212011-08-24 David S. Miller <davem@davemloft.net>
54622
54623 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
54624
39dd69df
AS
546252011-08-24 Andreas Schwab <schwab@redhat.com>
54626
54627 * elf/Makefile: Add rules to build and run unload8 test.
54628 * elf/unload8.c: New file.
54629 * elf/unload8mod1.c: New file.
54630 * elf/unload8mod1x.c: New file.
54631 * elf/unload8mod2.c: New file.
54632 * elf/unload8mod3.c: New file.
54633
54634 * elf/dl-close.c (_dl_close_worker): Reset private search list if
54635 it wasn't used.
54636
2c0b250a
DM
546372011-08-23 David S. Miller <davem@davemloft.net>
54638
54639 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
54640 subtract stack bias.
54641 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
54642 %sp not %fp in calculations.
54643 (_JMPBUF_UNWINDS_ADJ): Likewise.
54644
22044b48
DM
54645 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
54646 (aio_suspend): Call it to force an exception region around the
54647 AIO_MISC_WAIT() invocation.
54648
2cae4995
AS
546492011-08-23 Andreas Schwab <schwab@redhat.com>
54650
54651 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
54652 backslash.
54653
873a772e
AJ
546542011-07-04 Aurelien Jarno <aurelien@aurel32.net>
54655
54656 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
54657 protection macro.
54658 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
54659 and <dl-machine.h>.
54660 (Elf64_FuncDesc): Remove.
54661
25ad0df1
DM
546622011-08-22 David S. Miller <davem@davemloft.net>
54663
54664 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
54665 sigaltstack check, add missing cfi directives.
54666 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
54667 missing cfi directives, and sigaltstack handling.
54668
e888bcbe
AS
546692011-08-16 Andreas Schwab <schwab@redhat.com>
54670
54671 [BZ #11724]
54672 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
54673 object is seen twice.
54674 * elf/dl-fini.c (_dl_sort_fini): Likewise.
54675
54676 * elf/Makefile (distribute): Add tst-initorder2.c.
54677 (tests): Add tst-initorder2.
54678 (modules-names): Add tst-initorder2a tst-initorder2b
54679 tst-initorder2c tst-initorder2d. Add rules to build them.
54680 ($(objpfx)tst-initorder2.out): New rule.
54681 * elf/tst-initorder2.c: New file.
54682 * elf/tst-initorder2.exp: New file.
54683
87162f46
AS
546842011-08-22 Andreas Schwab <schwab@redhat.com>
54685
70538b7f
AS
54686 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
54687
f55ffe58
AS
54688 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
54689 dependencies back to end of function.
54690
87162f46
AS
54691 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54692 $(elfobjdir)/ld.so.
54693
91b392a4
UD
546942011-08-21 Ulrich Drepper <drepper@gmail.com>
54695
54696 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
54697 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
54698 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
54699 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
54700 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
54701 of __vdso_gettimeofday.
54702 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
54703 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
54704 attribute_hidden.
54705 (_libc_vdso_platform_setup): Remove initialization of
54706 __vdso_gettimeofday and __vdso_time.
54707
5c43483f
UD
547082011-08-20 Ulrich Drepper <drepper@gmail.com>
54709
775a77e7
UD
54710 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
54711 and fgetc_unlocked.
54712 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
54713 getc_unlocked.
89f447ed 54714
49c74ba9
UD
54715 * elf/dl-open.c (add_to_global): Report additions to the global scope
54716 for LD_DEBUG=scopes.
54717 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 54718 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 54719
5c43483f
UD
54720 [BZ #13114]
54721 * stdio-common/Makefile (tests): Add bug24.
54722 * stdio-common/bug24.c: New file.
54723
a101b025
AJ
547242011-08-19 Andreas Jaeger <aj@suse.de>
54725
54726 [BZ #13114]
54727 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
54728 non-existant file when using close-on-exec mode.
54729
c88f1766
UD
547302011-08-20 Ulrich Drepper <drepper@gmail.com>
54731
0276a718
UD
54732 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
54733 the very first instruction.
54734
c88f1766
UD
54735 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
54736 the CFI state in the end.
54737 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
54738 inclusion of dl-trampoline.h.
54739 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
54740
51ccffa0
AS
547412011-08-19 Andreas Schwab <schwab@redhat.com>
54742
94d7165f
AS
54743 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
54744 expectations for long double.
54745
51ccffa0
AS
54746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
54747 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
54748
fd708658 547492011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
54750
54751 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
54752 artificual limit depends upon the system page size.
54753
44f0a71e
UD
547542011-08-17 Ulrich Drepper <drepper@gmail.com>
54755
54756 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
54757 * resolv/Makefile: Define CFLAGS-libresolv.
54758
8de79a24
AS
547592011-08-17 Andreas Schwab <schwab@redhat.com>
54760
54761 * nss/makedb.c (compute_tables): Make variables used in nested
54762 function static.
54763
27724598
UD
547642011-08-17 Ulrich Drepper <drepper@gmail.com>
54765
c5305d88
UD
54766 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
54767 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
54768 if buffer was too small.
54769
27724598
UD
54770 * elf/pldd.c (main): Attach to all threads in the process.
54771 Rewrite /proc handling to use *at functions.
54772
076fe015
UD
547732011-08-16 Ulrich Drepper <drepper@gmail.com>
54774
174baab3
UD
54775 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
54776 specifies first scope to show.
54777 (dl_open_worker): Update callers. Move printing scope of new
54778 object to before the relocation.
44f0a71e 54779 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
54780 * sysdeps/generic/ldsodefs.h: Update declaration.
54781
076fe015
UD
54782 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
54783 string for the scope number.
54784
a60df2c3
UD
547852011-08-14 Ulrich Drepper <drepper@gmail.com>
54786
54787 * nscd/servicescache.c (cache_addserv): Make sure written is always
54788 initialized.
54789
5e4287d1
RM
547902011-08-14 Roland McGrath <roland@hack.frob.com>
54791
85ae0589
RM
54792 * sysdeps/i386/i486/bits/atomic.h
54793 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
54794 statement expression, so as to suppress "set but not used" warning.
54795 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
54796
69f63097
RM
54797 * string/strncat.c (STRNCAT): Use prototype definition.
54798
675456ef
RM
54799 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
54800 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
54801 -Iprograms here.
54802 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
54803 (localedef-modules): Add localedef.
54804 (locale-modules): Add locale.
54805
5e4287d1
RM
54806 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
54807 * elf/rtld.c (dl_main): Invert order of assignment in last change,
54808 to avoid a warning.
54809
9c96ff23
DM
548102011-08-14 David S. Miller <davem@davemloft.net>
54811
54812 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
54813 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
54814
f9ddf089
UD
548152011-08-13 Ulrich Drepper <drepper@gmail.com>
54816
44f0a71e 54817 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
54818 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
54819 * elf/rtld.c (dl_main): Set l_name of vDSO.
54820 Call _dl_show_scope when DL_DEBUG_SCOPES.
54821 (process_dl_debug): Recognize scopes flag and also set it for all.
54822 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
54823 Declare _dl_show_scope.
54824
1dc27704
UD
54825 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
54826 (do_dlopen): Pass caller_dlopen to dl_open.
54827 (__libc_dlopen_mode): Initialize caller_dlopen.
54828
f9ddf089
UD
54829 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
54830 of libc. Make tolower call locale-independent. Optimize a bit by
54831 using isdigit instead of isalnum.
54832 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
54833
9ac533d3
UD
548342011-08-12 Ulrich Drepper <drepper@gmail.com>
54835
54836 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
54837 was a dependency or dynamically loaded.
54838
89edf2e9
UD
548392011-08-11 Ulrich Drepper <drepper@gmail.com>
54840
8e999d29
UD
54841 * intl/l10nflist.c: Allow architecture-specific pop function.
54842 * sysdeps/x86_64/l10nflist.c: New file.
54843
89edf2e9
UD
54844 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
54845 classification.
54846
14d96785
AS
548472011-08-10 Andreas Schwab <schwab@redhat.com>
54848
54849 * include/dirent.h: Add libc_hidden_proto for scandirat and
54850 scandirat64. Don't declare __scandirat64.
54851 * dirent/scandirat.c: Add libc_hidden_def.
54852 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
54853 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
54854
6761ac04
DM
548552011-08-10 David S. Miller <davem@davemloft.net>
54856
54857 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
54858 enum.
54859 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54860 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54861 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54862
c55fbd1e
UD
548632011-08-09 Ulrich Drepper <drepper@gmail.com>
54864
54865 * Versions.def [libc]: Add GLIBC_2.15.
54866 * dirent/Makefile (routines): Add scandirat and scandirat64.
54867 * dirent/Versions [libc]: Export scandirat and scandirat64 for
54868 GLIBC_2.15.
54869 * dirent/dirent.h: Declare scandirat and scandirat64.
54870 * dirent/scandirat.c: New file.
54871 * dirent/scandirat64.c: New file.
54872 * sysdeps/wordsize-64/scandirat.c: New file.
54873 * sysdeps/wordsize-64/scandirat64.c: New file.
54874 * dirent/opendir.c: Define opendirat.
54875 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
54876 using scandirat.
54877 * dirent/scandir64.c: Adjust for scandir.c change.
54878 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
54879 __scandirat64, and __scandir_cancel_handler.
54880 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
54881 additional parameter and use openat instead of open (outside of ld.so).
54882 Add new __opendir as wrapper around __opendirat.
54883 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
54884 here without requiring old scandirat implementation.
54885
879165f2
UD
548862011-08-08 Ulrich Drepper <drepper@gmail.com>
54887
54888 * dirent/scandir.c (cancel_handler): Renamed to
54889 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
54890 defined. Adjust users.
54891 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
54892 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
54893
cb7e923b
UD
548942011-08-04 Ulrich Drepper <drepper@gmail.com>
54895
16292edd
UD
54896 * string/test-string.h (IMPL): Use __STRING to expand name and then
54897 stringify it.
54898
cb7e923b
UD
54899 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
54900 of cleanups.
54901
cff82933
LD
549022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54903
54904 * string/Makefile: Update.
54905 (strop-tests): Append strncat.
54906 * string/test-wcscmp.c: New file.
54907 New comprehensive test for wcscmp.
54908 * string/test-strcmp.c: Update.
54909 (WIDE): New define.
54910
9be9bfcc
AS
549112011-07-22 Andreas Schwab <schwab@redhat.com>
54912
54913 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
54914 line.
54915
2e96f1c7
AS
549162011-07-26 Andreas Schwab <schwab@redhat.com>
54917
54918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54919 encoding to ACE if AI_IDN.
54920
85188888
JJ
549212011-08-01 Jakub Jelinek <jakub@redhat.com>
54922
54923 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
54924 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
54925
5fa16e9b
LD
549262011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54927
54928 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
54929 Fix overflow bug in strncat.
54930 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
54931
54932 * string/test-strncat.c: Update.
54933 Add new tests for checking overflow bugs.
54934
549352011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54936
54937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54938 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
54939 * sysdeps/i386/i686/multiarch/strcat.S: New file.
54940 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
54941 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
54942 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
54943 * sysdeps/i386/i686/multiarch/strncat.S: New file.
54944 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
54945 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
54946
54947 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
54948 (USE_AS_STRCAT): Define.
54949 Add strcat and strncat support.
54950 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
54951
8c1a459f
AS
549522011-07-25 Andreas Schwab <schwab@redhat.com>
54953
54954 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
54955 __n bigger than INT_MAX+1.
54956 (__strncmp_g): Likewise.
54957
bba33c28
UD
549582011-07-23 Ulrich Drepper <drepper@gmail.com>
54959
798be72d
UD
54960 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
54961 * libio/stido.h: Likewise.
54962
8accd4dc
UD
54963 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
54964 (AF_NFC): Define.
54965 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
54966 (AF_NFC): Define.
54967
cbff0d96
UD
54968 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
54969 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54970 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54971 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
54972 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54973
9191c04a
UD
54974 [BZ #13021]
54975 * scripts/test-installation.pl: Don't expect libnss_test1 to be
54976 installed.
54977
bba33c28
UD
54978 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
54979 typo.
54980 (_dl_x86_64_save_sse): Likewise.
54981
90f139dd
UD
549822011-07-22 Ulrich Drepper <drepper@gmail.com>
54983
1aae088a
UD
54984 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
54985 OSXSAVE.
54986 (_dl_x86_64_save_sse): Likewise.
54987
8e2045f5
UD
54988 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
54989
90f139dd
UD
54990 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
54991
1d002f25
AS
549922011-07-21 Andreas Schwab <schwab@redhat.com>
54993
54994 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
54995 change.
54996 (_dl_x86_64_save_sse): Use correct AVX check.
54997
21137f89
UD
549982011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
54999
55000 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
55001 bug in strncpy/strncat.
55002 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
55003
a65c0b7a
UD
550042011-07-21 Ulrich Drepper <drepper@gmail.com>
55005
55006 * string/tester.c (test_strcat): Add tests for different alignments
55007 of source and destination.
55008 (test_strncat): Likewise.
55009
6986b98a
UD
550102011-07-20 Ulrich Drepper <drepper@gmail.com>
55011
90bb2039
UD
55012 [BZ #12852]
55013 * posix/glob.c (glob): Check passed in values before using them in
55014 expressions to avoid some overflows.
55015 (glob_in_dir): Likewise.
55016
5644ef54
UD
55017 [BZ #13007]
55018 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
55019 check for AVX enablement so that we don't crash with old kernels and
55020 new hardware.
55021 * elf/tst-audit4.c: Add same checks here.
55022 * elf/tst-audit6.c: Likewise.
55023
55024 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 55025
bfc9dc9b
AS
550262011-07-09 Andreas Schwab <schwab@linux-m68k.org>
55027
55028 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
55029
702e64bb
UD
550302011-07-20 Ulrich Drepper <drepper@gmail.com>
55031
55032 * po/cs.po: Update from translation team.
55033 * po/bg.po: Likewise.
55034
295e904f
MP
550352011-07-12 Marek Polacek <mpolacek@redhat.com>
55036
55037 * misc/sys/cdefs.h: Add support for const attribute.
55038 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
55039 to gnu_dev_{major,minor,makedev} functions.
55040
3ff94596
MP
550412011-07-20 Marek Polacek <mpolacek@redhat.com>
55042
55043 * intl/dcigettext.c (get_output_charset): Add missing bracket.
55044
28b59fca
AS
550452011-07-20 Andreas Schwab <schwab@redhat.com>
55046
55047 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
55048 strlen results.
55049
19df733e
AK
550502011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55051
55052 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
55053 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
55054 register in order to avoid conflicts with the soft frame pointer
55055 being held in r11 when necessary.
55056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
55057 (INTERNAL_VSYSCALL_NCS): Likewise.
55058
c8835729
MP
550592011-07-14 Marek Polacek <mpolacek@redhat.com>
55060
55061 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
55062 * elf/dl-fini.c (_dl_fini): Adjust caller.
55063 * elf/dl-close.c (_dl_close_worker): Likewise.
55064 * sysdeps/generic/ldsodefs.h: Adjust declaration.
55065
b902330c
MP
550662011-07-15 Marek Polacek <mpolacek@redhat.com>
55067
8991e135
MP
55068 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
55069 "aux_cache->nlibs < 0".
55070
b902330c
MP
55071 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
55072 in the reload-count case.
55073
99710781
LD
550742011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
55075
55076 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55077 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
55078 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
55079 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
55080 * sysdeps/x86_64/multiarch/strcat.S: New file.
55081 * sysdeps/x86_64/multiarch/strncat.S: New file.
55082 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
55083 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
55084 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
55085 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
55086 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
55087 (USE_AS_STRCAT): Define.
55088 Add strcat and strncat support.
55089 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
55090 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
55091 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
55092 * string/strncat.c: Update.
55093 (USE_AS_STRNCAT): Define.
55094 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55095 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
55096 and i7.
55097 * sysdeps/x86_64/multiarch/init-arch.h
55098 (bit_Prefer_PMINUB_for_stringop): New.
55099 (index_Prefer_PMINUB_for_stringop): Likewise.
55100 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
55101 bit_Prefer_PMINUB_for_stringop.
55102
7dc6bd90
UD
551032011-07-19 Ulrich Drepper <drepper@gmail.com>
55104
55105 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
55106 buffer64.
55107 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
55108 of casting of buffer.
55109 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
55110 buffer32 and buffer64.
55111 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
55112 writes instead of casting of buffer.
55113 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
55114 buffer32.
55115 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
55116 casting of buffer.
55117
e0e72284
AS
551182011-07-19 Andreas Schwab <schwab@redhat.com>
55119
55120 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
55121
feb1eb0b
UD
551222011-07-19 Ulrich Drepper <drepper@gmail.com>
55123
55124 * nscd/nscd.c (termination_handler): Don't do anything for a database
55125 if it has not yet been initialized.
55126
298711ff
UD
551272011-07-18 Ulrich Drepper <drepper@gmail.com>
55128
55129 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55130
551312011-07-15 Marek Polacek <mpolacek@redhat.com>
55132
55133 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
55134
f9d68389
UD
551352011-07-18 Ulrich Drepper <drepper@gmail.com>
55136
55137 * po/nl.po: Update from translation team.
55138 * po/sv.po: Likewise.
55139
db290cf5
RM
551402011-07-16 Roland McGrath <roland@hack.frob.com>
55141
55142 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
55143 now disallowed by GCC.
5c550700 55144
fd5e21c7
RM
55145 * configure.in (use-default-link): Default to yes if a test -shared
55146 link meets our qualifications.
55147 * configure: Regenerated.
55148
5c550700
RM
55149 * config.make.in (output-format): New variable.
55150 * configure.in: Check for ld --print-output-format support.
55151 * configure: Regenerated.
55152 * Makerules ($(common-objpfx)format.lds)
55153 [$(output-format) != unknown]: Just use $(output-format),
55154 instead of the linker-script munging.
55155
9fa2c032
RM
551562011-07-14 Roland McGrath <roland@hack.frob.com>
55157
a6928d51
RM
55158 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
55159 of $(common-objpfx)shlib.lds.
55160 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
55161
661607b3
RM
55162 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
55163 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
55164
9fa2c032
RM
55165 * configure.in (-z relro check): Adjust test code to add a large
55166 writable data section after it.
55167 * configure: Regenerated.
55168
defe9061
RM
551692011-07-11 Roland McGrath <roland@hack.frob.com>
55170
55171 * configure.in (-z relro check): Fix test code to make the variable
55172 truly const.
55173 * configure: Regenerated.
55174
319b9ad4
UD
551752011-07-11 Ulrich Drepper <drepper@gmail.com>
55176
55177 * nscd/nscd.h (struct traced_file): Define.
55178 (struct database_dyn): Remove inotify_descr, reset_res, and filename
55179 elements. Add traced_files.
55180 (inotify_fd): Declare.
55181 (register_traced_file): Declare.
55182 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
55183 (inotify_fd): Export.
55184 (resolv_conf_descr): Remove.
55185 (nscd_init): Move inotify descriptor creation to main.
55186 Don't register files for notification here.
55187 (register_traced_file): New function.
55188 (invalidate_cache): Don't use reset_res to determine whether to call
55189 res_init, go through the list of registered files.
55190 (main_loop_poll): The inotify descriptors are now stored in the
55191 structures for the traced files.
55192 (main_loop_epoll): Likewise
55193 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
55194 to __nss_disable_nscd.
55195 * nscd/cache.c (prune_cache): There is no single inotify descriptor
55196 for a database anymore. Check the records for all the registered
55197 files instead.
55198 * nss/Makefile (libnss_files-routines): Add files-init.
55199 (libnss_db-routines): Add db-init.
55200 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
55201 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
55202 * nss/nss_db/db-init.c: New file.
55203 * nss/nss_files/files-init.c: New file.
55204 * nss/nsswitch.c (nss_load_library): New function. Broken out of
55205 __nss_lookup_function.
55206 (__nss_lookup_function): Call nss_load_library.
55207 (nss_load_all_libraries): New function.
55208 (__nss_disable_nscd): Take parameter with callback function for files
55209 to register. Set is_nscd. Load all the DSOs for the NSS modules
55210 used for the cached services.
55211 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
55212 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
55213 options for features to all the files in nscd.
55214
55215 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
55216
23bee3e8
RM
552172011-07-10 Roland McGrath <roland@hack.frob.com>
55218
55219 * csu/elf-init.c (__libc_csu_init): Comment typo.
55220
46a5b7f0
UD
552212011-07-09 Ulrich Drepper <drepper@gmail.com>
55222
55223 * po/pl.po: Update from translation team.
55224 * po/ja.po: Likewise.
55225 * po/ru.po: Likewise.
55226 * po/ko.po: Likewise.
55227 * po/fr.po: Likewise.
55228
d30cf5bb
RM
552292011-07-09 Roland McGrath <roland@hack.frob.com>
55230
113ddea4
RM
55231 * configure.in (.ctors/.dtors header and trailer check):
55232 Use an empirical test on a built program.
55233 * configure: Regenerated.
55234
574920b4
RM
55235 * configure.in (-z relro check): Use an empirical test on a built DSO.
55236 Detect, but do not require, on ia64.
55237 * configure: Regenerated.
55238
d30cf5bb
RM
55239 * configure.in (READELF): Find it with AC_CHECK_TOOL.
55240 Update tests that use readelf to use $READELF instead.
55241 * configure: Regenerated.
55242
8538fdb3
UD
552432011-07-08 Ulrich Drepper <drepper@gmail.com>
55244
55245 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
55246 if the result is not used.
55247
04d08991
AJ
552482011-07-05 Andreas Jaeger <aj@suse.de>
55249
55250 [BZ#9696]
55251 * stdlib/tst-strtod.c: Add testcase.
55252
de283087
AD
552532011-07-07 Ulrich Drepper <drepper@gmail.com>
55254
4e5f31c8 55255 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 55256 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
55257 The latter has a higher limit. Take additional parameter to pass to
55258 the new function.
55259 (__pathconf): Pass file to __statfs_link_max.
55260 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
55261 __statfs_link_max.
55262 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
55263 __statfs_link_max.
55264
de283087
AD
55265 [BZ #12868]
55266 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
55267 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55268 Handle Lustre.
55269 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
55270 (__statfs_filesize_max): Likewise.
55271 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
55272
c75fa153
AJ
552732011-07-05 Andreas Jaeger <aj@suse.de>
55274
55275 * resolv/res_comp.c (dn_skipname): Remove unused variable.
55276
1a544854
UD
552772011-07-06 Marek Polacek <mpolacek@redhat.com>
55278
55279 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
55280 `status' variable.
55281 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
55282 Likewise.
55283
6f0eec67
UD
552842011-07-04 H.J. Lu <hongjiu.lu@intel.com>
55285
55286 * Makefile (strop-tests): Add strncat.
55287 * string/test-strncat.c: New file.
55288
aae30307
UD
552892011-06-30 Marek Polacek <mpolacek@redhat.com>
55290
55291 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
55292
c0cfb5eb
UD
552932011-06-21 Andreas Jaeger <aj@suse.de>
55294
55295 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
55296 Copy rule from iconvdata/Makefile.
55297
01636b21
UD
552982011-07-06 Ulrich Drepper <drepper@gmail.com>
55299
55300 [BZ #12922]
55301 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
55302 but no long options are defined, just return 'W'.
55303
9895c8bc
UD
553042011-06-22 Marek Polacek <mpolacek@redhat.com>
55305
55306 [BZ #9696]
55307 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
55308
5d4cf042
UD
553092011-07-06 Ulrich Drepper <drepper@gmail.com>
55310
55311 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
55312 netgroups to read.
960e5535 55313 (innetgr): Likewise.
5d4cf042 55314
751eb97e
RM
553152011-07-05 Roland McGrath <roland@hack.frob.com>
55316
55317 * config.make.in (install_root): Default to $(DESTDIR).
55318
f15f1e45
UD
553192011-07-05 Ulrich Drepper <drepper@gmail.com>
55320
55321 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
55322
4e34ac6a
RM
553232011-07-02 Roland McGrath <roland@hack.frob.com>
55324
5e9b6af4
RM
55325 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
55326
84f9ea0f
RM
55327 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
55328 containing directory rather than embedding absolute directory names.
55329
ea5ee9f7
RM
55330 * scripts/check-local-headers.sh: Rewritten using awk.
55331 Match by word, not by line. Print error messages for matches.
55332 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
55333
1b74661a
RM
55334 * Makerules [shlib-lds-flags empty]:
55335 ($(common-objpfx)libc_pic.opts): New target.
55336 ($(common-objpfx)libc_pic.os.clean): New target.
55337 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
55338
55339 * config.make.in (OBJCOPY): New variable.
55340 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
55341 * configure: Regenerated.
55342
f781ef40
RM
55343 * config.make.in (use-default-link): New variable.
55344 * configure.in (use_default_link): Grok --with-default-link to set it.
55345 * configure: Regenerated.
55346 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
55347 (shlib-lds, shlib-lds-flags): Define to empty.
55348
2d4fa81e
RM
55349 * Makerules (shlib-lds): New variable.
55350 (shlib-lds-flags): New variable.
55351 (build-shlib, build-moduile, build-module-asneeded): Use it.
55352 ($(common-objpfx)libc.so): Use $(shlib-lds).
55353 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
55354 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
55355
31fffa6b
RM
55356 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
55357 DT_FLAGS/DT_FLAGS_1 with zero flags.
55358
4e34ac6a
RM
55359 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
55360 linker script munging.
55361
fcfc776b
UD
553622011-07-02 Ulrich Drepper <drepper@gmail.com>
55363
55364 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
55365 as 128-bit value.
55366 * crypt/sha512.c (sha512_process_block): Perform total addition using
55367 128-bit if possible.
55368 (__sha512_finish_ctx): Likewise.
55369 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
55370 as 64-bit value.
55371 * crypt/sha256.c (SWAP64): Define.
55372 (sha256_process_block): Perform total addition using 64-bit if
55373 possible.
55374 (__sha256_finish_ctx): Likewise.
55375
99231d9a
UD
553762011-07-01 Ulrich Drepper <drepper@gmail.com>
55377
55378 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
55379 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55380 * nscd/hstcache.c (cache_addhst): Likewise.
55381 * nscd/grpcache.c (cache_addgr): Likewise.
55382 * nscd/aicache.c (addhstaiX): Likewise
55383 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
55384
445b4a53
TK
553852011-07-01 Thorsten Kukuk <kukuk@suse.de>
55386
55387 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
55388 * nscd/initgrcache.c (addinitgroupsX): Likewise.
55389 * nscd/hstcache.c (cache_addhst): Likewise.
55390 * nscd/grpcache.c (cache_addgr): Likewise.
55391 * nscd/aicache.c (addhstaiX): Likewise
55392
6d4d8e8e
AS
553932011-07-01 Andreas Schwab <schwab@redhat.com>
55394
55395 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
55396 domain only when needed.
55397
89f654c5
AS
553982011-06-30 Andreas Schwab <schwab@redhat.com>
55399
55400 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
55401 is always restored.
55402
cf3b23ff
UD
554032011-06-29 Ulrich Drepper <drepper@gmail.com>
55404
55405 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
55406 are re-adding the entry.
55407 * nscd/servicescache.c (cache_addserv): Likewise.
55408
751626f9
AJ
554092011-06-30 Aurelien Jarno <aurelien@aurel32.net>
55410
55411 * sysdeps/generic/dl-irel.h: fix protection against multiple
55412 inclusions.
55413 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
55414
9113ea1f
UD
554152011-06-28 Ulrich Drepper <drepper@gmail.com>
55416
5c0b8d90
UD
55417 [BZ #12935]
55418 * malloc/memusage.sh: Fix quoting in message.
55419 * debug/xtrace.sh: Likewise.
55420
9113ea1f
UD
55421 * configure.in: Remove support for --experimental-malloc option, make
55422 it the default.
55423 * config.make.in: Likewise.
55424 * malloc/Makefile: Likewise.
55425
a4172181
AS
554262011-06-27 Andreas Schwab <schwab@redhat.com>
55427
55428 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
55429 two-byte characters.
55430
78a7eee7
RM
554312011-06-27 Roland McGrath <roland@hack.frob.com>
55432
62bede13
RM
55433 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
55434 AC_CACHE_CHECK invocation.
55435 * configure: Regenerated.
55436
78a7eee7
RM
55437 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
55438
5ce33a62
UD
554392011-06-27 Ulrich Drepper <drepper@gmail.com>
55440
034807a9
UD
55441 [BZ #12350]
55442 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
55443 bit from old_res_options.
55444
4902da17
UD
55445 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
55446
5ce33a62
UD
55447 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
55448 value type for setfct.
55449
c2344f56
L
554502011-06-23 H.J. Lu <hongjiu.lu@intel.com>
55451
55452 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55453 __gettimeofday instead of gettimeofday.
55454
68468076
UD
554552011-06-26 Ulrich Drepper <drepper@gmail.com>
55456
55457 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
55458
acb0d739
L
554592011-06-24 H.J. Lu <hongjiu.lu@intel.com>
55460
55461 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
55462
55463 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
55464 info.
55465
8912479f
L
554662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55467
55468 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55469 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55470 strcpy-sse2-unaligned strncpy-sse2-unaligned
55471 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
55472 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
55473 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
55474 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
55475 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
55476 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
55477 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
55478 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
55479 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
55480 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
55481 (STRCPY): Support SSE2 and SSSE3 versions.
55482
d5495a11
UD
554832011-06-24 Ulrich Drepper <drepper@gmail.com>
55484
55485 [BZ #12874]
55486 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
55487 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
55488 kernels which artificially limit size of requests.
55489
0b1cbaae
L
554902011-06-22 H.J. Lu <hongjiu.lu@intel.com>
55491
55492 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55493 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
55494 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
55495 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
55496 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
55497 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
55498 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
55499 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
55500 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
55501 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
55502 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
55503 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
55504 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
55505 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
55506 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
55507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55508 Enable unaligned load optimization for Intel Core i3, i5 and i7
55509 processors.
55510 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
55511 Define.
55512 (index_Fast_Unaligned_Load): Define.
55513 (HAS_FAST_UNALIGNED_LOAD): Define.
55514
07f494a0
MP
555152011-06-23 Marek Polacek <mpolacek@redhat.com>
55516
55517 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
55518
fa3fc0fe
UD
555192011-06-22 Ulrich Drepper <drepper@gmail.com>
55520
55521 [BZ #12907]
55522 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
55523 until it is clear that the information is realy needed.
55524 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
55525
e12df166
AS
555262011-06-22 Andreas Schwab <schwab@redhat.com>
55527
55528 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
55529
852eb34d
UD
555302011-06-22 Ulrich Drepper <drepper@gmail.com>
55531
84e2a551
UD
55532 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
55533 /sys/devices/system/cpu/online if it is usable.
55534
852eb34d
UD
55535 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
55536 reading the information from the /proc filesystem to once a second.
55537
6e502e19
UD
555382011-06-21 Andreas Jaeger <aj@suse.de>
55539
55540 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
55541 NULL after inclusion of kernel headers.
55542
75d39ff2
UD
555432011-06-21 Ulrich Drepper <drepper@gmail.com>
55544
51f9aa6a
UD
55545 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
55546 calls to internal_setent.
55547
c0244a9d
UD
55548 [BZ #12885]
55549 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
55550 addresses using gethostbyname4_r ignore IPv4 addresses.
55551
c5e3c2ae
UD
55552 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
55553 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
55554
75d39ff2
UD
55555 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
55556
42675c6f
DM
555572011-06-20 David S. Miller <davem@davemloft.net>
55558
55559 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
55560 inclusions.
55561 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
55562
55563 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
55564 (elf_irel): Use it.
55565 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
55566 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
55567 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
55568 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
55569 * sysdeps/x86_64/dl-irel.h: Likewise.
55570
55571 * elf/dl-runtime.c: Use elf_ifunc_invoke.
55572 * elf/dl-sym.c: Likewise.
55573
57912a71
UD
555742011-06-15 Ulrich Drepper <drepper@gmail.com>
55575
55576 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
55577 need to dereference resplen2.
55578
ee22793d
AS
555792011-06-14 Andreas Schwab <schwab@redhat.com>
55580
55581 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
55582
a9e836b0
UD
555832011-06-15 Ulrich Drepper <drepper@gmail.com>
55584
77fb9117
UD
55585 * Makeconfig: Define vardbdir and inst_vardbdir.
55586 * nss/Makefile: Add rules to install db-Makefile.
55587
40c1b22c
UD
55588 * nss/nss_db/db-XXX.c: Cleanup.
55589
9f2da732
UD
55590 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
55591 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
55592 GLIBC_PRIVATE.
55593 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
55594 * nss/makedb.c: Implement -g option to specify that value strings
55595 are generated and should not be added to table iterated over for
55596 get*ent calls.
55597 * nss/nss_db/db-initgroups.c: New file.
55598
82e9a1f7
UD
55599 * nss/getent.c: Add support for initgroups lookups through getgrouplist
55600 interface.
55601
c41af17e
UD
55602 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
55603 (internal_getgrouplist): Adjust to name change.
55604 Update use_initgroups_entry if this is not the first call.
55605 * nss/databases.def: Add initgroups entry.
55606
a9e836b0
UD
55607 * nss/makedb.c (compute_tables): Check result of multiple hash table
55608 sizes to minimize maximum chain length.
55609
2666d441
UD
556102011-06-14 Ulrich Drepper <drepper@gmail.com>
55611
55612 * Versions.def: Add entry for libnss_db.
55613 * shlib-versions: Likewise.
55614 * nss/Makefile: Add rules to build libnss_db.
55615 * nss/Versions: Add libnss_db information. Organize libnss_files
55616 entries better.
55617 * nss/db-Makefile: Add gshadow support. Change rules for the new
55618 makedb progra. Some minor improvements to generate smaller files.
55619 * nss/nss_db/nss_db.h: Move NSS database header data structures to
55620 here from...
55621 * nss/makedb.c: ...here.
55622 Improve database format to be smaller and require less memory at
55623 runtime.
55624 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
55625 db anymore.
55626 * nss/nss_db/db-netgrp.c: Likewise.
55627 * nss/nss_db/db-open.c: Likewise.
55628 * nss/nss_files/flies-XXX.x: Adjust comments.
55629 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
55630 * nss/nss_files/files-grp.c: Likewise.
55631 * nss/nss_files/files-hosts.c: Likewise.
55632 * nss/nss_files/files-network.c: Likewise.
55633 * nss/nss_files/files-proto.c: Likewise.
55634 * nss/nss_files/files-pwd.c: Likewise.
55635 * nss/nss_files/files-rpc.c: Likewise.
55636 * nss/nss_files/files-service.c: Likewise.
55637 * nss/nss_files/files-sgrp.c: Likewise.
55638 * nss/nss_files/files-spwd.c: Likewise.
55639 * nss/nss_db/db-alias.c: Removed.
55640 * nss/nss_db/dummy-db.h: Removed.
55641
9ee76b5a
UD
556422011-06-02 Ulrich Drepper <drepper@gmail.com>
55643
55644 * nss/makedb.c: Rewritten to not use database library.
55645 * nss/Makefile: Update to build new makedb program.
55646
c71ca1f8
AJ
556472011-06-14 Andreas Jaeger <aj@suse.de>
55648
55649 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
55650 memset declaration.
55651
3154bfb8
UD
556522011-06-10 Andreas Schwab <schwab@redhat.com>
55653
55654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
55655 tmpbuf.
55656
b350afab
RM
556572011-06-10 Roland McGrath <roland@hack.frob.com>
55658
decd4e50
RM
55659 * Makerules (shlib.lds): Fail if the linker script comes out empty.
55660 * elf/Makefile ($(objpfx)ld.so): Likewise.
55661
5615eaf2
RM
55662 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
55663 Don't list ld.so twice in dependencies.
55664
55665 * posix/bug-regex31.c: Include <stdlib.h>.
55666
55667 * nscd/hstcache.c (cache_addhst): Remove unused variable.
55668
55669 * nis/nss_compat/compat-spwd.c
55670 (getspent_next_nss_netgr): Remove unused variable.
55671 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
55672
55673 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
55674 nonmembers" output to use the right array.
55675
55676 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
55677
55678 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
55679
55680 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
55681 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
55682 * catgets/gencat.c (read_input_file): Likewise.
55683 * locale/programs/locarchive.c (enlarge_archive): Likewise.
55684
55685 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
55686 variable definition inside #if's controlling its use.
55687
55688 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
55689
55690 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
55691
55692 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
55693
55694 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
55695 unreachable code.
55696
55697 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
55698
b68e08db
RM
55699 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
55700 * configure: Regenerated.
55701
b350afab
RM
55702 * Makerules: Revert last change.
55703 * elf/Makefile: Likewise.
55704
28368601
RM
557052011-06-09 Roland McGrath <roland@hack.frob.com>
55706
55707 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
55708 * elf/Makefile ($(objpfx)librtld.os): Likewise.
55709 (reloc-link): Likewise.
55710
11988f8f
UD
557112011-06-09 Ulrich Drepper <drepper@gmail.com>
55712
55713 * elf/Makefile: Add rules to build pldd.
55714 * elf/pldd.c: New file.
55715 * elf/pldd-xx.c: New file.
55716
e80fab37
UD
557172011-06-07 Ulrich Drepper <drepper@gmail.com>
55718
55719 * version.h: Update for 2.15 development version.
55720
9b849836
DM
557212011-06-07 David S. Miller <davem@davemloft.net>
55722
55723 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
55724 ifuncs.
55725 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
55726 elf_machine_lazy_rel): Likewise.
55727 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
55728 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
55729 elf_machine_lazy_rel): Likewise.
55730 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
55731 dl_hwcap via passed in argument.
55732 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
55733 Likewise.
55734
5a31b283
AK
557352011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55736
55737 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
55738
069e52f8
RM
557392011-06-06 Roland McGrath <roland@hack.frob.com>
55740
55741 [BZ #12849]
55742 * manual/fdl-1.1.texi: New file, verbatim from:
55743 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
55744 * manual/lgpl-2.1.texi: New file, verbatim from:
55745 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
55746 * manual/Makefile (licenses): New variable, list those new file names.
55747 (texis): Use it.
55748 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
55749
55750 * manual/fdl.texi: File removed.
55751 * manual/lesser.texi: File removed.
55752 * manual/libc.texinfo (Copying, Documentation License):
55753 Use new @include file names, put @appendix directive before @include.
55754
f16846a5
JJ
557552011-06-04 Jakub Jelinek <jakub@redhat.com>
55756
55757 [BZ #12841]
55758 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
55759 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
55760 (mq_open): Add __NTH.
55761
3d29045b
L
557622011-06-02 H.J. Lu <hongjiu.lu@intel.com>
55763
55764 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55765 Assume Intel Core i3/i5/i7 processor if AVX is available.
55766
8c297311
UD
557672011-05-31 Ulrich Drepper <drepper@gmail.com>
55768
55769 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
55770 typo.
55771
c8fc0c91
UD
557722011-05-31 Andreas Schwab <schwab@redhat.com>
55773
55774 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
55775 memory. Use alloca_account. Fix memory leak when retrying.
55776
5b27a807
UD
557772011-05-31 Ulrich Drepper <drepper@gmail.com>
55778
356f8bc6
UD
55779 * version.h (RELEASE): Bump for 2.14 release.
55780 * include/features.h (__GLIBC_MINOR__): Bump to 14.
55781
5b27a807
UD
55782 * config.make.in (RANLIB): Remove entry.
55783
01f16ab0
UD
557842011-05-30 Ulrich Drepper <drepper@gmail.com>
55785
41fce8bd
UD
55786 * po/Makefile (po-sed-cmd): Add ksh to extensions.
55787 (libc.pot): Work around missing support for .ksh extension in xgettext.
55788
4769ae77
UD
55789 [BZ #12684]
55790 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
55791 if both request failed.
55792 (send_dg): In case of server errors clear resplen or *resplen2.
55793
6b1e7d19
UD
55794 [BZ #12454]
55795 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
55796 when there are multiple maps.
55797 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
55798 (_dl_fini): Remove test here.
55799
01f16ab0
UD
55800 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
55801
b1ebd700
UD
558022011-05-29 Ulrich Drepper <drepper@gmail.com>
55803
7ae22829
UD
55804 [BZ #12350]
55805 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
55806 bit from old_res_options.
55807 (gaih_inet): Likewise.
55808
553149f6 55809 [BZ #11099]
18a84741 55810 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
55811 as signed.
55812
652ffab1
UD
55813 * resolv/res_init.c (res_setoptions): Make the code more compact.
55814
16985fd0
UD
55815 [BZ #11558]
55816 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
55817 set RES_USEVC.
55818
0464f746
UD
55819 [BZ #11634]
55820 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
55821
7d17596c
UD
55822 * malloc/malloc.h: Mark malloc hook variables as deprecated.
55823
cf6bbbd7
UD
55824 [BZ #11781]
55825 * malloc/malloc.h: Declare malloc hook variables as volatile.
55826
13f1ab36
UD
55827 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
55828 in last patch.
55829
b1ebd700
UD
55830 [BZ #11799]
55831 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 55832 raise in the comment.
80e2212d
UD
55833 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
55834 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
55835 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 55836
ce67228d
UD
558372011-05-28 Ulrich Drepper <drepper@gmail.com>
55838
8887a920
UD
55839 [BZ #12811]
55840 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
55841 grow the buffers more if it already has to be sufficient.
55842 (build_wcs_upper_buffer): Likewise.
55843 * posix/regexec.c (check_matching): Likewise.
55844 (clean_state_log_if_needed): Likewise.
55845 (extend_buffers): Don't enlarge buffers beyond size of the input
55846 buffer.
55847 Patches mostly by Emil Wojak <emil@wojak.eu>.
55848 * posix/bug-regex32.c: New file.
55849 * posix/Makefile (tests): Add bug-regex32.
55850
4f031072
UD
55851 * locale/findlocale.c (_nl_find_locale): Return right away if
55852 _nl_explode_name failed.
55853 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
55854
d0478f0c
UD
55855 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
55856
de81b246
UD
55857 * debug/xtrace.sh: Unify messages.
55858 * malloc/memusage.sh: Likewise.
55859
c738465a
UD
55860 [BZ #12813]
55861 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
55862 time symbol from vDSO. Substitute with vsyscall if not available.
55863 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
55864 __vdso_time.
55865
f1f929d7
UD
55866 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
55867 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
55868 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
55869 Add sendmmsg and internal_sendmmsg.
55870 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
55871 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
55872 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
55873
ce67228d
UD
55874 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
55875 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
55876 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
55877
e57420c6
UD
558782011-05-27 Ulrich Drepper <drepper@gmail.com>
55879
a8509ca5
UD
55880 [BZ #12813]
55881 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
55882 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
55883 available.
55884 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
55885 __vdso_getcpu.
55886
e57420c6
UD
55887 [BZ #12814]
55888 * iconvdata/Makefile (tests): Add bug-iconv9.
55889 * iconvdata/bug-iconv9.c: New file.
55890
4d07db15
AS
558912011-05-27 Andreas Schwab <schwab@redhat.com>
55892
55893 [BZ #12814]
55894 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
55895
ea486f69
JJ
558962011-05-25 Jakub Jelinek <jakub@redhat.com>
55897
55898 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
55899 (struct user_regs_struct): Change intcs field back to cs.
55900
6f038433
UD
559012011-05-25 Ulrich Drepper <drepper@gmail.com>
55902
55903 * po/ja.po: Update from translation team.
55904
67f86a25
UD
559052011-05-23 Ulrich Drepper <drepper@gmail.com>
55906
55907 [BZ #12795]
55908 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
55909 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
55910
def7fbd6
AS
559112011-05-20 Andreas Schwab <schwab@redhat.com>
55912
55913 * stdlib/longlong.h: Update from GCC.
55914
f50ef8f1
AS
559152011-05-23 Andreas Schwab <schwab@redhat.com>
55916
55917 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
55918 parameter name.
55919 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
55920 Add parameter name.
55921 (__sysconf): Pass it down.
55922
de7ce8f1
UD
559232011-05-22 Ulrich Drepper <drepper@gmail.com>
55924
f2962a71
UD
55925 [BZ #12671]
55926 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
55927 some situations.
55928 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
55929 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
55930 add in in __libc_use_alloca calls. Adjust callers.
55931 (glob): Use malloc in some situations.
55932
de7ce8f1
UD
55933 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
55934 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
55935 pltexit.
55936
aec84f53
UD
559372011-05-21 Ulrich Drepper <drepper@gmail.com>
55938
05bb4a68
UD
55939 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
55940 and CLOCK_BOOTTIME_ALARM.
55941
7ea72f99
UD
55942 [BZ #12782]
55943 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
55944 is returned.
55945
7e4afad5
UD
55946 * string/_strerror.c (__strerror_r): Print negative errors as signed
55947 numbers.
55948
8e211fec
UD
55949 [BZ #12777]
55950 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
55951 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
55952 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
55953
f7d82dc9
UD
55954 * configure.in: Fix typo in redirection and correct removal of test
55955 files in two cases.
55956
cc9e536d
UD
55957 [BZ #12788]
55958 * locale/setlocale.c (new_composite_name): Fix test to check for
55959 identical name of all categories.
55960
aec84f53
UD
55961 [BZ #12792]
55962 * libio/filedoalloc.c (local_isatty): New function.
55963 (_IO_file_doallocate): Use local_isatty.
55964 * stdio-common/perror.c (perror): In case a new stream is used
55965 forward the stream error.
55966 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
55967 error flag.
55968
78e64fdc
RT
559692011-05-20 Ulrich Drepper <drepper@gmail.com>
55970
34a9094f
UD
55971 [BZ #11869]
55972 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
55973 alloca.
55974 * include/alloca.h (extend_alloca_account): Define.
55975
78e64fdc
RT
55976 [BZ #11857]
55977 * posix/regex.h: Fix comments with documentation of user-accessible
55978 fields after compilation and describe correct free'ing of pattern
55979 after re_compile_pattern.
55980 Patch by Reuben Thomas <rrt@sc3d.org>.
55981
457bddfc
RA
559822011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
55983
55984 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
55985 and -mno-altivec to prevent the compiler from using Altivec and/or
55986 VSX instructions when the corresponding registers are not available.
55987
a4527b51
AS
559882011-05-19 Andreas Schwab <schwab@redhat.com>
55989
55990 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
55991
ed690b2f
UD
559922011-05-19 Ulrich Drepper <drepper@gmail.com>
55993
55994 * libio/freopen.c (freopen): Use __dup2, not dup2.
55995 * libio/freopen64.c (freopen64): Likewise.
55996
8db73634
L
559972011-05-17 H.J. Lu <hongjiu.lu@intel.com>
55998
55999 [BZ #12775]
56000 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
56001 * math/Makefile (tests): Add test-powl.
56002 (CFLAGS-test-powl.c): Define.
56003 * math/test-powl.c: New file.
56004
0a197a9d
L
560052011-05-16 H.J. Lu <hongjiu.lu@intel.com>
56006
56007 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
56008
ee30c380
UD
560092011-05-17 Ulrich Drepper <drepper@gmail.com>
56010
56011 [BZ #11837]
56012 * iconvdata/gb18030.c: Update to GB18020-2005.
56013
6ce75379
UD
560142011-05-16 Ulrich Drepper <drepper@gmail.com>
56015
a4b89fd8
AR
56016 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
56017 RE_SYNTAX_POSIX_AWK): Update to match recent development.
56018 Patch by Aharon Robbins <arnold@skeeve.com>.
56019
ea389b12
UD
56020 [BZ #11892]
56021 * stdlib/putenv.c (putenv): Don't always create copy of the variable
56022 on the stack.
56023
68a3f91f
UD
56024 [BZ #11895]
56025 * misc/pselect.c (__pselect): Handle timeout value errors hidden
56026 through underflows.
56027
15cc7dd1
UD
56028 [BZ #12766]
56029 * misc/error.c (error_at_line): Ensure file_name and old_file_name
56030 point to strings before performing equality test for error_one_per_line
56031 mode.
56032
f3799213
UD
56033 [BZ #11697]
56034 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
56035
d79a9c94
UD
56036 [BZ #11820]
56037 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
56038 (struct user_fpregs_struct): Avoid __uint*_t types.
56039
56e5eb46
UD
56040 [BZ #6420]
56041 * malloc/mtrace.c (tr_where): Add additional parameter to point to
56042 symbol info. Use it instead of calling _dl_addr locally.
56043 (lock_and_info): New function.
56044 (tr_freehook): Call lock_and_info and pass symbol info as additional
56045 parameter to tr_where.
56046 (tr_mallochook): Likewise.
56047 (tr_reallochook): Likewise.
56048 (tr_memalignhook): Likewise.
56049
6ce75379
UD
56050 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
56051 used and couldn't be at all thread-safe.
56052
f8a3b5bf
UD
560532011-05-15 Ulrich Drepper <drepper@gmail.com>
56054
94b7cc37
UD
56055 * libio/freopen.c (freopen): Don't close old file descriptor
56056 before the new one is opened. Instead dup the new file descriptor
56057 to the old one after the new stream is created.
56058 * libio/freopen64.c (freopen64): Likewise.
56059 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
56060 * libio/fileops.c (_IO_new_file_close_it): Handle new
56061 _IO_FLAGS2_NOCLOSE flag.
56062 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
56063 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
56064 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
56065 _IO_FLAGS2_NOCLOSE flag.
56066 * include/unistd.h: Add hidden_proto for dup3.
56067 Define __have_dup3.
56068 * io/dup3.c: Define hidden symbol.
56069 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
56070
bd25564e
UD
56071 [BZ #7101]
56072 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
56073 when an incomplete long option is used.
56074 * posix/tst-getopt_long1.c: New file.
56075 * posix/Makefile (tests): Add tst-getopt_long1.
56076
c84cfef4
UD
56077 [BZ #10138]
56078 * scripts/config.guess: Update from autoconf-2.68.
56079 * scripts/config.sub: Likewise.
56080
3b85df27
UD
56081 [BZ #10157]
56082 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
56083 tests into ...
56084 (has_cpuclock): ...this. New function.
56085 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
56086 macro here based on has_cpuclock code.
56087
15a856b1
UD
56088 [BZ #10149]
56089 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56090 First byte (not low byte) is now always NUL.
56091 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
56092
05f399e6
UD
56093 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
56094 Use non-cancelable interfaces.
56095
10a52685 56096 [BZ #9809]
94ecc67d
UD
56097 * locale/iso-639.def: Add entry for Sorani.
56098
f8a3b5bf
UD
56099 [BZ #11901]
56100 * include/stdlib.h: Move include protection to the right place.
56101 Define abort_msg_s. Declare __abort_msg with it.
56102 * stdlib/abort.c (__abort_msg): Adjust type.
56103 * assert/assert.c (__assert_fail_base): New function. Majority
56104 of code from __assert_fail. Allocate memory for __abort_msg with
56105 mmap.
56106 (__assert_fail): Now call __assert_fail_base.
56107 * assert/assert-perr.c: Remove bulk of implementation. Use
56108 __assert_fail_base.
56109 * include/assert.hL Declare __assert_fail_base.
56110 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
56111 mmap.
56112 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
56113
1af4e298
UD
561142011-05-14 Ulrich Drepper <drepper@gmail.com>
56115
f8a3b5bf 56116 [BZ #11952]
d26dfc60
MG
56117 [BZ #12453]
56118 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
56119 until all modules are registered in the DTV.
56120 * elf/Makefile: Add rules to build and run tst-tls19.
56121 * elf/tst-tls19.c: New file.
56122 * elf/tst-tls19mod1.c: New file.
56123 * elf/tst-tls19mod2.c: New file.
56124 * elf/tst-tls19mod3.c: New file.
56125 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
56126
2fc54d6f
UD
56127 [BZ #12083]
56128 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
56129 correctly.
56130
98d76b46
UD
56131 [BZ #12601]
56132 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
56133 two-byte sequence errors.
56134 * iconvdata/Makefile (tests): Add bug-iconv8.
56135 * iconvdata/bug-iconv8.c: New file.
56136
da3c19ef
UD
56137 [BZ #12626]
56138 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
56139 buf2 definition.
56140
ca408c15
UD
56141 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
56142
d6f67f7d
UD
56143 [BZ #12432]
56144 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
56145 (dummy_getcfa): New function.
56146 (init): Get _Unwind_GetCFA address, use dummy if not found.
56147 (backtrace_helper): In recursion check, also check whether CFA changes.
56148 (__backtrace): Completely initialize arg.
56149
1af4e298 56150 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
56151 storing incomplete byte sequence in state object. Avoid testing for
56152 guaranteed too small input if we know there is enough data available.
1af4e298 56153
da62f81b
AS
561542011-05-11 Andreas Schwab <schwab@redhat.com>
56155
56156 * Makeconfig (+link-pie): Indent.
56157 * Rules (binaries-pie): Define if $(have-fpie) and
56158 $(build-shared).
56159 (binaries-shared): Also filter out $(binaries-pie).
56160 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
56161 * nscd/Makefile (others-pie): Add nscd.
56162 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
56163 ($(objpfx)nscd): Remove command override.
56164 * login/Makefile (others-pie): Add pt_chown.
56165 ($(objpfx)pt_chown): Remove command override.
56166 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
56167 remove command overrides.
56168
fcabc0f8
UD
561692011-05-13 Ulrich Drepper <drepper@gmail.com>
56170
20030ae6
UD
56171 * libio/tst_putwc.c: Fix error messages.
56172
fcabc0f8
UD
56173 [BZ #12724]
56174 * libio/fileops.c (_IO_new_file_close_it): Always flush when
56175 currently writing and seek to current position when not.
56176 * libio/Makefile (tests): Add bug-fclose1.
56177 * libio/bug-fclose1.c: New file.
56178
320a5dc0
PB
561792011-05-12 Ulrich Drepper <drepper@gmail.com>
56180
56181 [BZ #12511]
56182 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
56183 don't set DF_1_NODELETE here.
56184 (do_lookup_x): When entering new entry test for copy relocation
56185 and if necessary set DF_1_NODELETE flag.
56186 * elf/tst-unique4.cc: New file.
56187 * elf/tst-unique4.h: New file.
56188 * elf/tst-unique4lib.cc: New file.
56189 * elf/Makefile: Add rules to build and run tst-unique4.
56190 Patch by Piotr Bury <pbury@goahead.com>.
56191
22836f52
UD
561922011-05-11 Ulrich Drepper <drepper@gmail.com>
56193
f574184a
UD
56194 [BZ #12052]
56195 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
56196
e1fb097f
UD
56197 [BZ #12625]
56198 * misc/mntent_r.c (addmntent): Flush the stream after the output
56199
22836f52
UD
56200 [BZ #12393]
56201 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
56202 (is_trusted_path_normalize): Skip initial colon. Append slash
56203 to empty buffer. Duplicate is_trusted_path code but allow
56204 constructed patch to be prefix.
56205 (is_dst): Allow $ORIGIN followed by /.
56206 (_dl_dst_substitute): Correct clearing of check_for_trusted.
56207 Correct testing of result of is_trusted_path_normalize
56208 (decompose_rpath): Fix warning.
56209
7b3b0b2a
UD
562102011-05-10 Ulrich Drepper <drepper@gmail.com>
56211
56212 [BZ #11257]
56213 * grp/initgroups.c (internal_getgrouplist): When we found the service
56214 list through the initgroups entry in nsswitch.conf do not always
56215 continue on a successful lookup. Don't always use the
eac80ce2 56216 __nss_group_database value if it is set.
7b3b0b2a
UD
56217 * nss/nsswitch.conf (initgroups): Change action for successful db
56218 lookup to continue for compatibility.
56219
2a81eaa5
UD
562202011-05-09 Ulrich Drepper <drepper@gmail.com>
56221
be97a69e
UD
56222 [BZ #11532]
56223 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
56224 and CP774 modules.
56225 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
56226 and CP774 modules.
56227 * iconvdata/tst-tables.sh: Likewise.
56228 * iconvdata/cp770.c: New file.
56229 * iconvdata/cp771.c: New file.
56230 * iconvdata/cp772.c: New file.
56231 * iconvdata/cp773.c: New file.
56232 * iconvdata/cp774.c: New file.
56233 * iconvdata/testdata/CP770: New file.
56234 * iconvdata/testdata/CP770..UTF8: New file.
56235 * iconvdata/testdata/CP771: New file.
56236 * iconvdata/testdata/CP771..UTF8: New file.
56237 * iconvdata/testdata/CP772: New file.
56238 * iconvdata/testdata/CP772..UTF8: New file.
56239 * iconvdata/testdata/CP773: New file.
56240 * iconvdata/testdata/CP773..UTF8: New file.
56241 * iconvdata/testdata/CP774: New file.
56242 * iconvdata/testdata/CP774..UTF8: New file.
56243
56244 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
56245 END CHARMAP line.
56246 * iconvdata/gen-8bit-gap.sh: Likewise.
56247 * iconvdata/gen-8bit.sh: Likewise.
56248
c1e9e399
UD
56249 * locale/iso-639.def: Add ary entry.
56250
24c55fb3 56251 [BZ #11258]
96b4b1b0
UD
56252 * locale/C-translit.h.in: Add U20A1 transliteration.
56253
bdc2f971
KB
56254 [BZ #12178]
56255 * locale/iso-639.def: Add wae entry.
56256 Patch by Kevin Bortis <bortis@translate-wae.ch>.
56257
2952b117
UD
56258 [BZ #12545]
56259 * locale/programs/localedef.c (construct_output_path): Use ssize_t
56260 for n.
56261
2a81eaa5
UD
56262 [BZ #12711]
56263 * locale/C-translit.h.in: Add entry for U20B9.
56264 Patch by pravin.d.s@gmail.com.
56265
28377d1b
UD
562662011-05-08 Ulrich Drepper <drepper@gmail.com>
56267
7fb90fb8
UD
56268 [BZ #12713]
56269 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
56270 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
56271 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
56272 in rtld. Use *stat64.
7fb90fb8 56273 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 56274 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 56275 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
56276 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
56277 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
56278 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
56279 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
56280 __fstatat64 macros.
7fb90fb8
UD
56281 * include/dirent.h: Add libc_hidden_proto for rewinddir.
56282 * dirent/rewinddir.c: Add libc_hidden_def.
56283 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 56284 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 56285
28377d1b
UD
56286 * include/dirent.h (__alloc_dir): Add flags parameter.
56287 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
56288 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
56289 __alloc_dir.
56290 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
56291 from fdopendir if O_CLOEXEC is already set.
56292
66bdbaa4
AM
562932011-03-15 Alan Modra <amodra@gmail.com>
56294
56295 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
56296 l_tls_firstbyte_offset non-zero. Save padding offset in
56297 l_tls_firstbyte_offset for later use.
56298 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
56299 freeing static tls block.
56300
95721191
JN
563012011-03-05 Jonathan Nieder <jrnieder@gmail.com>
56302
56303 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
56304 where #ifdef was intended. The intent is to prevent ARG_MAX from
56305 being defined by the kernel headers.
56306
f87dfb1f
UD
563072011-05-07 Ulrich Drepper <drepper@gmail.com>
56308
56309 [BZ #12734]
56310 * resolv/resolv.h: Define RES_NOTLDQUERY.
56311 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
56312 no-tld-query and set RES_NOTLDQUERY.
56313 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
56314 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
56315 modern BIND to search name as TLD unless forbidden.
56316
47c3cd7a
UD
563172011-05-07 Petr Baudis <pasky@suse.cz>
56318 Ulrich Drepper <drepper@gmail.com>
56319
56320 [BZ #12393]
56321 * elf/dl-load.c (fillin_rpath): Move trusted path check...
56322 (is_trusted_path): ...to here.
c1e9ea35 56323 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 56324 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 56325 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 56326
8a35c912
PP
563272011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
56328
56329 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
56330 __BEGIN/__END_DECLS.
56331
acd41f47
UD
563322011-05-06 Ulrich Drepper <drepper@gmail.com>
56333
56334 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
56335 NSS_STATUS_NOTFOUND if no record was found.
56336
597df647
AS
563372011-05-05 Andreas Schwab <schwab@redhat.com>
56338
56339 * sunrpc/Makefile (headers): Add rpc/netdb.h.
56340 (headers-not-in-tirpc): Remove rpc/netdb.h
56341 * resolv/netdb.h: Revert last change.
56342
b9af1301
PP
563432011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
56344
56345 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
56346 circular dependency between libgcc.a and libc.a.
56347
4e34d5f5
AS
563482011-05-05 Andreas Schwab <schwab@redhat.com>
56349
56350 * resolv/netdb.h: Don't include <rpc/netdb.h>.
56351 * nis/Makefile: Don't install rpcsvc/*.
56352 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
56353 instead of <rpc/types.h>.
56354 (MAXHOSTNAMELEN): Define.
56355
00ee369c
AS
563562011-05-03 Andreas Schwab <schwab@redhat.com>
56357
56358 * elf/ldconfig.c (add_dir): Don't crash on empty path.
56359
0b592a30
MB
563602011-04-28 Maciej Babinski <mbabinski@google.com>
56361
56362 [BZ #12714]
56363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
56364 gethostbyname4_r when IPv6 results are possible.
56365
6e04cbbe
UD
563662011-05-02 Ulrich Drepper <drepper@gmail.com>
56367
56368 [BZ #12723]
56369 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
56370 _PC_PIPE_BUF handling.
56371
e4ecafe0
BH
563722011-04-30 Bruno Haible <bruno@clisp.org>
56373
56374 [BZ #12717]
56375 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
56376 * resolv/netdb.h (getnameinfo): Change type of flags parameter
56377 to 'int'.
56378 * inet/getnameinfo.c (getnameinfo): Likewise.
56379
125ee683
UD
563802011-04-29 Ulrich Drepper <drepper@gmail.com>
56381
56382 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
56383 to groups setting in database lookup.
56384 * nss/nsswitch.conf: Add initgroups entry.
56385
b722481a
EB
563862011-04-22 Ulrich Drepper <drepper@gmail.com>
56387
56388 [BZ #12685]
56389 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
56390 mode string.
56391 Patch by Eric Blake <eblake@redhat.com>.
56392
4df46dbd
L
563932011-04-20 H.J. Lu <hongjiu.lu@intel.com>
56394
56395 * sunrpc/Makefile (need-export-routines): Add svc_run.
56396 (routines): Remove svc_run.
56397 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
56398 * sunrpc/clnt_perr.c (clnt_perrno): Export.
56399 * sunrpc/svc_run.c (svc_run): Likewise.
56400 * sunrpc/svc_udp.c (svcudp_create): Likewise.
56401
e84142d2
UD
564022011-04-21 Ulrich Drepper <drepper@gmail.com>
56403
56404 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
56405 problem in reallocation in last patch.
56406
877175d8
UD
564072011-04-20 Ulrich Drepper <drepper@gmail.com>
56408
56409 * sunrpc/Makefile: Move inclusion of Rules.
56410
ab8eed78
UD
564112011-04-19 Ulrich Drepper <drepper@gmail.com>
56412
56413 * nss/nss_files/files-initgroups.c: New file.
56414 * nss/Makefile (libnss_files-routines): Add files-initgroups.
56415 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
56416 _nss_files_initgroups_dyn.
56417
e3d8f584
RS
564182011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
56419
56420 * elf/elf.h (R_ARM_IRELATIVE): Define.
56421
af190f45
UD
564222011-04-19 Ulrich Drepper <drepper@gmail.com>
56423
56424 * po/ru.po: Update from translation team.
56425
53cf59ef
UD
564262011-04-17 Ulrich Drepper <drepper@gmail.com>
56427
56428 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
56429 dependencies.
56430
4c559bcd
MF
564312011-02-06 Mike Frysinger <vapier@gentoo.org>
56432
56433 [BZ #12653]
56434 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
56435 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
56436 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
56437 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
56438 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
56439
4420675c
AS
564402011-03-28 Andreas Schwab <schwab@linux-m68k.org>
56441
56442 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
56443 differing bytes.
56444 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
56445 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
56446 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
56447
75ea32ab
UD
564482011-04-17 Ulrich Drepper <drepper@gmail.com>
56449
56450 [BZ #12420]
56451 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
56452 storing it.
56453 * stdlib/bug-getcontext.c: New file.
56454 * stdlib/Makefile: Add rules to build and run bug-getcontext.
56455
27390476
AK
564562011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56457
56458 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
56459 instructions into .machine "z9-109".
56460 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
56461 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
56462
10442705
AK
564632011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
56464
56465 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
56466 between environment variables and auxiliary vector.
56467
7b57bfe5
UD
564682011-04-16 Ulrich Drepper <drepper@gmail.com>
56469
56470 * Makefile: Add rules to build linkobj/libc.so.
56471 * include/libc-symbols.h: Define libc_hidden_nolink.
56472 * include/rpc/auth.h: Mark functions which are to be hidden.
56473 * include/rpc/auth_des.h: Likewise.
56474 * include/rpc/auth_unix.h: Likewise.
56475 * include/rpc/clnt.h: Likewise.
56476 * include/rpc/des_crypt.h: Likewise.
56477 * include/rpc/key_prot.h: Likewise.
56478 * include/rpc/pmap_clnt.h: Likewise.
56479 * include/rpc/pmap_prot.h: Likewise.
56480 * include/rpc/pmap_rmt.h: Likewise.
56481 * include/rpc/rpc_msg.h: Likewise.
56482 * include/rpc/svc.h: Likewise.
56483 * include/rpc/svc_auth.h: Likewise.
56484 * include/rpc/xdr.h: Likewise.
56485 * nis/Makefile: Link all DSOs against linkobj/libc.so.
56486 * nss/Makefile: Likewise.
56487 * sunrpc/Makefile: Don't install headers. Build library with normal
56488 entry points. Don't build rpcinfo. Link RPC tests appropriately.
56489 * sunrpc/auth_des.c: Hide exported symbols by default, export some
56490 for the compat linking library. Remove use of INTDEF/INTUSE.
56491 * sunrpc/auth_none.c: Likewise.
56492 * sunrpc/auth_unix.c: Likewise.
56493 * sunrpc/authdes_prot.c: Likewise.
56494 * sunrpc/authuxprot.c: Likewise.
56495 * sunrpc/clnt_gen.c: Likewise.
56496 * sunrpc/clnt_perr.c: Likewise.
56497 * sunrpc/clnt_raw.c: Likewise.
56498 * sunrpc/clnt_simp.c: Likewise.
56499 * sunrpc/clnt_tcp.c: Likewise.
56500 * sunrpc/clnt_udp.c: Likewise.
56501 * sunrpc/clnt_unix.c: Likewise.
56502 * sunrpc/des_crypt.c: Likewise.
56503 * sunrpc/des_soft.c: Likewise.
56504 * sunrpc/get_myaddr.c: Likewise.
56505 * sunrpc/key_call.c: Likewise.
56506 * sunrpc/key_prot.c: Likewise.
56507 * sunrpc/netname.c: Likewise.
56508 * sunrpc/pm_getmaps.c: Likewise.
56509 * sunrpc/pm_getport.c: Likewise.
56510 * sunrpc/pmap_clnt.c: Likewise.
56511 * sunrpc/pmap_prot.c: Likewise.
56512 * sunrpc/pmap_prot2.c: Likewise.
56513 * sunrpc/pmap_rmt.c: Likewise.
56514 * sunrpc/publickey.c: Likewise.
56515 * sunrpc/rpc_cmsg.c: Likewise.
56516 * sunrpc/rpc_common.c: Likewise.
56517 * sunrpc/rpc_dtable.c: Likewise.
56518 * sunrpc/rpc_prot.c: Likewise.
56519 * sunrpc/rpc_thread.c: Likewise.
56520 * sunrpc/rtime.c: Likewise.
56521 * sunrpc/svc.c: Likewise.
56522 * sunrpc/svc_auth.c: Likewise.
56523 * sunrpc/svc_authux.c: Likewise.
56524 * sunrpc/svc_raw.c: Likewise.
56525 * sunrpc/svc_run.c: Likewise.
56526 * sunrpc/svc_simple.c: Likewise.
56527 * sunrpc/svc_tcp.c: Likewise.
56528 * sunrpc/svc_udp.c: Likewise.
56529 * sunrpc/svc_unix.c: Likewise.
56530 * sunrpc/svcauth_des.c: Likewise.
56531 * sunrpc/xcrypt.c: Likewise.
56532 * sunrpc/xdr.c: Likewise.
56533 * sunrpc/xdr_array.c: Likewise.
56534 * sunrpc/xdr_float.c: Likewise.
56535 * sunrpc/xdr_intXX_t.c: Likewise.
56536 * sunrpc/xdr_mem.c: Likewise.
56537 * sunrpc/xdr_rec.c: Likewise.
56538 * sunrpc/xdr_ref.c: Likewise.
56539 * sunrpc/xdr_sizeof.c: Likewise.
56540 * sunrpc/xdr_stdio.c: Likewise.
56541
e6c61494
UD
565422011-04-10 Ulrich Drepper <drepper@gmail.com>
56543
56544 [BZ #12650]
56545 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
56546 * sysdeps/ia64/dl-tls.h: Likewise.
56547 * sysdeps/powerpc/dl-tls.h: Likewise.
56548 * sysdeps/s390/dl-tls.h: Likewise.
56549 * sysdeps/sh/dl-tls.h: Likewise.
56550 * sysdeps/sparc/dl-tls.h: Likewise.
56551 * sysdeps/x86_64/dl-tls.h: Likewise.
56552 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
56553
34fe483e
AS
565542011-03-14 Andreas Schwab <schwab@redhat.com>
56555
56556 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
56557 rpath element also skip the following colon.
56558 (expand_dynamic_string_token): Add is_path parameter and pass
56559 down to DL_DST_REQUIRED and _dl_dst_substitute.
56560 (decompose_rpath): Call expand_dynamic_string_token with
56561 non-zero is_path. Ignore empty rpaths.
56562 (_dl_map_object_from_fd): Call expand_dynamic_string_token
56563 with zero is_path.
56564
f12a32e6
AS
565652011-04-08 Andreas Schwab <schwab@linux-m68k.org>
56566
56567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
56568 Make cancelable.
56569
38a7d692
UD
565702011-04-09 Ulrich Drepper <drepper@gmail.com>
56571
56572 [BZ #12655]
56573 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
56574 Patch by Filipe David Manana <fdmanana@apache.org>.
56575
e451d22b
AS
565762011-04-07 Andreas Schwab <schwab@redhat.com>
56577
56578 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
56579 Maintain aligned stack.
56580 (CHECK_RSP): Remove unused macro.
56581
dedc7c7b
UD
565822011-04-03 Ulrich Drepper <drepper@gmail.com>
56583
56584 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
56585 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
56586
94521213
UD
565872011-04-02 Ulrich Drepper <drepper@gmail.com>
56588
56589 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
56590
8cb700c0 56591 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 56592
0354e355
L
565932011-03-26 H.J. Lu <hongjiu.lu@intel.com>
56594
56595 [BZ #12518]
56596 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
56597 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
56598 * sysdeps/x86_64/memmove.c: New file.
56599 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
56600 (memcpy): Renamed to ...
56601 (__new_memcpy): This.
56602 (memcpy): Provide GLIBC_2_14 memcpy.
56603 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
56604 (memcpy): Provide GLIBC_2_2_5 memcpy.
56605
8593482f
UD
566062011-04-01 Ulrich Drepper <drepper@gmail.com>
56607
56608 [BZ #12631]
56609 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
56610
81a5726b
AS
566112011-03-30 Andreas Schwab <schwab@redhat.com>
56612
56613 * misc/syncfs.c: New file.
56614 * misc/Makefile (routines): Add syncfs.
56615 * posix/unistd.h: Declare syncfs.
56616 * sysdeps/unix/syscalls.list: Add syncfs.
56617
00e5419f
AS
566182011-04-01 Andreas Schwab <schwab@redhat.com>
56619
56620 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
56621 open_by_handle_at.
56622 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
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/syscalls.list: Likewise.
56628 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56629
748876bf
UD
566302011-04-01 Ulrich Drepper <drepper@gmail.com>
56631
658e451d
UD
56632 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
56633 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56634 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
56635 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56636 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56638 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56639
748876bf
UD
56640 * io/Makefile: Compile fallocate.c, fallocate64.c, and
56641 sync_file_range.c with -fexceptions.
56642 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
56643 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
56644 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
56645 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
56646 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
56647 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
56648 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
56649 sync_file_range as cancellation point
56650 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
56651 now a wrapper around __call_sync_file_range with cancellation handling.
56652 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
56653 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
56654 function name to __call_sync_file_range.
56655 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
56656 Add call_sync_file_range.
748876bf 56657
6e63d5e1
AS
566582011-04-01 Andreas Schwab <schwab@redhat.com>
56659
56660 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 56661 bits/timex.h.
6e63d5e1 56662
46998f74
UD
566632011-04-01 Ulrich Drepper <drepper@gmail.com>
56664
4c1423ed
UD
56665 * iconv/iconv.h: Fix typo in comment.
56666 * io/fcntl.h: Likewise.
56667 * libio/stdio.h: Likewise.
56668 * posix/spawn.h: Likewise.
56669 * posix/unistd.h: Likewise.
56670 * stdlib/stdlib.h: Likewise.
56671 * time/time.h: Likewise.
56672 * wcsmbs/wchar.h: Likewise.
56673
158648c0
UD
56674 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
56675 open_by_handle): Add.
56676 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
56677 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
56678 Augment a few comments.
56679 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
56680 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56681 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56682 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56683 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56684 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
56685 open_by_handle.
56686
46998f74
UD
56687 * io/fcntl.h (AT_EMPTY_PATH): Define.
56688
83fe108b
UD
566892011-03-30 Ulrich Drepper <drepper@gmail.com>
56690
56691 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
56692 * sysdeps/unix/sysv/linux/bits/time.h: New file.
56693 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
56694 to...
56695 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
56696 * Versions.def: Add GLIBC_2.14.
56697 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
56698 Export.
83fe108b 56699
bb242059
UD
567002011-03-22 Ulrich Drepper <drepper@gmail.com>
56701
56702 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
56703 round counter.
56704 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56705
c97a1282
L
567062011-03-20 H.J. Lu <hongjiu.lu@intel.com>
56707
56708 [BZ #12597]
56709 * string/test-strncmp.c (do_page_test): New function.
56710 (check2): Likewise.
56711 (test_main): Call check2.
56712 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
56713
2a115601
UD
567142011-03-20 Ulrich Drepper <drepper@gmail.com>
56715
56716 [BZ #12587]
56717 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
56718 Handle cache information in CPU leaf 4.
56719 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
56720
8126d904
UD
567212011-03-18 Ulrich Drepper <drepper@gmail.com>
56722
042c49c6 56723 [BZ #12583]
8126d904
UD
56724 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
56725 character representation.
56726 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
56727
ccfe366e
RA
567282011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
56729
56730 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
56731 END(__isnan) to END(__isnanf) to match function entry point/label
56732 EALIGN(__isnanf,...).
56733
c6e13027
JJ
567342011-03-10 Jakub Jelinek <jakub@redhat.com>
56735
56736 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
56737
33f85a3f
UD
567382011-03-10 Ulrich Drepper <drepper@gmail.com>
56739
028478fa
UD
56740 [BZ #12510]
56741 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
56742 copy from the symbol referenced in the relocation to initialize the
56743 used variable.
56744 Patch by Piotr Bury <pbury@goahead.com>.
56745 * elf/Makefile: Add rules to build and tst-unique3.
56746 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
56747 * elf/tst-unique3.cc: New file.
56748 * elf/tst-unique3.h: New file.
56749 * elf/tst-unique3lib.cc: New file.
56750 * elf/tst-unique3lib2.cc: New file.
56751
33f85a3f
UD
56752 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
56753
03592fc7
MF
567542011-03-10 Mike Frysinger <vapier@gentoo.org>
56755
56756 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
56757 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
56758 to _start.
03592fc7 56759
6a5ee102
UD
567602011-03-06 Ulrich Drepper <drepper@gmail.com>
56761
56762 * elf/dl-load.c (_dl_map_object): If we are looking for the first
56763 to-be-loaded object along a path to loader is ld.so.
56764
7e4ba49c
HJ
567652011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56766 Ulrich Drepper <drepper@gmail.com>
56767
56768 * sysdeps/x86_64/memset.S: After aligning destination, code
56769 branches to different locations depending on the value of
56770 misalignment, when multiarch is enabled. Fix this.
56771
567722011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
56773
56774 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
56775 Set _x86_64_preferred_memory_instruction for AMD processsors.
56776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56777 Set bit_Prefer_SSE_for_memop for AMD processors.
56778
13a804de
UD
567792011-03-04 Ulrich Drepper <drepper@gmail.com>
56780
56781 * libio/fmemopen.c (fmemopen): Optimize a bit.
56782
9d25c392
AS
567832011-03-03 Andreas Schwab <schwab@redhat.com>
56784
56785 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
56786
a5543c6a
RM
567872011-03-03 Roland McGrath <roland@redhat.com>
56788
56789 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
56790
012d35f7
DM
567912011-02-28 Aurelien Jarno <aurelien@aurel32.net>
56792
7e4ba49c 56793 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
56794 __bzero_ultra1 instead of __memset_ultra1.
56795
4bff6e01
AS
567962011-02-23 Andreas Schwab <schwab@redhat.com>
56797 Ulrich Drepper <drepper@gmail.com>
56798
56799 [BZ #12509]
56800 * include/link.h (struct link_map): Add l_orig_initfini.
56801 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
56802 returning unsuccessfully.
56803 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
56804 close of a file loaded at startup, restore the original l_initfini
56805 list.
56806 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
56807 list, store the pointer.
56808 * elf/Makefile ($(objpfx)noload-mem): New rule.
56809 (noload-ENV): Define.
56810 (tests): Add $(objpfx)noload-mem.
56811 * elf/noload.c: Include <memcheck.h>.
56812 (main): Call mtrace. Close all opened handles.
56813
f2092faf
AS
568142011-02-17 Andreas Schwab <schwab@redhat.com>
56815
56816 [BZ #12454]
56817 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
56818 dependencies are missing.
56819
6c8a2e88
ST
568202011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
56821
f2092faf 56822 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
56823 Hurd needs munmap.
56824 * sysdeps/mach/hurd/ifreq.h: New file.
56825
84a42118
PB
568262011-01-27 Petr Baudis <pasky@suse.cz>
56827 Ulrich Drepper <drepper@gmail.com>
56828
071f805e 56829 [BZ 12445]#
84a42118
PB
56830 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
56831 to extend_alloca().
56832 * stdio-common/bug23.c: New file.
56833 * stdio-common/Makefile (tests): Add bug23.
56834
e23fe25b
AS
568352010-09-28 Andreas Schwab <schwab@redhat.com>
56836 Ulrich Drepper <drepper@gmail.com>
56837
56838 [BZ #12489]
56839 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
56840 before performing relro protection. At old place add assertion
56841 to make sure nothing changed.
56842
d3f02e10
NS
568432011-02-17 Nathan Sidwell <nathan@codesourcery.com>
56844 Glauber de Oliveira Costa <glommer@gmail.com>
56845
56846 * elf/elf.h: Add new ARM TLS relocs.
56847
d55fd7a5
RA
568482011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
56849
56850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
56851 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
56852 cast from r3.
56853 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
56854 'tests' variable.
56855 * sysdeps/wordsize-64/tst-writev.c: New file.
56856
2206397e
RA
568572011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
56858
56859 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
56860 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
56861 insns in _dl_start to prevent a TOC reference before relocs are
56862 resolved.
56863
e9433893
UD
568642011-02-15 Ulrich Drepper <drepper@gmail.com>
56865
56866 [BZ #12469]
56867 * Makeconfig: Remove RANLIB definition.
56868 * Makerules: Don't use RANLIB.
56869 * aclocal.m4: Remove ranlib test.
56870 * configure.in: No need to check for ranlib.
56871 * elf/rtld-Rules: Don't use RANLIB.
56872
f75286c6
ST
568732011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
56874
8e31c82d
ST
56875 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
56876 protection macro.
56877 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
56878 inclusion protection macro.
56879
f75286c6
ST
56880 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
56881 SIGRTMIN and SIGRTMAX and print information in that case only when
56882 SIGRTMIN is defined.
56883
c1d0e639
JJ
568842011-02-11 Jakub Jelinek <jakub@redhat.com>
56885
56886 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
56887 arginfo fn returning -1.
56888
56889 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
56890 and thousands string is zero terminated.
56891
edf9294e
AS
568922011-02-03 Andreas Schwab <schwab@redhat.com>
56893
56894 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
56895 sysdeps/unix/sysv/linux/bits/socket.h.
56896
2b7e92df
ST
568972011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
56898
edf9294e
AS
56899 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
56900 (__CPU_COUNT): Remove old macros.
56901 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
56902 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
56903 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
56904 (__sched_cpualloc, __sched_cpufree): Add declarations.
56905
a4c7ea7b
UD
569062011-02-05 Ulrich Drepper <drepper@gmail.com>
56907
56908 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
56909 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
56910 * nscd/aicache.c (addhstaiX): Return timeout of added value.
56911 (readdhstai): Return value of addhstaiX call.
56912 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
56913 (addgrbyX): Return value returned by cache_addgr.
56914 (readdgrbyname): Return value returned by addgrbyX.
56915 (readdgrbygid): Likewise.
56916 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
56917 (addpwbyX): Return value returned by cache_addpw.
56918 (readdpwbyname): Return value returned by addhstbyX.
56919 (readdpwbyuid): Likewise.
56920 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
56921 (addservbyX): Return value returned by cache_addserv.
56922 (readdservbyname): Return value returned by addservbyX:
56923 (readdservbyport): Likewise.
56924 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
56925 (addhstbyX): Return value returned by cache_addhst.
56926 (readdhstbyname): Return value returned by addhstbyX.
56927 (readdhstbyaddr): Likewise.
56928 (readdhstbynamev6): Likewise.
56929 (readdhstbyaddrv6): Likewise.
56930 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
56931 (readdinitgroups): Return value returned by addinitgroupsX.
56932 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
56933 (prune_cache): Keep track of timeout value of re-added entries.
56934 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
56935 * nscd/nscd.h: Adjust prototypes of readd* functions.
56936
a0bf67cc
RM
569372011-02-04 Roland McGrath <roland@redhat.com>
56938
56939 * nis/nis_server.c (nis_servstate): Use the right name for 0.
56940 (nis_stats): Likewise.
56941 * nis/nis_modify.c (nis_modify): Likewise.
56942 * nis/nis_remove.c (nis_remove): Likewise.
56943 * nis/nis_add.c (nis_add): Likewise.
56944
56945 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
56946
56947 * posix/fnmatch_loop.c: Add some consts.
56948
56949 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
56950
435b95eb
L
569512011-02-02 H.J. Lu <hongjiu.lu@intel.com>
56952
56953 [BZ #12460]
56954 * config.make.in (config-cflags-novzeroupper): Define.
56955 * configure.in: Substitute libc_cv_cc_novzeroupper.
56956 * elf/Makefile (AVX-CFLAGS): Define.
56957 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
56958 (CFLAGS-tst-auditmod4a.c): Likewise.
56959 (CFLAGS-tst-auditmod4b.c): Likewise.
56960 (CFLAGS-tst-auditmod6b.c): Likewise.
56961 (CFLAGS-tst-auditmod6c.c): Likewise.
56962 (CFLAGS-tst-auditmod7b.c): Likewise.
56963 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
56964
8517b15e
UD
569652011-02-02 Ulrich Drepper <drepper@gmail.com>
56966
56967 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
56968 function to the callback.
56969 Patch partly by Jiri Olsa <jolsa@redhat.com>.
56970
10a656fe
AS
569712011-02-02 Andreas Schwab <schwab@redhat.com>
56972
56973 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
56974 of errno.
56975
968dad0a
UD
569762011-01-19 Ulrich Drepper <drepper@gmail.com>
56977
9f94d2ea 56978 [BZ #11724]
968dad0a
UD
56979 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
56980 of constructors.
56981 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
56982 of destructors.
56983 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
56984
56985 [BZ #11724]
56986 * elf/Makefile: Add rules to build and run new test.
56987 * elf/tst-initorder.c: New file.
56988 * elf/tst-initorder.exp: New file.
56989 * elf/tst-initordera1.c: New file.
56990 * elf/tst-initordera2.c: New file.
56991 * elf/tst-initordera3.c: New file.
56992 * elf/tst-initordera4.c: New file.
56993 * elf/tst-initorderb1.c: New file.
56994 * elf/tst-initorderb2.c: New file.
56995 * elf/tst-order-a1.c: New file.
56996 * elf/tst-order-a2.c: New file.
56997 * elf/tst-order-a3.c: New file.
56998 * elf/tst-order-a4.c: New file.
56999 * elf/tst-order-b1.c: New file.
57000 * elf/tst-order-b2.c: New file.
57001 * elf/tst-order-main.c: New file.
57002 New test case by George Gensure <werkt0@gmail.com>.
57003
86e92359
UD
570042010-10-01 Andreas Schwab <schwab@redhat.com>
57005
57006 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
57007 decoding ACE if AI_CANONIDN.
57008
5d5732b0
UD
570092011-01-18 Ulrich Drepper <drepper@gmail.com>
57010
57011 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
57012
a77e8cbc
UD
570132011-01-17 Ulrich Drepper <drepper@gmail.com>
57014
6392473f
UD
57015 * version.h (RELEASE): Bump for 2.13 release.
57016 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
57017
620a0529
UD
57018 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
57019
18ba70a5
UD
57020 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
57021 MADV_NOHUGEPAGE.
32465c3e
UD
57022 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
57023 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
57024 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
57025 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
57026 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
57027 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57028
c0dafcf1
UD
57029 * posix/getconf.c: Update copyright year.
57030 * catgets/gencat.c: Likewise.
57031 * csu/version.c: Likewise.
57032 * debug/catchsegv.sh: Likewise.
57033 * debug/xtrace.sh: Likewise.
57034 * elf/ldconfig.c: Likewise.
57035 * elf/ldd.bash.in: Likewise.
57036 * elf/sprof.c (print_version): Likewise.
57037 * iconv/iconv_prog.c: Likewise.
57038 * iconv/iconvconfig.c: Likewise.
57039 * locale/programs/locale.c: Likewise.
57040 * locale/programs/localedef.c: Likewise.
57041 * malloc/memusage.sh: Likewise.
57042 * malloc/mtrace.pl: Likewise.
57043 * nscd/nscd.c (print_version): Likewise.
57044 * nss/getent.c: Likewise.
57045
a77e8cbc
UD
57046 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
57047 PF_CAIF, and PF_ALG.
57048 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
57049
77e8bddf
AS
570502011-01-16 Andreas Schwab <schwab@linux-m68k.org>
57051
1f20b93a
AS
57052 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
57053 (modules-names): Use them.
57054 (ifunc-test-modules, ifunc-pie-tests): Define.
57055 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
57056 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
57057 (test-extras): Likewise.
57058 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
57059 $(compile-command.c).
57060 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
57061 (all-built-dso): Define.
57062 (check-textrel.out, check-execstack.out): Depend on it.
57063
77e8bddf
AS
57064 * configure.in: Don't override --enable-multi-arch.
57065
bc425b33
UD
570662011-01-15 Ulrich Drepper <drepper@gmail.com>
57067
57068 [BZ #6812]
57069 * nscd/hstcache.c (tryagain): Define.
57070 (cache_addhst): Return tryagain not notfound for temporary errors.
57071 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
57072 failed.
57073
794c3ad3
UD
570742011-01-14 Ulrich Drepper <drepper@gmail.com>
57075
70181fdd
UD
57076 [BZ #10563]
57077 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
57078 to make the syscall.
57079 * sysdeps/unix/sysv/linux/setgroups.c: New file.
57080
794c3ad3
UD
57081 [BZ #12378]
57082 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
57083 and fall back to matching as normal character if the string ends before
57084 the matching ']' is found. This is what POSIX requires.
57085 * posix/testfnm.c: Adjust test result.
57086 * posix/globtest.sh: Adjust test result. Add new test.
57087 * posix/tst-fnmatch.input: Likewise.
57088 * posix/tst-fnmatch2.c: Add new test.
57089
68dc9497
AS
570902010-12-28 Andreas Schwab <schwab@linux-m68k.org>
57091
57092 * elf/Makefile (check-execstack): Revert last change. Depend on
57093 check-execstack.h.
57094 (check-execstack.h): New target.
57095 (generated): Add check-execstack.h.
57096 * elf/check-execstack.c: Include "check-execstack.h".
57097 (main): Revert last change.
57098 (handle_file): Return zero if GNU_STACK is absent and
57099 DEFAULT_STACK_PERMS doesn't include PF_X.
57100
451f001b
UD
571012011-01-13 Ulrich Drepper <drepper@gmail.com>
57102
cfa28e56
UD
57103 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
57104 in child fails because the descriptor is already closed.
8cf8ce17
UD
57105 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
57106 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
57107 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 57108
1086d70d
UD
57109 [BZ #12397]
57110 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
57111 syscall.
57112
451f001b
UD
57113 [BZ #10484]
57114 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
57115 temporary buffer used to handle multi lookups locally.
a85b5cb4 57116 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 57117
08769175
UD
571182011-01-12 Ulrich Drepper <drepper@gmail.com>
57119
57120 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
57121 loader is ld.so.
57122
5e49c52e
UD
571232011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
57124
57125 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
57126 alignment for SSE2.
57127
60522a5f
UD
571282011-01-12 Ulrich Drepper <drepper@gmail.com>
57129
57130 [BZ #12394]
57131 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
57132 characters. When rounding increased number of integer digits recompute
57133 number of groups.
57134 * stdio-common/tst-grouping.c: New file.
57135 * stdio-common/Makefile: Add rules to build and run tst-grouping.
57136
f257bbd7
UD
571372011-01-09 Ulrich Drepper <drepper@gmail.com>
57138
57139 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
57140 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
57141
57142 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
57143 void.
57144 * bits/select.h: Likewise.
57145
fa9c15cb
UD
571462011-01-08 Ulrich Drepper <drepper@gmail.com>
57147
57148 * po/ja.po: Update from translation team.
57149
16c2895f
DM
571502011-01-04 David S. Miller <davem@sunset.davemloft.net>
57151
57152 [BZ #11155]
57153 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
57154 implementation just like for lxstat, fxstatat, et al.
57155
2543fef2
JM
571562010-12-27 Jim Meyering <meyering@redhat.com>
57157
57158 [BZ #12348]
57159 * posix/regexec.c (build_trtable): Return failure indication upon
57160 calloc failure. Otherwise, re_search_internal could infloop on OOM.
57161
98727dbe
UD
571622010-12-25 Ulrich Drepper <drepper@gmail.com>
57163
5bd6dc5c
UD
57164 [BZ #12201]
57165 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
57166 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
57167 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
57168 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
57169
97983464
UD
57170 [BZ #12207]
57171 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
57172
98727dbe
UD
57173 [BZ #12204]
57174 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
57175 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
57176
4a531bb0
L
571772010-12-15 H.J. Lu <hongjiu.lu@intel.com>
57178
57179 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
57180 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
57181 script has SORT_BY_INIT_PRIORITY.
57182 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
57183 NO_CTORS_DTORS_SECTIONS is defined.
57184 * elf/soinit.c: Likewise.
57185 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
57186 NO_CTORS_DTORS_SECTIONS is defined.
57187 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
57188 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
57189 * sysdeps/sh/init-first.c: Likewise.
57190 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
57191
07eb4b71
UD
571922010-12-24 Ulrich Drepper <drepper@gmail.com>
57193
57194 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
57195 always use the slow path.
57196
30950a5f
RA
571972010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
57198
57199 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
57200 similar rule which adds the sysdep directories to the header search in
57201 order to pick up the correct platform stackinfo.h.
57202 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
57203 perform test if it is, otherwise return successfully without testing.
57204 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
57205 DEFAULT_STACK_PERMS define in stackinfo.h.
57206 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
57207 defined in stackinfo.h.
57208 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
57209 DEFAULT_STACK_PERMS defined in stackinfo.h.
57210 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
57211 * sysdeps/ia64/stackinfo.h: Likewise.
57212 * sysdeps/s390/stackinfo.h: Likewise.
57213 * sysdeps/sh/stackinfo.h: Likewise.
57214 * sysdeps/sparc/stackinfo.h: Likewise.
57215 * sysdeps/x86_64/stackinfo.h: Likewise.
57216 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
57217 PF_X for powerpc64. Retain PF_X for powerpc32.
57218
db753e2c
UD
572192010-12-19 Ulrich Drepper <drepper@gmail.com>
57220
14b697f7
UD
57221 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
57222 accurately.
db753e2c
UD
57223 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
57224 GETDENTS_64BIT_ALIGNED.
57225
28300719
UD
572262010-12-14 Ulrich Drepper <dreper@gmail.com>
57227
14b697f7 57228 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 57229
4f197237
AS
572302010-12-10 Andreas Schwab <schwab@redhat.com>
57231
dbb0472f
AS
57232 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
57233 _GNU_SOURCE.
57234
4f197237
AS
57235 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
57236 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
57237 Remove __restrict.
57238 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
57239 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
57240
fb88ac72
UD
572412010-12-09 Ulrich Drepper <drepper@gmail.com>
57242
57243 [BZ #11655]
57244 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
57245 are initialized.
57246
42acbb92
JJ
572472010-12-09 Jakub Jelinek <jakub@redhat.com>
57248
57249 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
57250
c038d98d
UD
572512010-12-03 Ulrich Drepper <drepper@gmail.com>
57252
57253 * po/it.po: Update from translation team.
57254
3a4a2499
L
572552010-12-01 H.J. Lu <hongjiu.lu@intel.com>
57256
57257 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
57258 unused codes.
57259
1e24cf6e
UD
572602010-11-30 Ulrich Drepper <drepper@gmail.com>
57261
57262 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
57263
a7690819
AS
572642010-11-24 Andreas Schwab <schwab@redhat.com>
57265
57266 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
57267 specially.
57268 (gaih_getanswer_slice): Likewise.
57269
3bf8d1b1
JJ
572702010-10-20 Jakub Jelinek <jakub@redhat.com>
57271
57272 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
57273
6db52fbb
PB
572742010-05-31 Petr Baudis <pasky@suse.cz>
57275
57276 [BZ #11149]
57277 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
57278 silently even in the chroot mode.
57279
eaca7569
UD
572802010-11-22 Ulrich Drepper <drepper@gmail.com>
57281
57282 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
57283 last patch a bit. Pretty printing
57284
3056dcdb
UD
572852010-05-31 Petr Baudis <pasky@suse.cz>
57286
57287 [BZ #10085]
57288 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
57289 initialization of skip_initgroups_dyn.
57290
cf7c9078
UD
572912010-11-19 Ulrich Drepper <drepper@gmail.com>
57292
57293 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
57294 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
57295
a1fb5e3e
UD
572962010-11-16 Ulrich Drepper <drepper@gmail.com>
57297
57298 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
57299
3540d66b
AS
573002010-11-11 Andreas Schwab <schwab@redhat.com>
57301
57302 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
57303 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
57304 (tst-fnmatch-ENV): Set MALLOC_TRACE.
57305 ($(objpfx)tst-fnmatch-mem): New rule.
57306 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
57307 * posix/tst-fnmatch.c (main): Call mtrace.
57308
13b69574
L
573092010-11-11 H.J. Lu <hongjiu.lu@intel.com>
57310
57311 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57312 Support Intel processor model 6 and model 0x2c.
57313
da93d214
LM
573142010-11-10 Luis Machado <luisgpm@br.ibm.com>
57315
57316 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
57317 signed comparison.
57318
8ca52c6e
L
573192010-11-09 H.J. Lu <hongjiu.lu@intel.com>
57320
57321 [BZ #12205]
57322 * string/test-strncasecmp.c (check_result): New function.
57323 (do_one_test): Use it.
57324 (check1): New function.
57325 (test_main): Use it.
57326 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
57327 Support strcasecmp and strncasecmp.
57328
69da074d
UD
573292010-11-08 Ulrich Drepper <drepper@gmail.com>
57330
57331 [BZ #12194]
57332 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
57333 * sysdeps/x86_64/bits/byteswap.h: Likewise.
57334
ff02d528
L
573352010-11-07 H.J. Lu <hongjiu.lu@intel.com>
57336
57337 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
57338 IFUNC support.
57339 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57340 memset-x86-64.
57341 * sysdeps/x86_64/multiarch/bzero.S: New file.
57342 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
57343 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
57344 * sysdeps/x86_64/multiarch/memset.S: New file.
57345 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
57346 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57347 Set bit_Prefer_SSE_for_memop for Intel processors.
57348 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
57349 Define.
57350 (index_Prefer_SSE_for_memop): Define.
57351 (HAS_PREFER_SSE_FOR_MEMOP): Define.
57352
344d0b54
LM
573532010-11-04 Luis Machado <luisgpm@br.ibm.com>
57354
57355 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
57356 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
57357
c0dde15b
UD
573582010-11-03 H.J. Lu <hongjiu.lu@intel.com>
57359
57360 [BZ #12191]
57361 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57362 (__x86_64_raw_data_cache_size_half): Likewise.
57363 (__x86_64_raw_shared_cache_size): Likewise.
57364 (__x86_64_raw_shared_cache_size_half): Likewise.
57365
57366 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
57367 (__x86_64_raw_data_cache_size_half): Likewise.
57368 (__x86_64_raw_shared_cache_size): Likewise.
57369 (__x86_64_raw_shared_cache_size_half): Likewise.
57370 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
57371 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
57372 and __x86_64_raw_shared_cache_size_half. Round
57373 __x86_64_data_cache_size_half, __x86_64_data_cache_size
57374 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
57375 to multiple of 256 bytes.
57376
0e516e0e
MS
573772010-11-03 Ulrich Drepper <drepper@gmail.com>
57378
57379 [BZ #12167]
57380 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
57381 of inacessible symlinks. Verify result of symlink before returning it.
57382 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57383 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
57384
0e012e87
ER
573852010-10-28 Erich Ritz <erichritz@gmail.com>
57386
57387 * math/math.h (isinf): Fix typo in comment.
57388
de0ff7bc
UD
573892010-11-01 Ulrich Drepper <drepper@gmail.com>
57390
57391 * po/da.po: Update from translation team.
57392
fa41c84d
UD
573932010-10-26 Ulrich Drepper <drepper@gmail.com>
57394
57395 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
57396 is added to the list.
57397
f0967738
AK
573982010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57399 Ulrich Drepper <drepper@gmail.com>
57400
57401 * elf/dl-object.c (_dl_new_object): Don't append the new object to
57402 the global list here. Move code to...
57403 (_dl_add_to_namespace_list): ...here. New function.
57404 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
57405 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
57406 * elf/dl-load.c (lose): Don't remove the element from the list.
57407 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
57408 (_dl_map_object): Likewise.
57409
574102010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
57411
57412 [BZ #12159]
57413 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
57414 into all bytes of SSE register.
57415 Patch by Richard Li <richardpku@gmail.com>.
57416
f0967738 574172010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
57418
57419 [BZ #12140]
57420 * malloc/malloc.c (_int_free): Fill correct number of bytes when
57421 perturbing.
57422
d0b9e94f
MB
574232010-10-20 Michael B. Brutman <brutman@us.ibm.com>
57424
57425 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
57426 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
57427 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
57428 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
57429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
57430 submachine.
57431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
57432
8e9f92e9
AS
574332010-10-22 Andreas Schwab <schwab@redhat.com>
57434
57435 * include/dlfcn.h (__RTLD_SECURE): Define.
57436 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
57437 mode & __RTLD_SECURE instead.
57438 (open_path): Rename preloaded parameter to secure.
57439 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
57440 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
57441 * elf/dl-deps.c (openaux): Likewise.
57442 * elf/rtld.c (struct map_args): Remove is_preloaded.
57443 (map_doit): Don't use it.
57444 (dl_main): Likewise.
57445 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
57446 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
57447
bc96fbda
AS
574482010-09-09 Andreas Schwab <schwab@redhat.com>
57449
57450 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
57451 (sysd-rules-targets): Remove duplicates.
57452 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
57453 rtld-%.$o dependency.
57454
22cd1c9b
AS
574552010-10-18 Andreas Schwab <schwab@redhat.com>
57456
57457 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
57458 _dl_map_object do it.
57459
18edac48
UD
574602010-10-19 Ulrich Drepper <drepper@gmail.com>
57461
57462 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
57463 fast fma builtins, define the macros in the C99 standard.
57464 (FP_FAST_FMAF): Likewise.
57465 (FP_FAST_FMAL): Likewise.
57466 * sysdeps/x86_64/bits/mathdef.h: Likewise.
57467
57468 * bits/mathdef.h: Update copyright year.
57469 * sysdeps/powerpc/bits/mathdef.h: Likewise.
57470
d2050124
MM
574712010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
57472
57473 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
57474 builtins, define the macros in the C99 standard.
57475 (FP_FAST_FMAF): Likewise.
57476 (FP_FAST_FMAL): Likewise.
57477 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
57478 multiply/add.
57479 (FP_FAST_FMAF): Likewise.
57480
475facd1
JJ
574812010-10-15 Jakub Jelinek <jakub@redhat.com>
57482
57483 [BZ #3268]
57484 * math/libm-test.inc (fma_test): Some new testcases.
57485 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
57486 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
57487 y and infinite z. Do multiplication by C already in long double.
57488 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
57489 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
57490 y and infinite z. Do bitwise or of inexact bit into u.d.
57491 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
57492 * sysdeps/i386/fpu/s_fmaf.S: Removed.
57493 * sysdeps/i386/fpu/s_fma.S: Removed.
57494 * sysdeps/i386/fpu/s_fmal.S: Removed.
57495
7c08a05c
JJ
574962010-10-16 Jakub Jelinek <jakub@redhat.com>
57497
57498 [BZ #3268]
57499 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
57500 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
57501 computation is not scheduled after fetestexcept. Fix value
57502 of minimum denormal long double.
57503
f3f7372d
JJ
575042010-10-14 Jakub Jelinek <jakub@redhat.com>
57505
57506 [BZ #3268]
57507 * math/libm-test.inc (fma_test): Add some more tests.
57508 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
57509 correctly.
57510
14d43591
AS
575112010-10-15 Andreas Schwab <schwab@redhat.com>
57512
57513 * scripts/data/localplt-s390-linux-gnu.data: New file.
57514 * scripts/data/localplt-s390x-linux-gnu.data: New file.
57515
5e908464
JJ
575162010-10-13 Jakub Jelinek <jakub@redhat.com>
57517
57518 [BZ #3268]
57519 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
57520 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
57521 instead of dbl-64.
57522 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
57523 inlines.
57524 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
57525 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
57526 if one of x and y is very large and the other is subnormal.
57527 * sysdeps/s390/fpu/s_fmaf.c: New file.
57528 * sysdeps/s390/fpu/s_fma.c: New file.
57529 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
57530 * sysdeps/powerpc/fpu/s_fma.S: New file.
57531 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
57532 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
57533 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
57534
575352010-10-12 Jakub Jelinek <jakub@redhat.com>
57536
57537 [BZ #3268]
57538 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
57539 fma tests.
57540 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
57541 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
57542 * sysdeps/i386/i686/multiarch/s_fma.c: Include
57543 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
57544 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
57545 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
57546 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
57547
b833d51f
UD
575482010-10-12 Ulrich Drepper <drepper@redhat.com>
57549
57550 [BZ #12078]
57551 * posix/regcomp.c (parse_branch): One more memory leak plugged.
57552 * posix/bug-regex31.input: Add test case.
57553
1751705d
UD
575542010-10-11 Ulrich Drepper <drepper@gmail.com>
57555
e9b9cbf5
UD
57556 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
57557 * posix/bug-regex31.input: New file.
57558
57559 [BZ #12078]
57560 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
57561 (parse_sub_exp): Fix last change, use postorder.
57562
ef06edbe
UD
57563 * posix/bug-regex31.c: New file.
57564 * posix/Makefile: Add rules to build and run bug-regex31.
57565
a129c80d
UD
57566 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
57567
57568 [BZ #12078]
57569 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
57570
b76b818e
UD
57571 [BZ #12108]
57572 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
57573 to have entries in sys_siglist.
57574
1751705d
UD
57575 [BZ #12093]
57576 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
57577 be NULL.
57578
9ff8d36f
JJ
575792010-10-07 Jakub Jelinek <jakub@redhat.com>
57580
57581 [BZ #3268]
57582 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
57583 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
57584 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
57585 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
57586 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
57587 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
57588 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
57589 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
57590 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
57591 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
57592 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
57593 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
57594 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
57595 * math/ftestexcept.c (fetestexcept): Likewise.
57596 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
57597 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
57598 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
57599 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
57600 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
57601 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
57602 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
57603
af325969
UD
576042010-10-11 Ulrich Drepper <drepper@gmail.com>
57605
c579b202 57606 [BZ #12107]
af325969
UD
57607 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
57608 newline.
57609
67a67b95
UD
576102010-10-06 Ulrich Drepper <drepper@gmail.com>
57611
57612 * string/bug-strstr1.c: New file.
57613 * string/Makefile: Add rules to build and run bug-strstr1.
57614
5fb308bc
EB
576152010-10-05 Eric Blake <eblake@redhat.com>
57616
57617 [BZ #12092]
57618 * string/str-two-way.h (two_way_long_needle): Always clear memory
57619 when skipping input due to the shift table.
57620
45db99c7
UD
576212010-10-03 Ulrich Drepper <drepper@gmail.com>
57622
3b111893
UD
57623 [BZ #12005]
57624 * malloc/mcheck.c: Handle large requests.
57625
45db99c7
UD
57626 [BZ #12077]
57627 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
57628 for strncmp and strncasecmp.
57629 * string/stratcliff.c: Add tests for strcmp and strncmp.
57630 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
57631
cf7a1eb8
NI
576322010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
57633
57634 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
57635 __set_fpscr.
57636
6484ba5e
AJ
576372010-09-30 Andreas Jaeger <aj@suse.de>
57638
57639 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
57640 (CGROUP_SUPER_MAGIC): Define.
57641 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
57642 Handle btrfs and cgroup file systems.
57643 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
57644 Likewise.
57645
91c42559
LM
576462010-09-27 Luis Machado <luisgpm@br.ibm.com>
57647
57648 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
57649 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
57650
87a97932
AK
576512010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
57652
57653 [BZ #12067]
57654 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
57655 trying to locate the ELF header.
57656
c21cc9bc
AS
576572010-09-27 Andreas Schwab <schwab@redhat.com>
57658
57659 [BZ #11611]
57660 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
57661 Mask out sign-bit copies when constructing f_fsid.
57662
315970f6
PB
576632010-09-24 Petr Baudis <pasky@suse.cz>
57664
57665 * debug/stack_chk_fail_local.c: Add missing licence exception.
57666 * debug/warning-nop.c: Likewise.
57667
1ac7a2c7
JM
576682010-09-15 Joseph Myers <joseph@codesourcery.com>
57669
57670 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
57671 implementing getdents64 using getdents syscall, set d_type if
57672 __ASSUME_GETDENTS32_D_TYPE.
57673
56801c50
AS
576742010-09-16 Andreas Schwab <schwab@redhat.com>
57675
57676 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
57677 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
57678
dda51327
UD
576792010-09-21 Ulrich Drepper <drepper@redhat.com>
57680
57681 [BZ #12037]
57682 * posix/unistd.h: Undo change of feature selection for ftruncate from
57683 2010-01-11.
57684
8ffcee4a
UD
576852010-09-20 Ulrich Drepper <drepper@redhat.com>
57686
a545ecd9 57687 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
57688 detection.
57689
e24f0a8b
AS
576902010-09-20 Andreas Schwab <schwab@redhat.com>
57691
57692 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
57693 fanotify_mark.
57694 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
57695
7291c56f
AS
576962010-09-14 Andreas Schwab <schwab@redhat.com>
57697
57698 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
57699 variables after CHECK_SP call.
57700 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
57701
bc5fb037
AS
577022010-09-13 Andreas Schwab <schwab@redhat.com>
57703 Ulrich Drepper <drepper@redhat.com>
57704
57705 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
57706 re-relocationg ld.so.
57707 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
57708 _dl_init_paths call.
57709 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
57710 here anymore.
57711
e66e7419
UD
577122010-09-14 Ulrich Drepper <drepper@redhat.com>
57713
57714 * resolv/res_init.c (__res_vinit): Count the default server we added.
57715
c044aa75
CLT
577162010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
57717 Ulrich Drepper <drepper@redhat.com>
57718
57719 [BZ #11968]
57720 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
57721 (____longjmp_chk): Use %ebx for saving value across system call.
57722 Add unwind info.
57723
32cf4069
AS
577242010-09-06 Andreas Schwab <schwab@redhat.com>
57725
57726 * manual/Makefile: Don't mix pattern rules with normal rules.
57727
817328ee
AS
577282010-09-05 Andreas Schwab <schwab@linux-m68k.org>
57729
57730 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
57731 operation.
57732 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
57733 * libio/iofopncook.c (_IO_cookie_init): Likewise.
57734 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
57735 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
57736 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
57737 Likewise.
57738
29fddf61
UD
577392010-09-04 Ulrich Drepper <drepper@redhat.com>
57740
57741 [BZ #11979]
57742 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
57743 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
57744
0959ffc9
UD
577452010-09-02 Ulrich Drepper <drepper@redhat.com>
57746
57747 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
57748 * sysdeps/x86_64/addmul_1.S: Likewise.
57749 * sysdeps/x86_64/lshift.S: Likewise.
57750 * sysdeps/x86_64/mul_1.S: Likewise.
57751 * sysdeps/x86_64/rshift.S: Likewise.
57752 * sysdeps/x86_64/sub_n.S: Likewise.
57753 * sysdeps/x86_64/submul_1.S: Likewise.
57754
ece29840
ST
577552010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
57756
0959ffc9
UD
57757 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
57758 Define __sched_param instead of SCHED_* and sched_param when
ece29840 57759 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 57760 * bits/sched.h [__need_schedparam]
ece29840 57761 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
57762 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
57763 (__defined_schedparam): Define to 1.
ece29840
ST
57764 (__sched_param): New structure, identical to sched_param.
57765 (__need_schedparam): Undefine.
57766
e53a31fe
MF
577672010-08-31 Mike Frysinger <vapier@gentoo.org>
57768
fdc0c10d
MF
57769 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
57770 (epoll_create1): Declare.
57771
e53a31fe
MF
57772 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
57773
a726d796
AS
577742010-08-31 Andreas Schwab <schwab@redhat.com>
57775
57776 [BZ #7066]
57777 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
57778 shifting retval into place.
57779
2f3e3dc7
UD
577802010-09-01 Ulrich Drepper <drepper@redhat.com>
57781
f2933da9
UD
57782 * nis/rpcsvc/nis.h: Update copyright notice.
57783 * nis/rpcsvc/nis.x: Likewise.
57784 * nis/rpcsvc/nis_callback.h: Likewise.
57785 * nis/rpcsvc/nis_callback.x: Likewise.
57786 * nis/rpcsvc/nis_object.x: Likewise.
57787 * nis/rpcsvc/nis_tags.h: Likewise.
57788 * nis/rpcsvc/yp.h: Likewise.
57789 * nis/rpcsvc/yp.x: Likewise.
57790 * nis/rpcsvc/ypupd.h: Likewise.
57791 * nis/yp_xdr.c: Likewise.
57792 * nis/ypupdate_xdr.c: Likewise.
57793
2f3e3dc7
UD
57794 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
57795 mainly the body of pmap_getport. Add parameters to specify timeouts.
57796 (pmap_getport): Use __libc_rpc_getport.
57797 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
57798 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
57799 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
57800
f3dcc2f9
AS
578012010-08-31 Andreas Schwab <schwab@linux-m68k.org>
57802
57803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
57804 fanotify_mark.
57805
6d34eb5b
RM
578062010-08-27 Roland McGrath <roland@redhat.com>
57807
57808 * sysdeps/i386/i686/multiarch/Makefile
57809 (CFLAGS-varshift.c): New variable.
57810
9ea3de11
UD
578112010-08-27 Ulrich Drepper <drepper@redhat.com>
57812
c96d23fc
UD
57813 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
57814 * sysdeps/i386/i686/multiarch/varshift.c: New file.
57815
9ea3de11
UD
57816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
57817
57818 * sysdeps/x86_64/strlen.S: Minimal code improvement.
57819
623aac7f
L
578202010-08-26 H.J. Lu <hongjiu.lu@intel.com>
57821
57822 * sysdeps/x86_64/strlen.S: Unroll the loop.
57823 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57824 strlen-sse2 strlen-sse2-bsf.
57825 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
57826 __strlen_no_bsf if bit_Slow_BSF is set.
57827 (__strlen_sse42): Removed.
57828 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
57829 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
57830
8b2b7715
RM
578312010-08-25 Roland McGrath <roland@redhat.com>
57832
57833 * sysdeps/x86_64/multiarch/varshift.S: File removed.
57834 * sysdeps/x86_64/multiarch/varshift.c: New file.
57835 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
57836 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
57837 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
57838 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
57839
e73015f2
L
578402010-08-25 H.J. Lu <hongjiu.lu@intel.com>
57841
57842 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
57843 strlen-sse2 strlen-sse2-bsf.
57844 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
57845 __strlen_sse2_bsf if bit_Slow_BSF is unset.
57846 (__strlen_sse2): Removed.
57847 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
57848 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
57849 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
57850 bit_Slow_BSF for Atom.
57851 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
57852 (index_Slow_BSF): Define.
57853 (HAS_SLOW_BSF): Define.
57854
df24a73e
UD
578552010-08-25 Ulrich Drepper <drepper@redhat.com>
57856
57857 [BZ #10851]
57858 * resolv/res_init.c (__res_vinit): When no server address at all
57859 is given default to loopback.
57860
f2ac4868
RM
578612010-08-24 Roland McGrath <roland@redhat.com>
57862
09055553
RM
57863 * configure.in: Remove config-name.h generation.
57864 * configure: Regenerated.
57865 * config-name.in: File removed.
57866 * scripts/config-uname.sh: New file.
57867 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
57868 ($(objdir)config-name.h): New target.
57869
f2ac4868
RM
57870 * sunrpc/rpc_parse.h: Avoid nested comment.
57871
73f27d5e
RH
578722010-08-24 Richard Henderson <rth@redhat.com>
57873 Ulrich Drepper <drepper@redhat.com>
57874 H.J. Lu <hongjiu.lu@intel.com>
57875
57876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
57877 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
57878 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
57879 Replace _mm_srli_si128 with __m128i_shift_right. Replace
57880 _mm_alignr_epi8 with _mm_loadu_si128.
57881 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
57882 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
57883 (__m128i_shift_right): Removed.
57884 * sysdeps/i386/i686/multiarch/varshift.h: New file.
57885 * sysdeps/i386/i686/multiarch/varshift.S: New file.
57886 * sysdeps/x86_64/multiarch/varshift.h: New file.
57887 * sysdeps/x86_64/multiarch/varshift.S: New file.
57888
84b9230c
MF
578892010-08-21 Mike Frysinger <vapier@gentoo.org>
57890
57891 * configure.in: Move assembler checks to before sysdep dir checking.
57892
9bbd0ddc
PB
578932010-08-20 Petr Baudis <pasky@suse.cz>
57894
57895 * LICENSES: Sync the sunrpc license.
57896
9da4bb31
UD
578972010-08-19 Ulrich Drepper <drepper@redhat.com>
57898
a7ab6ec8
UD
57899 * sunrpc/auth_des.c: Update copyright notice once again.
57900 * sunrpc/auth_none.c: Likewise.
57901 * sunrpc/auth_unix.c: Likewise.
57902 * sunrpc/authdes_prot.c: Likewise.
57903 * sunrpc/authuxprot.c: Likewise.
57904 * sunrpc/bindrsvprt.c: Likewise.
57905 * sunrpc/clnt_gen.c: Likewise.
57906 * sunrpc/clnt_perr.c: Likewise.
57907 * sunrpc/clnt_raw.c: Likewise.
57908 * sunrpc/clnt_simp.c: Likewise.
57909 * sunrpc/clnt_tcp.c: Likewise.
57910 * sunrpc/clnt_udp.c: Likewise.
57911 * sunrpc/clnt_unix.c: Likewise.
57912 * sunrpc/des_crypt.c: Likewise.
57913 * sunrpc/des_soft.c: Likewise.
57914 * sunrpc/get_myaddr.c: Likewise.
57915 * sunrpc/getrpcport.c: Likewise.
57916 * sunrpc/key_call.c: Likewise.
57917 * sunrpc/key_prot.c: Likewise.
57918 * sunrpc/openchild.c: Likewise.
57919 * sunrpc/pm_getmaps.c: Likewise.
57920 * sunrpc/pm_getport.c: Likewise.
57921 * sunrpc/pmap_clnt.c: Likewise.
57922 * sunrpc/pmap_prot.c: Likewise.
57923 * sunrpc/pmap_prot2.c: Likewise.
57924 * sunrpc/pmap_rmt.c: Likewise.
57925 * sunrpc/rpc/auth.h: Likewise.
57926 * sunrpc/rpc/auth_unix.h: Likewise.
57927 * sunrpc/rpc/clnt.h: Likewise.
57928 * sunrpc/rpc/des_crypt.h: Likewise.
57929 * sunrpc/rpc/key_prot.h: Likewise.
57930 * sunrpc/rpc/netdb.h: Likewise.
57931 * sunrpc/rpc/pmap_clnt.h: Likewise.
57932 * sunrpc/rpc/pmap_prot.h: Likewise.
57933 * sunrpc/rpc/pmap_rmt.h: Likewise.
57934 * sunrpc/rpc/rpc.h: Likewise.
57935 * sunrpc/rpc/rpc_des.h: Likewise.
57936 * sunrpc/rpc/rpc_msg.h: Likewise.
57937 * sunrpc/rpc/svc.h: Likewise.
57938 * sunrpc/rpc/svc_auth.h: Likewise.
57939 * sunrpc/rpc/types.h: Likewise.
57940 * sunrpc/rpc/xdr.h: Likewise.
57941 * sunrpc/rpc_clntout.c: Likewise.
57942 * sunrpc/rpc_cmsg.c: Likewise.
57943 * sunrpc/rpc_common.c: Likewise.
57944 * sunrpc/rpc_cout.c: Likewise.
57945 * sunrpc/rpc_dtable.c: Likewise.
57946 * sunrpc/rpc_hout.c: Likewise.
57947 * sunrpc/rpc_main.c: Likewise.
57948 * sunrpc/rpc_parse.c: Likewise.
57949 * sunrpc/rpc_parse.h: Likewise.
57950 * sunrpc/rpc_prot.c: Likewise.
57951 * sunrpc/rpc_sample.c: Likewise.
57952 * sunrpc/rpc_scan.c: Likewise.
57953 * sunrpc/rpc_scan.h: Likewise.
57954 * sunrpc/rpc_svcout.c: Likewise.
57955 * sunrpc/rpc_tblout.c: Likewise.
57956 * sunrpc/rpc_util.c: Likewise.
57957 * sunrpc/rpc_util.h: Likewise.
57958 * sunrpc/rpcinfo.c: Likewise.
57959 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
57960 * sunrpc/rpcsvc/key_prot.x: Likewise.
57961 * sunrpc/rpcsvc/klm_prot.x: Likewise.
57962 * sunrpc/rpcsvc/mount.x: Likewise.
57963 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
57964 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
57965 * sunrpc/rpcsvc/rex.x: Likewise.
57966 * sunrpc/rpcsvc/rstat.x: Likewise.
57967 * sunrpc/rpcsvc/rusers.x: Likewise.
57968 * sunrpc/rpcsvc/sm_inter.x: Likewise.
57969 * sunrpc/rpcsvc/spray.x: Likewise.
57970 * sunrpc/rpcsvc/yppasswd.x: Likewise.
57971 * sunrpc/rtime.c: Likewise.
57972 * sunrpc/svc.c: Likewise.
57973 * sunrpc/svc_auth.c: Likewise.
57974 * sunrpc/svc_authux.c: Likewise.
57975 * sunrpc/svc_raw.c: Likewise.
57976 * sunrpc/svc_run.c: Likewise.
57977 * sunrpc/svc_simple.c: Likewise.
57978 * sunrpc/svc_tcp.c: Likewise.
57979 * sunrpc/svc_udp.c: Likewise.
57980 * sunrpc/svc_unix.c: Likewise.
57981 * sunrpc/svcauth_des.c: Likewise.
57982 * sunrpc/xcrypt.c: Likewise.
57983 * sunrpc/xdr.c: Likewise.
57984 * sunrpc/xdr_array.c: Likewise.
57985 * sunrpc/xdr_float.c: Likewise.
57986 * sunrpc/xdr_mem.c: Likewise.
57987 * sunrpc/xdr_rec.c: Likewise.
57988 * sunrpc/xdr_ref.c: Likewise.
57989 * sunrpc/xdr_sizeof.c: Likewise.
57990 * sunrpc/xdr_stdio.c: Likewise.
57991
9da4bb31
UD
57992 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
57993 handling.
57994
bdaa77bc
AS
579952010-08-19 Andreas Schwab <schwab@redhat.com>
57996
57997 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
57998
fe2f79db
LM
579992010-08-19 Luis Machado <luisgpm@br.ibm.com>
58000
58001 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
58002 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
58003 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
58004 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
58005 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
58006 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
58007 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
58008 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
58009 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
58010 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
58011 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
58012 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
58013 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
58014 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
58015
b9b42ee0
AB
580162010-07-26 Anton Blanchard <anton@samba.org>
58017
58018 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
58019 * malloc/arena.c (heap_trim): Likewise.
58020
1c06ba31
UD
580212010-08-16 Ulrich Drepper <drepper@redhat.com>
58022
58023 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
58024 here. Not...
58025 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
58026 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
58027
f8392f40
L
580282010-08-12 H.J. Lu <hongjiu.lu@intel.com>
58029
58030 * sysdeps/i386/elf/Makefile: New file.
58031
3162f12e
AS
580322010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58033
58034 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
58035 from fanotify_init.
58036 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
58037 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58038
28c90b2c
UD
580392010-08-15 Ulrich Drepper <drepper@redhat.com>
58040
58041 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
58042 of strncasecmp_l.
1feccb6c 58043 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 58044
ca6bb004
UD
580452010-08-14 Ulrich Drepper <drepper@redhat.com>
58046
e9f82e0d
UD
58047 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58048 strncase_l-nonascii.
58049 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58050 Add strncase_l-ssse3.
58051 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
58052 * sysdeps/x86_64/strcmp.S: Likewise.
58053 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
58054 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
58055 * sysdeps/x86_64/strncase.S: New file.
58056 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
58057 * sysdeps/x86_64/strncase_l.S: New file.
58058 * string/Makefile (strop-tests): Add strncasecmp.
58059 * string/test-strncasecmp.c: New file.
58060
58061 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
58062 warning.
58063
ca6bb004
UD
58064 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
58065 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
58066
052fa7b3
AS
580672010-08-14 Andreas Schwab <schwab@linux-m68k.org>
58068
58069 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
58070
962dba78
UD
580712010-08-12 Ulrich Drepper <drepper@redhat.com>
58072
58073 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
58074 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
58075 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
58076
bebff237
AM
580772010-05-01 Alan Modra <amodra@gmail.com>
58078
58079 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
58080 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
58081 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
58082 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
58083 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
58084 tidying. Don't tail-call __sigjmp_save for static lib.
58085 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
58086 save location.
58087 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
58088 (CALL_MCOUNT): Add eh info, and nop after bl.
58089 (TAIL_CALL_SYSCALL_ERROR): New macro.
58090 (PSEUDO_RET): Use it.
58091 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
58092 Correct save location of integer regs and cr.
58093 (_dl_profile_resolve): Correct cr save location. Delete nops
58094 after bl when SHARED. Reduce cfi size a little by better
58095 placement of cfi directives.
58096 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
58097 make a stack frame. Instead use parm save area as a temp.
58098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
58099 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
58100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
58101 Don't make a stack frame for parent, use parm save area.
58102 Increase child stack frame to 112 bytes. Don't save unused reg,
58103 and adjust reg usage. Set up cfi on error recovery and
58104 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
58105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
58106 (__makecontext): Add dummy nop after jump to exit.
58107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
58108 Use correct parm save area and cr save, reduce stack frame.
58109 Correct cfi for possible PSEUDO_RET frame setup.
58110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
58111 Branch to local label emitted by PSEUDO_RET rather than
58112 __syscall_error.
58113
02637374
AS
581142010-08-12 Andreas Schwab <schwab@redhat.com>
58115
58116 [BZ #11904]
58117 * locale/programs/locale.c (print_assignment): New function.
58118 (show_locale_vars): Use it.
58119
c3e2f19b
UD
581202010-08-11 Ulrich Drepper <drepper@redhat.com>
58121
3cdaa6ad
UD
58122 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
58123 field.
58124 (struct statfs64): Likewise.
58125 (_STATFS_F_FLAGS): Define.
58126 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
58127 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
58128 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
58129 (ST_VALID): Define locally.
58130 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
58131 __statvfs_getflags, use the provided value.
58132 * sysdeps/unix/sysv/linux/kernel-features.h: Define
58133 __ASSUME_STATFS_F_FLAGS.
58134
754f7da3
UD
58135 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
58136
10b3bedc
UD
58137 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
58138 Add sys/fanotify.h.
58139 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
58140 fanotify_mask for GLIBC_2.13.
58141 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
58142 fanotify_init and fanotify_mark.
58143 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
58144 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
58145
c08fb0d7
UD
58146 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
58147 Add prlimit.
58148 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
58149 prlimit64 for GLIBC_2.13.
58150 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
58151 prlimit64.
58152 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
58153 syscall.
58154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
58155 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
58156 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
58157 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
58158 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
58159 add prlimit alias.
58160 * sysdeps/unix/sysv/linux/prlimit.c: New file.
58161
15bac72b
UD
58162 [BZ #11903]
58163 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
58164 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
58165
c3e2f19b
UD
58166 * nss/Makefile: Add rules to build and run tst-nss-test1.
58167 * shlib-versions: Add entry for libnss_test1.
58168 * nss/nss_test1.c: New file.
58169 * nss/tst-nss-test1.c: New file.
58170
58171 * nss/nsswitch.c (__nss_database_custom): Define new variable.
58172 (__nss_configure_lookup): Set appropriate entry in
58173 __nss_configure_lookup to true.
58174 * nss/nsswitch.h: Define enum with indeces of databases in
58175 databases and __nss_database_custom arrays. Declare
58176 __nss_database_custom.
58177 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
58178 to avoid using nscd when custom rules are installed.
58179 * nss/getXXbyYY_r.c: Likewise.
58180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
58181
58182 * nss/nss_files/files-parse.c: Whitespace fixes.
58183
f15ce4d8
UD
581842010-08-09 Ulrich Drepper <drepper@redhat.com>
58185
58186 [BZ #11883]
58187 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
58188 * posix/fnmatch_loop.c: Likewise.
58189
d22e4cc9
AK
581902010-07-17 Andi Kleen <ak@linux.intel.com>
58191
58192 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
58193 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
58194 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
58195 * Versions.def [GLIBC_2.13]: Add.
58196
805bc17d
UD
581972010-08-06 Ulrich Drepper <drepper@redhat.com>
58198
58199 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58200 Also fail if tpwd after pwuid call is NULL.
58201
5a42321d
ST
582022010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
58203
58204 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
58205 when converting to ms.
58206
fd3ebeda
ST
582072010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
58208
58209 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
58210 EOPNOTSUPP errors with ENOTTY.
58211 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
58212 EOPNOTSUPP errors with ENOTTY.
58213
73507d3a
UD
582142010-07-31 Ulrich Drepper <drepper@redhat.com>
58215
58216 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
58217 Add strcasecmp_l-ssse3.
58218 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
58219 strcasecmp.
58220 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
58221 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
58222 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
58223
fe36dd02
UD
582242010-07-30 Ulrich Drepper <drepper@redhat.com>
58225
66f6765a
UD
58226 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
58227
42e08a54
UD
58228 * string/Makefile (strop-tests): Add strcasecmp.
58229 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
58230 strcasecmp_l-nonascii.
58231 (gen-as-const-headers): Add locale-defines.sym.
58232 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
58233 * sysdeps/x86_64/strcasecmp.S: New file.
58234 * sysdeps/x86_64/strcasecmp_l.S: New file.
58235 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
58236 * sysdeps/x86_64/locale-defines.sym: New file.
58237 * string/test-strcasecmp.c: New file.
58238
fe36dd02
UD
58239 * string/test-strcasestr.c: Test both ends of the range of characters.
58240 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
58241
48cbc0d6
RM
582422010-07-29 Roland McGrath <roland@redhat.com>
58243
76e6d6bc 58244 [BZ #11856]
48cbc0d6
RM
58245 * manual/locale.texi (Yes-or-No Questions): Fix example code.
58246
880113d9
UD
582472010-07-27 Ulrich Drepper <drepper@redhat.com>
58248
58249 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
58250 for ld.so.
58251
deb9cabb
AS
582522010-07-27 Andreas Schwab <schwab@redhat.com>
58253
58254 * manual/memory.texi (Malloc Tunable Parameters): Document
58255 M_PERTURB.
58256
1c7570ff
RM
582572010-07-26 Roland McGrath <roland@redhat.com>
58258
58259 [BZ #11840]
58260 * configure.in (-fgnu89-inline check): Set and substitute
58261 gnu89_inline, not libc_cv_gnu89_inline.
58262 * configure: Regenerated.
58263 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
58264
24fb0f88
UD
582652010-07-26 Ulrich Drepper <drepper@redhat.com>
58266
58267 * string/test-strnlen.c: New file.
58268 * string/Makefile (strop-tests): Add strnlen.
58269 * string/tester.c (test_strnlen): Add a few more test cases.
58270 * string/tst-strlen.c: Better error reporting.
58271
58272 * sysdeps/x86_64/strnlen.S: New file.
58273
8e96b93a
UD
582742010-07-24 Ulrich Drepper <drepper@redhat.com>
58275
58276 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
58277 lower-latency instructions.
58278
dbc676d4
UD
582792010-07-23 Ulrich Drepper <drepper@redhat.com>
58280
58281 * string/test-strcasestr.c: New file.
58282 * string/test-strstr.c: New file.
58283 * string/Makefile (strop-tests): Add strstr and strcasestr.
58284 * string/str-two-way.h: Don't undefine MAX.
58285 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
58286
f6a31e0e
AS
582872010-07-21 Andreas Schwab <schwab@redhat.com>
58288
58289 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
58290 strcasestr-nonascii.
58291 (CFLAGS-strcasestr-nonascii.c): Define.
58292 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
58293 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
58294 Remove unused attribute.
58295
5dbc3b6c
RM
582962010-07-20 Roland McGrath <roland@redhat.com>
58297
58298 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
58299 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
58300 ld.so.cache was broken. With it, there is no way to disable dsocaps
58301 like LD_HWCAP_MASK can disable hwcaps.
58302
23d101d8
EPM
583032010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58304
58305 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
58306
cc9f2e47
UD
583072010-07-16 Ulrich Drepper <drepper@redhat.com>
58308
58309 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
58310 call in strcasestr.
58311 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
58312 __strcasestr_sse42_nonascii.
58313 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
58314 strcasestr-nonascii.c.
58315 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
58316
77c1b069
LM
583172010-06-15 Luis Machado <luisgpm@br.ibm.com>
58318
58319 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
58320 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
58321 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
58322 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
58323
440566c3
UD
583242010-07-09 Ulrich Drepper <drepper@redhat.com>
58325
58326 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
58327 fcntl.
58328
5be9d05d
AS
583292010-07-06 Andreas Schwab <schwab@redhat.com>
58330
c30b7ee2 58331 [BZ #11577]
5be9d05d
AS
58332 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
58333 dl_signal_cerror.
58334
8a492a67
UD
583352010-07-06 Ulrich Drepper <drepper@redhat.com>
58336
58337 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
58338 _PC_PIPE_BUF using F_GETPIPE_SZ.
58339
713df3d5
RM
583402010-07-05 Roland McGrath <roland@redhat.com>
58341
58342 * manual/arith.texi (Rounding Functions): Fix rint description
58343 implicit in round description.
58344
702e8f14
UD
583452010-07-02 Ulrich Drepper <drepper@redhat.com>
58346
58347 * elf/Makefile: Fix linking for a few tests to make recent linker
58348 happy.
58349
52ed8be9
AS
583502010-06-30 Andreas Schwab <schwab@redhat.com>
58351
58352 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
58353 $(common-objpfx)libc_nonshared.a.
58354
f47c9a11
LM
583552010-06-21 Luis Machado <luisgpm@br.ibm.com>
58356
58357 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
58358 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
58359 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58360 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58361 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
58362 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
58363 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58364 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58365 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
58366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
58367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
58368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
58369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
58370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
58371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
58372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
58373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
58374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
58375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
58376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
58377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
58378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
58379 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
58380 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
58381 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
58382 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
58383 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
58384 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
58385 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
58386 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
58387 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
58388 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
58389 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
58390 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
58391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
58392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
58393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
58394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
58395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
58396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
58397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
58398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
58399 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
58400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
58401 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
58402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
58403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
58404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
58405
6fb8cbcb
L
584062010-06-25 H.J. Lu <hongjiu.lu@intel.com>
58407
58408 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
58409 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
58410 * string/memmove.c (memmove): Renamed to ...
58411 (MEMMOVE): ...this. Default to memmove.
58412 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
58413 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
58414 (END_CHK): Define.
58415 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
58416 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
58417 mempcpy-ssse3-back memmove-ssse3-back.
58418 * sysdeps/x86_64/multiarch/bcopy.S: New file .
58419 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
58420 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
58421 * sysdeps/x86_64/multiarch/memcpy.S: New file.
58422 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
58423 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
58424 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
58425 * sysdeps/x86_64/multiarch/memmove.c: New file.
58426 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
58427 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
58428 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
58429 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
58430 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
58431 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
58432 Define.
58433 (index_Fast_Copy_Backward): Define.
58434 (HAS_ARCH_FEATURE): Define.
58435 (HAS_FAST_REP_STRING): Define.
58436 (HAS_FAST_COPY_BACKWARD): Define.
58437
4e733bac 584382010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
58439
58440 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
58441 Restore proper fallback handling.
58442
63c4ed22
UD
584432010-06-19 Ulrich Drepper <drepper@redhat.com>
58444
ac2b484c
UD
58445 [BZ #11701]
58446 * posix/group_member.c (__group_member): Correct checking loop.
58447
63c4ed22
UD
58448 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
58449 OOM in getpwuid_r correctly. Return error number when the caller
58450 should return, otherwise -1.
58451 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
58452 call returning > 0 value.
58453 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
58454
765ade4b
AS
584552010-06-07 Andreas Schwab <schwab@redhat.com>
58456
58457 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
58458 libc_nonshared.a from targets in modules-names.
58459
80da2e09
KS
584602010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
58461
58462 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
58463 requires it.
58464
158db122
LM
584652010-06-10 Luis Machado <luisgpm@br.ibm.com>
58466
58467 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
58468 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
58469 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
58470 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
58471
caa78cf8
AS
584722010-06-02 Andreas Schwab <schwab@redhat.com>
58473
58474 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
58475
b2ef2c01
UD
584762010-06-14 Ulrich Drepper <drepper@redhat.com>
58477
58478 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
58479 and F_GETPIPE_SZ.
58480 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
58481 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
58482 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
58483 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58484 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
58485 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
58486
fbd643b6
RM
584872010-06-14 Roland McGrath <roland@redhat.com>
58488
58489 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
58490
f32f2869
JJ
584912010-06-07 Jakub Jelinek <jakub@redhat.com>
58492
58493 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
58494 __REDIRECT followed by __THROW.
58495 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
58496 * posix/getopt.h (getopt): Likewise.
58497
2a50c078
EPM
584982010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
58499
58500 * hurd/lookup-at.c (__file_name_lookup_at): Accept
58501 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
58502 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
58503 in AT_FLAGS.
58504 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
58505 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
58506
eb5ad2eb
LM
585072010-05-28 Luis Machado <luisgpm@br.ibm.com>
58508
58509 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
58510
3c88fe1e
L
585112010-05-26 H.J. Lu <hongjiu.lu@intel.com>
58512
58513 [BZ #11640]
58514 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58515 Properly check family and model.
58516
d2f73151
TY
585172010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
58518
58519 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
58520
ebd2e13d
LM
585212010-05-24 Luis Machado <luisgpm@br.ibm.com>
58522
58523 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
58524
b32b8b45
UD
585252010-05-21 Ulrich Drepper <drepper@redhat.com>
58526
58527 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
58528 symbol reference.
58529
9acbe24d
AS
585302010-05-19 Andreas Schwab <schwab@redhat.com>
58531
58532 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
58533 symbol reference.
58534
f0ccf6ea
AS
585352010-05-21 Andreas Schwab <schwab@redhat.com>
58536
3d04ff3a
AS
58537 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
58538 and internal_recvmmsg.
58539 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
58540 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
58541 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
58542 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
58543
f0ccf6ea
AS
58544 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
58545 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
58546 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
58547
5b08ac57
AS
585482010-05-20 Andreas Schwab <schwab@redhat.com>
58549
58550 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
58551
4828935d
LM
585522010-05-17 Luis Machado <luisgpm@br.ibm.com>
58553
58554 POWER7 optimizations.
58555 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
58556 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
58557
373d545e
UD
585582010-05-19 Ulrich Drepper <drepper@redhat.com>
58559
58560 * version.h: Update for 2.13 development version.
58561
21a2b1ae
AS
585622010-05-12 Andrew Stubbs <ams@codesourcery.com>
58563
58564 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
58565 exceptions. Return 0.
58566
3f7dcb2b
RM
585672010-05-07 Roland McGrath <roland@redhat.com>
58568
58569 * elf/ldconfig.c (main): Add a const.
58570
5f24d53a 585712010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 58572
a160f8d8
UD
58573 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
58574 (args_options): Add no-idn option.
58575 (ahosts_keys_int): Add idn_flags to ai_flags.
58576 (parse_option): Handle 'i' option to clear idn_flags.
58577
5f24d53a
UD
58578 * malloc/malloc.c (_int_free): Possible race in the most recently
58579 added check. Only act on the data if no current modification
58580 happened.
265bb1ce
UD
58581
58582See ChangeLog.17 for earlier changes.